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
@@ -7,18 +7,16 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: PROJECT VERSION\n"
9
9
  "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10
- "POT-Creation-Date: 2025-01-28 15:02+0100\n"
11
- "PO-Revision-Date: 2025-02-27 12:32+0000\n"
12
- "Last-Translator: PanierAvide <adrien@pavie.info>\n"
13
- "Language-Team: English <http://weblate.panoramax.xyz/projects/panoramax/api/"
14
- "en/>\n"
15
- "Language: en\n"
10
+ "POT-Creation-Date: 2025-11-10 15:55+0100\n"
11
+ "PO-Revision-Date: 2025-11-10 15:55+0100\n"
12
+ "Last-Translator: Automatically generated\n"
13
+ "Language-Team: none\n"
16
14
  "MIME-Version: 1.0\n"
17
15
  "Content-Type: text/plain; charset=UTF-8\n"
18
16
  "Content-Transfer-Encoding: 8bit\n"
19
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
- "X-Generator: Weblate 5.4.3\n"
21
- "Generated-By: Babel 2.16.0\n"
17
+ "Generated-By: Babel 2.17.0\n"
18
+ "Language: en\n"
19
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
22
20
 
23
21
  #: geovisio/templates/main.html:45
24
22
  msgid "Simple 360° geolocated pictures hosting"
@@ -72,11 +70,11 @@ msgstr "Repositories"
72
70
  msgid "You need to enable JavaScript to run this app."
73
71
  msgstr "You need to enable JavaScript to run this app."
74
72
 
75
- #: geovisio/utils/auth.py:257
73
+ #: geovisio/utils/auth.py:279
76
74
  msgid "Authentication is mandatory"
77
75
  msgstr "Authentication is mandatory"
78
76
 
79
- #: geovisio/utils/auth.py:283
77
+ #: geovisio/utils/auth.py:306
80
78
  #, python-format
81
79
  msgid ""
82
80
  "You need to accept the terms of service before uploading any pictures. You "
@@ -85,15 +83,27 @@ msgstr ""
85
83
  "You need to accept the terms of service before uploading any pictures. You "
86
84
  "can do so by validating them here: %(url)s"
87
85
 
88
- #: geovisio/utils/auth.py:400
86
+ #: geovisio/utils/auth.py:436
89
87
  msgid "Only Bearer token are supported"
90
88
  msgstr "Only Bearer token are supported"
91
89
 
90
+ #: geovisio/utils/cql2.py:33
91
+ msgid "Unsupported filter parameter"
92
+ msgstr "Unsupported filter parameter"
93
+
92
94
  #: geovisio/utils/excluded_areas.py:82
93
95
  msgid "Impossible to find excluded area"
94
96
  msgstr "Impossible to find excluded area"
95
97
 
96
- #: geovisio/utils/pictures.py:304
98
+ #: geovisio/utils/fields.py:111
99
+ msgid ""
100
+ "Relative heading is not valid, should be an integer in degrees from -180 to "
101
+ "180"
102
+ msgstr ""
103
+ "Relative heading is not valid, should be an integer in degrees from -180 to "
104
+ "180"
105
+
106
+ #: geovisio/utils/pictures.py:347
97
107
  #, python-format
98
108
  msgid ""
99
109
  "Invalid '%(format)s' format for image, only the following formats are "
@@ -102,33 +112,28 @@ msgstr ""
102
112
  "Invalid '%(format)s' format for image, only the following formats are "
103
113
  "available: %(allowed_formats)s"
104
114
 
105
- #: geovisio/utils/pictures.py:418
115
+ #: geovisio/utils/pictures.py:461
106
116
  msgid "Picture can't be found, you may check its ID"
107
117
  msgstr "Picture can't be found, you may check its ID"
108
118
 
109
- #: geovisio/utils/pictures.py:421
110
- msgid "Picture is not available (either hidden by admin or processing)"
111
- msgstr "Picture is not available (either hidden by admin or processing)"
119
+ #: geovisio/utils/pictures.py:464
120
+ msgid "Picture is not available (currently in processing)"
121
+ msgstr "Picture is not available (currently in processing)"
112
122
 
113
- #: geovisio/utils/pictures.py:429
123
+ #: geovisio/utils/pictures.py:472
114
124
  msgid "HD Picture file is not available"
115
125
  msgstr "HD Picture file is not available"
116
126
 
117
- #: geovisio/utils/pictures.py:448
127
+ #: geovisio/utils/pictures.py:491
118
128
  msgid "Picture derivates file are not available"
119
129
  msgstr "Picture derivates file are not available"
120
130
 
121
- #: geovisio/utils/pictures.py:465 geovisio/web/pictures.py:53
131
+ #: geovisio/utils/pictures.py:508 geovisio/web/pictures.py:53
122
132
  #: geovisio/web/pictures.py:98 geovisio/web/pictures.py:208
123
133
  msgid "Unable to read picture on filesystem"
124
134
  msgstr "Unable to read picture on filesystem"
125
135
 
126
- #: geovisio/utils/reports.py:142 geovisio/utils/upload_set.py:367
127
- #: geovisio/web/params.py:356
128
- msgid "Unsupported filter parameter"
129
- msgstr "Unsupported filter parameter"
130
-
131
- #: geovisio/utils/sequences.py:388
136
+ #: geovisio/utils/sequences.py:504
132
137
  msgid ""
