Anki/rslib/src/backend
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
..
adding.rs Move generated protobuf into anki_proto 2023-06-12 15:47:51 +10:00
ankidroid.rs Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
ankiweb.rs Change Anki's version scheme; bump to 23.09 (#2640) 2023-09-07 12:37:15 +10:00
card_rendering.rs Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
collection.rs Drop legacy schema option 2023-09-06 15:49:14 +10:00
config.rs Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
dbproxy.rs Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
error.rs Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
i18n.rs Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
import_export.rs Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
mod.rs Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
ops.rs Move generated protobuf into anki_proto 2023-06-12 15:47:51 +10:00
sync.rs Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00