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
@@ -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-06-16 14:08+0200\n"
11
+ "PO-Revision-Date: 2025-06-16 14:08+0200\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:259
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:286
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,19 @@ 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:402
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/pictures.py:348
97
99
  #, python-format
98
100
  msgid ""
99
101
  "Invalid '%(format)s' format for image, only the following formats are "
@@ -102,33 +104,28 @@ msgstr ""
102
104
  "Invalid '%(format)s' format for image, only the following formats are "
103
105
  "available: %(allowed_formats)s"
104
106
 
105
- #: geovisio/utils/pictures.py:418
107
+ #: geovisio/utils/pictures.py:464
106
108
  msgid "Picture can't be found, you may check its ID"
107
109
  msgstr "Picture can't be found, you may check its ID"
108
110
 
109
- #: geovisio/utils/pictures.py:421
111
+ #: geovisio/utils/pictures.py:467
110
112
  msgid "Picture is not available (either hidden by admin or processing)"
111
113
  msgstr "Picture is not available (either hidden by admin or processing)"
112
114
 
113
- #: geovisio/utils/pictures.py:429
115
+ #: geovisio/utils/pictures.py:475
114
116
  msgid "HD Picture file is not available"
115
117
  msgstr "HD Picture file is not available"
116
118
 
117
- #: geovisio/utils/pictures.py:448
119
+ #: geovisio/utils/pictures.py:494
118
120
  msgid "Picture derivates file are not available"
119
121
  msgstr "Picture derivates file are not available"
120
122
 
121
- #: geovisio/utils/pictures.py:465 geovisio/web/pictures.py:53
123
+ #: geovisio/utils/pictures.py:511 geovisio/web/pictures.py:53
122
124
  #: geovisio/web/pictures.py:98 geovisio/web/pictures.py:208
123
125
  msgid "Unable to read picture on filesystem"
124
126
  msgstr "Unable to read picture on filesystem"
125
127
 
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
128
+ #: geovisio/utils/sequences.py:474
132
129
  msgid ""
133
130
  "Sort by file date is not possible on this sequence (no file date information "
134
131
  "available on pictures)"
@@ -136,7 +133,7 @@ msgstr ""
136
133
  "Sort by file date is not possible on this sequence (no file date information "
137
134
  "available on pictures)"
138
135
 
139
- #: geovisio/utils/sequences.py:413
136
+ #: geovisio/utils/sequences.py:500
140
137
  #, python-format
141
138
  msgid ""
142
139
  "Sort using %(sort)s is not possible on this sequence, picture %(pic)s is "
@@ -145,7 +142,7 @@ msgstr ""
145
142
  "Sort using %(sort)s is not possible on this sequence, picture %(pic)s is "
146
143
  "missing mandatory metadata"
147
144
 
148
- #: geovisio/utils/sequences.py:605 geovisio/web/collections.py:690
145
+ #: geovisio/utils/sequences.py:686 geovisio/web/collections.py:696
149
146
  #: geovisio/web/prepare.py:148
150
147
  #, python-format
151
148
  msgid "Collection %(c)s wasn't found in database"
@@ -167,7 +164,7 @@ msgstr ""
167
164
  "Token not yet claimed, this token cannot be used yet. Either claim this "
168
165
  "token or generate a new one"
169
166
 
170
- #: geovisio/utils/upload_set.py:177
167
+ #: geovisio/utils/upload_set.py:181
171
168
  msgid ""
172
169
  "The picture is too similar to another one (nearby and taken almost at the "
173
170
  "same time)"
@@ -175,21 +172,21 @@ msgstr ""
175
172
  "The picture is too similar to another one (nearby and taken almost at the "
176
173
  "same time)"
177
174
 
178
- #: geovisio/utils/upload_set.py:180
175
+ #: geovisio/utils/upload_set.py:184
179
176
  msgid "The sent file is not a valid JPEG"
180
177
  msgstr "The sent file is not a valid JPEG"
181
178
 
182
- #: geovisio/utils/upload_set.py:183
179
+ #: geovisio/utils/upload_set.py:187
183
180
  msgid ""
184
181
  "The picture has invalid EXIF or XMP metadata, making it impossible to use"
185
182
  msgstr ""
186
183
  "The picture has invalid EXIF or XMP metadata, making it impossible to use"
187
184
 
188
- #: geovisio/utils/upload_set.py:186
185
+ #: geovisio/utils/upload_set.py:190
189
186
  msgid "Something went very wrong, but not due to the picture itself"
190
187
  msgstr "Something went very wrong, but not due to the picture itself"
191
188
 
192
- #: geovisio/utils/upload_set.py:600
189
+ #: geovisio/utils/upload_set.py:621
193
190
  msgid ""
194
191
  "A different picture with the same name has already been added to this "
195
192
  "uploadset"
@@ -197,6 +194,33 @@ msgstr ""
197
194
  "A different picture with the same name has already been added to this "
