fix(smart-scope): enable per-user kobo sync for shared smart scopes

Store per-user Kobo sync subscriptions for shared smart scopes in a new database table. This allows non-owner users to independently toggle Kobo sync on public smart scopes without modifying the owner's settings.

Closes #795
This commit is contained in:
neon
2026-07-28 21:28:12 +00:00
parent c2884bd664
commit 75a7cd58b2
31 changed files with 16486 additions and 45 deletions
+9 -1
View File
@@ -6657,6 +6657,11 @@
"defaultName": "Escopo inteligente",
"filter": "Filtro",
"edit": "Editar SmartScope",
"koboSync": {
"label": "Sync to my Kobo",
"enabledHint": "Books in this shared Smart Scope sync to your Kobo device. Turn off to stop syncing them.",
"disabledHint": "Turn on to sync books in this shared Smart Scope to your Kobo device."
},
"showControlsAria": "Exibir controles do SmartScope",
"hideFilter": "Ocultar filtro",
"showFilter": "Mostrar filtro",
@@ -6664,7 +6669,10 @@
"loadError": "Não foi possível carregar este SmartScope",
"toast": {
"deleted": "\"{name}\" excluído(a)",
"deleteFailed": "Falha ao excluir \"{name}\""
"deleteFailed": "Falha ao excluir \"{name}\"",
"koboSyncEnabled": "\"{name}\" now syncs to your Kobo",
"koboSyncDisabled": "\"{name}\" no longer syncs to your Kobo",
"koboSyncFailed": "Failed to update Kobo sync for \"{name}\""
},
"empty": {
"noRules": "Nenhuma regra configurada",