anki/rslib
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
..
benches Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
i18n Stop including Qt translations when EXTRA_FTL_ROOT provided 2023-07-04 18:26:27 +10:00
io Add updated script for transforming ftl text 2023-07-06 22:27:09 +10:00
linkchecker Drop workspace-hack in favor of workspace deps 2023-06-23 17:41:31 +10:00
process Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
proto Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
proto_gen Update nightly formatter 2023-09-02 16:13:50 +10:00
src Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
sync Support creating a standalone sync server 2023-07-02 18:22:44 +10:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
build.rs Fix building outside workspace 2023-07-02 18:22:44 +10:00
Cargo.toml Change Anki's version scheme; bump to 23.09 (#2640) 2023-09-07 12:37:15 +10:00
README.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
rust_interface.rs Update nightly formatter 2023-09-02 16:13:50 +10:00

Anki's Rust code.