133
138
  "Sort by file date is not possible on this sequence (no file date information "
134
139
  "available on pictures)"
@@ -136,7 +141,7 @@ msgstr ""
136
141
  "Sort by file date is not possible on this sequence (no file date information "
137
142
  "available on pictures)"
138
143
 
139
- #: geovisio/utils/sequences.py:413
144
+ #: geovisio/utils/sequences.py:530
140
145
  #, python-format
141
146
  msgid ""
142
147
  "Sort using %(sort)s is not possible on this sequence, picture %(pic)s is "
@@ -145,8 +150,8 @@ msgstr ""
145
150
  "Sort using %(sort)s is not possible on this sequence, picture %(pic)s is "
146
151
  "missing mandatory metadata"
147
152
 
148
- #: geovisio/utils/sequences.py:605 geovisio/web/collections.py:690
149
- #: geovisio/web/prepare.py:148
153
+ #: geovisio/utils/sequences.py:732 geovisio/web/collections.py:794
154
+ #: geovisio/web/prepare.py:150
150
155
  #, python-format
151
156
  msgid "Collection %(c)s wasn't found in database"
152
157
  msgstr "Collection %(c)s wasn't found in database"
@@ -167,7 +172,7 @@ msgstr ""
167
172
  "Token not yet claimed, this token cannot be used yet. Either claim this "
168
173
  "token or generate a new one"
169
174
 
170
- #: geovisio/utils/upload_set.py:177
175
+ #: geovisio/utils/upload_set.py:188
171
176
  msgid ""
172
177
  "The picture is too similar to another one (nearby and taken almost at the "
173
178
  "same time)"
@@ -175,21 +180,21 @@ msgstr ""
175
180
  "The picture is too similar to another one (nearby and taken almost at the "
176
181
  "same time)"
177
182
 
178
- #: geovisio/utils/upload_set.py:180
183
+ #: geovisio/utils/upload_set.py:191
179
184
  msgid "The sent file is not a valid JPEG"
180
185
  msgstr "The sent file is not a valid JPEG"
181
186
 
182
- #: geovisio/utils/upload_set.py:183
187
+ #: geovisio/utils/upload_set.py:194
183
188
  msgid ""
184
189
  "The picture has invalid EXIF or XMP metadata, making it impossible to use"
185
190
  msgstr ""
186
191
  "The picture has invalid EXIF or XMP metadata, making it impossible to use"
187
192
 
188
- #: geovisio/utils/upload_set.py:186
193
+ #: geovisio/utils/upload_set.py:197
189
194
  msgid "Something went very wrong, but not due to the picture itself"
190
195
  msgstr "Something went very wrong, but not due to the picture itself"
191
196
 
192
- #: geovisio/utils/upload_set.py:600
197
+ #: geovisio/utils/upload_set.py:695
193
198
  msgid ""
194
199
  "A different picture with the same name has already been added to this "
195
200
  "uploadset"
@@ -197,6 +202,39 @@ msgstr ""
197
202
  "A different picture with the same name has already been added to this "
198
203
  "uploadset"
199
204
 
205
+ #: geovisio/utils/upload_set.py:730
206
+ msgid "Impossible to add the picture to this uploadset"
207
+ msgstr "Impossible to add the picture to this uploadset"
208
+
209
+ #: geovisio/web/annotations.py:83 geovisio/web/items.py:1401
210
+ #: geovisio/web/items.py:1555 geovisio/web/prepare.py:86
211
+ #, python-format
212
+ msgid "Picture %(p)s wasn't found in database"
213
+ msgstr "Picture %(p)s wasn't found in database"
214
+
215
+ #: geovisio/web/annotations.py:89
216
+ msgid "Impossible to create an annotation"
217
+ msgstr "Impossible to create an annotation"
218
+
219
+ #: geovisio/web/annotations.py:91
220
+ msgid "Parameter for creating an annotation should be a valid JSON"
221
+ msgstr "Parameter for creating an annotation should be a valid JSON"
222
+
223
+ #: geovisio/web/annotations.py:198 geovisio/web/annotations.py:233
224
+ #: geovisio/web/annotations.py:302 geovisio/web/annotations.py:397
225
+ #: geovisio/web/annotations.py:444
226
+ #, python-format
227
+ msgid "Annotation %(p)s not found"
228
+ msgstr "Annotation %(p)s not found"
229
+
230
+ #: geovisio/web/annotations.py:294
231
+ msgid "Impossible to patch annotation, invalid parameters"
232
+ msgstr "Impossible to patch annotation, invalid parameters"
233
+
234
+ #: geovisio/web/annotations.py:296
235
+ msgid "Parameter for updating an annotation should be a valid JSON"
236
+ msgstr "Parameter for updating an annotation should be a valid JSON"
237
+
200
238
  #: geovisio/web/auth.py:60
201
239
  msgid "Impossible to finish authentication flow"
202
240
  msgstr "Impossible to finish authentication flow"
@@ -209,51 +247,61 @@ msgstr ""
209
247
  "You can try to clear your cookies and retry. If the problem persists, "
210
248
  "contact your instance administrator."
211
249
 
