@fiduswriter/frontend 0.1.64 → 0.1.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/api/index.d.ts +1 -1
  2. package/dist/api/index.d.ts.map +1 -1
  3. package/dist/css/document-template-editor/document_template_designer.css +68 -68
  4. package/dist/css/editor/editor.css +39 -3
  5. package/dist/css/fwtoolkit/content_menu.css +4 -1
  6. package/dist/css/fwtoolkit/dialog.css +27 -0
  7. package/dist/css/fwtoolkit/fwtoolkit.css +49 -2
  8. package/dist/css/fwtoolkit/pulldown.css +10 -1
  9. package/dist/css/fwtoolkit/pulldown_menu.css +8 -0
  10. package/dist/css/image-manager/dialog_usermedia.css +41 -41
  11. package/dist/documents/importer/native/import.d.ts.map +1 -1
  12. package/dist/documents/importer/native/import.js +16 -3
  13. package/dist/documents/importer/native/import.js.map +1 -1
  14. package/dist/documents/overview/actions.d.ts.map +1 -1
  15. package/dist/documents/overview/actions.js +13 -2
  16. package/dist/documents/overview/actions.js.map +1 -1
  17. package/dist/documents/overview/index.js +1 -1
  18. package/dist/documents/revisions/index.js +6 -6
  19. package/dist/maintenance/index.js +4 -4
  20. package/dist/user/auth/two_factor.d.ts.map +1 -1
  21. package/dist/user/auth/two_factor.js +52 -4
  22. package/dist/user/auth/two_factor.js.map +1 -1
  23. package/dist/user/profile/index.d.ts.map +1 -1
  24. package/dist/user/profile/index.js +2 -2
  25. package/dist/user/profile/index.js.map +1 -1
  26. package/locale/ar/messages.json +10 -10
  27. package/locale/bg/messages.json +10 -10
  28. package/locale/cs/messages.json +10 -10
  29. package/locale/da/messages.json +10 -10
  30. package/locale/de/messages.json +10 -10
  31. package/locale/en/messages.json +10 -10
  32. package/locale/en_US/messages.json +10 -10
  33. package/locale/es/messages.json +10 -10
  34. package/locale/fr/messages.json +10 -10
  35. package/locale/it/messages.json +10 -10
  36. package/locale/ja/messages.json +10 -10
  37. package/locale/ko/messages.json +10 -10
  38. package/locale/nb/messages.json +10 -10
  39. package/locale/nl/messages.json +10 -10
  40. package/locale/pl/messages.json +10 -10
  41. package/locale/pt_BR/messages.json +10 -10
  42. package/locale/pt_PT/messages.json +10 -10
  43. package/locale/ru/messages.json +10 -10
  44. package/locale/sv/messages.json +10 -10
  45. package/locale/tr/messages.json +10 -10
  46. package/locale/zh_Hans/messages.json +10 -10
  47. package/package.json +4 -4
  48. package/src/api/index.ts +1 -1
  49. package/src/documents/importer/native/import.ts +22 -3
  50. package/src/documents/overview/actions.ts +16 -2
  51. package/src/documents/overview/index.ts +1 -1
  52. package/src/documents/revisions/index.ts +6 -6
  53. package/src/maintenance/index.ts +4 -4
  54. package/src/user/auth/two_factor.ts +79 -7
  55. package/src/user/profile/index.ts +4 -2
@@ -11,7 +11,7 @@
11
11
  "Advantages": "Zalety",
12
12
  "All document templates updated!": "Wszystkie szablony dokumentów zaktualizowane!",
13
13
  "All documents updated!": "Wszystkie dokumenty zaktualizowane!",
14
- "All documents, document templates and document revisions updated!": "Wszystkie dokumenty, szablony dokumentów i wersje dokumentów zostały zaktualizowane!",
14
+ "All documents, document templates and document snapshots updated!": "Wszystkie dokumenty, szablony dokumentów i wersje dokumentów zostały zaktualizowane!",
15
15
  "All fields are required!": "Wszystkie pola są wymagane!",
16
16
  "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "Czy na pewno chcesz wyłączyć uwierzytelnianie dwuskładnikowe? Zmniejszy to bezpieczeństwo Twojego konta.",
17
17
  "Bibliography": "Bibliografia",
@@ -54,7 +54,7 @@
54
54
  "Could not delete avatar": "Nie można usunąć awatara",
55
55
  "Could not delete document": "Nie można usunąć dokumentu",
56
56
  "Could not delete document template": "Nie można usunąć szablonu dokumentu",
57
- "Could not delete revision.": "Nie można usunąć wersji.",
57
+ "Could not delete snapshot.": "Nie można usunąć migawki.",
58
58
  "Could not delete user account.": "Nie można usunąć konta użytkownika.",
59
59
  "Could not disable two-factor authentication.": "Nie można wyłączyć uwierzytelniania dwuskładnikowego.",
60
60
  "Could not download batch": "Nie można pobrać partii",
@@ -97,7 +97,7 @@
97
97
  "Disconnected": "Rozłączono",
98
98
  "Do you really want to delete the following document?": "Czy na pewno chcesz usunąć następujący dokument?",
99
99
  "Do you really want to delete the following documents?": "Czy na pewno chcesz usunąć następujące dokumenty?",
100
- "Do you really want to delete the revision?": "Czy na pewno chcesz usunąć wersję?",
100
+ "Do you really want to delete the snapshot?": "Czy na pewno chcesz usunąć migawkę?",
101
101
  "Do you want to accept the below invite?": "Czy chcesz przyjąć poniższe zaproszenie?",
