Anki/rslib/src/sync/http_server
Damien Elmes bfef908c6c
Refactor media sync handling (#2647)
* Refactor media sync handling

- The media USN is now returned in sync/meta, which avoids an extra
round-trip.
- Media syncing is now automatically started by the syncing code at
the end of a normal or full sync, which avoids it competing for bandwidth
and resources, and avoids duplicate invalid login messages when the auth
token is invalid.
- Added a new media_sync_progress() method to both check if media is
syncing, and get access to the latest progress.
- Updated the sync log screen to only show the latest line, like AnkiMobile.
- Show media sync errors in a pop-up, so they don't get missed. Use a non-modal
pop-up to avoid potential conflicts with other modals.

* Remove print statement
2023-09-10 13:22:20 +10:00
..
media_manager Split io.rs into separate crate, and use it in proto build 2023-06-12 15:47:51 +10:00
handlers.rs Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
logging.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
mod.rs Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
routes.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
user.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00