212
- #: geovisio/web/collections.py:309
250
+ #: geovisio/web/collections.py:316
251
+ msgid "RSS format does not support deleted sequences"
252
+ msgstr "RSS format does not support deleted sequences"
253
+
254
+ #: geovisio/web/collections.py:378
213
255
  #, python-format
214
256
  msgid "There is no collection created after %(d)s"
215
257
  msgstr "There is no collection created after %(d)s"
216
258
 
217
- #: geovisio/web/collections.py:311
259
+ #: geovisio/web/collections.py:380
218
260
  #, python-format
219
261
  msgid "There is no collection created before %(d)s"
220
262
  msgstr "There is no collection created before %(d)s"
221
263
 
222
- #: geovisio/web/collections.py:431 geovisio/web/items.py:406
264
+ #: geovisio/web/collections.py:506 geovisio/web/items.py:425
223
265
  msgid "Collection doesn't exist"
224
266
  msgstr "Collection doesn't exist"
225
267
 
226
- #: geovisio/web/collections.py:490
268
+ #: geovisio/web/collections.py:564
227
269
  msgid "Impossible to find a thumbnail for the collection"
228
270
  msgstr "Impossible to find a thumbnail for the collection"
229
271
 
230
- #: geovisio/web/collections.py:594 geovisio/web/items.py:1198
272
+ #: geovisio/web/collections.py:686 geovisio/web/items.py:1318
231
273
  msgid ""
232
274
  "Picture visibility parameter (visible) should be either unset, true or false"
233
275
  msgstr ""
234
276
  "Picture visibility parameter (visible) should be either unset, true or false"
235
277
 
236
- #: geovisio/web/collections.py:601
278
+ #: geovisio/web/collections.py:693
237
279
  msgid "Sort order parameter is invalid"
238
280
  msgstr "Sort order parameter is invalid"
239
281
 
240
- #: geovisio/web/collections.py:614
282
+ #: geovisio/web/collections.py:704 geovisio/web/items.py:1350
283
+ msgid "Visibility and visible parameters are mutually exclusive parameters"
284
+ msgstr "Visibility and visible parameters are mutually exclusive parameters"
285
+
286
+ #: geovisio/web/collections.py:718 geovisio/web/items.py:1364
287
+ #: geovisio/web/upload_set.py:104 geovisio/web/upload_set.py:171
288
+ #: geovisio/web/users.py:364
241
289
  msgid ""
242
- "Relative heading is not valid, should be an integer in degrees from -180 to "
243
- "180"
290
+ "The logged-only visibility is not allowed on this instance since anybody can "
291
+ "create an account"
244
292
  msgstr ""
245
- "Relative heading is not valid, should be an integer in degrees from -180 to "
246
- "180"
293
+ "The logged-only visibility is not allowed on this instance since anybody can "
294
+ "create an account"
247
295
 
248
- #: geovisio/web/collections.py:674 geovisio/web/items.py:1298
249
- #: geovisio/web/prepare.py:62 geovisio/web/prepare.py:128
296
+ #: geovisio/web/collections.py:777 geovisio/web/items.py:1381
297
+ #: geovisio/web/prepare.py:62 geovisio/web/prepare.py:130
250
298
  #: geovisio/web/reports.py:349 geovisio/web/reports.py:392
251
- #: geovisio/web/upload_set.py:272 geovisio/web/upload_set.py:392
252
- #: geovisio/web/users.py:369
299
+ #: geovisio/web/upload_set.py:524 geovisio/web/upload_set.py:646
300
+ #: geovisio/web/users.py:400
253
301
  msgid "Impossible to parse parameters"
254
302
  msgstr "Impossible to parse parameters"
255
303
 
256
- #: geovisio/web/collections.py:697
304
+ #: geovisio/web/collections.py:802
257
305
  msgid ""
258
306
  "You're not authorized to edit those fields for this sequence. Only the owner "
259
307
  "can change the visibility and the title"
@@ -261,7 +309,7 @@ msgstr ""
261
309
  "You're not authorized to edit those fields for this sequence. Only the owner "
262
310
  "can change the visibility and the title"
263
311
 
264
- #: geovisio/web/collections.py:707
312
+ #: geovisio/web/collections.py:811
265
313
  msgid ""
266
314
  "You're not authorized to edit this sequence, collaborative editing is not "
267
315
  "allowed"
@@ -269,28 +317,33 @@ msgstr ""
269
317
  "You're not authorized to edit this sequence, collaborative editing is not "
270
318
  "allowed"
271
319
 
272
- #: geovisio/web/collections.py:719
273
- #, python-format
274
- msgid ""
275
- "Sequence %(c)s is in %(s)s state, its visibility can't be changed for now"
276
- msgstr ""
277
- "Sequence %(c)s is in %(s)s state, its visibility can't be changed for now"
278
-
279
- #: geovisio/web/collections.py:858
320
+ #: geovisio/web/collections.py:947
280
321
  msgid "Sequence doesn't exists"
281
- msgstr "Sequence doesn't exist"
322
+ msgstr "Sequence doesn't exists"
323
+
324
+ #: geovisio/web/collections.py:1015
325
+ msgid "CSV export does not support pagination"
326
+ msgstr "CSV export does not support pagination"
327
+
328
+ #: geovisio/web/collections.py:1017
329
+ msgid "CSV export does not support filters"
330
+ msgstr "CSV export does not support filters"
282
331
 
