geovisio 2.9.0__py3-none-any.whl → 2.10.0__py3-none-any.whl

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 (65) hide show
  1. geovisio/__init__.py +6 -1
  2. geovisio/config_app.py +5 -5
  3. geovisio/translations/ar/LC_MESSAGES/messages.mo +0 -0
  4. geovisio/translations/ar/LC_MESSAGES/messages.po +818 -0
  5. geovisio/translations/br/LC_MESSAGES/messages.po +1 -1
  6. geovisio/translations/da/LC_MESSAGES/messages.mo +0 -0
  7. geovisio/translations/da/LC_MESSAGES/messages.po +4 -3
  8. geovisio/translations/de/LC_MESSAGES/messages.mo +0 -0
  9. geovisio/translations/de/LC_MESSAGES/messages.po +55 -2
  10. geovisio/translations/el/LC_MESSAGES/messages.po +1 -1
  11. geovisio/translations/en/LC_MESSAGES/messages.mo +0 -0
  12. geovisio/translations/en/LC_MESSAGES/messages.po +193 -139
  13. geovisio/translations/eo/LC_MESSAGES/messages.mo +0 -0
  14. geovisio/translations/eo/LC_MESSAGES/messages.po +53 -4
  15. geovisio/translations/es/LC_MESSAGES/messages.po +1 -1
  16. geovisio/translations/fi/LC_MESSAGES/messages.po +1 -1
  17. geovisio/translations/fr/LC_MESSAGES/messages.mo +0 -0
  18. geovisio/translations/fr/LC_MESSAGES/messages.po +91 -3
  19. geovisio/translations/hu/LC_MESSAGES/messages.po +1 -1
  20. geovisio/translations/it/LC_MESSAGES/messages.mo +0 -0
  21. geovisio/translations/it/LC_MESSAGES/messages.po +63 -3
  22. geovisio/translations/ja/LC_MESSAGES/messages.po +1 -1
  23. geovisio/translations/ko/LC_MESSAGES/messages.po +1 -1
  24. geovisio/translations/messages.pot +185 -129
  25. geovisio/translations/nl/LC_MESSAGES/messages.mo +0 -0
  26. geovisio/translations/nl/LC_MESSAGES/messages.po +292 -63
  27. geovisio/translations/oc/LC_MESSAGES/messages.mo +0 -0
  28. geovisio/translations/oc/LC_MESSAGES/messages.po +818 -0
  29. geovisio/translations/pl/LC_MESSAGES/messages.po +1 -1
  30. geovisio/translations/sv/LC_MESSAGES/messages.mo +0 -0
  31. geovisio/translations/sv/LC_MESSAGES/messages.po +4 -3
  32. geovisio/translations/ti/LC_MESSAGES/messages.mo +0 -0
  33. geovisio/translations/ti/LC_MESSAGES/messages.po +762 -0
  34. geovisio/translations/zh_Hant/LC_MESSAGES/messages.po +1 -1
  35. geovisio/utils/annotations.py +14 -17
  36. geovisio/utils/auth.py +14 -13
  37. geovisio/utils/cql2.py +2 -2
  38. geovisio/utils/fields.py +14 -2
  39. geovisio/utils/items.py +44 -0
  40. geovisio/utils/model_query.py +2 -2
  41. geovisio/utils/pic_shape.py +1 -1
  42. geovisio/utils/pictures.py +111 -18
  43. geovisio/utils/semantics.py +32 -3
  44. geovisio/utils/sentry.py +1 -1
  45. geovisio/utils/sequences.py +51 -34
  46. geovisio/utils/upload_set.py +285 -198
  47. geovisio/utils/website.py +1 -1
  48. geovisio/web/annotations.py +209 -68
  49. geovisio/web/auth.py +1 -1
  50. geovisio/web/collections.py +26 -22
  51. geovisio/web/configuration.py +24 -4
  52. geovisio/web/docs.py +93 -11
  53. geovisio/web/items.py +197 -121
  54. geovisio/web/params.py +44 -31
  55. geovisio/web/pictures.py +34 -0
  56. geovisio/web/tokens.py +49 -1
  57. geovisio/web/upload_set.py +150 -32
  58. geovisio/web/users.py +4 -4
  59. geovisio/web/utils.py +2 -2
  60. geovisio/workers/runner_pictures.py +128 -23
  61. {geovisio-2.9.0.dist-info → geovisio-2.10.0.dist-info}/METADATA +13 -13
  62. geovisio-2.10.0.dist-info/RECORD +105 -0
  63. geovisio-2.9.0.dist-info/RECORD +0 -98
  64. {geovisio-2.9.0.dist-info → geovisio-2.10.0.dist-info}/WHEEL +0 -0
  65. {geovisio-2.9.0.dist-info → geovisio-2.10.0.dist-info}/licenses/LICENSE +0 -0
