geovisio 2.9.0__py3-none-any.whl → 2.11.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 (82) hide show
  1. geovisio/__init__.py +8 -1
  2. geovisio/admin_cli/user.py +7 -2
  3. geovisio/config_app.py +26 -12
  4. geovisio/translations/ar/LC_MESSAGES/messages.mo +0 -0
  5. geovisio/translations/ar/LC_MESSAGES/messages.po +818 -0
  6. geovisio/translations/be/LC_MESSAGES/messages.mo +0 -0
  7. geovisio/translations/be/LC_MESSAGES/messages.po +886 -0
  8. geovisio/translations/br/LC_MESSAGES/messages.po +1 -1
  9. geovisio/translations/da/LC_MESSAGES/messages.mo +0 -0
  10. geovisio/translations/da/LC_MESSAGES/messages.po +96 -4
  11. geovisio/translations/de/LC_MESSAGES/messages.mo +0 -0
  12. geovisio/translations/de/LC_MESSAGES/messages.po +214 -122
  13. geovisio/translations/el/LC_MESSAGES/messages.po +1 -1
  14. geovisio/translations/en/LC_MESSAGES/messages.mo +0 -0
  15. geovisio/translations/en/LC_MESSAGES/messages.po +234 -157
  16. geovisio/translations/eo/LC_MESSAGES/messages.mo +0 -0
  17. geovisio/translations/eo/LC_MESSAGES/messages.po +55 -5
  18. geovisio/translations/es/LC_MESSAGES/messages.po +1 -1
  19. geovisio/translations/fi/LC_MESSAGES/messages.po +1 -1
  20. geovisio/translations/fr/LC_MESSAGES/messages.mo +0 -0
  21. geovisio/translations/fr/LC_MESSAGES/messages.po +92 -3
  22. geovisio/translations/hu/LC_MESSAGES/messages.po +1 -1
  23. geovisio/translations/it/LC_MESSAGES/messages.mo +0 -0
  24. geovisio/translations/it/LC_MESSAGES/messages.po +63 -3
  25. geovisio/translations/ja/LC_MESSAGES/messages.po +1 -1
  26. geovisio/translations/ko/LC_MESSAGES/messages.po +1 -1
  27. geovisio/translations/messages.pot +216 -139
  28. geovisio/translations/nl/LC_MESSAGES/messages.mo +0 -0
  29. geovisio/translations/nl/LC_MESSAGES/messages.po +333 -62
  30. geovisio/translations/oc/LC_MESSAGES/messages.mo +0 -0
  31. geovisio/translations/oc/LC_MESSAGES/messages.po +821 -0
  32. geovisio/translations/pl/LC_MESSAGES/messages.po +1 -1
  33. geovisio/translations/pt/LC_MESSAGES/messages.mo +0 -0
  34. geovisio/translations/pt/LC_MESSAGES/messages.po +944 -0
  35. geovisio/translations/pt_BR/LC_MESSAGES/messages.mo +0 -0
  36. geovisio/translations/pt_BR/LC_MESSAGES/messages.po +942 -0
  37. geovisio/translations/sv/LC_MESSAGES/messages.mo +0 -0
  38. geovisio/translations/sv/LC_MESSAGES/messages.po +4 -3
  39. geovisio/translations/ti/LC_MESSAGES/messages.mo +0 -0
  40. geovisio/translations/ti/LC_MESSAGES/messages.po +762 -0
  41. geovisio/translations/tr/LC_MESSAGES/messages.mo +0 -0
  42. geovisio/translations/tr/LC_MESSAGES/messages.po +927 -0
  43. geovisio/translations/uk/LC_MESSAGES/messages.mo +0 -0
  44. geovisio/translations/uk/LC_MESSAGES/messages.po +920 -0
  45. geovisio/translations/zh_Hant/LC_MESSAGES/messages.po +1 -1
  46. geovisio/utils/annotations.py +21 -21
  47. geovisio/utils/auth.py +47 -13
  48. geovisio/utils/cql2.py +22 -5
  49. geovisio/utils/fields.py +14 -2
  50. geovisio/utils/items.py +44 -0
  51. geovisio/utils/model_query.py +2 -2
  52. geovisio/utils/pic_shape.py +1 -1
  53. geovisio/utils/pictures.py +127 -36
  54. geovisio/utils/semantics.py +32 -3
  55. geovisio/utils/sentry.py +1 -1
  56. geovisio/utils/sequences.py +155 -109
  57. geovisio/utils/upload_set.py +303 -206
  58. geovisio/utils/users.py +18 -0
  59. geovisio/utils/website.py +1 -1
  60. geovisio/web/annotations.py +303 -69
  61. geovisio/web/auth.py +1 -1
  62. geovisio/web/collections.py +194 -97
  63. geovisio/web/configuration.py +36 -4
  64. geovisio/web/docs.py +109 -13
  65. geovisio/web/items.py +319 -186
  66. geovisio/web/map.py +92 -54
  67. geovisio/web/pages.py +48 -4
  68. geovisio/web/params.py +100 -42
  69. geovisio/web/pictures.py +37 -3
  70. geovisio/web/prepare.py +4 -2
  71. geovisio/web/queryables.py +57 -0
  72. geovisio/web/stac.py +8 -2
  73. geovisio/web/tokens.py +49 -1
  74. geovisio/web/upload_set.py +226 -51
  75. geovisio/web/users.py +89 -8
  76. geovisio/web/utils.py +26 -8
  77. geovisio/workers/runner_pictures.py +128 -23
  78. {geovisio-2.9.0.dist-info → geovisio-2.11.0.dist-info}/METADATA +15 -14
  79. geovisio-2.11.0.dist-info/RECORD +117 -0
  80. geovisio-2.9.0.dist-info/RECORD +0 -98
  81. {geovisio-2.9.0.dist-info → geovisio-2.11.0.dist-info}/WHEEL +0 -0
  82. {geovisio-2.9.0.dist-info → geovisio-2.11.0.dist-info}/licenses/LICENSE +0 -0