283
- #: geovisio/web/collections.py:1027 geovisio/web/stac.py:347
332
+ #: geovisio/web/collections.py:1024
333
+ msgid "CSV export does not support sorting by anything but creation date"
334
+ msgstr "CSV export does not support sorting by anything but creation date"
335
+
336
+ #: geovisio/web/collections.py:1181 geovisio/web/stac.py:355
284
337
  #, python-format
285
338
  msgid "Impossible to find user %(u)s"
286
339
  msgstr "Impossible to find user %(u)s"
287
340
 
288
- #: geovisio/web/collections.py:1062 geovisio/web/stac.py:357
341
+ #: geovisio/web/collections.py:1214 geovisio/web/stac.py:368
289
342
  #, python-format
290
343
  msgid "No data loaded for user %(u)s"
291
344
  msgstr "No data loaded for user %(u)s"
292
345
 
293
- #: geovisio/web/collections.py:1064
346
+ #: geovisio/web/collections.py:1216
294
347
  msgid "No matching sequences found"
295
348
  msgstr "No matching sequences found"
296
349
 
@@ -327,52 +380,52 @@ msgstr "Parameter for replacing all Excluded Areas should be a valid JSON"
327
380
  msgid "You must be logged-in as admin to delete excluded areas"
328
381
  msgstr "You must be logged-in as admin to delete excluded areas"
329
382
 
330
- #: geovisio/web/items.py:369
383
+ #: geovisio/web/items.py:388
331
384
  msgid "limit parameter should be an integer between 1 and 10000"
332
385
  msgstr "limit parameter should be an integer between 1 and 10000"
333
386
 
334
- #: geovisio/web/items.py:371
387
+ #: geovisio/web/items.py:390
335
388
  msgid ""
336
389
  "limit parameter should be a valid, positive integer (between 1 and 10000)"
337
390
  msgstr ""
338
391
  "limit parameter should be a valid, positive integer (between 1 and 10000)"
339
392
 
340
- #: geovisio/web/items.py:376
393
+ #: geovisio/web/items.py:395
341
394
  msgid "`startAfterRank` and `withPicture` are mutually exclusive parameters"
342
395
  msgstr "`startAfterRank` and `withPicture` are mutually exclusive parameters"
343
396
 
344
- #: geovisio/web/items.py:383
397
+ #: geovisio/web/items.py:402
345
398
  msgid "startAfterRank parameter should be a positive integer (starting from 1)"
346
399
  msgstr ""
347
400
  "startAfterRank parameter should be a positive integer (starting from 1)"
348
401
 
349
- #: geovisio/web/items.py:385
402
+ #: geovisio/web/items.py:404
350
403
  msgid "startAfterRank parameter should be a valid, positive integer"
351
404
  msgstr "startAfterRank parameter should be a valid, positive integer"
352
405
 
353
- #: geovisio/web/items.py:412
406
+ #: geovisio/web/items.py:431
354
407
  #, python-format
355
408
  msgid "No more items in this collection (last available rank is %(r)s)"
356
409
  msgstr "No more items in this collection (last available rank is %(r)s)"
357
410
 
358
- #: geovisio/web/items.py:422
411
+ #: geovisio/web/items.py:441
359
412
  #, python-format
360
- msgid "Picture with id %(p)s does not exists"
413
+ msgid "Picture with id %(p)s does not exist"
361
414
  msgstr "Picture with id %(p)s does not exist"
362
415
 
363
- #: geovisio/web/items.py:726
416
+ #: geovisio/web/items.py:743
364
417
  msgid "Item doesn't exist"
365
418
  msgstr "Item doesn't exist"
366
419
 
367
- #: geovisio/web/items.py:785
420
+ #: geovisio/web/items.py:809
368
421
  msgid "Search using POST method should have a JSON body"
369
422
  msgstr "Search using POST method should have a JSON body"
370
423
 
371
- #: geovisio/web/items.py:794
424
+ #: geovisio/web/items.py:821
372
425
  msgid "Parameter limit must be either empty or a number between 1 and 10000"
373
426
  msgstr "Parameter limit must be either empty or a number between 1 and 10000"
374
427
 
375
- #: geovisio/web/items.py:850
428
+ #: geovisio/web/items.py:885
376
429
  msgid ""
377
430
  "Parameter place_fov_tolerance must be either empty or a number between 2 and "
378
431
  "180"
@@ -380,102 +433,98 @@ msgstr ""
380
433
  "Parameter place_fov_tolerance must be either empty or a number between 2 and "
381
434
  "180"
382
435
 
383
- #: geovisio/web/items.py:872
436
+ #: geovisio/web/items.py:916
384
437
  msgid ""
385
438
  "Parameter intersects should contain a valid GeoJSON Geometry (not a Feature)"
386
439
  msgstr ""
387
440
  "Parameter intersects should contain a valid GeoJSON Geometry (not a Feature)"
388
441
 
389
- #: geovisio/web/items.py:888
442
+ #: geovisio/web/items.py:941
390
443
  msgid "Parameter ids should be a JSON array of strings"
391
444
  msgstr "Parameter ids should be a JSON array of strings"
392
445
 
393
- #: geovisio/web/items.py:900
446
+ #: geovisio/web/items.py:953
394
447
  msgid "Parameter collections should be a JSON array of strings"