@@ -8,7 +8,7 @@ msgstr ""
8
8
  "Project-Id-Version: PROJECT VERSION\n"
9
9
  "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10
10
  "POT-Creation-Date: 2024-10-28 10:15+0100\n"
11
- "PO-Revision-Date: 2025-03-09 18:35+0000\n"
11
+ "PO-Revision-Date: 2025-06-04 23:06+0000\n"
12
12
  "Last-Translator: Rémi Simonnin <remisimonnin@orange.fr>\n"
13
13
  "Language-Team: Esperanto <http://weblate.panoramax.xyz/projects/panoramax/"
14
14
  "api/eo/>\n"
@@ -334,7 +334,7 @@ msgstr ""
334
334
 
335
335
  #: geovisio/web/items.py:413
336
336
  #, python-format
337
- msgid "Picture with id %(p)s does not exists"
337
+ msgid "Picture with id %(p)s does not exist"
338
338
  msgstr "Bildo %(p)s ne ekzistas"
339
339
 
340
340
  #: geovisio/web/items.py:699
@@ -649,11 +649,11 @@ msgstr "Sekvenco \"%(name)s\" de \"%(user)s\" estis kaptita je %(date)s."
649
649
 
650
650
  #: geovisio/web/rss.py:40
651
651
  msgid "View on the map"
652
- msgstr ""
652
+ msgstr "Vidi sur la mapo"
653
653
 
654
654
  #: geovisio/web/rss.py:40
655
655
  msgid "JSON metadata"
656
- msgstr ""
656
+ msgstr "JSON-metadatumoj"
657
657
 
658
658
  #: geovisio/web/rss.py:49
659
659
  msgid "GeoVisio collections"
@@ -854,3 +854,52 @@ msgstr "Ne eblis forigi la paĝan enhavon"
854
854
  #: geovisio/web/pages.py:177
855
855
  msgid "Page content must be HTML (with Content-Type: text/html header set)"
856
856
  msgstr "La paĝo devas esti HTML (kun Content-Type: text/html kaplinio)"
857
+
858
+ #: geovisio/web/annotations.py:76
859
+ msgid "Parameter for creating an annotation should be a valid JSON"
860
+ msgstr "Parametro por krei prinoton devas esti valida JSON-o"
861
+
862
+ #: geovisio/web/annotations.py:202
863
+ msgid "Parameter for updating an annotation should be a valid JSON"
864
+ msgstr "Parametro por ĝisdati prinoton devas esti valida JSON-o"
865
+
866
+ #: geovisio/web/upload_set.py:245
867
+ msgid "Impossible to update the UploadSet"
868
+ msgstr "Neeble ĝisdati la UploadSet"
869
+
870
+ #: geovisio/web/annotations.py:74
871
+ msgid "Impossible to create an annotation"
872
+ msgstr "Neeble krei prinoton"
873
+
874
+ #: geovisio/web/annotations.py:134 geovisio/web/annotations.py:208
875
+ #, python-format
876
+ msgid "Annotation %(p)s not found"
877
+ msgstr "Prinoto %(p)s ne trovita"
878
+
879
+ #: geovisio/web/annotations.py:200
880
+ msgid "Impossible to patch annotation, invalid parameters"
881
+ msgstr "Neeble fliki prinoton, malvalidaj parametroj"
882
+
883
+ #: geovisio/web/collections.py:926
884
+ msgid "CSV export does not support pagination"
885
+ msgstr "CSV-eksporto ne subtenas paĝnumeradon"
886
+
887
+ #: geovisio/web/collections.py:928
888
+ msgid "CSV export does not support filters"
889
+ msgstr "CSV-eksporto ne subtenas filtrilojn"
890
+
891
+ #: geovisio/web/collections.py:935
892
+ msgid "CSV export does not support sorting by anything but creation date"
893
+ msgstr "CSV-eksporto ne subtenas ordigon laŭ io ajn krom kreodato"
894
+
895
+ #: geovisio/web/params.py:469
896
+ msgid "Unsupported sortby parameter: invalid field"
897
+ msgstr "Nesubtenata ordigparametro: malvalida kampo"
898
+
899
+ #: geovisio/web/upload_set.py:247
900
+ msgid "Parameter for updating an UploadSet should be a valid JSON"
901
+ msgstr "Parametro por ĝisdati UploadSet-on devas esti valida JSON-o"
902
+
903
+ #: geovisio/web/upload_set.py:255
904
+ msgid "You are not allowed to update this upload set"
905
+ msgstr "Vi ne rajtas ĝisdatigi ĉi tiun alŝutaron"
@@ -275,7 +275,7 @@ msgstr "No hay más elementos en esta colección (el último índice es %(r)s)"
275
275
 
