Anki/rslib/src/sync
Damien Elmes 9b5da546be Check collection size when syncing
Currently we only check the size on a one-way sync, allowing users
to bypass the limits by incrementally syncing a lot of material.
To prevent this:

- The server now checks if the collection is already oversize,
and forces a one-way sync if it is
- The client checks if the local collection is oversize and refuses
to proceed, so they don't waste time uploading material that will
likely trigger the limit the next time they sync.
2025-03-10 20:28:57 +07:00
..
collection Check collection size when syncing 2025-03-10 20:28:57 +07:00
http_client Update to Rust 1.80 2024-08-05 15:37:59 +07:00
http_server Update to Rust 1.85 2025-02-21 10:42:42 +07:00
media Fully switch to File::set_times() from utime crate (#3503) 2024-10-16 02:35:37 +10:00
request lazy_static → once_cell → stabilized versions (#3447) 2024-09-30 23:35:06 +10:00
error.rs Implement HttpError directly so that sources can be extracted properly 2023-03-01 19:46:06 +10:00
login.rs Change Anki's version scheme; bump to 23.09 (#2640) 2023-09-07 12:37:15 +10:00
mod.rs Rework syncing code, and replace local sync server (#2329) 2023-01-18 12:43:46 +10:00
response.rs Update axum/reqwest for hyper 1.0 2024-07-06 18:45:32 +07:00
version.rs Move generated protobuf into anki_proto 2023-06-12 15:47:51 +10:00