395
448
  msgstr "Parameter collections should be a JSON array of strings"
396
449
 
397
- #: geovisio/web/items.py:911
398
- msgid "Picture doesn't exist"
399
- msgstr "Picture doesn't exist"
400
-
401
- #: geovisio/web/items.py:1023 geovisio/web/upload_set.py:534
450
+ #: geovisio/web/items.py:1129 geovisio/web/upload_set.py:788
402
451
  msgid "Content type should be multipart/form-data"
403
452
  msgstr "Content type should be multipart/form-data"
404
453
 
405
- #: geovisio/web/items.py:1027
454
+ #: geovisio/web/items.py:1133
406
455
  msgid "Missing \"position\" parameter"
407
456
  msgstr "Missing \"position\" parameter"
408
457
 
409
- #: geovisio/web/items.py:1034
458
+ #: geovisio/web/items.py:1140
410
459
  msgid "Position in sequence should be a positive integer"
411
460
  msgstr "Position in sequence should be a positive integer"
412
461
 
413
- #: geovisio/web/items.py:1048 geovisio/web/upload_set.py:343
462
+ #: geovisio/web/items.py:1154 geovisio/web/upload_set.py:597
414
463
  msgid ""
415
464
  "Longitude cannot be overridden alone, override_latitude also needs to be set"
416
465
  msgstr ""
417
466
  "Longitude cannot be overridden alone, override_latitude also needs to be set"
418
467
 
419
- #: geovisio/web/items.py:1050 geovisio/web/upload_set.py:345
468
+ #: geovisio/web/items.py:1156 geovisio/web/upload_set.py:599
420
469
  msgid ""
421
470
  "Latitude cannot be overridden alone, override_longitude also needs to be set"
422
471
  msgstr ""
423
472
  "Latitude cannot be overridden alone, override_longitude also needs to be set"
424
473
 
425
- #: geovisio/web/items.py:1051 geovisio/web/upload_set.py:318
474
+ #: geovisio/web/items.py:1157 geovisio/web/upload_set.py:572
426
475
  #, python-format
427
476
  msgid "For parameter `override_longitude`, `%(v)s` is not a valid longitude"
428
477
  msgstr "For parameter `override_longitude`, `%(v)s` is not a valid longitude"
429
478
 
430
- #: geovisio/web/items.py:1052 geovisio/web/upload_set.py:323
479
+ #: geovisio/web/items.py:1158 geovisio/web/upload_set.py:577
431
480
  #, python-format
432
481
  msgid "For parameter `override_latitude`, `%(v)s` is not a valid latitude"
433
482
  msgstr "For parameter `override_latitude`, `%(v)s` is not a valid latitude"
434
483
 
435
- #: geovisio/web/items.py:1071
484
+ #: geovisio/web/items.py:1177
436
485
  msgid "Picture blur status should be either unset, true or false"
437
486
  msgstr "Picture blur status should be either unset, true or false"
438
487
 
439
- #: geovisio/web/items.py:1075
488
+ #: geovisio/web/items.py:1181
440
489
  msgid "No picture file was sent"
441
490
  msgstr "No picture file was sent"
442
491
 
443
- #: geovisio/web/items.py:1081 geovisio/web/upload_set.py:384
492
+ #: geovisio/web/items.py:1187 geovisio/web/upload_set.py:638
444
493
  msgid ""
445
494
  "Picture file is either missing or in an unsupported format (should be jpg)"
446
495
  msgstr ""
447
496
  "Picture file is either missing or in an unsupported format (should be jpg)"
448
497
 
449
- #: geovisio/web/items.py:1088
498
+ #: geovisio/web/items.py:1194
450
499
  #, python-format
451
500
  msgid "Collection %(s)s wasn't found in database"
452
501
  msgstr "Collection %(s)s wasn't found in database"
453
502
 
454
- #: geovisio/web/items.py:1092
503
+ #: geovisio/web/items.py:1198
455
504
  msgid "You're not authorized to add picture to this collection"
456
505
  msgstr "You're not authorized to add picture to this collection"
457
506
 
458
- #: geovisio/web/items.py:1097
507
+ #: geovisio/web/items.py:1203
459
508
  msgid "The collection has been deleted, impossible to add pictures to it"
460
509
  msgstr "The collection has been deleted, impossible to add pictures to it"
461
510
 
462
- #: geovisio/web/items.py:1127
463
- msgid "Picture at given position already exist"
464
- msgstr "Picture at given position already exist"
511
+ #: geovisio/web/items.py:1233
512
+ msgid "There is already a picture with the same index in the sequence"
513
+ msgstr "There is already a picture with the same index in the sequence"
465
514
 
466
- #: geovisio/web/items.py:1129 geovisio/web/upload_set.py:620
515
+ #: geovisio/web/items.py:1235 geovisio/web/upload_set.py:874
467
516
  msgid "Impossible to parse picture metadata"
468
517
  msgstr "Impossible to parse picture metadata"
469
518
 
470
- #: geovisio/web/items.py:1131 geovisio/web/upload_set.py:627
519
+ #: geovisio/web/items.py:1237 geovisio/web/upload_set.py:881
471
520
  msgid "Picture has invalid metadata"
472
521
  msgstr "Picture has invalid metadata"
473
522
 
474
- #: geovisio/web/items.py:1139 geovisio/web/upload_set.py:653
523
+ #: geovisio/web/items.py:1245 geovisio/web/upload_set.py:907
475
524
  msgid "Picture wasn't correctly saved in filesystem"
476
525
  msgstr "Picture wasn't correctly saved in filesystem"
477
526
 
478
- #: geovisio/web/items.py:1208
527
+ #: geovisio/web/items.py:1329
479
528
  msgid ""
480
529
  "Parameter `capture_time` is not a valid datetime, it should be an iso "
481
530
  "formated datetime (like '2017-07-21T17:32:28Z')."
@@ -483,31 +532,25 @@ msgstr ""
483
532
  "Parameter `capture_time` is not a valid datetime, it should be an iso "
484
533
  "formated datetime (like '2017-07-21T17:32:28Z')."
485
534
 
486
- #: geovisio/web/items.py:1216
535
+ #: geovisio/web/items.py:1336
487
536
  #, python-format
488
537
  msgid "For parameter `longitude`, `%(v)s` is not a valid longitude"
489
538
  msgstr "For parameter `longitude`, `%(v)s` is not a valid longitude"
490
539
 
491
- #: geovisio/web/items.py:1221
540
+ #: geovisio/web/items.py:1341
492
541
  #, python-format
493
542
  msgid "For parameter `latitude`, `%(v)s` is not a valid latitude"
494
543
  msgstr "For parameter `latitude`, `%(v)s` is not a valid latitude"
495
544
 
496
- #: geovisio/web/items.py:1226
545
+ #: geovisio/web/items.py:1346
497
546
  msgid "Longitude cannot be overridden alone, latitude also needs to be set"
498
547
  msgstr "Longitude cannot be overridden alone, latitude also needs to be set"
499
548
 
500
- #: geovisio/web/items.py:1228
549
+ #: geovisio/web/items.py:1348
501
550
  msgid "Latitude cannot be overridden alone, longitude also needs to be set"
502
551
  msgstr "Latitude cannot be overridden alone, longitude also needs to be set"
503
552
 
504
- #: geovisio/web/items.py:1311 geovisio/web/items.py:1421
505
- #: geovisio/web/prepare.py:84
506
- #, python-format
507
- msgid "Picture %(p)s wasn't found in database"
508
- msgstr "Picture %(p)s wasn't found in database"
509
-
510
- #: geovisio/web/items.py:1318
553
+ #: geovisio/web/items.py:1408
511
554
  msgid ""
512
555
  "You're not authorized to edit the visibility of this picture. Only the owner "
513
556
  "can change this."
@@ -515,7 +558,7 @@ msgstr ""
515
558
  "You're not authorized to edit the visibility of this picture. Only the owner "
516
559
  "can change this."
517
560
 
518
- #: geovisio/web/items.py:1325
561
+ #: geovisio/web/items.py:1415
519
562
  msgid ""
520
563
  "You're not authorized to edit this picture, collaborative editing is not "
521
564
  "allowed"
@@ -523,14 +566,7 @@ msgstr ""
523
566
  "You're not authorized to edit this picture, collaborative editing is not "
524
567
  "allowed"
525
568
 
526
- #: geovisio/web/items.py:1336
527
- #, python-format
528
- msgid ""
529
- "Picture %(p)s is in %(s)s state, its visibility can't be changed for now"
530
- msgstr ""
531
- "Picture %(p)s is in %(s)s state, its visibility can't be changed for now"
532
-
533
- #: geovisio/web/items.py:1425
569
+ #: geovisio/web/items.py:1559
534
570
  msgid "You're not authorized to edit this picture"
535
571
  msgstr "You're not authorized to edit this picture"
536
572
 
@@ -554,28 +590,28 @@ msgstr "Z parameter is out of bounds (should be 0-15)"
554
590
  msgid "Impossible to get tile"
555
591
  msgstr "Impossible to get tile"
556
592
 
557
- #: geovisio/web/pages.py:44
593
+ #: geovisio/web/pages.py:45
558
594
  msgid "Page name is not recognized"
559
595
  msgstr "Page name is not recognized"
560
596
 
561
- #: geovisio/web/pages.py:126 geovisio/web/pages.py:235
597
+ #: geovisio/web/pages.py:127 geovisio/web/pages.py:236
562
598
  #, python-format
563
599
  msgid "Page not available in language %(l)s"
564
600
  msgstr "Page not available in language %(l)s"
565
601
 
566
- #: geovisio/web/pages.py:175 geovisio/web/pages.py:229
602
+ #: geovisio/web/pages.py:176 geovisio/web/pages.py:230
567
603
  msgid "You must be logged-in as admin to edit pages"
568
604
  msgstr "You must be logged-in as admin to edit pages"
569
605
 
570
- #: geovisio/web/pages.py:177
606
+ #: geovisio/web/pages.py:178
571
607
  msgid "Page content must be HTML (with Content-Type: text/html header set)"
572
608
  msgstr "Page content must be HTML (with Content-Type: text/html header set)"
573
609
 
574
- #: geovisio/web/pages.py:191
610
+ #: geovisio/web/pages.py:192
575
611
  msgid "Could not update page content"
576
612
  msgstr "Could not update page content"
577
613
 
578
- #: geovisio/web/pages.py:237
614
+ #: geovisio/web/pages.py:238
579
615
  msgid "Could not delete page content"