@@ -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-03-09 18:35+0000\n"
12
- "Last-Translator: Rémi Simonnin <remisimonnin@orange.fr>\n"
11
+ "PO-Revision-Date: 2025-11-06 15:20+0000\n"
12
+ "Last-Translator: Marco <marco@users.noreply.weblate.panoramax.xyz>\n"
13
13
  "Language-Team: Esperanto <http://weblate.panoramax.xyz/projects/panoramax/"
14
14
  "api/eo/>\n"
15
15
  "Language: eo\n"
@@ -247,6 +247,7 @@ msgstr ""
247
247
  "Sekvenco %(c)s estas en stato %(s)s, ĝia videbleco ne povas esti ŝanĝita nun"
248
248
 
249
249
  #: geovisio/web/collections.py:766
250
+ #, fuzzy
250
251
  msgid "Sequence doesn't exists"
251
252
  msgstr "Sekvenco ne ekzistas"
252
253
 
@@ -334,7 +335,7 @@ msgstr ""
334
335
 
335
336
  #: geovisio/web/items.py:413
336
337
  #, python-format
337
- msgid "Picture with id %(p)s does not exists"
338
+ msgid "Picture with id %(p)s does not exist"
338
339
  msgstr "Bildo %(p)s ne ekzistas"
339
340
 
340
341
  #: geovisio/web/items.py:699
@@ -649,11 +650,11 @@ msgstr "Sekvenco \"%(name)s\" de \"%(user)s\" estis kaptita je %(date)s."
649
650
 
650
651
  #: geovisio/web/rss.py:40
651
652
  msgid "View on the map"
652
- msgstr ""
653
+ msgstr "Vidi sur la mapo"
653
654
 
654
655
  #: geovisio/web/rss.py:40
655
656
  msgid "JSON metadata"
656
- msgstr ""
657
+ msgstr "JSON-metadatumoj"
657
658
 
658
659
  #: geovisio/web/rss.py:49
659
660
  msgid "GeoVisio collections"
@@ -854,3 +855,52 @@ msgstr "Ne eblis forigi la paĝan enhavon"
854
855
  #: geovisio/web/pages.py:177
855
856
  msgid "Page content must be HTML (with Content-Type: text/html header set)"