102
102
  "Do you want to accept the below invites?": "Czy chcesz przyjąć poniższe zaproszenia?",
103
103
  "Document data loading failed.": "Ładowanie danych dokumentu nie powiodło się.",
@@ -205,7 +205,7 @@
205
205
  "No additional protection beyond your account password.": "Żadnej dodatkowej ochrony poza hasłem do konta.",
206
206
  "No contacts available": "Brak dostępnych kontaktów",
207
207
  "No contacts found": "Nie znaleziono żadnych kontaktów",
208
- "No document revisions to update.": "Brak wersji dokumentów do aktualizacji.",
208
+ "No document snapshots to update.": "Brak migawek dokumentów do aktualizacji.",
209
209
  "No document templates available": "Brak dostępnych szablonów dokumentów",
210
210
  "No document templates found": "Nie znaleziono szablonów dokumentów",
211
211
  "No document templates to update.": "Brak szablonów dokumentów do aktualizacji.",
@@ -250,11 +250,11 @@
250
250
  "Reset My Password": "Zresetuj moje hasło",
251
251
  "Reset Password": "Zresetuj hasło",
252
252
  "Respond": "Reagować",
253
- "Revision deleted": "Wersja usunięta",
254
- "Revision of": "Rewizja",
255
- "Revisions": "Wersje",
253
+ "Snapshot deleted": "Migawka usunięta",
254
+ "Snapshot of": "Migawka",
255
+ "Snapshots": "Migawki",
256
256
  "Save": "Zapisz",
257
- "Saved revisions of": "Zapisane wersje",
257
+ "Saved snapshots of": "Zapisane migawki",
258
258
  "Saved template": "Zapisany szablon",
259
259
  "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "Zeskanuj ten kod QR za pomocą aplikacji uwierzytelniającej (Google Authenticator, Authy itp.)",
260
260
  "Search contacts": "Wyszukaj kontakty",
@@ -293,7 +293,7 @@
293
293
  "The %(appName)s server is currently being updated. Please wait.": "Serwer %(appName)s jest obecnie aktualizowany. Proszę czekać.",
294
294
  "The account could not be deleted!": "Konto nie mogło zostać usunięte!",
295
295
  "The document has been updated": "Dokument został zaktualizowany",
296
- "The document revision has been updated: ": "Wersja dokumentu została zaktualizowana:",
296
+ "The document snapshot has been updated: ": "Migawka dokumentu została zaktualizowana:",
297
297
  "The document template could not be copied": "Nie można skopiować szablonu dokumentu",
298
298
  "The document template has been updated": "Szablon dokumentu został zaktualizowany",
299
299
  "The email could not be added!": "Nie można dodać adresu e-mail!",
@@ -325,7 +325,7 @@
325
325
  "Update": "Aktualizuj",
326
326
  "Updating document templates.": "Aktualizacja szablonów dokumentów.",
327
327
  "Updating documents.": "Aktualizacja dokumentów.",
328
- "Updating saved revisions.": "Aktualizowanie zapisanych wersji.",
328
+ "Updating saved snapshots.": "Aktualizowanie zapisanych migawek.",
329
329
  "Updating...": "Aktualizowanie...",
330
330
  "Upload": "Wgraj",
331
331
  "Upload FIDUSTEMPLATE file": "Prześlij plik FIDUSTEMPLATE",
@@ -11,7 +11,7 @@
11
11
  "Advantages": "Vantagens",
12
12
  "All document templates updated!": "Todos modelos de documento foram atualizados!",
13
13
  "All documents updated!": "Todos documentos atualizados!",
14
- "All documents, document templates and document revisions updated!": "Todos os documentos, modelos e revisões de documentos atualizados!",
14
+ "All documents, document templates and document snapshots updated!": "Todos os documentos, modelos e instantâneos de documentos atualizados!",
15
15
  "All fields are required!": "Todos os campos são obrigatórios!",
16
16
  "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "Tem certeza de que deseja desativar a autenticação de dois fatores? Isso reduzirá a segurança da sua conta.",
17
17
  "Bibliography": "Bibliografia",
@@ -54,7 +54,7 @@
54
54
  "Could not delete avatar": "Não foi possível excluir o avatar",
55
55
  "Could not delete document": "Não foi possível excluir documento",
56
56
  "Could not delete document template": "Não foi possível excluir o modelo do documento",
57
- "Could not delete revision.": "Não foi possível excluir a revisão.",
57
+ "Could not delete snapshot.": "Não foi possível excluir o instantâneo.",
58
58
  "Could not delete user account.": "Não foi possível excluir a conta de usuário.",
59
59
  "Could not disable two-factor authentication.": "Não foi possível desativar a autenticação de dois fatores.",
60
60
  "Could not download batch": "Não foi possível baixar lote",
@@ -97,7 +97,7 @@
97
97
  "Disconnected": "Desconectado",
98
98
  "Do you really want to delete the following document?": "Tem certeza de que deseja excluir o seguinte documento?",
99
99
  "Do you really want to delete the following documents?": "Tem certeza de que deseja excluir os seguintes documentos?",
100
- "Do you really want to delete the revision?": "Você realmente quer excluir a revisão?",
100
+ "Do you really want to delete the snapshot?": "Você realmente quer excluir o instantâneo?",
101
101
  "Do you want to accept the below invite?": "Você quer aceitar o convite abaixo?",
102
102
  "Do you want to accept the below invites?": "Você quer aceitar os convites abaixo?",
103
103
  "Document data loading failed.": "O carregamento dos dados do documento falhou.",
@@ -205,7 +205,7 @@
205
205
  "No additional protection beyond your account password.": "Nenhuma proteção adicional além da senha da sua conta.",