198
195
  "uploadset"
199
196
 
197
+ #: geovisio/web/annotations.py:68 geovisio/web/items.py:1347
198
+ #: geovisio/web/items.py:1457 geovisio/web/prepare.py:84
199
+ #, python-format
200
+ msgid "Picture %(p)s wasn't found in database"
201
+ msgstr "Picture %(p)s wasn't found in database"
202
+
203
+ #: geovisio/web/annotations.py:74
204
+ msgid "Impossible to create an annotation"
205
+ msgstr "Impossible to create an annotation"
206
+
207
+ #: geovisio/web/annotations.py:76
208
+ msgid "Parameter for creating an annotation should be a valid JSON"
209
+ msgstr "Parameter for creating an annotation should be a valid JSON"
210
+
211
+ #: geovisio/web/annotations.py:134 geovisio/web/annotations.py:208
212
+ #, python-format
213
+ msgid "Annotation %(p)s not found"
214
+ msgstr "Annotation %(p)s not found"
215
+
216
+ #: geovisio/web/annotations.py:200
217
+ msgid "Impossible to patch annotation, invalid parameters"
218
+ msgstr "Impossible to patch annotation, invalid parameters"
219
+
220
+ #: geovisio/web/annotations.py:202
221
+ msgid "Parameter for updating an annotation should be a valid JSON"
222
+ msgstr "Parameter for updating an annotation should be a valid JSON"
223
+
200
224
  #: geovisio/web/auth.py:60
201
225
  msgid "Impossible to finish authentication flow"
202
226
  msgstr "Impossible to finish authentication flow"
@@ -209,35 +233,35 @@ msgstr ""
209
233
  "You can try to clear your cookies and retry. If the problem persists, "
210
234
  "contact your instance administrator."
211
235
 
212
- #: geovisio/web/collections.py:309
236
+ #: geovisio/web/collections.py:316
213
237
  #, python-format
214
238
  msgid "There is no collection created after %(d)s"
215
239
  msgstr "There is no collection created after %(d)s"
216
240
 
217
- #: geovisio/web/collections.py:311
241
+ #: geovisio/web/collections.py:318
218
242
  #, python-format
219
243
  msgid "There is no collection created before %(d)s"
220
244
  msgstr "There is no collection created before %(d)s"
221
245
 
222
- #: geovisio/web/collections.py:431 geovisio/web/items.py:406
246
+ #: geovisio/web/collections.py:437 geovisio/web/items.py:413
223
247
  msgid "Collection doesn't exist"
224
248
  msgstr "Collection doesn't exist"
225
249
 
226
- #: geovisio/web/collections.py:490
250
+ #: geovisio/web/collections.py:496
227
251
  msgid "Impossible to find a thumbnail for the collection"
228
252
  msgstr "Impossible to find a thumbnail for the collection"
229
253
 
230
- #: geovisio/web/collections.py:594 geovisio/web/items.py:1198
254
+ #: geovisio/web/collections.py:600 geovisio/web/items.py:1234
231
255
  msgid ""
232
256
  "Picture visibility parameter (visible) should be either unset, true or false"
233
257
  msgstr ""
234
258
  "Picture visibility parameter (visible) should be either unset, true or false"
235
259
 
236
- #: geovisio/web/collections.py:601
260
+ #: geovisio/web/collections.py:607
237
261
  msgid "Sort order parameter is invalid"
238
262
  msgstr "Sort order parameter is invalid"
239
263
 
240
- #: geovisio/web/collections.py:614
264
+ #: geovisio/web/collections.py:620
241
265
  msgid ""
242
266
  "Relative heading is not valid, should be an integer in degrees from -180 to "
243
267
  "180"
@@ -245,15 +269,15 @@ msgstr ""
245
269
  "Relative heading is not valid, should be an integer in degrees from -180 to "
246
270
  "180"
247
271
 
248
- #: geovisio/web/collections.py:674 geovisio/web/items.py:1298
272
+ #: geovisio/web/collections.py:680 geovisio/web/items.py:1334
249
273
  #: geovisio/web/prepare.py:62 geovisio/web/prepare.py:128
250
274
  #: 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
275
+ #: geovisio/web/upload_set.py:385 geovisio/web/upload_set.py:505
276
+ #: geovisio/web/users.py:386
253
277
  msgid "Impossible to parse parameters"
254
278
  msgstr "Impossible to parse parameters"
255
279
 
256
- #: geovisio/web/collections.py:697
280
+ #: geovisio/web/collections.py:704
257
281
  msgid ""
258
282
  "You're not authorized to edit those fields for this sequence. Only the owner "
259
283
  "can change the visibility and the title"
@@ -261,7 +285,7 @@ msgstr ""
261
285
  "You're not authorized to edit those fields for this sequence. Only the owner "
262
286
  "can change the visibility and the title"
263
287
 