580
616
  msgstr "Could not delete page content"
581
617
 
@@ -632,7 +668,23 @@ msgstr "Parameter %(p)s has a min value greater than its max value"
632
668
  msgid "Parameter %(p)s must be a valid list"
633
669
  msgstr "Parameter %(p)s must be a valid list"
634
670
 
635
- #: geovisio/web/params.py:371
671
+ #: geovisio/web/params.py:354
672
+ msgid ""
673
+ "The status filter is not supported anymore, use the `visibility` filter "
674
+ "instead"
675
+ msgstr ""
676
+ "The status filter is not supported anymore, use the `visibility` filter "
677
+ "instead"
678
+
679
+ #: geovisio/web/params.py:359
680
+ msgid ""
681
+ "The status filter is not supported anymore, use the `show_deleted` parameter "
682
+ "instead if you need to query deleted collections"
683
+ msgstr ""
684
+ "The status filter is not supported anymore, use the `show_deleted` parameter "
685
+ "instead if you need to query deleted collections"
686
+
687
+ #: geovisio/web/params.py:377
636
688
  msgid ""
637
689
  "Heading is not valid, should be an integer in degrees from 0° to 360°. North "
638
690
  "is 0°, East = 90°, South = 180° and West = 270°."
@@ -640,31 +692,35 @@ msgstr ""
640
692
  "Heading is not valid, should be an integer in degrees from 0° to 360°. North "
641
693
  "is 0°, East = 90°, South = 180° and West = 270°."
642
694
 
643
- #: geovisio/web/params.py:458
695
+ #: geovisio/web/params.py:429
696
+ msgid "Unsupported sortby parameter: syntax isn't correct"
697
+ msgstr "Unsupported sortby parameter: syntax isn't correct"
698
+
699
+ #: geovisio/web/params.py:484
644
700
  msgid "Unsupported sortby parameter: invalid column name"
645
701
  msgstr "Unsupported sortby parameter: invalid column name"
646
702
 
647
- #: geovisio/web/params.py:466
648
- msgid "Unsupported sortby parameter: syntax isn't correct"
649
- msgstr "Unsupported sortby parameter: syntax isn't correct"
703
+ #: geovisio/web/params.py:494
704
+ msgid "Unsupported sortby parameter: invalid field"
705
+ msgstr "Unsupported sortby parameter: invalid field"
650
706
 
651
- #: geovisio/web/params.py:492
707
+ #: geovisio/web/params.py:521
652
708
  #, python-format
653
709
  msgid ""
654
710
  "limit parameter should be a valid, positive integer (between 1 and %(v)s)"
655
711
  msgstr ""
656
712
  "limit parameter should be a valid, positive integer (between 1 and %(v)s)"
657
713
 
658
- #: geovisio/web/params.py:495
714
+ #: geovisio/web/params.py:524
659
715
  #, python-format
660
716
  msgid "limit parameter should be an integer between 1 and %(v)s"
661
717
  msgstr "limit parameter should be an integer between 1 and %(v)s"
662
718
 
663
- #: geovisio/web/params.py:506
719
+ #: geovisio/web/params.py:535
664
720
  msgid "longitude needs to be between -180 and 180"
665
721
  msgstr "longitude needs to be between -180 and 180"
666
722
 
667
- #: geovisio/web/params.py:516
723
+ #: geovisio/web/params.py:545
668
724
  msgid "latitude needs to be between -90 and 90"
669
725
  msgstr "latitude needs to be between -90 and 90"
670
726
 
@@ -724,11 +780,19 @@ msgstr "Parameter for editing the Report should be a valid JSON"
724
780
  msgid "You're not authorized to list reports"
725
781
  msgstr "You're not authorized to list reports"
726
782
 
727
- #: geovisio/web/rss.py:22
783
+ #: geovisio/web/rss.py:19
728
784
  #, python-format
729
785
  msgid "Sequence \"%(name)s\" by \"%(user)s\" was captured on %(date)s."
730
786
  msgstr "Sequence \"%(name)s\" by \"%(user)s\" was captured on %(date)s."
731
787
 
788
+ #: geovisio/web/rss.py:40
789
+ msgid "View on the map"
790
+ msgstr "View on the map"
791
+
792
+ #: geovisio/web/rss.py:40
793
+ msgid "JSON metadata"
794
+ msgstr "JSON metadata"
795
+
732
796
  #: geovisio/web/rss.py:49
733
797
  msgid "GeoVisio collections"
734
798
  msgstr "GeoVisio collections"
@@ -738,32 +802,44 @@ msgid "List of collections from this GeoVisio server"
738
802
  msgstr "List of collections from this GeoVisio server"
739
803
 
740
804
  #: geovisio/web/tokens.py:100 geovisio/web/tokens.py:143
741
- #: geovisio/web/tokens.py:231
805
+ #: geovisio/web/tokens.py:229
742
806
  msgid "Impossible to find token"
743
807
  msgstr "Impossible to find token"
744
808
 
745
- #: geovisio/web/tokens.py:181
809
+ #: geovisio/web/tokens.py:181 geovisio/web/tokens.py:292
746
810
  msgid "Impossible to generate a new token"
747
811
  msgstr "Impossible to generate a new token"
748
812
 