206
206
  "No contacts available": "Nenhum contato disponível",
207
207
  "No contacts found": "Nenhum contato encontrado",
208
- "No document revisions to update.": "Nenhuma revisão de documento para atualizar.",
208
+ "No document snapshots to update.": "Nenhum instantâneo de documento para atualizar.",
209
209
  "No document templates available": "Nenhum modelo de documento disponível",
210
210
  "No document templates found": "Nenhum modelo de documento encontrado",
211
211
  "No document templates to update.": "Nenhum modelo de documento para atualizar.",
@@ -250,11 +250,11 @@
250
250
  "Reset My Password": "Redefinir Minha Senha",
251
251
  "Reset Password": "Redefinir Senha",
252
252
  "Respond": "Responder",
253
- "Revision deleted": "Revisão excluída",
254
- "Revision of": "Revisão de",
255
- "Revisions": "Revisões",
253
+ "Snapshot deleted": "Instantâneo excluído",
254
+ "Snapshot of": "Instantâneo de",
255
+ "Snapshots": "Instantâneos",
256
256
  "Save": "Salvar",
257
- "Saved revisions of": "Revisões gravadas de",
257
+ "Saved snapshots of": "Instantâneos gravados de",
258
258
  "Saved template": "Modelo salvo",
259
259
  "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "Digitalize este código QR com seu aplicativo autenticador (Google Authenticator, Authy, etc.)",
260
260
  "Search contacts": "Pesquisar contatos",
@@ -293,7 +293,7 @@
293
293
  "The %(appName)s server is currently being updated. Please wait.": "El servidor de %(appName)s se está actualizando actualmente. Por favor espera.",
294
294
  "The account could not be deleted!": "Não foi possível excluir a conta!",
295
295
  "The document has been updated": "O documento foi atualizado",
296
- "The document revision has been updated: ": "A bibliografia foi atualizada: ",
296
+ "The document snapshot has been updated: ": "O instantâneo do documento foi atualizado: ",
297
297
  "The document template could not be copied": "Não foi possível copiar o modelo do documento",
298
298
  "The document template has been updated": "O modelo de documento foi atualizado",
299
299
  "The email could not be added!": "O email não pôde ser adicionado!",
@@ -325,7 +325,7 @@
325
325
  "Update": "Atualizar",
326
326
  "Updating document templates.": "Atualizando modelos de documento.",
327
327
  "Updating documents.": "Atualização de documentos.",
328
- "Updating saved revisions.": "Atualizando revisões salvas.",
328
+ "Updating saved snapshots.": "Atualizando instantâneos salvos.",
329
329
  "Updating...": "Atualizando...",
330
330
  "Upload": "Carregar",
331
331
  "Upload FIDUSTEMPLATE file": "Carregar arquivo FIDUSTEMPLATE",
@@ -11,7 +11,7 @@
11
11
  "Advantages": "Vantagens",
12
12
  "All document templates updated!": "Todos os modelos de documentos atualizados!",
13
13
  "All documents updated!": "Todos os documentos atualizados!",
14
- "All documents, document templates and document revisions updated!": "Todos os documentos, modelos de documentos e revisões de documentos atualizados!",
14
+ "All documents, document templates and document snapshots updated!": "Todos os documentos, modelos de documentos e revisões de documentos atualizados!",
15
15
  "All fields are required!": "Todos os campos são obrigatórios!",
16
16
  "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "Tem certeza de que deseja desativar a autenticação de dois fatores? Isso reduzirá a segurança da sua conta.",
17
17
  "Bibliography": "Bibliografia",
@@ -54,7 +54,7 @@
54
54
  "Could not delete avatar": "Não foi possível excluir o avatar",
55
55
  "Could not delete document": "Não foi possível excluir o documento",
56
56
  "Could not delete document template": "Não foi possível excluir o modelo do documento",
57
- "Could not delete revision.": "Não foi possível excluir a revisão.",
57
+ "Could not delete snapshot.": "Não foi possível excluir o instantâneo.",
58
58
  "Could not delete user account.": "Não foi possível excluir a conta do usuário.",
59
59
  "Could not disable two-factor authentication.": "Não foi possível desativar a autenticação de dois fatores.",
60
60
  "Could not download batch": "Não foi possível baixar o lote",
@@ -97,7 +97,7 @@
97
97
  "Disconnected": "Desconectado",
98
98
  "Do you really want to delete the following document?": "Você realmente deseja excluir o seguinte documento?",
99
99
  "Do you really want to delete the following documents?": "Você realmente deseja excluir os seguintes documentos?",
100
- "Do you really want to delete the revision?": "Você realmente deseja excluir a revisão?",
100
+ "Do you really want to delete the snapshot?": "Você realmente deseja excluir o instantâneo?",
101
101
  "Do you want to accept the below invite?": "Quer aceitar o convite abaixo?",
102
102
  "Do you want to accept the below invites?": "Quer aceitar os convites abaixo?",
103
103
  "Document data loading failed.": "Falha no carregamento dos dados do documento.",
@@ -205,7 +205,7 @@
205
205
  "No additional protection beyond your account password.": "Nenhuma proteção adicional além da senha da sua conta.",
206
206
  "No contacts available": "Nenhum contato disponível",
207
207
  "No contacts found": "Nenhum contato encontrado",
208
- "No document revisions to update.": "Nenhuma revisão de documento para atualizar.",
208
+ "No document snapshots to update.": "Nenhum instantâneo de documento para atualizar.",
209
209
  "No document templates available": "Nenhum modelo de documento disponível",
210
210
  "No document templates found": "Nenhum modelo de documento encontrado",
211
211
  "No document templates to update.": "Nenhum modelo de documento para atualizar.",
@@ -250,11 +250,11 @@
250
250
  "Reset My Password": "Redefinir minha senha",
251
251
  "Reset Password": "Redefinir senha",
252
252
  "Respond": "Responder",
253
- "Revision deleted": "Revisão excluída",
254
- "Revision of": "Revisão de",
255
- "Revisions": "Revisões",
253
+ "Snapshot deleted": "Instantâneo excluído",
254
+ "Snapshot of": "Instantâneo de",
255
+ "Snapshots": "Instantâneos",
256
256
  "Save": "Salvar",
257
- "Saved revisions of": "Revisões salvas de",
257
+ "Saved snapshots of": "Instantâneos salvos de",
258
258
  "Saved template": "Modelo salvo",
259
259
  "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "Digitalize este código QR com seu aplicativo autenticador (Google Authenticator, Authy, etc.)",
260
260
  "Search contacts": "Pesquisar contatos",
@@ -293,7 +293,7 @@
293
293
  "The %(appName)s server is currently being updated. Please wait.": "O servidor %(appName)s está sendo atualizado. Por favor, aguarde.",
294
294
  "The account could not be deleted!": "A conta não pôde ser excluída!",
295
295
  "The document has been updated": "O documento foi atualizado",
296
- "The document revision has been updated: ": "A revisão do documento foi atualizada:",
296
+ "The document snapshot has been updated: ": "O instantâneo do documento foi atualizado:",
297
297
  "The document template could not be copied": "O modelo do documento não pôde ser copiado",
298
298
  "The document template has been updated": "O modelo do documento foi atualizado",
299
299
  "The email could not be added!": "Não foi possível adicionar o e-mail!",
@@ -325,7 +325,7 @@
325
325
  "Update": "Atualizar",
326
326
  "Updating document templates.": "Atualizando modelos de documentos.",
327
327
  "Updating documents.": "Atualização de documentos.",
328
- "Updating saved revisions.": "Atualizando revisões salvas.",
328
+ "Updating saved snapshots.": "Atualizando instantâneos salvos.",
329
329
  "Updating...": "Atualizando...",
330
330
  "Upload": "Carregar",
331
331
  "Upload FIDUSTEMPLATE file": "Carregar arquivo FIDUSTEMPLATE",
@@ -11,7 +11,7 @@
11
11
  "Advantages": "Преимущества",
12
12
  "All document templates updated!": "Все шаблоны документов обновлены!",
13
13
  "All documents updated!": "Все документы обновлены!",
14
- "All documents, document templates and document revisions updated!": "Все документы, шаблоны документов и версии документов обновлены!",
14
+ "All documents, document templates and document snapshots updated!": "Все документы, шаблоны документов и снимки документов обновлены!",
15
15
  "All fields are required!": "Все поля обязательны!",
16
16
  "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "Вы уверены, что хотите отключить двухфакторную аутентификацию? Это снизит безопасность вашего аккаунта.",
17
17
  "Bibliography": "Библиография",
@@ -54,7 +54,7 @@
54
54
  "Could not delete avatar": "Не удалось удалить аватар",
55
55
  "Could not delete document": "Не удалось удалить документ",
56
56
  "Could not delete document template": "Не удалось удалить шаблон документа.",
57
- "Could not delete revision.": "Не удалось удалить редакцию.",
57
+ "Could not delete snapshot.": "Не удалось удалить снимок.",
58
58
  "Could not delete user account.": "Не удалось удалить учетную запись пользователя.",
59
59
  "Could not disable two-factor authentication.": "Не удалось отключить двухфакторную аутентификацию.",
60
60
  "Could not download batch": "Не удалось загрузить пакет",
@@ -97,7 +97,7 @@
97
97
  "Disconnected": "Отключено",
98
98
  "Do you really want to delete the following document?": "Вы действительно хотите удалить следующий документ?",
99
99
  "Do you really want to delete the following documents?": "Вы действительно хотите удалить следующие документы?",
100
- "Do you really want to delete the revision?": "Вы действительно хотите удалить редакцию?",
100
+ "Do you really want to delete the snapshot?": "Вы действительно хотите удалить снимок?",
101
101
  "Do you want to accept the below invite?": "Хотите принять приглашение ниже?",
102
102
  "Do you want to accept the below invites?": "Хотите принять приведенные ниже приглашения?",
103
103
  "Document data loading failed.": "Не удалось загрузить данные документа.",
@@ -205,7 +205,7 @@
205
205
  "No additional protection beyond your account password.": "Никакой дополнительной защиты, кроме пароля вашей учетной записи.",
206
206
  "No contacts available": "Нет доступных контактов",
207
207
  "No contacts found": "Контакты не найдены",
208
- "No document revisions to update.": "Нет редакций документа для обновления.",
208
+ "No document snapshots to update.": "Нет снимков документа для обновления.",
209
209
  "No document templates available": "Нет доступных шаблонов документов",
210
210
  "No document templates found": "Шаблоны документов не найдены",
211
211
  "No document templates to update.": "Нет шаблонов документов для обновления.",
@@ -250,11 +250,11 @@
250
250
  "Reset My Password": "Сбросить мой пароль",
251
251
  "Reset Password": "Сбросить пароль",
252
252
  "Respond": "Отвечать",
253
- "Revision deleted": "Версия удалена.",
254
- "Revision of": "Пересмотр",
255
- "Revisions": "Редакции",
253
+ "Snapshot deleted": "Снимок удален.",
254
+ "Snapshot of": "Снимок",
255
+ "Snapshots": "Снимки",
256
256
  "Save": "Сохранить",
257
- "Saved revisions of": "Сохраненные версии",
257
+ "Saved snapshots of": "Сохраненные снимки",
258
258
  "Saved template": "Сохраненный шаблон",
259
259
  "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "Отсканируйте этот QR-код с помощью приложения для аутентификации (Google Authenticator, Authy и т. д.).",
260
260
  "Search contacts": "Поиск контактов",
@@ -293,7 +293,7 @@
293
293
  "The %(appName)s server is currently being updated. Please wait.": "Сервер %(appName)s в настоящее время обновляется. Пожалуйста, подождите.",
294
294
  "The account could not be deleted!": "Аккаунт не может быть удален!",
295
295
  "The document has been updated": "Документ обновлен",
296
- "The document revision has been updated: ": "Обновлена ​​редакция документа:",
296
+ "The document snapshot has been updated: ": "Обновлен снимок документа:",
297
297
  "The document template could not be copied": "Не удалось скопировать шаблон документа.",
298
298
  "The document template has been updated": "Шаблон документа обновлен.",
299
299
  "The email could not be added!": "Не удалось добавить адрес электронной почты!",
@@ -325,7 +325,7 @@
325
325
  "Update": "Обновить",
326
326
  "Updating document templates.": "Обновление шаблонов документов.",
327
327
  "Updating documents.": "Обновление документов.",
328
- "Updating saved revisions.": "Обновление сохраненных ревизий.",
328
+ "Updating saved snapshots.": "Обновление сохраненных снимков.",
329
329
  "Updating...": "Обновление...",
330
330
  "Upload": "Загрузить",
331
331
  "Upload FIDUSTEMPLATE file": "Загрузите файл FIDUSTEMPLATE",
@@ -11,7 +11,7 @@
11
11
  "Advantages": "Fördelar",
12
12
  "All document templates updated!": "Alla dokumentmallar uppdaterade!",
13
13
  "All documents updated!": "Alla dokument uppdaterade!",
14
- "All documents, document templates and document revisions updated!": "Alla dokument, dokumentmallar och dokumentrevisioner uppdaterade!",
14
+ "All documents, document templates and document snapshots updated!": "Alla dokument, dokumentmallar och dokumentögonblicksbilder uppdaterade!",
15
15
  "All fields are required!": "Alla fält är obligatoriska!",
16
16
  "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "Är du säker på att du vill inaktivera tvåfaktorsautentisering? Detta kommer att minska säkerheten för ditt konto.",
17
17
  "Bibliography": "Bibliografi",
@@ -54,7 +54,7 @@
54
54
  "Could not delete avatar": "Kunde inte ta bort avatar",
55
55
  "Could not delete document": "Det gick inte att ta bort dokumentet",
56
56
  "Could not delete document template": "Det gick inte att ta bort dokumentmall",
57
- "Could not delete revision.": "Det gick inte att ta bort revisionen.",
57
+ "Could not delete snapshot.": "Det gick inte att ta bort ögonblicksbilden.",
58
58
  "Could not delete user account.": "Kunde inte ta bort användarkonto.",
59
59
  "Could not disable two-factor authentication.": "Det gick inte att inaktivera tvåfaktorsautentisering.",
60
60
  "Could not download batch": "Det gick inte att ladda ned batch",
@@ -97,7 +97,7 @@
97
97
  "Disconnected": "Frånkopplad",
98
98
  "Do you really want to delete the following document?": "Vill du verkligen ta bort följande dokument?",
99
99
  "Do you really want to delete the following documents?": "Vill du verkligen ta bort följande dokument?",
100
- "Do you really want to delete the revision?": "Vill du verkligen ta bort revisionen?",
100
+ "Do you really want to delete the snapshot?": "Vill du verkligen ta bort ögonblicksbilden?",
101
101
  "Do you want to accept the below invite?": "Vill du acceptera inbjudan nedan?",
102
102
  "Do you want to accept the below invites?": "Vill du acceptera nedanstående inbjudningar?",
103
103
  "Document data loading failed.": "Det gick inte att ladda dokumentdata.",
@@ -205,7 +205,7 @@
205
205
  "No additional protection beyond your account password.": "Inget ytterligare skydd utöver ditt kontolösenord.",
206
206
  "No contacts available": "Inga kontakter tillgängliga",
207
207
  "No contacts found": "Inga kontakter hittades",
208
- "No document revisions to update.": "Inga dokumentrevisioner att uppdatera.",
208
+ "No document snapshots to update.": "Inga dokumentögonblicksbilder att uppdatera.",
209
209
  "No document templates available": "Inga dokumentmallar tillgängliga",
210
210
  "No document templates found": "Inga dokumentmallar hittades",
211
211
  "No document templates to update.": "Inga dokumentmallar att uppdatera.",
@@ -250,11 +250,11 @@
250
250
  "Reset My Password": "Återställ mitt lösenord",
251
251
  "Reset Password": "Återställ lösenord",
252
252
  "Respond": "Svara",
253
- "Revision deleted": "Revision raderad",
254
- "Revision of": "Revision av",
255
- "Revisions": "Revisioner",
253
+ "Snapshot deleted": "Ögonblicksbild raderad",
254
+ "Snapshot of": "Ögonblicksbild av",
255
+ "Snapshots": "Ögonblicksbilder",
256
256
  "Save": "Spara",
257
- "Saved revisions of": "Sparade versioner av",
257
+ "Saved snapshots of": "Sparade ögonblicksbilder av",
258
258
  "Saved template": "Sparad mall",
259
259
  "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "Skanna den här QR-koden med din autentiseringsapp (Google Authenticator, Authy, etc.)",
260
260
  "Search contacts": "Sök kontakter",
@@ -293,7 +293,7 @@
293
293
  "The %(appName)s server is currently being updated. Please wait.": "%(appName)s server uppdateras för närvarande. Vänta.",
294
294
  "The account could not be deleted!": "Kontot kunde inte raderas!",
295
295
  "The document has been updated": "Dokumentet har uppdaterats",
296
- "The document revision has been updated: ": "Dokumentrevisionen har uppdaterats:",
296
+ "The document snapshot has been updated: ": "Dokumentögonblicksbilden har uppdaterats:",
297
297
  "The document template could not be copied": "Dokumentmallen kunde inte kopieras",
298
298
  "The document template has been updated": "Dokumentmallen har uppdaterats",
299
299
  "The email could not be added!": "E-postadressen kunde inte läggas till!",
@@ -325,7 +325,7 @@
325
325
  "Update": "Uppdatera",
326
326
  "Updating document templates.": "Uppdatering av dokumentmallar.",
327
327
  "Updating documents.": "Uppdatering av dokument.",
328
- "Updating saved revisions.": "Uppdaterar sparade versioner.",
328
+ "Updating saved snapshots.": "Uppdaterar sparade ögonblicksbilder.",
329
329
  "Updating...": "Uppdaterar...",
330
330
  "Upload": "Ladda upp",
331
331
  "Upload FIDUSTEMPLATE file": "Ladda upp filen FIDUSTEMPLATE",
@@ -11,7 +11,7 @@
11
11
  "Advantages": "Avantajları",
12
12
  "All document templates updated!": "Tüm belge şablonları güncellendi!",
13
13
  "All documents updated!": "Tüm belgeler güncellendi!",
14
- "All documents, document templates and document revisions updated!": "Tüm belgeler, belge şablonları ve belge revizyonları güncellendi!",
14
+ "All documents, document templates and document snapshots updated!": "Tüm belgeler, belge şablonları ve belge anlık görüntüleri güncellendi!",
15
15
  "All fields are required!": "Tüm alanlar zorunludur!",
16
16
  "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "İki faktörlü kimlik doğrulamayı devre dışı bırakmak istediğinizden emin misiniz? Bu hesabınızın güvenliğini azaltacaktır.",
17
17
  "Bibliography": "Kaynakça",
@@ -54,7 +54,7 @@
54
54
  "Could not delete avatar": "Avatar silinemedi",
55
55
  "Could not delete document": "Doküman silinemedi",
56
56
  "Could not delete document template": "Belge şablonu silinemedi",
57
- "Could not delete revision.": "Düzeltme silinemedi.",
57
+ "Could not delete snapshot.": "Anlık görüntü silinemedi.",
58
58
  "Could not delete user account.": "Kullanıcı hesabı silinemedi.",
59
59
  "Could not disable two-factor authentication.": "İki faktörlü kimlik doğrulama devre dışı bırakılamadı.",
60
60
  "Could not download batch": "Toplu indirilemedi",
@@ -97,7 +97,7 @@
97
97
  "Disconnected": "Bağlantı kesildi",
98
98
  "Do you really want to delete the following document?": "Aşağıdaki belgeyi gerçekten silmek istiyor musunuz?",
99
99
  "Do you really want to delete the following documents?": "Aşağıdaki belgeleri gerçekten silmek istiyor musunuz?",
100
- "Do you really want to delete the revision?": "Düzeltmeyi gerçekten silmek istiyor musunuz?",
100
+ "Do you really want to delete the snapshot?": "Anlık görüntüyü gerçekten silmek istiyor musunuz?",
101
101
  "Do you want to accept the below invite?": "Aşağıdaki daveti kabul etmek istiyor musunuz?",
102
102
  "Do you want to accept the below invites?": "Aşağıdaki davetleri kabul etmek istiyor musunuz?",
103
103
  "Document data loading failed.": "Belge verileri yükleme başarısız oldu.",
@@ -205,7 +205,7 @@
205
205
  "No additional protection beyond your account password.": "Hesap şifrenizin ötesinde ek koruma yoktur.",
206
206
  "No contacts available": "Kişi bulunamadı",
207
207
  "No contacts found": "Kişi bulunamadı",
208
- "No document revisions to update.": "Güncellenecek belge revizyonu yok.",
208
+ "No document snapshots to update.": "Güncellenecek belge anlık görüntüsü yok.",
209
209
  "No document templates available": "Belge şablonu yok",
210
210
  "No document templates found": "Belge şablonu bulunamadı",
211
211
  "No document templates to update.": "Güncellenecek belge şablonu yok.",
@@ -250,11 +250,11 @@
250
250
  "Reset My Password": "Şifremi Sıfırla",
251
251
  "Reset Password": "Şifreyi Sıfırla",
252
252
  "Respond": "Yanıtlamak",
253
- "Revision deleted": "Düzeltme silindi",
254
- "Revision of": "Revizyonu",
255
- "Revisions": "Revizyonlar",
253
+ "Snapshot deleted": "Anlık görüntü silindi",
254
+ "Snapshot of": "Anlık görüntü",
255
+ "Snapshots": "Anlık görüntüler",
256
256
  "Save": "Kaydet",
257
- "Saved revisions of": "Kaydedilen düzeltmeler",
257
+ "Saved snapshots of": "Kaydedilen anlık görüntüler",
258
258
  "Saved template": "Kayıtlı şablon",
259
259
  "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "Bu QR kodunu kimlik doğrulayıcı uygulamanızla (Google Authenticator, Authy vb.) tarayın.",
260
260
  "Search contacts": "Kişileri arayın",
@@ -293,7 +293,7 @@
293
293
  "The %(appName)s server is currently being updated. Please wait.": "%(appName)s sunucusu şu anda güncelleniyor. Lütfen bekleyin.",
294
294
  "The account could not be deleted!": "Hesap silinemedi!",
295
295
  "The document has been updated": "Belge güncellendi",
296
- "The document revision has been updated: ": "Doküman revizyonu güncellendi:",
296
+ "The document snapshot has been updated: ": "Belge anlık görüntüsü güncellendi:",
297
297
  "The document template could not be copied": "Belge şablonu kopyalanamadı",
298
298
  "The document template has been updated": "Belge şablonu güncellendi",
299
299
  "The email could not be added!": "E-posta eklenemedi!",
@@ -325,7 +325,7 @@
325
325
  "Update": "Güncelle",
326
326
  "Updating document templates.": "Belge şablonlarının güncellenmesi.",
327
327
  "Updating documents.": "Belgelerin güncellenmesi.",
328
- "Updating saved revisions.": "Kaydedilen revizyonlar güncelleniyor.",
328
+ "Updating saved snapshots.": "Kaydedilen anlık görüntüler güncelleniyor.",
329
329
  "Updating...": "Güncelleniyor...",
330
330
  "Upload": "Yükle",
331
331
  "Upload FIDUSTEMPLATE file": "FIDUSTEMPLATE dosyasını yükle",
@@ -11,7 +11,7 @@
11
11
  "Advantages": "优点",
12
12
  "All document templates updated!": "所有文档模板已更新!",
13
13
  "All documents updated!": "所有文档均已更新!",
14
- "All documents, document templates and document revisions updated!": "所有文档、文档模板和文档修订均已更新!",
14
+ "All documents, document templates and document snapshots updated!": "所有文档、文档模板和文档快照均已更新!",
15
15
  "All fields are required!": "所有字段均为必填!",
16
16
  "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "您确定要禁用双因素身份验证吗?这会降低您帐户的安全性。",
17
17
  "Bibliography": "参考书目",
@@ -54,7 +54,7 @@
54
54
  "Could not delete avatar": "无法删除头像",
55
55
  "Could not delete document": "无法删除文档",
56
56
  "Could not delete document template": "无法删除文档模板",
57
- "Could not delete revision.": "无法删除修订版。",
57
+ "Could not delete snapshot.": "无法删除快照。",
58
58
  "Could not delete user account.": "无法删除用户帐户。",
59
59
  "Could not disable two-factor authentication.": "无法禁用双因素身份验证。",
60
60
  "Could not download batch": "无法批量下载",
@@ -97,7 +97,7 @@
97
97
  "Disconnected": "已断开连接",
98
98
  "Do you really want to delete the following document?": "您确实要删除以下文档吗?",
99
99
  "Do you really want to delete the following documents?": "您确实要删除以下文档吗?",
100
- "Do you really want to delete the revision?": "您确实要删除修订版吗?",
100
+ "Do you really want to delete the snapshot?": "您确实要删除快照吗?",
101
101
  "Do you want to accept the below invite?": "您想接受以下邀请吗?",
102
102
  "Do you want to accept the below invites?": "您想接受以下邀请吗?",
103
103
  "Document data loading failed.": "文档数据加载失败。",
@@ -205,7 +205,7 @@
205
205
  "No additional protection beyond your account password.": "除了您的帐户密码之外,没有其他保护。",
206
206
  "No contacts available": "没有可用的联系人",
207
207
  "No contacts found": "未找到联系人",
208
- "No document revisions to update.": "没有要更新的文档修订。",
208
+ "No document snapshots to update.": "没有要更新的文档快照。",
209
209
  "No document templates available": "没有可用的文档模板",
210
210
  "No document templates found": "未找到文档模板",
211
211
  "No document templates to update.": "没有要更新的文档模板。",
@@ -250,11 +250,11 @@
250
250
  "Reset My Password": "重置我的密码",
251
251
  "Reset Password": "重置密码",
252
252
  "Respond": "回应",
253
- "Revision deleted": "修订已删除",
254
- "Revision of": "修订",
255
- "Revisions": "修订",
253
+ "Snapshot deleted": "快照已删除",
254
+ "Snapshot of": "快照",
255
+ "Snapshots": "快照",
256
256
  "Save": "保存",
257
- "Saved revisions of": "已保存的修订",
257
+ "Saved snapshots of": "已保存的快照",
258
258
  "Saved template": "保存的模板",
259
259
  "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "使用您的身份验证器应用程序(Google Authenticator、Authy 等)扫描此二维码",
260
260
  "Search contacts": "搜索联系人",
@@ -293,7 +293,7 @@
293
293
  "The %(appName)s server is currently being updated. Please wait.": "当前正在更新 %(appName)s 服务器。请稍等。",
294
294
  "The account could not be deleted!": "该帐户无法删除!",
295
295
  "The document has been updated": "文档已更新",
296
- "The document revision has been updated: ": "文档修订已更新:",
296
+ "The document snapshot has been updated: ": "文档快照已更新:",
297
297
  "The document template could not be copied": "无法复制文档模板",
298
298
  "The document template has been updated": "文档模板已更新",
299
299
  "The email could not be added!": "无法添加邮箱!",
@@ -325,7 +325,7 @@
325
325
  "Update": "更新",
326
326
  "Updating document templates.": "更新文档模板。",
327
327
  "Updating documents.": "更新文档。",
328
- "Updating saved revisions.": "更新保存的修订。",
328
+ "Updating saved snapshots.": "更新保存的快照。",
329
329
  "Updating...": "更新中...",
330
330
  "Upload": "上传",
331
331
  "Upload FIDUSTEMPLATE file": "上传 FIDUSTEMPLATE 文件",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiduswriter/frontend",
3
- "version": "0.1.64",
3
+ "version": "0.1.66",
4
4
  "description": "Fidus Writer-specific shared utilities and UI chrome",
5
5
  "keywords": [
6
6
  "fiduswriter",
@@ -211,13 +211,13 @@
211
211
  },
212
212
  "dependencies": {
213
213
  "@fiduswriter/bibliography-manager": "^0.1.35",
214
- "@fiduswriter/document": "^0.3.30",
214
+ "@fiduswriter/document": "^0.3.39",
215
215
  "@fiduswriter/document-template-editor": "^0.1.21",
216
- "@fiduswriter/editor": "^0.2.38",
216
+ "@fiduswriter/editor": "^0.2.46",
217
217
  "@fiduswriter/image-manager": "^0.1.28",
218
218
  "downloadjs": "^1.4.7",
219
219
  "fast-deep-equal": "^3.1.3",
220
- "fwtoolkit": "^0.2.26",
220
+ "fwtoolkit": "^0.2.30",
221
221
  "jszip": "^3.10.1",
222
222
  "prosemirror-history": "^1.3.2",
223
223
  "prosemirror-keymap": "^1.2.2",
package/src/api/index.ts CHANGED
@@ -93,7 +93,7 @@ export interface AuthApi {
93
93
  twoFactorSetup(): Promise<TwoFactorSetupResponse>
94
94
  twoFactorVerify(data: Record<string, unknown>): Promise<TwoFactorVerifyResponse>
95
95
  twoFactorLogin(data: Record<string, unknown>): Promise<TwoFactorVerifyResponse>
96
- twoFactorDisable(): Promise<TwoFactorVerifyResponse>
96
+ twoFactorDisable(data: Record<string, unknown>): Promise<TwoFactorVerifyResponse>
97
97
  twoFactorStatus(): Promise<TwoFactorStatusResponse>
98
98
  }
99
99
 
@@ -65,8 +65,11 @@ export function createNativeImporterBackend(
65
65
  template_title: template.content.attrs.template,
66
66
  path
67
67
  }
68
+ // The e2ee flag must always be sent explicitly, so that the
69
+ // server never has to guess the encryption intent of the new
70
+ // document.
71
+ jsonData.e2ee = !!(e2ee && e2ee.enabled)
68
72
  if (e2ee?.enabled) {
69
- jsonData.e2ee = true
70
73
  if (e2ee.salt) {
71
74
  jsonData.e2ee_salt = e2ee.salt
72
75
  }
@@ -99,10 +102,26 @@ export function createNativeImporterBackend(
99
102
  e2ee.key
100
103
  )
101
104
  : imageEntry.file
105
+ let title = imageEntry.title
106
+ let copyright = imageEntry.copyright
107
+ if (isE2EE && e2ee?.key) {
108
+ // Image metadata is encrypted with the target
109
+ // document key before upload.
110
+ title = await E2EEEncryptor.encryptObject(
111
+ title,
112
+ e2ee.key
113
+ )
114
+ if (copyright) {
115
+ copyright = await E2EEEncryptor.encryptObject(
116
+ copyright,
117
+ e2ee.key
118
+ )
119
+ }
120
+ }
102
121
  const jsonData = {
103
122
  doc_id: docId,
104
- title: imageEntry.title,
105
- copyright: imageEntry.copyright,
123
+ title: title,
124
+ copyright: copyright,
106
125
  checksum: imageEntry.checksum
107
126
  }
108
127
  const files = {
@@ -510,7 +510,8 @@ export class DocumentOverviewActions {
510
510
  const {newRecoveryKey} =
511
511
  await PassphraseManager.recoverWithRecoveryKey(
512
512
  recoverResult.recoveryKey,
513
- recoverResult.newPassphrase
513
+ recoverResult.newPassphrase,
514
+ recoverResult.accountPassword
514
515
  )
515
516
  await new Promise(resolve =>
516
517
  showRecoveryKeyDialog(newRecoveryKey, resolve as any)
@@ -589,7 +590,20 @@ export class DocumentOverviewActions {
589
590
  this.documentOverview.schema,
590
591
  this.documentOverview.app.apiConnectors.document
591
592
  ).then(() => {
592
- ids.forEach(id => {
593
+ // E2EE documents must not be copied through the unencrypted
594
+ // path; route those through the copy-as flow, which handles
595
+ // source decryption and a fresh target DEK.
596
+ const e2eeIds = ids.filter(id => {
597
+ const doc = this.documentOverview.documentList.find(
598
+ entry => entry.id === id
599
+ )
600
+ return !!doc?.e2ee
601
+ })
602
+ const plainIds = ids.filter(id => !e2eeIds.includes(id))
603
+ if (e2eeIds.length) {
604
+ this.copyFilesAs(e2eeIds)
605
+ }
606
+ plainIds.forEach(id => {
593
607
  const doc = this.documentOverview.documentList.find(
594
608
  entry => entry.id === id
595
609
  )
@@ -583,7 +583,7 @@ export class DocumentOverview {
583
583
  headings: [
584
584
  "", "", "",
585
585
  gettext("Title"),
586
- gettext("Revisions"),
586
+ gettext("Snapshots"),
587
587
  gettext("Created"),
588
588
  gettext("Last changed"),
589
589
  gettext("Owner"),