276
276
  #: geovisio/web/items.py:388
277
277
  #, fuzzy, python-format
278
- msgid "Picture with id %(p)s does not exists"
278
+ msgid "Picture with id %(p)s does not exist"
279
279
  msgstr "La imagen con id %(p)s no existe"
280
280
 
281
281
  #: geovisio/web/items.py:674
@@ -253,7 +253,7 @@ msgstr ""
253
253
 
254
254
  #: geovisio/web/items.py:388
255
255
  #, python-format
256
- msgid "Picture with id %(p)s does not exists"
256
+ msgid "Picture with id %(p)s does not exist"
257
257
  msgstr ""
258
258
 
259
259
  #: geovisio/web/items.py:674
@@ -8,8 +8,8 @@ msgstr ""
8
8
  "Project-Id-Version: PROJECT VERSION\n"
9
9
  "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10
10
  "POT-Creation-Date: 2024-06-25 17:01+0200\n"
11
- "PO-Revision-Date: 2025-04-15 21:21+0000\n"
12
- "Last-Translator: Rémi Simonnin <remisimonnin@orange.fr>\n"
11
+ "PO-Revision-Date: 2025-07-07 06:24+0000\n"
12
+ "Last-Translator: PanierAvide <adrien@pavie.info>\n"
13
13
  "Language-Team: French <http://weblate.panoramax.xyz/projects/panoramax/api/"
14
14
  "fr/>\n"
15
15
  "Language: fr\n"
@@ -275,7 +275,7 @@ msgstr "Plus de photos dans cette séquence (dernier rang disponible : %(r)s)"
275
275
 
276
276
  #: geovisio/web/items.py:386
277
277
  #, python-format
278
- msgid "Picture with id %(p)s does not exists"
278
+ msgid "Picture with id %(p)s does not exist"
279
279
  msgstr "La photo avec l'ID %(p)s n'existe pas"
280
280
 
281
281
  #: geovisio/web/items.py:670
@@ -882,3 +882,91 @@ msgid ""
882
882
  msgstr ""
883
883
  "Vous n'êtes pas autorisé à éditer la visibilité de cette photo. Seulement le "
884
884
  "dépositaire peut la changer."
