mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
fix(documents): read Papra as it answers
Papra organization ids are checked against org_ plus 24 characters before anything is sent. A 403 user.not_in_organization and a 400 server.invalid_request.params read as no such organization instead of a refused key; the error body is read for its code and never passed on. The connection test also reads the tags, so a key without tags:read fails at save (permissionMissing) instead of on the first filter. Name searches quote each word, so a leading dash is not a negation, and the date range goes to Papra as date:>= / date:<= with the per-row check kept as a net.
This commit is contained in:
1 parent
c5a63934bd
commit
057281998f
17 files changed
+245
-56
No files matched your search
+4
-3
@@ -6711,7 +6711,7 @@
|
||||
"baseUrl": "Adresse",
|
||||
"allowedOrigins": "Auf diesem Server erlaubt: {origins}",
|
||||
"organizationId": "Organisations-ID",
|
||||
"organizationHelp": "Der Teil nach /organizations/ in der Adresszeile von Papra.",
|
||||
"organizationHelp": "Der Teil nach /organizations/ in der Adresszeile von Papra. Papra-Organisations-IDs sehen aus wie org_ gefolgt von 24 Buchstaben und Ziffern.",
|
||||
"token": "API-Token",
|
||||
"tokenSaved": "Für diese Adresse gespeichert. Leer lassen, um es zu behalten.",
|
||||
"tokenHelpPaperless": "In Paperless-ngx: Mein Profil, API-Token.",
|
||||
@@ -10220,7 +10220,7 @@
|
||||
"authRefused": "Das Archiv hat das Token abgelehnt. Prüfe das Token und seine Berechtigungen.",
|
||||
"versionTooOld": "Das Archiv ist zu alt. Nötig ist Paperless-ngx 2.16 oder neuer.",
|
||||
"badResponse": "Die Antwort des Archivs ließ sich nicht lesen. Prüfe, ob die Adresse auf das Archiv selbst zeigt.",
|
||||
"notFound": "Das Archiv kennt dieses Dokument oder diese Organisation nicht.",
|
||||
"notFound": "Das Archiv kennt dieses Dokument nicht, oder die Organisations-ID ist falsch oder nicht deine.",
|
||||
"linkTargetNotFound": "Der Eintrag, mit dem verknüpft werden sollte, existiert nicht mehr.",
|
||||
"rateLimited": "Zu viele Anfragen. Warte eine Minute und versuche es erneut.",
|
||||
"browserOnly": "Dokumentarchive lassen sich nur im Browser verwenden.",
|
||||
@@ -10233,7 +10233,8 @@
|
||||
"uploadLimit": "Das stündliche Upload-Limit ist erreicht. Versuche es später erneut.",
|
||||
"uploadBusy": "Andere Uploads laufen noch. Versuche es gleich noch einmal.",
|
||||
"moduleDisabled": "Dokumente sind in den Einstellungen ausgeschaltet.",
|
||||
"generic": "Etwas ist schiefgelaufen. Versuche es erneut."
|
||||
"generic": "Etwas ist schiefgelaufen. Versuche es erneut.",
|
||||
"permissionMissing": "Der Papra-Schlüssel darf keine Tags lesen. Gib ihm die Berechtigung tags:read."
|
||||
},
|
||||
"pickMore": "Weitere auswählen",
|
||||
"finishedHint": "Suche erneut oder ändere einen Filter, um weitere Dokumente auszuwählen.",
|
||||
|
||||
+4
-3
@@ -6711,7 +6711,7 @@
|
||||
"baseUrl": "Address",
|
||||
"allowedOrigins": "Allowed on this server: {origins}",
|
||||
"organizationId": "Organization id",
|
||||
"organizationHelp": "The part after /organizations/ in the Papra address bar.",
|
||||
"organizationHelp": "The part after /organizations/ in the Papra address bar. Papra organization ids look like org_ followed by 24 letters and digits.",
|
||||
"token": "API token",
|
||||
"tokenSaved": "Saved for this address. Leave empty to keep it.",
|
||||
"tokenHelpPaperless": "In Paperless-ngx: My Profile, API token.",
|
||||
@@ -10220,7 +10220,7 @@
|
||||
"authRefused": "The archive refused the token. Check the token and its permissions.",
|
||||
"versionTooOld": "The archive is too old. Paperless-ngx 2.16 or later is needed.",
|
||||
"badResponse": "The archive's answer could not be read. Check that the address points at the archive itself.",
|
||||
"notFound": "The archive has no such document, or no such organization.",
|
||||
"notFound": "The archive has no such document, or the organization id is wrong or not yours.",
|
||||
"linkTargetNotFound": "The record to link to no longer exists.",
|
||||
"rateLimited": "Too many requests. Wait a minute and try again.",
|
||||
"browserOnly": "Document archives can only be used in the browser.",
|
||||
@@ -10233,7 +10233,8 @@
|
||||
"uploadLimit": "The hourly upload limit is reached. Try again later.",
|
||||
"uploadBusy": "Other uploads are still running. Try again in a moment.",
|
||||
"moduleDisabled": "Documents are switched off in Settings.",
|
||||
"generic": "Something went wrong. Try again."
|
||||
"generic": "Something went wrong. Try again.",
|
||||
"permissionMissing": "The Papra key cannot read tags. Give it the tags:read permission."
|
||||
},
|
||||
"pickMore": "Pick more",
|
||||
"finishedHint": "Search again or change a filter to pick more documents.",
|
||||
|
||||
+4
-3
@@ -6711,7 +6711,7 @@
|
||||
"baseUrl": "Dirección",
|
||||
"allowedOrigins": "Permitido en este servidor: {origins}",
|
||||
"organizationId": "Id de organización",
|
||||
"organizationHelp": "La parte que sigue a /organizations/ en la barra de direcciones de Papra.",
|
||||
"organizationHelp": "La parte que sigue a /organizations/ en la barra de direcciones de Papra. Los id de organización de Papra tienen la forma org_ seguida de 24 letras y cifras.",
|
||||
"token": "Token de la API",
|
||||
"tokenSaved": "Guardado para esta dirección. Déjalo vacío para conservarlo.",
|
||||
"tokenHelpPaperless": "En Paperless-ngx: Mi perfil, token de la API.",
|
||||
@@ -10220,7 +10220,7 @@
|
||||
"authRefused": "El archivo rechazó el token. Comprueba el token y sus permisos.",
|
||||
"versionTooOld": "El archivo es demasiado antiguo. Se necesita Paperless-ngx 2.16 o posterior.",
|
||||
"badResponse": "No se pudo leer la respuesta del archivo. Comprueba que la dirección apunta al propio archivo.",
|
||||
"notFound": "El archivo no tiene ese documento o esa organización.",
|
||||
"notFound": "El archivo no tiene ese documento, o el id de organización es incorrecto o no es tuyo.",
|
||||
"linkTargetNotFound": "El registro que se iba a vincular ya no existe.",
|
||||
"rateLimited": "Demasiadas solicitudes. Espera un minuto y vuelve a intentarlo.",
|
||||
"browserOnly": "Los archivos de documentos solo se pueden usar en el navegador.",
|
||||
@@ -10233,7 +10233,8 @@
|
||||
"uploadLimit": "Se alcanzó el límite de subidas por hora. Inténtalo más tarde.",
|
||||
"uploadBusy": "Aún hay otras subidas en curso. Inténtalo en un momento.",
|
||||
"moduleDisabled": "Los documentos están desactivados en Ajustes.",
|
||||
"generic": "Algo salió mal. Inténtalo de nuevo."
|
||||
"generic": "Algo salió mal. Inténtalo de nuevo.",
|
||||
"permissionMissing": "La clave de Papra no puede leer etiquetas. Dale el permiso tags:read."
|
||||
},
|
||||
"pickMore": "Elegir más",
|
||||
"finishedHint": "Busca de nuevo o cambia un filtro para elegir más documentos.",
|
||||
|
||||
+4
-3
@@ -6711,7 +6711,7 @@
|
||||
"baseUrl": "Adresse",
|
||||
"allowedOrigins": "Autorisé sur ce serveur : {origins}",
|
||||
"organizationId": "Identifiant d'organisation",
|
||||
"organizationHelp": "La partie après /organizations/ dans la barre d'adresse de Papra.",
|
||||
"organizationHelp": "La partie après /organizations/ dans la barre d'adresse de Papra. Les identifiants d'organisation Papra ont la forme org_ suivi de 24 lettres et chiffres.",
|
||||
"token": "Jeton d'API",
|
||||
"tokenSaved": "Enregistré pour cette adresse. Laissez vide pour le conserver.",
|
||||
"tokenHelpPaperless": "Dans Paperless-ngx : Mon profil, jeton d'API.",
|
||||
@@ -10220,7 +10220,7 @@
|
||||
"authRefused": "L'archive a refusé le jeton. Vérifiez le jeton et ses droits.",
|
||||
"versionTooOld": "L'archive est trop ancienne. Paperless-ngx 2.16 ou plus récent est nécessaire.",
|
||||
"badResponse": "La réponse de l'archive est illisible. Vérifiez que l'adresse pointe vers l'archive elle-même.",
|
||||
"notFound": "L'archive ne connaît pas ce document ou cette organisation.",
|
||||
"notFound": "L'archive ne connaît pas ce document, ou l'identifiant d'organisation est faux ou n'est pas le vôtre.",
|
||||
"linkTargetNotFound": "L'élément auquel lier le document n'existe plus.",
|
||||
"rateLimited": "Trop de requêtes. Patientez une minute et réessayez.",
|
||||
"browserOnly": "Les archives de documents ne s'utilisent que dans le navigateur.",
|
||||
@@ -10233,7 +10233,8 @@
|
||||
"uploadLimit": "La limite horaire d'envois est atteinte. Réessayez plus tard.",
|
||||
"uploadBusy": "D'autres envois sont en cours. Réessayez dans un instant.",
|
||||
"moduleDisabled": "Les documents sont désactivés dans les réglages.",
|
||||
"generic": "Un problème est survenu. Réessayez."
|
||||
"generic": "Un problème est survenu. Réessayez.",
|
||||
"permissionMissing": "La clé Papra ne peut pas lire les étiquettes. Donnez-lui le droit tags:read."
|
||||
},
|
||||
"pickMore": "En choisir d'autres",
|
||||
"finishedHint": "Cherchez à nouveau ou changez un filtre pour choisir d'autres documents.",
|
||||
|
||||
+4
-3
@@ -6711,7 +6711,7 @@
|
||||
"baseUrl": "Indirizzo",
|
||||
"allowedOrigins": "Consentito su questo server: {origins}",
|
||||
"organizationId": "Id organizzazione",
|
||||
"organizationHelp": "La parte dopo /organizations/ nella barra degli indirizzi di Papra.",
|
||||
"organizationHelp": "La parte dopo /organizations/ nella barra degli indirizzi di Papra. Gli id organizzazione di Papra hanno la forma org_ seguita da 24 lettere e cifre.",
|
||||
"token": "Token API",
|
||||
"tokenSaved": "Salvato per questo indirizzo. Lascia vuoto per mantenerlo.",
|
||||
"tokenHelpPaperless": "In Paperless-ngx: Il mio profilo, token API.",
|
||||
@@ -10220,7 +10220,7 @@
|
||||
"authRefused": "L'archivio ha rifiutato il token. Controlla il token e i suoi permessi.",
|
||||
"versionTooOld": "L'archivio è troppo vecchio. Serve Paperless-ngx 2.16 o successivo.",
|
||||
"badResponse": "Non è stato possibile leggere la risposta dell'archivio. Verifica che l'indirizzo punti all'archivio stesso.",
|
||||
"notFound": "L'archivio non ha questo documento o questa organizzazione.",
|
||||
"notFound": "L'archivio non ha questo documento, oppure l'id dell'organizzazione è sbagliato o non è tuo.",
|
||||
"linkTargetNotFound": "L'elemento da collegare non esiste più.",
|
||||
"rateLimited": "Troppe richieste. Attendi un minuto e riprova.",
|
||||
"browserOnly": "Gli archivi di documenti si usano solo nel browser.",
|
||||
@@ -10233,7 +10233,8 @@
|
||||
"uploadLimit": "È stato raggiunto il limite orario di caricamenti. Riprova più tardi.",
|
||||
"uploadBusy": "Altri caricamenti sono ancora in corso. Riprova tra un momento.",
|
||||
"moduleDisabled": "I documenti sono disattivati nelle impostazioni.",
|
||||
"generic": "Qualcosa è andato storto. Riprova."
|
||||
"generic": "Qualcosa è andato storto. Riprova.",
|
||||
"permissionMissing": "La chiave Papra non può leggere le etichette. Dalle il permesso tags:read."
|
||||
},
|
||||
"pickMore": "Scegline altri",
|
||||
"finishedHint": "Cerca di nuovo o cambia un filtro per scegliere altri documenti.",
|
||||
|
||||
+4
-3
@@ -6711,7 +6711,7 @@
|
||||
"baseUrl": "주소",
|
||||
"allowedOrigins": "이 서버에서 허용됨: {origins}",
|
||||
"organizationId": "조직 ID",
|
||||
"organizationHelp": "Papra 주소 표시줄에서 /organizations/ 다음 부분입니다.",
|
||||
"organizationHelp": "Papra 주소 표시줄에서 /organizations/ 다음 부분입니다. Papra 조직 ID는 org_ 뒤에 영문자와 숫자 24자가 오는 형식입니다.",
|
||||
"token": "API 토큰",
|
||||
"tokenSaved": "이 주소에 저장됨. 유지하려면 비워 두세요.",
|
||||
"tokenHelpPaperless": "Paperless-ngx: 내 프로필의 API 토큰.",
|
||||
@@ -10220,7 +10220,7 @@
|
||||
"authRefused": "보관함이 토큰을 거부했습니다. 토큰과 권한을 확인하세요.",
|
||||
"versionTooOld": "보관함 버전이 너무 오래되었습니다. Paperless-ngx 2.16 이상이 필요합니다.",
|
||||
"badResponse": "보관함의 응답을 읽을 수 없습니다. 주소가 보관함 자체를 가리키는지 확인하세요.",
|
||||
"notFound": "보관함에 해당 문서나 조직이 없습니다.",
|
||||
"notFound": "보관함에 해당 문서가 없거나, 조직 ID가 잘못되었거나 본인의 조직이 아닙니다.",
|
||||
"linkTargetNotFound": "연결할 기록이 더 이상 존재하지 않습니다.",
|
||||
"rateLimited": "요청이 너무 많습니다. 1분 후에 다시 시도하세요.",
|
||||
"browserOnly": "문서 보관함은 브라우저에서만 사용할 수 있습니다.",
|
||||
@@ -10233,7 +10233,8 @@
|
||||
"uploadLimit": "시간당 업로드 한도에 도달했습니다. 나중에 다시 시도하세요.",
|
||||
"uploadBusy": "다른 업로드가 아직 진행 중입니다. 잠시 후 다시 시도하세요.",
|
||||
"moduleDisabled": "설정에서 문서 기능이 꺼져 있습니다.",
|
||||
"generic": "문제가 발생했습니다. 다시 시도하세요."
|
||||
"generic": "문제가 발생했습니다. 다시 시도하세요.",
|
||||
"permissionMissing": "Papra 키가 태그를 읽을 수 없습니다. tags:read 권한을 부여하세요."
|
||||
},
|
||||
"pickMore": "더 고르기",
|
||||
"finishedHint": "다시 검색하거나 필터를 바꿔 문서를 더 고르세요.",
|
||||
|
||||
+4
-3
@@ -6711,7 +6711,7 @@
|
||||
"baseUrl": "Adres",
|
||||
"allowedOrigins": "Dozwolone na tym serwerze: {origins}",
|
||||
"organizationId": "Identyfikator organizacji",
|
||||
"organizationHelp": "Część po /organizations/ w pasku adresu Papra.",
|
||||
"organizationHelp": "Część po /organizations/ w pasku adresu Papra. Identyfikatory organizacji Papra mają postać org_ i 24 litery oraz cyfry.",
|
||||
"token": "Token API",
|
||||
"tokenSaved": "Zapisano dla tego adresu. Zostaw puste, aby go zachować.",
|
||||
"tokenHelpPaperless": "W Paperless-ngx: Mój profil, token API.",
|
||||
@@ -10220,7 +10220,7 @@
|
||||
"authRefused": "Archiwum odrzuciło token. Sprawdź token i jego uprawnienia.",
|
||||
"versionTooOld": "Archiwum jest za stare. Potrzebny jest Paperless-ngx 2.16 lub nowszy.",
|
||||
"badResponse": "Nie udało się odczytać odpowiedzi archiwum. Sprawdź, czy adres wskazuje na samo archiwum.",
|
||||
"notFound": "Archiwum nie ma takiego dokumentu ani takiej organizacji.",
|
||||
"notFound": "Archiwum nie ma takiego dokumentu albo identyfikator organizacji jest błędny lub nie należy do ciebie.",
|
||||
"linkTargetNotFound": "Wpis, z którym miało nastąpić powiązanie, już nie istnieje.",
|
||||
"rateLimited": "Za dużo żądań. Odczekaj minutę i spróbuj ponownie.",
|
||||
"browserOnly": "Z archiwów dokumentów można korzystać tylko w przeglądarce.",
|
||||
@@ -10233,7 +10233,8 @@
|
||||
"uploadLimit": "Osiągnięto godzinny limit przesyłania. Spróbuj później.",
|
||||
"uploadBusy": "Trwają jeszcze inne przesyłania. Spróbuj za chwilę.",
|
||||
"moduleDisabled": "Dokumenty są wyłączone w ustawieniach.",
|
||||
"generic": "Coś poszło nie tak. Spróbuj ponownie."
|
||||
"generic": "Coś poszło nie tak. Spróbuj ponownie.",
|
||||
"permissionMissing": "Klucz Papra nie może odczytać tagów. Nadaj mu uprawnienie tags:read."
|
||||
},
|
||||
"pickMore": "Wybierz więcej",
|
||||
"finishedHint": "Wyszukaj ponownie lub zmień filtr, aby wybrać więcej dokumentów.",
|
||||
|
||||
Reference in new issue
Block a user