264
- #: geovisio/web/collections.py:707
288
+ #: geovisio/web/collections.py:713
265
289
  msgid ""
266
290
  "You're not authorized to edit this sequence, collaborative editing is not "
267
291
  "allowed"
@@ -269,7 +293,7 @@ msgstr ""
269
293
  "You're not authorized to edit this sequence, collaborative editing is not "
270
294
  "allowed"
271
295
 
272
- #: geovisio/web/collections.py:719
296
+ #: geovisio/web/collections.py:725
273
297
  #, python-format
274
298
  msgid ""
275
299
  "Sequence %(c)s is in %(s)s state, its visibility can't be changed for now"
@@ -278,19 +302,31 @@ msgstr ""
278
302
 
279
303
  #: geovisio/web/collections.py:858
280
304
  msgid "Sequence doesn't exists"
281
- msgstr "Sequence doesn't exist"
305
+ msgstr "Sequence doesn't exists"
306
+
307
+ #: geovisio/web/collections.py:926
308
+ msgid "CSV export does not support pagination"
309
+ msgstr "CSV export does not support pagination"
310
+
311
+ #: geovisio/web/collections.py:928
312
+ msgid "CSV export does not support filters"
313
+ msgstr "CSV export does not support filters"
282
314
 
283
- #: geovisio/web/collections.py:1027 geovisio/web/stac.py:347
315
+ #: geovisio/web/collections.py:935
316
+ msgid "CSV export does not support sorting by anything but creation date"
317
+ msgstr "CSV export does not support sorting by anything but creation date"
318
+
319
+ #: geovisio/web/collections.py:1090 geovisio/web/stac.py:356
284
320
  #, python-format
285
321
  msgid "Impossible to find user %(u)s"
286
322
  msgstr "Impossible to find user %(u)s"
287
323
 
288
- #: geovisio/web/collections.py:1062 geovisio/web/stac.py:357
324
+ #: geovisio/web/collections.py:1123 geovisio/web/stac.py:368
289
325
  #, python-format
290
326
  msgid "No data loaded for user %(u)s"
291
327
  msgstr "No data loaded for user %(u)s"
292
328
 
293
- #: geovisio/web/collections.py:1064
329
+ #: geovisio/web/collections.py:1125
294
330
  msgid "No matching sequences found"
295
331
  msgstr "No matching sequences found"
296
332
 
@@ -327,52 +363,52 @@ msgstr "Parameter for replacing all Excluded Areas should be a valid JSON"
327
363
  msgid "You must be logged-in as admin to delete excluded areas"
328
364
  msgstr "You must be logged-in as admin to delete excluded areas"
329
365
 
330
- #: geovisio/web/items.py:369
366
+ #: geovisio/web/items.py:376
331
367
  msgid "limit parameter should be an integer between 1 and 10000"
332
368
  msgstr "limit parameter should be an integer between 1 and 10000"
333
369
 
334
- #: geovisio/web/items.py:371
370
+ #: geovisio/web/items.py:378
335
371
  msgid ""
336
372
  "limit parameter should be a valid, positive integer (between 1 and 10000)"
337
373
  msgstr ""
338
374
  "limit parameter should be a valid, positive integer (between 1 and 10000)"
339
375
 
340
- #: geovisio/web/items.py:376
376
+ #: geovisio/web/items.py:383
341
377
  msgid "`startAfterRank` and `withPicture` are mutually exclusive parameters"
342
378
  msgstr "`startAfterRank` and `withPicture` are mutually exclusive parameters"
343
379
 
344
- #: geovisio/web/items.py:383
380
+ #: geovisio/web/items.py:390
345
381
  msgid "startAfterRank parameter should be a positive integer (starting from 1)"
346
382
  msgstr ""
347
383
  "startAfterRank parameter should be a positive integer (starting from 1)"
348
384
 
349
- #: geovisio/web/items.py:385
385
+ #: geovisio/web/items.py:392
350
386
  msgid "startAfterRank parameter should be a valid, positive integer"
351
387
  msgstr "startAfterRank parameter should be a valid, positive integer"
352
388
 
353
- #: geovisio/web/items.py:412
389
+ #: geovisio/web/items.py:419
354
390
  #, python-format
355
391
  msgid "No more items in this collection (last available rank is %(r)s)"
356
392
  msgstr "No more items in this collection (last available rank is %(r)s)"
357
393
 
358
- #: geovisio/web/items.py:422
394
+ #: geovisio/web/items.py:429
359
395
  #, python-format
360
- msgid "Picture with id %(p)s does not exists"
396
+ msgid "Picture with id %(p)s does not exist"
361
397
  msgstr "Picture with id %(p)s does not exist"
362
398
 
363
- #: geovisio/web/items.py:726
399
+ #: geovisio/web/items.py:719
364
400
  msgid "Item doesn't exist"
365
401
  msgstr "Item doesn't exist"
366
402
 
367
- #: geovisio/web/items.py:785
403
+ #: geovisio/web/items.py:783
368
404
  msgid "Search using POST method should have a JSON body"
369
405
  msgstr "Search using POST method should have a JSON body"
370
406
 
371
- #: geovisio/web/items.py:794
407
+ #: geovisio/web/items.py:795
372
408
  msgid "Parameter limit must be either empty or a number between 1 and 10000"
373
409
  msgstr "Parameter limit must be either empty or a number between 1 and 10000"
374
410
 
375
- #: geovisio/web/items.py:850
411
+ #: geovisio/web/items.py:859
376
412
  msgid ""
377
413
  "Parameter place_fov_tolerance must be either empty or a number between 2 and "
378
414
  "180"
@@ -380,102 +416,102 @@ msgstr ""
380
416
  "Parameter place_fov_tolerance must be either empty or a number between 2 and "
381
417
  "180"
382
418
 
383
- #: geovisio/web/items.py:872
419
+ #: geovisio/web/items.py:890
384
420
  msgid ""
385
421
  "Parameter intersects should contain a valid GeoJSON Geometry (not a Feature)"
386
422
  msgstr ""
387
423
  "Parameter intersects should contain a valid GeoJSON Geometry (not a Feature)"
388
424
 
389
- #: geovisio/web/items.py:888
425
+ #: geovisio/web/items.py:915
390
426
  msgid "Parameter ids should be a JSON array of strings"
391
427
  msgstr "Parameter ids should be a JSON array of strings"
392
428
 
393
- #: geovisio/web/items.py:900
429
+ #: geovisio/web/items.py:927
394
430
  msgid "Parameter collections should be a JSON array of strings"
395
431
  msgstr "Parameter collections should be a JSON array of strings"
396
432
 
397
- #: geovisio/web/items.py:911
433
+ #: geovisio/web/items.py:938
398
434
  msgid "Picture doesn't exist"
399
435
  msgstr "Picture doesn't exist"
400
436
 
401
- #: geovisio/web/items.py:1023 geovisio/web/upload_set.py:534
437
+ #: geovisio/web/items.py:1059 geovisio/web/upload_set.py:647
402
438
  msgid "Content type should be multipart/form-data"
403
439
  msgstr "Content type should be multipart/form-data"
404
440
 
405
- #: geovisio/web/items.py:1027
441
+ #: geovisio/web/items.py:1063
406
442
  msgid "Missing \"position\" parameter"
407
443
  msgstr "Missing \"position\" parameter"
408
444
 
409
- #: geovisio/web/items.py:1034
445
+ #: geovisio/web/items.py:1070
410
446
  msgid "Position in sequence should be a positive integer"
411
447
  msgstr "Position in sequence should be a positive integer"
412
448
 
413
- #: geovisio/web/items.py:1048 geovisio/web/upload_set.py:343
449
+ #: geovisio/web/items.py:1084 geovisio/web/upload_set.py:456
414
450
  msgid ""
415
451
  "Longitude cannot be overridden alone, override_latitude also needs to be set"
416
452
  msgstr ""
417
453
  "Longitude cannot be overridden alone, override_latitude also needs to be set"
418
454
 
419
- #: geovisio/web/items.py:1050 geovisio/web/upload_set.py:345
455
+ #: geovisio/web/items.py:1086 geovisio/web/upload_set.py:458
420
456
  msgid ""
421
457
  "Latitude cannot be overridden alone, override_longitude also needs to be set"
422
458
  msgstr ""
423
459
  "Latitude cannot be overridden alone, override_longitude also needs to be set"
424
460
 
425
- #: geovisio/web/items.py:1051 geovisio/web/upload_set.py:318
461
+ #: geovisio/web/items.py:1087 geovisio/web/upload_set.py:431
426
462
  #, python-format
427
463
  msgid "For parameter `override_longitude`, `%(v)s` is not a valid longitude"
428
464
  msgstr "For parameter `override_longitude`, `%(v)s` is not a valid longitude"
429
465
 
430
- #: geovisio/web/items.py:1052 geovisio/web/upload_set.py:323
466
+ #: geovisio/web/items.py:1088 geovisio/web/upload_set.py:436
431
467
  #, python-format
432
468
  msgid "For parameter `override_latitude`, `%(v)s` is not a valid latitude"
433
469
  msgstr "For parameter `override_latitude`, `%(v)s` is not a valid latitude"
434
470
 
435
- #: geovisio/web/items.py:1071
471
+ #: geovisio/web/items.py:1107
436
472
  msgid "Picture blur status should be either unset, true or false"
437
473
  msgstr "Picture blur status should be either unset, true or false"
438
474
 
439
- #: geovisio/web/items.py:1075
475
+ #: geovisio/web/items.py:1111
440
476
  msgid "No picture file was sent"
441
477
  msgstr "No picture file was sent"
442
478
 
443
- #: geovisio/web/items.py:1081 geovisio/web/upload_set.py:384
479
+ #: geovisio/web/items.py:1117 geovisio/web/upload_set.py:497
444
480
  msgid ""
445
481
  "Picture file is either missing or in an unsupported format (should be jpg)"
446
482
  msgstr ""
447
483
  "Picture file is either missing or in an unsupported format (should be jpg)"
448
484
 
449
- #: geovisio/web/items.py:1088
485
+ #: geovisio/web/items.py:1124
450
486
  #, python-format
451
487
  msgid "Collection %(s)s wasn't found in database"
452
488
  msgstr "Collection %(s)s wasn't found in database"
453
489
 
454
- #: geovisio/web/items.py:1092
490
+ #: geovisio/web/items.py:1128
455
491
  msgid "You're not authorized to add picture to this collection"
456
492
  msgstr "You're not authorized to add picture to this collection"
457
493
 
458
- #: geovisio/web/items.py:1097
494
+ #: geovisio/web/items.py:1133
459
495
  msgid "The collection has been deleted, impossible to add pictures to it"
460
496
  msgstr "The collection has been deleted, impossible to add pictures to it"
461
497
 
462
- #: geovisio/web/items.py:1127
463
- msgid "Picture at given position already exist"
464
- msgstr "Picture at given position already exist"
498
+ #: geovisio/web/items.py:1163
499
+ msgid "There is already a picture with the same index in the sequence"
500
+ msgstr "There is already a picture with the same index in the sequence"
465
501
 
466
- #: geovisio/web/items.py:1129 geovisio/web/upload_set.py:620
502
+ #: geovisio/web/items.py:1165 geovisio/web/upload_set.py:733
467
503
  msgid "Impossible to parse picture metadata"
468
504
  msgstr "Impossible to parse picture metadata"
469
505
 
470
- #: geovisio/web/items.py:1131 geovisio/web/upload_set.py:627
506
+ #: geovisio/web/items.py:1167 geovisio/web/upload_set.py:740
471
507
  msgid "Picture has invalid metadata"
472
508
  msgstr "Picture has invalid metadata"
473
509
 
474
- #: geovisio/web/items.py:1139 geovisio/web/upload_set.py:653
510
+ #: geovisio/web/items.py:1175 geovisio/web/upload_set.py:766
475
511
  msgid "Picture wasn't correctly saved in filesystem"
476
512
  msgstr "Picture wasn't correctly saved in filesystem"
477
513
 
478
- #: geovisio/web/items.py:1208
514
+ #: geovisio/web/items.py:1245
479
515
  msgid ""
480
516
  "Parameter `capture_time` is not a valid datetime, it should be an iso "
481
517
  "formated datetime (like '2017-07-21T17:32:28Z')."
@@ -483,31 +519,25 @@ msgstr ""
483
519
  "Parameter `capture_time` is not a valid datetime, it should be an iso "
484
520
  "formated datetime (like '2017-07-21T17:32:28Z')."
485
521
 
486
- #: geovisio/web/items.py:1216
522
+ #: geovisio/web/items.py:1252
487
523
  #, python-format
488
524
  msgid "For parameter `longitude`, `%(v)s` is not a valid longitude"
489
525
  msgstr "For parameter `longitude`, `%(v)s` is not a valid longitude"
490
526
 
491
- #: geovisio/web/items.py:1221
527
+ #: geovisio/web/items.py:1257
492
528
  #, python-format
493
529
  msgid "For parameter `latitude`, `%(v)s` is not a valid latitude"
494
530
  msgstr "For parameter `latitude`, `%(v)s` is not a valid latitude"
495
531
 
496
- #: geovisio/web/items.py:1226
532
+ #: geovisio/web/items.py:1262
497
533
  msgid "Longitude cannot be overridden alone, latitude also needs to be set"
498
534
  msgstr "Longitude cannot be overridden alone, latitude also needs to be set"
499
535
 
500
- #: geovisio/web/items.py:1228
536
+ #: geovisio/web/items.py:1264
501
537
  msgid "Latitude cannot be overridden alone, longitude also needs to be set"
502
538
  msgstr "Latitude cannot be overridden alone, longitude also needs to be set"
503
539
 
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
540
+ #: geovisio/web/items.py:1354
511
541
  msgid ""
512
542
  "You're not authorized to edit the visibility of this picture. Only the owner "
513
543
  "can change this."
@@ -515,7 +545,7 @@ msgstr ""
515
545
  "You're not authorized to edit the visibility of this picture. Only the owner "
516
546
  "can change this."
517
547
 
518
- #: geovisio/web/items.py:1325
548
+ #: geovisio/web/items.py:1361
519
549
  msgid ""
520
550
  "You're not authorized to edit this picture, collaborative editing is not "
521
551
  "allowed"
@@ -523,14 +553,14 @@ msgstr ""
523
553
  "You're not authorized to edit this picture, collaborative editing is not "
524
554
  "allowed"
525
555
 
526
- #: geovisio/web/items.py:1336
556
+ #: geovisio/web/items.py:1373
527
557
  #, python-format
528
558
  msgid ""
529
559
  "Picture %(p)s is in %(s)s state, its visibility can't be changed for now"
530
560
  msgstr ""
531
561
  "Picture %(p)s is in %(s)s state, its visibility can't be changed for now"
532
562
 
533
- #: geovisio/web/items.py:1425
563
+ #: geovisio/web/items.py:1461
534
564
  msgid "You're not authorized to edit this picture"
535
565
  msgstr "You're not authorized to edit this picture"
536
566
 
@@ -554,36 +584,36 @@ msgstr "Z parameter is out of bounds (should be 0-15)"
554
584
  msgid "Impossible to get tile"
555
585
  msgstr "Impossible to get tile"
556
586
 
557
- #: geovisio/web/pages.py:44
587
+ #: geovisio/web/pages.py:45
558
588
  msgid "Page name is not recognized"
559
589
  msgstr "Page name is not recognized"
560
590
 
561
- #: geovisio/web/pages.py:126 geovisio/web/pages.py:235
591
+ #: geovisio/web/pages.py:127 geovisio/web/pages.py:236
562
592
  #, python-format
563
593
  msgid "Page not available in language %(l)s"
564
594
  msgstr "Page not available in language %(l)s"
565
595
 
566
- #: geovisio/web/pages.py:175 geovisio/web/pages.py:229
596
+ #: geovisio/web/pages.py:176 geovisio/web/pages.py:230
567
597
  msgid "You must be logged-in as admin to edit pages"
568
598
  msgstr "You must be logged-in as admin to edit pages"
569
599
 
570
- #: geovisio/web/pages.py:177
600
+ #: geovisio/web/pages.py:178
571
601
  msgid "Page content must be HTML (with Content-Type: text/html header set)"
572
602
  msgstr "Page content must be HTML (with Content-Type: text/html header set)"
573
603
 
574
- #: geovisio/web/pages.py:191
604
+ #: geovisio/web/pages.py:192
575
605
  msgid "Could not update page content"
576
606
  msgstr "Could not update page content"
577
607
 
578
- #: geovisio/web/pages.py:237
608
+ #: geovisio/web/pages.py:238
579
609
  msgid "Could not delete page content"
580
610
  msgstr "Could not delete page content"
581
611
 
582
- #: geovisio/web/params.py:98
612
+ #: geovisio/web/params.py:99
583
613
  msgid "Parameter datetime should contain one or two dates"
584
614
  msgstr "Parameter datetime should contain one or two dates"
585
615
 
586
- #: geovisio/web/params.py:168
616
+ #: geovisio/web/params.py:169
587
617
  msgid ""
588
618
  "Parameter bbox must contain valid longitude (-180 to 180) and latitude (-90 "
589
619
  "to 90) values"
@@ -591,29 +621,29 @@ msgstr ""
591
621
  "Parameter bbox must contain valid longitude (-180 to 180) and latitude (-90 "
592
622
  "to 90) values"
593
623
 
594
- #: geovisio/web/params.py:173
624
+ #: geovisio/web/params.py:174
595
625
  msgid "Parameter bbox must be in format [minX, minY, maxX, maxY]"
596
626
  msgstr "Parameter bbox must be in format [minX, minY, maxX, maxY]"
597
627
 
598
- #: geovisio/web/params.py:210
628
+ #: geovisio/web/params.py:211
599
629
  #, python-format
600
630
  msgid "Parameter %(p)s must be coordinates in lat,lon format"
601
631
  msgstr "Parameter %(p)s must be coordinates in lat,lon format"
602
632
 
603
- #: geovisio/web/params.py:213
633
+ #: geovisio/web/params.py:214
604
634
  #, python-format
605
635
  msgid ""
606
636
  "Longitude in parameter %(p)s is not valid (should be between -180 and 180)"
607
637
  msgstr ""
608
638
  "Longitude in parameter %(p)s is not valid (should be between -180 and 180)"
609
639
 
610
- #: geovisio/web/params.py:214
640
+ #: geovisio/web/params.py:215
611
641
  #, python-format
612
642
  msgid "Latitude in parameter %(p)s is not valid (should be between -90 and 90)"
613
643
  msgstr ""
614
644
  "Latitude in parameter %(p)s is not valid (should be between -90 and 90)"
615
645
 
616
- #: geovisio/web/params.py:237 geovisio/web/params.py:250
646
+ #: geovisio/web/params.py:238 geovisio/web/params.py:251
617
647
  #, python-format
618
648
  msgid ""
619
649
  "Parameter %(p)s is invalid (should be a distance range in meters like "
