Multi-Hoster-Upload-2/src-tauri/src
Claude 58be08b4e7 fix(health-check): actually authenticate against the hoster instead of just checking field presence
Previous behavior: login-based accounts (Doodstream/VOE/Vidmoly) reported
'Login hinterlegt — Bereit' as long as username/password were non-empty.
Entering nonsense (asdas@web.de / anything) passed. Now:

  - Vidmoly: POST /api/auth/login with JSON and verify /api/upload/config
    is reachable afterwards — 401/403 or non-OK message → BadCredentials.
  - Doodstream: login_ajax POST, success when either Dashboard HTML comes
    back or json.status == 'success'; OTP-required is surfaced as
    'Login gültig (OTP erforderlich)'.
  - VOE: Laravel CSRF scrape + POST /login, then verify /file-upload
    renders a fresh CSRF (only present when logged in).
  - Clouddrop: 401/403 now mapped to BadCredentials instead of generic.
  - Byse: parse JSON status field (server returns HTTP 200 + status:403
    on bad keys) and map accordingly.

Bogus credentials now correctly show a red 'Fehler' state.
2026-04-20 19:11:06 +02:00
..
hosters Add OTP flow, drop-target floating window, in-app auto-update installer 2026-04-20 18:08:18 +02:00
commands.rs fix(health-check): actually authenticate against the hoster instead of just checking field presence 2026-04-20 19:11:06 +02:00
config.rs Tauri 2 / Rust rewrite — initial 2.0 scaffold 2026-04-20 17:08:00 +02:00
error.rs Expand test coverage + emit log-path-auto-updated event 2026-04-20 18:57:02 +02:00
events.rs Tauri 2 / Rust rewrite — initial 2.0 scaffold 2026-04-20 17:08:00 +02:00
folder_monitor.rs Expand test coverage + emit log-path-auto-updated event 2026-04-20 18:57:02 +02:00
lib.rs Add system tray, shutdown-after-finish scheduler, repoint updater 2026-04-20 18:32:59 +02:00
main.rs Tauri 2 / Rust rewrite — initial 2.0 scaffold 2026-04-20 17:08:00 +02:00
otp.rs Add OTP flow, drop-target floating window, in-app auto-update installer 2026-04-20 18:08:18 +02:00
remote_server.rs Full port: v1 renderer shim + folder monitor + remote server + updater + upload log fallback 2026-04-20 17:41:11 +02:00
secret.rs Tauri 2 / Rust rewrite — initial 2.0 scaffold 2026-04-20 17:08:00 +02:00
shutdown.rs Add system tray, shutdown-after-finish scheduler, repoint updater 2026-04-20 18:32:59 +02:00
throttle.rs Expand test coverage + emit log-path-auto-updated event 2026-04-20 18:57:02 +02:00
tray.rs Add system tray, shutdown-after-finish scheduler, repoint updater 2026-04-20 18:32:59 +02:00
updater.rs Expand test coverage + emit log-path-auto-updated event 2026-04-20 18:57:02 +02:00
upload_log.rs Expand test coverage + emit log-path-auto-updated event 2026-04-20 18:57:02 +02:00
upload_manager.rs Add OTP flow, drop-target floating window, in-app auto-update installer 2026-04-20 18:08:18 +02:00