749
- #: geovisio/web/tokens.py:236
813
+ #: geovisio/web/tokens.py:234
750
814
  msgid "Token already claimed by another account"
751
815
  msgstr "Token already claimed by another account"
752
816
 
753
- #: geovisio/web/upload_set.py:134
817
+ #: geovisio/web/upload_set.py:323
754
818
  msgid "Impossible to create an UploadSet"
755
819
  msgstr "Impossible to create an UploadSet"
756
820
 
757
- #: geovisio/web/upload_set.py:136
821
+ #: geovisio/web/upload_set.py:325
758
822
  msgid "Parameter for creating an UploadSet should be a valid JSON"
759
823
  msgstr "Parameter for creating an UploadSet should be a valid JSON"
760
824
 
761
- #: geovisio/web/upload_set.py:182 geovisio/web/upload_set.py:216
762
- #: geovisio/web/upload_set.py:735
825
+ #: geovisio/web/upload_set.py:383
826
+ msgid "Impossible to update the UploadSet"
827
+ msgstr "Impossible to update the UploadSet"
828
+
829
+ #: geovisio/web/upload_set.py:385
830
+ msgid "Parameter for updating an UploadSet should be a valid JSON"
831
+ msgstr "Parameter for updating an UploadSet should be a valid JSON"
832
+
833
+ #: geovisio/web/upload_set.py:390 geovisio/web/upload_set.py:434
834
+ #: geovisio/web/upload_set.py:468 geovisio/web/upload_set.py:989
763
835
  msgid "UploadSet doesn't exist"
764
836
  msgstr "UploadSet doesn't exist"
765
837
 
766
- #: geovisio/web/upload_set.py:310
838
+ #: geovisio/web/upload_set.py:394
839
+ msgid "You are not allowed to update this upload set"
840
+ msgstr "You are not allowed to update this upload set"
841
+
842
+ #: geovisio/web/upload_set.py:565
767
843
  msgid ""
768
844
  "Parameter `override_capture_time` is not a valid datetime, it should be an "
769
845
  "iso formated datetime (like '2017-07-21T17:32:28Z')."
@@ -771,46 +847,47 @@ msgstr ""
771
847
  "Parameter `override_capture_time` is not a valid datetime, it should be an "
772
848
  "iso formated datetime (like '2017-07-21T17:32:28Z')."
773
849
 
774
- #: geovisio/web/upload_set.py:377
850
+ #: geovisio/web/upload_set.py:631
775
851
  msgid "No file was sent"
776
852
  msgstr "No file was sent"
777
853
 
778
- #: geovisio/web/upload_set.py:541 geovisio/web/upload_set.py:721
854
+ #: geovisio/web/upload_set.py:795 geovisio/web/upload_set.py:975
855
+ #: geovisio/web/upload_set.py:1023
779
856
  #, python-format
780
857
  msgid "UploadSet %(u)s does not exist"
781
858
  msgstr "UploadSet %(u)s does not exist"
782
859
 
783
- #: geovisio/web/upload_set.py:545
860
+ #: geovisio/web/upload_set.py:799
784
861
  msgid "You're not authorized to add picture to this upload set"
785
862
  msgstr "You're not authorized to add picture to this upload set"
786
863
 
787
- #: geovisio/web/upload_set.py:585
864
+ #: geovisio/web/upload_set.py:839
788
865
  msgid "The item has already been added to this upload set"
789
866
  msgstr "The item has already been added to this upload set"
790
867
 
791
- #: geovisio/web/upload_set.py:592
868
+ #: geovisio/web/upload_set.py:846
792
869
  msgid "The same picture has already been sent in a past upload"
793
870
  msgstr "The same picture has already been sent in a past upload"
794
871
 
795
- #: geovisio/web/upload_set.py:635
872
+ #: geovisio/web/upload_set.py:889
796
873
  msgid ""
797
874
  "Impossible to open file as image. The only supported image format is jpg."
798
875
  msgstr ""
799
876
  "Impossible to open file as image. The only supported image format is jpg."
800
877
 
801
- #: geovisio/web/upload_set.py:725
878
+ #: geovisio/web/upload_set.py:979
802
879
  msgid "You're not authorized to complete this upload set"
803
880
  msgstr "You're not authorized to complete this upload set"
804
881
 
805
- #: geovisio/web/upload_set.py:770
882
+ #: geovisio/web/upload_set.py:1026
806
883
  msgid "You're not authorized to delete this upload set"
807
884
  msgstr "You're not authorized to delete this upload set"
808
885
 
809
- #: geovisio/web/users.py:110
886
+ #: geovisio/web/users.py:138
810
887
  msgid "Impossible to find user"
811
888
  msgstr "Impossible to find user"
812
889
 
813
- #: geovisio/web/users.py:213
890
+ #: geovisio/web/users.py:231
814
891
  msgid ""
815
892
  "No search parameter given, you should provide `q=<pattern>` as query "
816
893
  "parameter"
@@ -818,6 +895,6 @@ msgstr ""
818
895
  "No search parameter given, you should provide `q=<pattern>` as query "
819
896
  "parameter"
820
897
 
821
- #: geovisio/web/utils.py:51
898
+ #: geovisio/web/utils.py:69
822
899
  msgid "No default account defined, please contact your instance administrator"
823
900
  msgstr "No default account defined, please contact your instance administrator"