Skip to content

feat: add WAN mode for sw_DownLoadFile and popup status icons - #612

Merged
SukiSunYuhang merged 1 commit into
Snapmaker:feature_wcp_downloadfilesfrom
SukiSunYuhang:feature_wcp_downloadfiles
Jul 23, 2026
Merged

feat: add WAN mode for sw_DownLoadFile and popup status icons#612
SukiSunYuhang merged 1 commit into
Snapmaker:feature_wcp_downloadfilesfrom
SukiSunYuhang:feature_wcp_downloadfiles

Conversation

@SukiSunYuhang

Copy link
Copy Markdown

Description

  • sw_DownLoadFile: split into lan/wan modes via top-level mode field
    • lan: direct download from caller-provided url, no decryption
    • wan: trigger camera.upload_async_timelapse_instance, wait for notify_camera_upload_timelapse notification, then download with PBKDF2+AES decryption (encrypt_type=1)
  • Add async_upload_timelapse_instance to MoonRaker and PrintHost base
  • WAN subscription routing: one subscription per batch, route by date_index, all map mutations on main thread via wxGetApp().CallAfter
  • Cleanup: unsubscribe on close / cancel / completion paths
  • Popup: add per-task status icons (success/error/cancel) and collapse arrow
  • Fix async_unsubscribe_machine_info calls to pass required callback arg

- sw_DownLoadFile: split into lan/wan modes via top-level `mode` field
  - lan: direct download from caller-provided url, no decryption
  - wan: trigger camera.upload_async_timelapse_instance, wait for
         notify_camera_upload_timelapse notification, then download
         with PBKDF2+AES decryption (encrypt_type=1)
- Add async_upload_timelapse_instance to MoonRaker and PrintHost base
- WAN subscription routing: one subscription per batch, route by date_index,
  all map mutations on main thread via wxGetApp().CallAfter
- Cleanup: unsubscribe on close / cancel / completion paths
- Popup: add per-task status icons (success/error/cancel) and collapse arrow
- Fix async_unsubscribe_machine_info calls to pass required callback arg
@SukiSunYuhang
SukiSunYuhang merged commit f077342 into Snapmaker:feature_wcp_downloadfiles Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant