Anki/rslib/src
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 Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
backend Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
card Make some more fields/methods public 2023-06-20 21:59:49 +10:00
card_rendering Avoid allocating in extract_latex() if possible; make public 2023-08-19 08:05:39 +10:00
collection Drop legacy schema option 2023-09-06 15:49:14 +10:00
config Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
deckconfig Integrate the FSRS optimizer (#2633) 2023-09-05 18:45:05 +10:00
decks Update nightly formatter 2023-09-02 16:13:50 +10:00
error Fix stack overflow in request::Error mapping 2023-09-05 15:27:17 +10:00
i18n Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
image_occlusion Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
import_export Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
media Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
notes Make some more fields/methods public 2023-06-20 21:59:49 +10:00
notetype Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
revlog Bump Rust version 2023-03-31 14:11:33 +10:00
scheduler Integrate the FSRS optimizer (#2633) 2023-09-05 18:45:05 +10:00
search Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
stats Update nightly formatter 2023-09-02 16:13:50 +10:00
storage Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
sync Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
tags Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
undo Fix invalid ids on db check (#2445) 2023-03-19 10:58:35 +10:00
adding.rs Default to current deck in csv import if settings allow it (#2527) 2023-05-31 13:47:12 +10:00
browser_table.rs Rework RenderCardOutput::question/answer 2023-06-27 00:37:41 +10:00
cloze.rs Update nightly formatter 2023-09-02 16:13:50 +10:00
dbcheck.rs Update nightly formatter 2023-09-02 16:13:50 +10:00
findreplace.rs Fix invalid ids on db check (#2445) 2023-03-19 10:58:35 +10:00
latex.rs Fix clippy issues in Rust 1.72 2023-08-25 07:56:38 +10:00
lib.rs Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
links.rs Fix importing link 2023-08-31 07:52:21 +10:00
log.rs Update Rust deps (#2332) 2023-01-18 22:24:29 +10:00
markdown.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
ops.rs Feature image occlusion (#2367) 2023-03-29 12:33:19 +10:00
preferences.rs Move generated protobuf into anki_proto 2023-06-12 15:47:51 +10:00
prelude.rs Move generated protobuf into anki_proto 2023-06-12 15:47:51 +10:00
progress.rs Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
serde.rs Take another approach to dealing with conflicting flattened keys 2023-08-15 11:25:53 +10:00
services.rs Refactor service generation (#2552) 2023-06-19 15:33:40 +10:00
template.rs Update nightly formatter 2023-09-02 16:13:50 +10:00
template_filters.rs Fix clippy issues in Rust 1.72 2023-08-25 07:56:38 +10:00
tests.rs Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
text.rs Fix clippy issues in Rust 1.72 2023-08-25 07:56:38 +10:00
timestamp.rs Add time of date to browser date columns 2023-03-26 14:49:49 +10:00
typeanswer.rs Fix clippy issues in Rust 1.72 2023-08-25 07:56:38 +10:00
types.rs update scheduling ops 2021-04-06 16:38:42 +10:00
version.rs Rework syncing code, and replace local sync server (#2329) 2023-01-18 12:43:46 +10:00