885
+
886
+ #: geovisio/web/items.py:1163
887
+ msgid "There is already a picture with the same index in the sequence"
888
+ msgstr "Une photo existe déjà à cette position (index) dans cette séquence"
889
+
890
+ #: geovisio/web/items.py:1361
891
+ msgid ""
892
+ "You're not authorized to edit this picture, collaborative editing is not "
893
+ "allowed"
894
+ msgstr ""
895
+ "Vous n'avez pas les droits suffisants pour modifier cette photo, l'édition "
896
+ "collaborative est désactivée"
897
+
898
+ #: geovisio/web/params.py:468
899
+ msgid "Unsupported sortby parameter: invalid field"
900
+ msgstr "Paramètre \"sortby\" non-géré : champ invalide"
901
+
902
+ #: geovisio/web/annotations.py:74
903
+ msgid "Impossible to create an annotation"
904
+ msgstr "Impossible de créer une annotation"
905
+
906
+ #: geovisio/web/annotations.py:76
907
+ msgid "Parameter for creating an annotation should be a valid JSON"
908
+ msgstr "Le paramètre pour créer une annotation doit être un JSON valide"
909
+
910
+ #: geovisio/web/annotations.py:134 geovisio/web/annotations.py:208
911
+ #, python-format
912
+ msgid "Annotation %(p)s not found"
913
+ msgstr "Annotation %(p)s introuvable"
914
+
915
+ #: geovisio/web/annotations.py:202
916
+ msgid "Parameter for updating an annotation should be a valid JSON"
917
+ msgstr "Le paramètre pour actualiser une annotation doit être un JSON valide"
918
+
919
+ #: geovisio/web/collections.py:926
920
+ msgid "CSV export does not support pagination"
921
+ msgstr "L'export CSV ne gère pas la pagination"
922
+
923
+ #: geovisio/web/collections.py:928
924
+ msgid "CSV export does not support filters"
925
+ msgstr "L'export CSV ne gère pas les filtres"
926
+
927
+ #: geovisio/web/pages.py:127 geovisio/web/pages.py:236
928
+ #, python-format
929
+ msgid "Page not available in language %(l)s"
930
+ msgstr "La page n'est pas disponible dans la langue %(l)s"
931
+
932
+ #: geovisio/web/pages.py:178
933
+ msgid "Page content must be HTML (with Content-Type: text/html header set)"
934
+ msgstr ""
935
+ "Le contenu de la page doit être du HTML (avec l'en-tête Content-Type : text/"
936
+ "html)"
937
+
938
+ #: geovisio/web/pages.py:192
939
+ msgid "Could not update page content"
940
+ msgstr "Impossible de modifier le contenu de la page"
941
+
942
+ #: geovisio/web/pages.py:238
943
+ msgid "Could not delete page content"
944
+ msgstr "Impossible de supprimer le contenu de la page"
945
+
946
+ #: geovisio/web/upload_set.py:245
947
+ msgid "Impossible to update the UploadSet"
948
+ msgstr "Impossible de modifier l'Upload Set"
949
+
950
+ #: geovisio/web/upload_set.py:247
951
+ msgid "Parameter for updating an UploadSet should be a valid JSON"
952
+ msgstr "Le paramètre pour modifier un Upload Set doit être un JSON valide"
953
+
954
+ #: geovisio/web/upload_set.py:255
955
+ msgid "You are not allowed to update this upload set"
956
+ msgstr "Vous n'avez pas les droits suffisants pour modifier cet upload set"
957
+
958
+ #: geovisio/web/annotations.py:200
959
+ msgid "Impossible to patch annotation, invalid parameters"
960
+ msgstr "Impossible de modifier l'annotation, les paramètres sont invalides"
961
+
962
+ #: geovisio/web/collections.py:935
963
+ msgid "CSV export does not support sorting by anything but creation date"
964
+ msgstr "L'export CSV gère uniquement le tri par date de création"
965
+
966
+ #: geovisio/web/pages.py:45
967
+ msgid "Page name is not recognized"
968
+ msgstr "Nom de page non reconnu"
969
+
970
+ #: geovisio/web/pages.py:176 geovisio/web/pages.py:230
971
+ msgid "You must be logged-in as admin to edit pages"
972
+ msgstr "Vous devez être connecté en tant qu'admin pour éditer les pages"
@@ -342,7 +342,7 @@ msgstr "Nincs több elem a gyűjteményben (az utolsó elérhető rangsorhely %(
342
342
 
343
343
  #: geovisio/web/items.py:409
344
344
  #, fuzzy, python-format
345
- msgid "Picture with id %(p)s does not exists"
345
+ msgid "Picture with id %(p)s does not exist"
346
346
  msgstr "Nincs %(p)s azonosítójú kép"
347
347
 
348
348
  #: geovisio/web/items.py:695
@@ -8,8 +8,8 @@ msgstr ""
8
8
  "Project-Id-Version: PROJECT VERSION\n"
9
9
  "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10
10
  "POT-Creation-Date: 2024-10-28 10:15+0100\n"
11
- "PO-Revision-Date: 2025-02-28 13:32+0000\n"
12
- "Last-Translator: Marco <e5m28oxuv@mozmail.com>\n"
11
+ "PO-Revision-Date: 2025-07-18 11:09+0000\n"
12
+ "Last-Translator: Marco <marco@users.noreply.weblate.panoramax.xyz>\n"
13
13
  "Language-Team: Italian <http://weblate.panoramax.xyz/projects/panoramax/api/"
14
14
  "it/>\n"
15
15
  "Language: it\n"
@@ -253,6 +253,7 @@ msgstr ""
253
253
  "modificata per ora"
254
254
 
255
255
  #: geovisio/web/collections.py:766
256
+ #, fuzzy
256
257
  msgid "Sequence doesn't exists"
257
258
  msgstr "La sequenza non esiste"
