readest/apps/readest.koplugin
Huang Xin b8ddb5475e
Some checks are pending
PR checks / rust_lint (push) Waiting to run
PR checks / build_web_app (push) Waiting to run
PR checks / build_tauri_app (push) Waiting to run
Deploy to vercel on merge / build_and_deploy (push) Waiting to run
feat(sync): add full sync option for annotations in koplugin, closes #3710 (#3718)
Add "Full sync all annotations" menu item that pushes and pulls all
annotations regardless of the last sync timestamp, enabling users to
sync old highlights that were created before the plugin was installed.

Changes:
- Add full_sync parameter to push/pull that bypasses timestamp filter
  and uses since=0 for pulling all server annotations
- Deduplicate by annotation ID alongside position-based dedup
- Store server ID on pulled annotations and reuse it when pushing
- Parse ISO 8601 timestamps from server to preserve original
  created/updated dates instead of using current time
- Resolve KOReader page numbers from xpointers via getPageFromXPointer
- Resolve Readest page numbers from CFI via getCFIProgress on pull

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 15:35:48 +02:00
..
_meta.lua feat: readest koplugin for progress sync (#1753) 2025-08-06 17:12:00 +02:00
main.lua feat(sync): add full sync option for annotations in koplugin, closes #3710 (#3718) 2026-04-01 15:35:48 +02:00
readest-sync-api.json feat(kosync): use metadata hash to aggregate different versions of the same book (#2063) 2025-09-18 14:51:26 +02:00
readestsync.lua feat(kosync): use metadata hash to aggregate different versions of the same book (#2063) 2025-09-18 14:51:26 +02:00
selfupdate.lua feat(koplugin): add support for annotation sync (#3579) 2026-03-21 16:43:51 +01:00
supabase-auth-api.json feat(kosync): use metadata hash to aggregate different versions of the same book (#2063) 2025-09-18 14:51:26 +02:00
supabaseauth.lua feat: readest koplugin for progress sync (#1753) 2025-08-06 17:12:00 +02:00
syncannotations.lua feat(sync): add full sync option for annotations in koplugin, closes #3710 (#3718) 2026-04-01 15:35:48 +02:00
syncauth.lua fix(koplugin): fixed koreader crash on logout, closes #3598 (#3603) 2026-03-23 15:08:51 +01:00
syncconfig.lua feat(koplugin): add support for annotation sync (#3579) 2026-03-21 16:43:51 +01:00