Skip to content

Conversation

@broija
Copy link

@broija broija commented Nov 8, 2025

No description provided.

broija and others added 30 commits August 12, 2025 19:41
- Added download store for keeping track of downloaded files.
- On click on "Stop hosting" : all files are deleted.
- Added gradient outline for "Start hosting" button on hover.
- Added dummy download tools (test only).
[FEAT] About popup (#33_about_popup)
[FEAT] Add log window (#28_log_window)
[BUILD] Fix win build style (#41_fix_win_build_style)
broija and others added 29 commits September 4, 2025 20:12
* [FEAT] Cleanup screen (#52_cleanup_screen)
- Now "Stop hosting" triggers cleanup screen display.
- Download store service turned into a class.

* [FEAT] Tests, fixes and modifications for "demo" version (#75_tests_fixes_for_demo)
- IPC :
  - "fetch-climate-data" renamed to "rescue-api:call" and provide only the route and not the complete URL.
  - "download-file" accepts a default name prefix.
- HTTP file download :
  - the app now attempts to guess the filename from Content-Disposition header or URL.
  - file size is calculated after download. Size guessing is used by default.
  - asset.name is ignored, because irrelevant most of the times actually.
- Moved window positions at start.
- Rescue API :
  - Asset model modified.
  - rescuer_id is hardcoded to 1, a value existing in DB.
- Added some debug messages.
- Configuration :
  - API URL : Production URL is now hardcoded. Dev one is configurable.
  - Modified .env.example for switching between mock and local API.

* [FIX] Fix main window on start for Windows platform (#51_fix_windows_main_window)

* [FIX] (#75_tests_fixes_for_demo)
- Fixed node_id to be consistent with rescuer_id
- Added log level filter for production

* [FIX] Fix main window path displayed on Windows (#51_fix_windows_main_window)

* [FIX] Fixed Windows free space calculation (#51_fix_windows_main_window)

* [BUILD] Fix URL config for production (#75_tests_fixes_for_demo)
- Storage limit saved.
- Calculating remaining free space after each download.
- Added FreeSpaceExhausted component.
- Added user config.
- Added IPC message to check free space.
- Storage selection : reduce custom selection button sizes.
- FreeSpaceExhausted component :
  - Added buttons.
  - Turned into success component.
- DispatchRequestPayload : node_id is now a number.
- Dispatcher : free space sent is now remaining allocated space.
- Now files are downloaded until allocated space limit is reached or nothing has been downloaded.
- node_id : temporarily switched back to string for API compatibility.
- Failed donwloads are now distinguished from others, but no failure handling yet.
- UserConfig : create ~/.shelter-config.json when necessary.
- Simplified registerSystemInfo for bandwith limitation.
Fixed free space check returns in nextDownload and downloadAssets.
- Added banwith limitation component.
- Modified window expansion logic.
- UserConfig :
  - added cache.
  - values can be undefined.
- Added BandwidthLimiterService (WIP)
- downloadFile function is now nested into DownloadService class.
-
* [FEAT] API error handling (#95_handle_api_errors)
- Added RescueApiService.
- Added API error and timeout handling.

* [DOC]  Added some comments to handleRetry (rescue-api-service) (#95_handle_api_errors)
- Asset id is always added before file name.
- Files bigger than 400MB are rejected and reported to API.
- Defective links are reported to API.
- Exchanged sizes with API are now expressed in bytes.
@broija broija requested a review from kacime November 8, 2025 11:47
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.

4 participants