856
857
  msgstr "La paĝo devas esti HTML (kun Content-Type: text/html kaplinio)"
858
+
859
+ #: geovisio/web/annotations.py:76
860
+ msgid "Parameter for creating an annotation should be a valid JSON"
861
+ msgstr "Parametro por krei prinoton devas esti valida JSON-o"
862
+
863
+ #: geovisio/web/annotations.py:202
864
+ msgid "Parameter for updating an annotation should be a valid JSON"
865
+ msgstr "Parametro por ĝisdati prinoton devas esti valida JSON-o"
866
+
867
+ #: geovisio/web/upload_set.py:245
868
+ msgid "Impossible to update the UploadSet"
869
+ msgstr "Neeble ĝisdati la UploadSet"
870
+
871
+ #: geovisio/web/annotations.py:74
872
+ msgid "Impossible to create an annotation"
873
+ msgstr "Neeble krei prinoton"
874
+
875
+ #: geovisio/web/annotations.py:134 geovisio/web/annotations.py:208
876
+ #, python-format
877
+ msgid "Annotation %(p)s not found"
878
+ msgstr "Prinoto %(p)s ne trovita"
879
+
880
+ #: geovisio/web/annotations.py:200
881
+ msgid "Impossible to patch annotation, invalid parameters"
882
+ msgstr "Neeble fliki prinoton, malvalidaj parametroj"
883
+
884
+ #: geovisio/web/collections.py:926
885
+ msgid "CSV export does not support pagination"
886
+ msgstr "CSV-eksporto ne subtenas paĝnumeradon"
887
+
888
+ #: geovisio/web/collections.py:928
889
+ msgid "CSV export does not support filters"
890
+ msgstr "CSV-eksporto ne subtenas filtrilojn"
891
+
892
+ #: geovisio/web/collections.py:935
893
+ msgid "CSV export does not support sorting by anything but creation date"
894
+ msgstr "CSV-eksporto ne subtenas ordigon laŭ io ajn krom kreodato"
895
+
896
+ #: geovisio/web/params.py:469
897
+ msgid "Unsupported sortby parameter: invalid field"
898
+ msgstr "Nesubtenata ordigparametro: malvalida kampo"
899
+
900
+ #: geovisio/web/upload_set.py:247
901
+ msgid "Parameter for updating an UploadSet should be a valid JSON"
902
+ msgstr "Parametro por ĝisdati UploadSet-on devas esti valida JSON-o"
903
+
904
+ #: geovisio/web/upload_set.py:255
905
+ msgid "You are not allowed to update this upload set"
906
+ 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-11-06 15:20+0000\n"
12
+ "Last-Translator: Marco <marco@users.noreply.weblate.panoramax.xyz>\n"
13
13
  "Language-Team: French <http://weblate.panoramax.xyz/projects/panoramax/api/"
14
14
  "fr/>\n"
15
15
  "Language: fr\n"
@@ -225,6 +225,7 @@ msgid "Collection %(c)s wasn't found in database"
225
225
  msgstr "La séquence %(c)s n'a pas été trouvée en base"
226
226
 
227
227
  #: geovisio/web/collections.py:793
228
+ #, fuzzy
228
229
  msgid "Sequence doesn't exists"
229
230
  msgstr "La séquence n'existe pas"
230
231
 
@@ -275,7 +276,7 @@ msgstr "Plus de photos dans cette séquence (dernier rang disponible : %(r)s)"
275
276
 
276
277
  #: geovisio/web/items.py:386
277
278
  #, python-format
278
- msgid "Picture with id %(p)s does not exists"
279
+ msgid "Picture with id %(p)s does not exist"
279
280
  msgstr "La photo avec l'ID %(p)s n'existe pas"
280
281
 
281
282
  #: geovisio/web/items.py:670
@@ -882,3 +883,91 @@ msgid ""
882
883
  msgstr ""
883
884
  "Vous n'êtes pas autorisé à éditer la visibilité de cette photo. Seulement le "
884
885
  "dépositaire peut la changer."