258
259
 
@@ -344,7 +345,7 @@ msgstr ""
344
345
 
345
346
  #: geovisio/web/items.py:413
346
347
  #, python-format
347
- msgid "Picture with id %(p)s does not exists"
348
+ msgid "Picture with id %(p)s does not exist"
348
349
  msgstr "La foto con ID %(p)s non esiste"
349
350
 
350
351
  #: geovisio/web/items.py:699
@@ -882,3 +883,62 @@ msgid ""
882
883
  msgstr ""
883
884
  "È necessario accettare i termini di servizio prima di caricare una qualsiasi "
884
885
  "foto. È possibile farlo convalidando i termini qua: %(url)s"
886
+
887
+ #: geovisio/web/items.py:1163
888
+ msgid "There is already a picture with the same index in the sequence"
889
+ msgstr "Esiste già una immagine con questo indice nella sequenza"
890
+
891
+ #: geovisio/web/annotations.py:74
892
+ msgid "Impossible to create an annotation"
893
+ msgstr "Impossibile creare un’annotazione"
894
+
895
+ #: geovisio/web/annotations.py:76
896
+ msgid "Parameter for creating an annotation should be a valid JSON"
897
+ msgstr ""
898
+ "Il parametro per la creazione di un’annotazione dovrebbe essere un JSON "
899
+ "valido"
900
+
901
+ #: geovisio/web/annotations.py:134 geovisio/web/annotations.py:208
902
+ #, python-format
903
+ msgid "Annotation %(p)s not found"
904
+ msgstr "Annotazione %(p)s non trovata"
905
+
906
+ #: geovisio/web/annotations.py:200
907
+ msgid "Impossible to patch annotation, invalid parameters"
908
+ msgstr "Impossibile modificare l’annotazione, parametri non validi"
909
+
910
+ #: geovisio/web/annotations.py:202
911
+ msgid "Parameter for updating an annotation should be a valid JSON"
912
+ msgstr ""
913
+ "Il parametro per l’aggiornamento di un’annotazione dovrebbe essere un JSON "
914
+ "valido"
915
+
916
+ #: geovisio/web/collections.py:926
917
+ msgid "CSV export does not support pagination"
918
+ msgstr "L’export CSV non è compatibile con la paginazione"
919
+
920
+ #: geovisio/web/collections.py:928
921
+ msgid "CSV export does not support filters"
922
+ msgstr "L’export CSV non è compatibile con i filtri"
923
+
924
+ #: geovisio/web/collections.py:935
925
+ msgid "CSV export does not support sorting by anything but creation date"
926
+ msgstr ""
927
+ "L’export CSV non è compatibile con l’ordinamento eccetto che per data di "
928
+ "creazione"
929
+
930
+ #: geovisio/web/upload_set.py:247
931
+ msgid "Parameter for updating an UploadSet should be a valid JSON"
932
+ msgstr "Il parametro per aggiornare l’UploadSet dovrebbe essere un JSON valido"
933
+
934
+ #: geovisio/web/params.py:468
935
+ msgid "Unsupported sortby parameter: invalid field"
936
+ msgstr "Parametro “sortby” non compatibile: campo non valido"
937
+
938
+ #: geovisio/web/upload_set.py:245
939
+ msgid "Impossible to update the UploadSet"
940
+ msgstr "Impossibile aggiornare l’UploadSet"
941
+
942
+ #: geovisio/web/upload_set.py:255
943
+ msgid "You are not allowed to update this upload set"
944
+ msgstr "Non siete autorizzati ad aggiornare questo set di caricamento"
@@ -320,7 +320,7 @@ msgstr "このコレクションにはこれ以上アイテムはありません
320
320
 
321
321
  #: geovisio/web/items.py:420
322
322
  #, fuzzy, python-format
323
- msgid "Picture with id %(p)s does not exists"
323
+ msgid "Picture with id %(p)s does not exist"
324
324
  msgstr "ID %(p)s の画像は存在しません"
325
325
 
326
326
  #: geovisio/web/items.py:706
@@ -301,7 +301,7 @@ msgstr ""
301
301
 
302
302
  #: geovisio/web/items.py:409
303
303
  #, python-format
304
- msgid "Picture with id %(p)s does not exists"
304
+ msgid "Picture with id %(p)s does not exist"
305
305
  msgstr ""
306
306
 
307
307
  #: geovisio/web/items.py:695