@@ -622,17 +652,17 @@ msgstr ""
622
652
  "Parameter %(p)s is invalid (should be a distance range in meters like "
623
653
  "\"5-15\")"
624
654
 
625
- #: geovisio/web/params.py:243
655
+ #: geovisio/web/params.py:244
626
656
  #, python-format
627
657
  msgid "Parameter %(p)s has a min value greater than its max value"
628
658
  msgstr "Parameter %(p)s has a min value greater than its max value"
629
659
 
630
- #: geovisio/web/params.py:317
660
+ #: geovisio/web/params.py:318
631
661
  #, python-format
632
662
  msgid "Parameter %(p)s must be a valid list"
633
663
  msgstr "Parameter %(p)s must be a valid list"
634
664
 
635
- #: geovisio/web/params.py:371
665
+ #: geovisio/web/params.py:363
636
666
  msgid ""
637
667
  "Heading is not valid, should be an integer in degrees from 0° to 360°. North "
638
668
  "is 0°, East = 90°, South = 180° and West = 270°."
@@ -640,31 +670,35 @@ msgstr ""
640
670
  "Heading is not valid, should be an integer in degrees from 0° to 360°. North "
641
671
  "is 0°, East = 90°, South = 180° and West = 270°."
642
672
 
673
+ #: geovisio/web/params.py:409
674
+ msgid "Unsupported sortby parameter: syntax isn't correct"
675
+ msgstr "Unsupported sortby parameter: syntax isn't correct"
676
+
643
677
  #: geovisio/web/params.py:458
644
678
  msgid "Unsupported sortby parameter: invalid column name"
645
679
  msgstr "Unsupported sortby parameter: invalid column name"
646
680
 
647
- #: geovisio/web/params.py:466
648
- msgid "Unsupported sortby parameter: syntax isn't correct"
649
- msgstr "Unsupported sortby parameter: syntax isn't correct"
681
+ #: geovisio/web/params.py:468
682
+ msgid "Unsupported sortby parameter: invalid field"
683
+ msgstr "Unsupported sortby parameter: invalid field"
650
684
 
651
- #: geovisio/web/params.py:492
685
+ #: geovisio/web/params.py:495
652
686
  #, python-format
653
687
  msgid ""
654
688
  "limit parameter should be a valid, positive integer (between 1 and %(v)s)"
655
689
  msgstr ""
656
690
  "limit parameter should be a valid, positive integer (between 1 and %(v)s)"
657
691
 
658
- #: geovisio/web/params.py:495
692
+ #: geovisio/web/params.py:498
659
693
  #, python-format
660
694
  msgid "limit parameter should be an integer between 1 and %(v)s"
661
695
  msgstr "limit parameter should be an integer between 1 and %(v)s"
662
696
 
663
- #: geovisio/web/params.py:506
697
+ #: geovisio/web/params.py:509
664
698
  msgid "longitude needs to be between -180 and 180"
665
699
  msgstr "longitude needs to be between -180 and 180"
666
700
 
667
- #: geovisio/web/params.py:516
701
+ #: geovisio/web/params.py:519
668
702
  msgid "latitude needs to be between -90 and 90"
669
703
  msgstr "latitude needs to be between -90 and 90"
670
704
 
@@ -724,11 +758,19 @@ msgstr "Parameter for editing the Report should be a valid JSON"
724
758
  msgid "You're not authorized to list reports"
725
759
  msgstr "You're not authorized to list reports"
726
760
 
727
- #: geovisio/web/rss.py:22
761
+ #: geovisio/web/rss.py:19
728
762
  #, python-format
729
763
  msgid "Sequence \"%(name)s\" by \"%(user)s\" was captured on %(date)s."
730
764
  msgstr "Sequence \"%(name)s\" by \"%(user)s\" was captured on %(date)s."
731
765
 
766
+ #: geovisio/web/rss.py:40
767
+ msgid "View on the map"
768
+ msgstr "View on the map"
769
+
770
+ #: geovisio/web/rss.py:40
771
+ msgid "JSON metadata"
772
+ msgstr "JSON metadata"
773
+
732
774
  #: geovisio/web/rss.py:49
733
775
  msgid "GeoVisio collections"
734
776
  msgstr "GeoVisio collections"
@@ -738,7 +780,7 @@ msgid "List of collections from this GeoVisio server"
738
780
  msgstr "List of collections from this GeoVisio server"
739
781
 
740
782
  #: geovisio/web/tokens.py:100 geovisio/web/tokens.py:143
741
- #: geovisio/web/tokens.py:231
783
+ #: geovisio/web/tokens.py:229
742
784
  msgid "Impossible to find token"
743
785
  msgstr "Impossible to find token"
744
786
 
@@ -746,24 +788,36 @@ msgstr "Impossible to find token"
746
788
  msgid "Impossible to generate a new token"
747
789
  msgstr "Impossible to generate a new token"
748
790
 
749
- #: geovisio/web/tokens.py:236
791
+ #: geovisio/web/tokens.py:234
750
792
  msgid "Token already claimed by another account"
751
793
  msgstr "Token already claimed by another account"
752
794
 
753
- #: geovisio/web/upload_set.py:134
795
+ #: geovisio/web/upload_set.py:187
754
796
  msgid "Impossible to create an UploadSet"
755
797
  msgstr "Impossible to create an UploadSet"
756
798
 
757
- #: geovisio/web/upload_set.py:136
799
+ #: geovisio/web/upload_set.py:189
758
800
  msgid "Parameter for creating an UploadSet should be a valid JSON"
759
801
  msgstr "Parameter for creating an UploadSet should be a valid JSON"
760
802
 
761
- #: geovisio/web/upload_set.py:182 geovisio/web/upload_set.py:216
762
- #: geovisio/web/upload_set.py:735
803
+ #: geovisio/web/upload_set.py:245
804
+ msgid "Impossible to update the UploadSet"
805
+ msgstr "Impossible to update the UploadSet"
806
+
807
+ #: geovisio/web/upload_set.py:247
808
+ msgid "Parameter for updating an UploadSet should be a valid JSON"
809
+ msgstr "Parameter for updating an UploadSet should be a valid JSON"
810
+
811
+ #: geovisio/web/upload_set.py:252 geovisio/web/upload_set.py:295
812
+ #: geovisio/web/upload_set.py:329 geovisio/web/upload_set.py:848
763
813
  msgid "UploadSet doesn't exist"
764
814
  msgstr "UploadSet doesn't exist"
765
815
 
766
- #: geovisio/web/upload_set.py:310
816
+ #: geovisio/web/upload_set.py:255
817
+ msgid "You are not allowed to update this upload set"
818
+ msgstr "You are not allowed to update this upload set"
819
+
820
+ #: geovisio/web/upload_set.py:424
767
821
  msgid ""
768
822
  "Parameter `override_capture_time` is not a valid datetime, it should be an "
769
823
  "iso formated datetime (like '2017-07-21T17:32:28Z')."
@@ -771,46 +825,46 @@ msgstr ""
771
825
  "Parameter `override_capture_time` is not a valid datetime, it should be an "
772
826
  "iso formated datetime (like '2017-07-21T17:32:28Z')."
773
827
 
774
- #: geovisio/web/upload_set.py:377
828
+ #: geovisio/web/upload_set.py:490
775
829
  msgid "No file was sent"
776
830
  msgstr "No file was sent"
777
831
 
778
- #: geovisio/web/upload_set.py:541 geovisio/web/upload_set.py:721
832
+ #: geovisio/web/upload_set.py:654 geovisio/web/upload_set.py:834
779
833
  #, python-format
780
834
  msgid "UploadSet %(u)s does not exist"
781
835
  msgstr "UploadSet %(u)s does not exist"
782
836
 
783
- #: geovisio/web/upload_set.py:545
837
+ #: geovisio/web/upload_set.py:658
784
838
  msgid "You're not authorized to add picture to this upload set"
785
839
  msgstr "You're not authorized to add picture to this upload set"
786
840
 
787
- #: geovisio/web/upload_set.py:585
841
+ #: geovisio/web/upload_set.py:698
788
842
  msgid "The item has already been added to this upload set"
789
843
  msgstr "The item has already been added to this upload set"
790
844
 
791
- #: geovisio/web/upload_set.py:592
845
+ #: geovisio/web/upload_set.py:705
792
846
  msgid "The same picture has already been sent in a past upload"
793
847
  msgstr "The same picture has already been sent in a past upload"
794
848
 
795
- #: geovisio/web/upload_set.py:635
849
+ #: geovisio/web/upload_set.py:748
796
850
  msgid ""
797
851
  "Impossible to open file as image. The only supported image format is jpg."
798
852
  msgstr ""
799
853
  "Impossible to open file as image. The only supported image format is jpg."
800
854
 
801
- #: geovisio/web/upload_set.py:725
855
+ #: geovisio/web/upload_set.py:838
802
856
  msgid "You're not authorized to complete this upload set"
803
857
  msgstr "You're not authorized to complete this upload set"
804
858
 
805
- #: geovisio/web/upload_set.py:770
859
+ #: geovisio/web/upload_set.py:883
806
860
  msgid "You're not authorized to delete this upload set"
807
861
  msgstr "You're not authorized to delete this upload set"
808
862
 
809
- #: geovisio/web/users.py:110
863
+ #: geovisio/web/users.py:137
810
864
  msgid "Impossible to find user"
811
865
  msgstr "Impossible to find user"
812
866
 
813
- #: geovisio/web/users.py:213
867
+ #: geovisio/web/users.py:230
814
868
  msgid ""
815
869
  "No search parameter given, you should provide `q=<pattern>` as query "
816
870
  "parameter"