886
+
887
+ #: geovisio/web/items.py:1163
888
+ msgid "There is already a picture with the same index in the sequence"
889
+ msgstr "Une photo existe déjà à cette position (index) dans cette séquence"
890
+
891
+ #: geovisio/web/items.py:1361
892
+ msgid ""
893
+ "You're not authorized to edit this picture, collaborative editing is not "
894
+ "allowed"
895
+ msgstr ""
896
+ "Vous n'avez pas les droits suffisants pour modifier cette photo, l'édition "
897
+ "collaborative est désactivée"
898
+
899
+ #: geovisio/web/params.py:468
900
+ msgid "Unsupported sortby parameter: invalid field"
901
+ msgstr "Paramètre \"sortby\" non-géré : champ invalide"
902
+
903
+ #: geovisio/web/annotations.py:74
904
+ msgid "Impossible to create an annotation"
905
+ msgstr "Impossible de créer une annotation"
906
+
907
+ #: geovisio/web/annotations.py:76
908
+ msgid "Parameter for creating an annotation should be a valid JSON"
909
+ msgstr "Le paramètre pour créer une annotation doit être un JSON valide"
910
+
911
+ #: geovisio/web/annotations.py:134 geovisio/web/annotations.py:208
912
+ #, python-format
913
+ msgid "Annotation %(p)s not found"
914
+ msgstr "Annotation %(p)s introuvable"
915
+
916
+ #: geovisio/web/annotations.py:202
917
+ msgid "Parameter for updating an annotation should be a valid JSON"
918
+ msgstr "Le paramètre pour actualiser une annotation doit être un JSON valide"
919
+
920
+ #: geovisio/web/collections.py:926
921
+ msgid "CSV export does not support pagination"
922
+ msgstr "L'export CSV ne gère pas la pagination"
923
+
924
+ #: geovisio/web/collections.py:928
925
+ msgid "CSV export does not support filters"
926
+ msgstr "L'export CSV ne gère pas les filtres"
927
+
928
+ #: geovisio/web/pages.py:127 geovisio/web/pages.py:236
929
+ #, python-format
930
+ msgid "Page not available in language %(l)s"
931
+ msgstr "La page n'est pas disponible dans la langue %(l)s"
932
+
933
+ #: geovisio/web/pages.py:178
934
+ msgid "Page content must be HTML (with Content-Type: text/html header set)"
935
+ msgstr ""
936
+ "Le contenu de la page doit être du HTML (avec l'en-tête Content-Type : text/"
937
+ "html)"
938
+
939
+ #: geovisio/web/pages.py:192
940
+ msgid "Could not update page content"
941
+ msgstr "Impossible de modifier le contenu de la page"
942
+
943
+ #: geovisio/web/pages.py:238
944
+ msgid "Could not delete page content"
945
+ msgstr "Impossible de supprimer le contenu de la page"
946
+
947
+ #: geovisio/web/upload_set.py:245
948
+ msgid "Impossible to update the UploadSet"
949
+ msgstr "Impossible de modifier l'Upload Set"
950
+
951
+ #: geovisio/web/upload_set.py:247
952
+ msgid "Parameter for updating an UploadSet should be a valid JSON"
953
+ msgstr "Le paramètre pour modifier un Upload Set doit être un JSON valide"
954
+
955
+ #: geovisio/web/upload_set.py:255
956
+ msgid "You are not allowed to update this upload set"
957
+ msgstr "Vous n'avez pas les droits suffisants pour modifier cet upload set"
958
+
959
+ #: geovisio/web/annotations.py:200
960
+ msgid "Impossible to patch annotation, invalid parameters"
961
+ msgstr "Impossible de modifier l'annotation, les paramètres sont invalides"
962
+
963
+ #: geovisio/web/collections.py:935
964
+ msgid "CSV export does not support sorting by anything but creation date"
965
+ msgstr "L'export CSV gère uniquement le tri par date de création"
966
+
967
+ #: geovisio/web/pages.py:45
968
+ msgid "Page name is not recognized"
969
+ msgstr "Nom de page non reconnu"
970
+
971
+ #: geovisio/web/pages.py:176 geovisio/web/pages.py:230
972
+ msgid "You must be logged-in as admin to edit pages"
973
+ 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-11-06 15:20+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