Anki/proto/anki
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
..
ankidroid.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
ankiweb.proto Change Anki's version scheme; bump to 23.09 (#2640) 2023-09-07 12:37:15 +10:00
backend.proto Move protobuf generation into a separate crate; write .py interface in Rust 2023-06-12 09:52:00 +10:00
card_rendering.proto Rework RenderCardOutput::question/answer 2023-06-27 00:37:41 +10:00
cards.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
collection.proto Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
config.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
deck_config.proto Integrate the FSRS optimizer (#2633) 2023-09-05 18:45:05 +10:00
decks.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
frontend.proto Improve presentation of importing results (#2568) 2023-08-02 20:29:44 +10:00
generic.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
i18n.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
image_occlusion.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
import_export.proto Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
links.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
media.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
notes.proto Improve presentation of importing results (#2568) 2023-08-02 20:29:44 +10:00
notetypes.proto Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
scheduler.proto Integrate the FSRS optimizer (#2633) 2023-09-05 18:45:05 +10:00
search.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
stats.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
sync.proto Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
tags.proto More service generation refactoring 2023-06-22 09:46:09 +10:00