mirror of
https://github.com/readest/readest.git
synced 2026-12-03 03:30:01 +00:00
OPDS catalog downloads and subscription auto-sync queued Readest Cloud
uploads gated only on the provider being active, so book files were
uploaded even when the user had turned Books sync off in Manage Sync.
Normal library imports already honor the toggle in ingestService.
Extract the shared policy into queueOPDSBookUploads, which checks
isSyncCategoryEnabled('book') alongside the provider gate, and use it
at both call sites. The explicit per-book Upload action and Upload All
stay ungated by design.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| readest-app | ||
| readest-calibre-plugin | ||
| readest.koplugin | ||