geovisio 2.10.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 (58) hide show
  1. geovisio/__init__.py +3 -1
  2. geovisio/admin_cli/user.py +7 -2
  3. geovisio/config_app.py +21 -7
  4. geovisio/translations/be/LC_MESSAGES/messages.mo +0 -0
  5. geovisio/translations/be/LC_MESSAGES/messages.po +886 -0
  6. geovisio/translations/da/LC_MESSAGES/messages.mo +0 -0
  7. geovisio/translations/da/LC_MESSAGES/messages.po +96 -5
  8. geovisio/translations/de/LC_MESSAGES/messages.mo +0 -0
  9. geovisio/translations/de/LC_MESSAGES/messages.po +171 -132
  10. geovisio/translations/en/LC_MESSAGES/messages.mo +0 -0
  11. geovisio/translations/en/LC_MESSAGES/messages.po +169 -146
  12. geovisio/translations/eo/LC_MESSAGES/messages.mo +0 -0
  13. geovisio/translations/eo/LC_MESSAGES/messages.po +3 -2
  14. geovisio/translations/fr/LC_MESSAGES/messages.mo +0 -0
  15. geovisio/translations/fr/LC_MESSAGES/messages.po +3 -2
  16. geovisio/translations/it/LC_MESSAGES/messages.mo +0 -0
  17. geovisio/translations/it/LC_MESSAGES/messages.po +1 -1
  18. geovisio/translations/messages.pot +159 -138
  19. geovisio/translations/nl/LC_MESSAGES/messages.mo +0 -0
  20. geovisio/translations/nl/LC_MESSAGES/messages.po +44 -2
  21. geovisio/translations/oc/LC_MESSAGES/messages.mo +0 -0
  22. geovisio/translations/oc/LC_MESSAGES/messages.po +9 -6
  23. geovisio/translations/pt/LC_MESSAGES/messages.mo +0 -0
  24. geovisio/translations/pt/LC_MESSAGES/messages.po +944 -0
  25. geovisio/translations/pt_BR/LC_MESSAGES/messages.mo +0 -0
  26. geovisio/translations/pt_BR/LC_MESSAGES/messages.po +942 -0
  27. geovisio/translations/sv/LC_MESSAGES/messages.mo +0 -0
  28. geovisio/translations/sv/LC_MESSAGES/messages.po +1 -1
  29. geovisio/translations/tr/LC_MESSAGES/messages.mo +0 -0
  30. geovisio/translations/tr/LC_MESSAGES/messages.po +927 -0
  31. geovisio/translations/uk/LC_MESSAGES/messages.mo +0 -0
  32. geovisio/translations/uk/LC_MESSAGES/messages.po +920 -0
  33. geovisio/utils/annotations.py +7 -4
  34. geovisio/utils/auth.py +33 -0
  35. geovisio/utils/cql2.py +20 -3
  36. geovisio/utils/pictures.py +16 -18
  37. geovisio/utils/sequences.py +104 -75
  38. geovisio/utils/upload_set.py +20 -10
  39. geovisio/utils/users.py +18 -0
  40. geovisio/web/annotations.py +96 -3
  41. geovisio/web/collections.py +169 -76
  42. geovisio/web/configuration.py +12 -0
  43. geovisio/web/docs.py +17 -3
  44. geovisio/web/items.py +129 -72
  45. geovisio/web/map.py +92 -54
  46. geovisio/web/pages.py +48 -4
  47. geovisio/web/params.py +56 -11
  48. geovisio/web/pictures.py +3 -3
  49. geovisio/web/prepare.py +4 -2
  50. geovisio/web/queryables.py +57 -0
  51. geovisio/web/stac.py +8 -2
  52. geovisio/web/upload_set.py +83 -26
  53. geovisio/web/users.py +85 -4
  54. geovisio/web/utils.py +24 -6
  55. {geovisio-2.10.0.dist-info → geovisio-2.11.0.dist-info}/METADATA +3 -2
  56. {geovisio-2.10.0.dist-info → geovisio-2.11.0.dist-info}/RECORD +58 -46
  57. {geovisio-2.10.0.dist-info → geovisio-2.11.0.dist-info}/WHEEL +0 -0
  58. {geovisio-2.10.0.dist-info → geovisio-2.11.0.dist-info}/licenses/LICENSE +0 -0
@@ -7,8 +7,8 @@ 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-06-16 14:08+0200\n"
11
- "PO-Revision-Date: 2025-06-16 14:08+0200\n"
10
+ "POT-Creation-Date: 2025-11-10 15:55+0100\n"
11
+ "PO-Revision-Date: 2025-11-10 15:55+0100\n"
12
12
  "Last-Translator: Automatically generated\n"
13
13
  "Language-Team: none\n"
14
14
  "MIME-Version: 1.0\n"
@@ -70,11 +70,11 @@ msgstr "Repositories"
70
70
  msgid "You need to enable JavaScript to run this app."
71
71
  msgstr "You need to enable JavaScript to run this app."
72
72
 
73
- #: geovisio/utils/auth.py:259
73
+ #: geovisio/utils/auth.py:279
74
74
  msgid "Authentication is mandatory"
75
75
  msgstr "Authentication is mandatory"
76
76
 
77
- #: geovisio/utils/auth.py:286
77
+ #: geovisio/utils/auth.py:306
78
78
  #, python-format
79
79
  msgid ""
80
80
  "You need to accept the terms of service before uploading any pictures. You "
@@ -83,7 +83,7 @@ msgstr ""
83
83
  "You need to accept the terms of service before uploading any pictures. You "
84
84
  "can do so by validating them here: %(url)s"
85
85
 
86
- #: geovisio/utils/auth.py:402
86
+ #: geovisio/utils/auth.py:436
87
87
  msgid "Only Bearer token are supported"
88
88
  msgstr "Only Bearer token are supported"
89
89
 
@@ -95,7 +95,15 @@ msgstr "Unsupported filter parameter"
95
95
  msgid "Impossible to find excluded area"
96
96
  msgstr "Impossible to find excluded area"
97
97
 
98
- #: geovisio/utils/pictures.py:348
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
99
107
  #, python-format
100
108
  msgid ""
101
109
  "Invalid '%(format)s' format for image, only the following formats are "
@@ -104,28 +112,28 @@ msgstr ""
104
112
  "Invalid '%(format)s' format for image, only the following formats are "
105
113
  "available: %(allowed_formats)s"
106
114
 
107
- #: geovisio/utils/pictures.py:464
115
+ #: geovisio/utils/pictures.py:461
108
116
  msgid "Picture can't be found, you may check its ID"
109
117
  msgstr "Picture can't be found, you may check its ID"
110
118
 
111
- #: geovisio/utils/pictures.py:467
112
- msgid "Picture is not available (either hidden by admin or processing)"
113
- 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)"
114
122
 
115
- #: geovisio/utils/pictures.py:475
123
+ #: geovisio/utils/pictures.py:472
116
124
  msgid "HD Picture file is not available"
117
125
  msgstr "HD Picture file is not available"
118
126
 
119
- #: geovisio/utils/pictures.py:494
127
+ #: geovisio/utils/pictures.py:491
120
128
  msgid "Picture derivates file are not available"
121
129
  msgstr "Picture derivates file are not available"
122
130
 
123
- #: geovisio/utils/pictures.py:511 geovisio/web/pictures.py:53
131
+ #: geovisio/utils/pictures.py:508 geovisio/web/pictures.py:53
124
132
  #: geovisio/web/pictures.py:98 geovisio/web/pictures.py:208
125
133
  msgid "Unable to read picture on filesystem"
126
134
  msgstr "Unable to read picture on filesystem"
127
135
 
128
- #: geovisio/utils/sequences.py:474
136
+ #: geovisio/utils/sequences.py:504
129
137
  msgid ""
130
138
  "Sort by file date is not possible on this sequence (no file date information "
131
139
  "available on pictures)"
@@ -133,7 +141,7 @@ msgstr ""
133
141
  "Sort by file date is not possible on this sequence (no file date information "
134
142
  "available on pictures)"
135
143
 
136
- #: geovisio/utils/sequences.py:500
144
+ #: geovisio/utils/sequences.py:530
137
145
  #, python-format
138
146
  msgid ""
139
147
  "Sort using %(sort)s is not possible on this sequence, picture %(pic)s is "
@@ -142,8 +150,8 @@ msgstr ""
142
150
  "Sort using %(sort)s is not possible on this sequence, picture %(pic)s is "
143
151
  "missing mandatory metadata"
144
152
 
145
- #: geovisio/utils/sequences.py:686 geovisio/web/collections.py:696
146
- #: geovisio/web/prepare.py:148
153
+ #: geovisio/utils/sequences.py:732 geovisio/web/collections.py:794
154
+ #: geovisio/web/prepare.py:150
147
155
  #, python-format
148
156
  msgid "Collection %(c)s wasn't found in database"
149
157
  msgstr "Collection %(c)s wasn't found in database"
@@ -164,7 +172,7 @@ msgstr ""
164
172
  "Token not yet claimed, this token cannot be used yet. Either claim this "
165
173
  "token or generate a new one"
166
174
 
167
- #: geovisio/utils/upload_set.py:181
175
+ #: geovisio/utils/upload_set.py:188
168
176
  msgid ""
169
177
  "The picture is too similar to another one (nearby and taken almost at the "
170
178
  "same time)"
@@ -172,21 +180,21 @@ msgstr ""
172
180
  "The picture is too similar to another one (nearby and taken almost at the "
173
181
  "same time)"
174
182
 
175
- #: geovisio/utils/upload_set.py:184
183
+ #: geovisio/utils/upload_set.py:191
176
184
  msgid "The sent file is not a valid JPEG"
177
185
  msgstr "The sent file is not a valid JPEG"
178
186
 
179
- #: geovisio/utils/upload_set.py:187
187
+ #: geovisio/utils/upload_set.py:194
180
188
  msgid ""
181
189
  "The picture has invalid EXIF or XMP metadata, making it impossible to use"
182
190
  msgstr ""
183
191
  "The picture has invalid EXIF or XMP metadata, making it impossible to use"
184
192
 
185
- #: geovisio/utils/upload_set.py:190
193
+ #: geovisio/utils/upload_set.py:197
186
194
  msgid "Something went very wrong, but not due to the picture itself"
187
195
  msgstr "Something went very wrong, but not due to the picture itself"
188
196
 
189
- #: geovisio/utils/upload_set.py:621
197
+ #: geovisio/utils/upload_set.py:695
190
198
  msgid ""
191
199
  "A different picture with the same name has already been added to this "
192
200
  "uploadset"
@@ -194,30 +202,36 @@ msgstr ""
194
202
  "A different picture with the same name has already been added to this "
195
203
  "uploadset"
196
204
 
197
- #: geovisio/web/annotations.py:68 geovisio/web/items.py:1347
198
- #: geovisio/web/items.py:1457 geovisio/web/prepare.py:84
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
199
211
  #, python-format
200
212
  msgid "Picture %(p)s wasn't found in database"
201
213
  msgstr "Picture %(p)s wasn't found in database"
202
214
 
203
- #: geovisio/web/annotations.py:74
215
+ #: geovisio/web/annotations.py:89
204
216
  msgid "Impossible to create an annotation"
205
217
  msgstr "Impossible to create an annotation"
206
218
 
207
- #: geovisio/web/annotations.py:76
219
+ #: geovisio/web/annotations.py:91
208
220
  msgid "Parameter for creating an annotation should be a valid JSON"
209
221
  msgstr "Parameter for creating an annotation should be a valid JSON"
210
222
 
211
- #: geovisio/web/annotations.py:134 geovisio/web/annotations.py:208
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
212
226
  #, python-format
213
227
  msgid "Annotation %(p)s not found"
214
228
  msgstr "Annotation %(p)s not found"
215
229
 
216
- #: geovisio/web/annotations.py:200
230
+ #: geovisio/web/annotations.py:294
217
231
  msgid "Impossible to patch annotation, invalid parameters"
218
232
  msgstr "Impossible to patch annotation, invalid parameters"
219
233
 
220
- #: geovisio/web/annotations.py:202
234
+ #: geovisio/web/annotations.py:296
221
235
  msgid "Parameter for updating an annotation should be a valid JSON"
222
236
  msgstr "Parameter for updating an annotation should be a valid JSON"
223
237
 
@@ -234,50 +248,60 @@ msgstr ""
234
248
  "contact your instance administrator."
235
249
 
236
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
237
255
  #, python-format
238
256
  msgid "There is no collection created after %(d)s"
239
257
  msgstr "There is no collection created after %(d)s"
240
258
 
241
- #: geovisio/web/collections.py:318
259
+ #: geovisio/web/collections.py:380
242
260
  #, python-format
243
261
  msgid "There is no collection created before %(d)s"
244
262
  msgstr "There is no collection created before %(d)s"
245
263
 
246
- #: geovisio/web/collections.py:437 geovisio/web/items.py:413
264
+ #: geovisio/web/collections.py:506 geovisio/web/items.py:425
247
265
  msgid "Collection doesn't exist"
248
266
  msgstr "Collection doesn't exist"
249
267
 
250
- #: geovisio/web/collections.py:496
268
+ #: geovisio/web/collections.py:564
251
269
  msgid "Impossible to find a thumbnail for the collection"
252
270
  msgstr "Impossible to find a thumbnail for the collection"
253
271
 
254
- #: geovisio/web/collections.py:600 geovisio/web/items.py:1234
272
+ #: geovisio/web/collections.py:686 geovisio/web/items.py:1318
255
273
  msgid ""
256
274
  "Picture visibility parameter (visible) should be either unset, true or false"
257
275
  msgstr ""
258
276
  "Picture visibility parameter (visible) should be either unset, true or false"
259
277
 
260
- #: geovisio/web/collections.py:607
278
+ #: geovisio/web/collections.py:693
261
279
  msgid "Sort order parameter is invalid"
262
280
  msgstr "Sort order parameter is invalid"
263
281
 
264
- #: geovisio/web/collections.py:620
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
265
289
  msgid ""
266
- "Relative heading is not valid, should be an integer in degrees from -180 to "
267
- "180"
290
+ "The logged-only visibility is not allowed on this instance since anybody can "
291
+ "create an account"
268
292
  msgstr ""
269
- "Relative heading is not valid, should be an integer in degrees from -180 to "
270
- "180"
293
+ "The logged-only visibility is not allowed on this instance since anybody can "
294
+ "create an account"
271
295
 
272
- #: geovisio/web/collections.py:680 geovisio/web/items.py:1334
273
- #: 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
274
298
  #: geovisio/web/reports.py:349 geovisio/web/reports.py:392
275
- #: geovisio/web/upload_set.py:385 geovisio/web/upload_set.py:505
276
- #: geovisio/web/users.py:386
299
+ #: geovisio/web/upload_set.py:524 geovisio/web/upload_set.py:646
300
+ #: geovisio/web/users.py:400
277
301
  msgid "Impossible to parse parameters"
278
302
  msgstr "Impossible to parse parameters"
279
303
 
280
- #: geovisio/web/collections.py:704
304
+ #: geovisio/web/collections.py:802
281
305
  msgid ""
282
306
  "You're not authorized to edit those fields for this sequence. Only the owner "
283
307
  "can change the visibility and the title"
@@ -285,7 +309,7 @@ msgstr ""
285
309
  "You're not authorized to edit those fields for this sequence. Only the owner "
286
310
  "can change the visibility and the title"
287
311
 
288
- #: geovisio/web/collections.py:713
312
+ #: geovisio/web/collections.py:811
289
313
  msgid ""
290
314
  "You're not authorized to edit this sequence, collaborative editing is not "
291
315
  "allowed"
@@ -293,40 +317,33 @@ msgstr ""
293
317
  "You're not authorized to edit this sequence, collaborative editing is not "
294
318
  "allowed"
295
319
 
296
- #: geovisio/web/collections.py:725
297
- #, python-format
298
- msgid ""
299
- "Sequence %(c)s is in %(s)s state, its visibility can't be changed for now"
300
- msgstr ""
301
- "Sequence %(c)s is in %(s)s state, its visibility can't be changed for now"
302
-
303
- #: geovisio/web/collections.py:858
320
+ #: geovisio/web/collections.py:947
304
321
  msgid "Sequence doesn't exists"
305
322
  msgstr "Sequence doesn't exists"
306
323
 
307
- #: geovisio/web/collections.py:926
324
+ #: geovisio/web/collections.py:1015
308
325
  msgid "CSV export does not support pagination"
309
326
  msgstr "CSV export does not support pagination"
310
327
 
311
- #: geovisio/web/collections.py:928
328
+ #: geovisio/web/collections.py:1017
312
329
  msgid "CSV export does not support filters"
313
330
  msgstr "CSV export does not support filters"
314
331
 
315
- #: geovisio/web/collections.py:935
332
+ #: geovisio/web/collections.py:1024
316
333
  msgid "CSV export does not support sorting by anything but creation date"
317
334
  msgstr "CSV export does not support sorting by anything but creation date"
318
335
 
319
- #: geovisio/web/collections.py:1090 geovisio/web/stac.py:356
336
+ #: geovisio/web/collections.py:1181 geovisio/web/stac.py:355
320
337
  #, python-format
321
338
  msgid "Impossible to find user %(u)s"
322
339
  msgstr "Impossible to find user %(u)s"
323
340
 
324
- #: geovisio/web/collections.py:1123 geovisio/web/stac.py:368
341
+ #: geovisio/web/collections.py:1214 geovisio/web/stac.py:368
325
342
  #, python-format
326
343
  msgid "No data loaded for user %(u)s"
327
344
  msgstr "No data loaded for user %(u)s"
328
345
 
329
- #: geovisio/web/collections.py:1125
346
+ #: geovisio/web/collections.py:1216
330
347
  msgid "No matching sequences found"
331
348
  msgstr "No matching sequences found"
332
349
 
@@ -363,52 +380,52 @@ msgstr "Parameter for replacing all Excluded Areas should be a valid JSON"
363
380
  msgid "You must be logged-in as admin to delete excluded areas"
364
381
  msgstr "You must be logged-in as admin to delete excluded areas"
365
382
 
366
- #: geovisio/web/items.py:376
383
+ #: geovisio/web/items.py:388
367
384
  msgid "limit parameter should be an integer between 1 and 10000"
368
385
  msgstr "limit parameter should be an integer between 1 and 10000"
369
386
 
370
- #: geovisio/web/items.py:378
387
+ #: geovisio/web/items.py:390
371
388
  msgid ""
372
389
  "limit parameter should be a valid, positive integer (between 1 and 10000)"
373
390
  msgstr ""
374
391
  "limit parameter should be a valid, positive integer (between 1 and 10000)"
375
392
 
376
- #: geovisio/web/items.py:383
393
+ #: geovisio/web/items.py:395
377
394
  msgid "`startAfterRank` and `withPicture` are mutually exclusive parameters"
378
395
  msgstr "`startAfterRank` and `withPicture` are mutually exclusive parameters"
379
396
 
380
- #: geovisio/web/items.py:390
397
+ #: geovisio/web/items.py:402
381
398
  msgid "startAfterRank parameter should be a positive integer (starting from 1)"
382
399
  msgstr ""
383
400
  "startAfterRank parameter should be a positive integer (starting from 1)"
384
401
 
385
- #: geovisio/web/items.py:392
402
+ #: geovisio/web/items.py:404
386
403
  msgid "startAfterRank parameter should be a valid, positive integer"
387
404
  msgstr "startAfterRank parameter should be a valid, positive integer"
388
405
 
389
- #: geovisio/web/items.py:419
406
+ #: geovisio/web/items.py:431
390
407
  #, python-format
391
408
  msgid "No more items in this collection (last available rank is %(r)s)"
392
409
  msgstr "No more items in this collection (last available rank is %(r)s)"
393
410
 
394
- #: geovisio/web/items.py:429
411
+ #: geovisio/web/items.py:441
395
412
  #, python-format
396
413
  msgid "Picture with id %(p)s does not exist"
397
414
  msgstr "Picture with id %(p)s does not exist"
398
415
 
399
- #: geovisio/web/items.py:719
416
+ #: geovisio/web/items.py:743
400
417
  msgid "Item doesn't exist"
401
418
  msgstr "Item doesn't exist"
402
419
 
403
- #: geovisio/web/items.py:783
420
+ #: geovisio/web/items.py:809
404
421
  msgid "Search using POST method should have a JSON body"
405
422
  msgstr "Search using POST method should have a JSON body"
406
423
 
407
- #: geovisio/web/items.py:795
424
+ #: geovisio/web/items.py:821
408
425
  msgid "Parameter limit must be either empty or a number between 1 and 10000"
409
426
  msgstr "Parameter limit must be either empty or a number between 1 and 10000"
410
427
 
411
- #: geovisio/web/items.py:859
428
+ #: geovisio/web/items.py:885
412
429
  msgid ""
413
430
  "Parameter place_fov_tolerance must be either empty or a number between 2 and "
414
431
  "180"
@@ -416,102 +433,98 @@ msgstr ""
416
433
  "Parameter place_fov_tolerance must be either empty or a number between 2 and "
417
434
  "180"
418
435
 
419
- #: geovisio/web/items.py:890
436
+ #: geovisio/web/items.py:916
420
437
  msgid ""
421
438
  "Parameter intersects should contain a valid GeoJSON Geometry (not a Feature)"
422
439
  msgstr ""
423
440
  "Parameter intersects should contain a valid GeoJSON Geometry (not a Feature)"
424
441
 
425
- #: geovisio/web/items.py:915
442
+ #: geovisio/web/items.py:941
426
443
  msgid "Parameter ids should be a JSON array of strings"
427
444
  msgstr "Parameter ids should be a JSON array of strings"
428
445
 
429
- #: geovisio/web/items.py:927
446
+ #: geovisio/web/items.py:953
430
447
  msgid "Parameter collections should be a JSON array of strings"
431
448
  msgstr "Parameter collections should be a JSON array of strings"
432
449
 
433
- #: geovisio/web/items.py:938
434
- msgid "Picture doesn't exist"
435
- msgstr "Picture doesn't exist"
436
-
437
- #: geovisio/web/items.py:1059 geovisio/web/upload_set.py:647
450
+ #: geovisio/web/items.py:1129 geovisio/web/upload_set.py:788
438
451
  msgid "Content type should be multipart/form-data"
439
452
  msgstr "Content type should be multipart/form-data"
440
453
 
441
- #: geovisio/web/items.py:1063
454
+ #: geovisio/web/items.py:1133
442
455
  msgid "Missing \"position\" parameter"
443
456
  msgstr "Missing \"position\" parameter"
444
457
 
445
- #: geovisio/web/items.py:1070
458
+ #: geovisio/web/items.py:1140
446
459
  msgid "Position in sequence should be a positive integer"
447
460
  msgstr "Position in sequence should be a positive integer"
448
461
 
449
- #: geovisio/web/items.py:1084 geovisio/web/upload_set.py:456
462
+ #: geovisio/web/items.py:1154 geovisio/web/upload_set.py:597
450
463
  msgid ""
451
464
  "Longitude cannot be overridden alone, override_latitude also needs to be set"
452
465
  msgstr ""
453
466
  "Longitude cannot be overridden alone, override_latitude also needs to be set"
454
467
 
455
- #: geovisio/web/items.py:1086 geovisio/web/upload_set.py:458
468
+ #: geovisio/web/items.py:1156 geovisio/web/upload_set.py:599
456
469
  msgid ""
457
470
  "Latitude cannot be overridden alone, override_longitude also needs to be set"
458
471
  msgstr ""
459
472
  "Latitude cannot be overridden alone, override_longitude also needs to be set"
460
473
 
461
- #: geovisio/web/items.py:1087 geovisio/web/upload_set.py:431
474
+ #: geovisio/web/items.py:1157 geovisio/web/upload_set.py:572
462
475
  #, python-format
463
476
  msgid "For parameter `override_longitude`, `%(v)s` is not a valid longitude"
464
477
  msgstr "For parameter `override_longitude`, `%(v)s` is not a valid longitude"
465
478
 
466
- #: geovisio/web/items.py:1088 geovisio/web/upload_set.py:436
479
+ #: geovisio/web/items.py:1158 geovisio/web/upload_set.py:577
467
480
  #, python-format
468
481
  msgid "For parameter `override_latitude`, `%(v)s` is not a valid latitude"
469
482
  msgstr "For parameter `override_latitude`, `%(v)s` is not a valid latitude"
470
483
 
471
- #: geovisio/web/items.py:1107
484
+ #: geovisio/web/items.py:1177
472
485
  msgid "Picture blur status should be either unset, true or false"
473
486
  msgstr "Picture blur status should be either unset, true or false"
474
487
 
475
- #: geovisio/web/items.py:1111
488
+ #: geovisio/web/items.py:1181
476
489
  msgid "No picture file was sent"
477
490
  msgstr "No picture file was sent"
478
491
 
479
- #: geovisio/web/items.py:1117 geovisio/web/upload_set.py:497
492
+ #: geovisio/web/items.py:1187 geovisio/web/upload_set.py:638
480
493
  msgid ""
481
494
  "Picture file is either missing or in an unsupported format (should be jpg)"
482
495
  msgstr ""
483
496
  "Picture file is either missing or in an unsupported format (should be jpg)"
484
497
 
485
- #: geovisio/web/items.py:1124
498
+ #: geovisio/web/items.py:1194
486
499
  #, python-format
487
500
  msgid "Collection %(s)s wasn't found in database"
488
501
  msgstr "Collection %(s)s wasn't found in database"
489
502
 
490
- #: geovisio/web/items.py:1128
503
+ #: geovisio/web/items.py:1198
491
504
  msgid "You're not authorized to add picture to this collection"
492
505
  msgstr "You're not authorized to add picture to this collection"
493
506
 
494
- #: geovisio/web/items.py:1133
507
+ #: geovisio/web/items.py:1203
495
508
  msgid "The collection has been deleted, impossible to add pictures to it"
496
509
  msgstr "The collection has been deleted, impossible to add pictures to it"
497
510
 
498
- #: geovisio/web/items.py:1163
511
+ #: geovisio/web/items.py:1233
499
512
  msgid "There is already a picture with the same index in the sequence"
500
513
  msgstr "There is already a picture with the same index in the sequence"
501
514
 
502
- #: geovisio/web/items.py:1165 geovisio/web/upload_set.py:733
515
+ #: geovisio/web/items.py:1235 geovisio/web/upload_set.py:874
503
516
  msgid "Impossible to parse picture metadata"
504
517
  msgstr "Impossible to parse picture metadata"
505
518
 
506
- #: geovisio/web/items.py:1167 geovisio/web/upload_set.py:740
519
+ #: geovisio/web/items.py:1237 geovisio/web/upload_set.py:881
507
520
  msgid "Picture has invalid metadata"
508
521
  msgstr "Picture has invalid metadata"
509
522
 
510
- #: geovisio/web/items.py:1175 geovisio/web/upload_set.py:766
523
+ #: geovisio/web/items.py:1245 geovisio/web/upload_set.py:907
511
524
  msgid "Picture wasn't correctly saved in filesystem"
512
525
  msgstr "Picture wasn't correctly saved in filesystem"
513
526
 
514
- #: geovisio/web/items.py:1245
527
+ #: geovisio/web/items.py:1329
515
528
  msgid ""
516
529
  "Parameter `capture_time` is not a valid datetime, it should be an iso "
517
530
  "formated datetime (like '2017-07-21T17:32:28Z')."
@@ -519,25 +532,25 @@ msgstr ""
519
532
  "Parameter `capture_time` is not a valid datetime, it should be an iso "
520
533
  "formated datetime (like '2017-07-21T17:32:28Z')."
521
534
 
522
- #: geovisio/web/items.py:1252
535
+ #: geovisio/web/items.py:1336
523
536
  #, python-format
524
537
  msgid "For parameter `longitude`, `%(v)s` is not a valid longitude"
525
538
  msgstr "For parameter `longitude`, `%(v)s` is not a valid longitude"
526
539
 
527
- #: geovisio/web/items.py:1257
540
+ #: geovisio/web/items.py:1341
528
541
  #, python-format
529
542
  msgid "For parameter `latitude`, `%(v)s` is not a valid latitude"
530
543
  msgstr "For parameter `latitude`, `%(v)s` is not a valid latitude"
531
544
 
532
- #: geovisio/web/items.py:1262
545
+ #: geovisio/web/items.py:1346
533
546
  msgid "Longitude cannot be overridden alone, latitude also needs to be set"
534
547
  msgstr "Longitude cannot be overridden alone, latitude also needs to be set"
535
548
 
536
- #: geovisio/web/items.py:1264
549
+ #: geovisio/web/items.py:1348
537
550
  msgid "Latitude cannot be overridden alone, longitude also needs to be set"
538
551
  msgstr "Latitude cannot be overridden alone, longitude also needs to be set"
539
552
 
540
- #: geovisio/web/items.py:1354
553
+ #: geovisio/web/items.py:1408
541
554
  msgid ""
542
555
  "You're not authorized to edit the visibility of this picture. Only the owner "
543
556
  "can change this."
@@ -545,7 +558,7 @@ msgstr ""
545
558
  "You're not authorized to edit the visibility of this picture. Only the owner "
546
559
  "can change this."
547
560
 
548
- #: geovisio/web/items.py:1361
561
+ #: geovisio/web/items.py:1415
549
562
  msgid ""
550
563
  "You're not authorized to edit this picture, collaborative editing is not "
551
564
  "allowed"
@@ -553,14 +566,7 @@ msgstr ""
553
566
  "You're not authorized to edit this picture, collaborative editing is not "
554
567
  "allowed"
555
568
 
556
- #: geovisio/web/items.py:1373
557
- #, python-format
558
- msgid ""
559
- "Picture %(p)s is in %(s)s state, its visibility can't be changed for now"
560
- msgstr ""
561
- "Picture %(p)s is in %(s)s state, its visibility can't be changed for now"
562
-
563
- #: geovisio/web/items.py:1461
569
+ #: geovisio/web/items.py:1559
564
570
  msgid "You're not authorized to edit this picture"
565
571
  msgstr "You're not authorized to edit this picture"
566
572
 
@@ -609,11 +615,11 @@ msgstr "Could not update page content"
609
615
  msgid "Could not delete page content"
610
616
  msgstr "Could not delete page content"
611
617
 
612
- #: geovisio/web/params.py:99
618
+ #: geovisio/web/params.py:98
613
619
  msgid "Parameter datetime should contain one or two dates"
614
620
  msgstr "Parameter datetime should contain one or two dates"
615
621
 
616
- #: geovisio/web/params.py:169
622
+ #: geovisio/web/params.py:168
617
623
  msgid ""
618
624
  "Parameter bbox must contain valid longitude (-180 to 180) and latitude (-90 "
619
625
  "to 90) values"
@@ -621,29 +627,29 @@ msgstr ""
621
627
  "Parameter bbox must contain valid longitude (-180 to 180) and latitude (-90 "
622
628
  "to 90) values"
623
629
 
624
- #: geovisio/web/params.py:174
630
+ #: geovisio/web/params.py:173
625
631
  msgid "Parameter bbox must be in format [minX, minY, maxX, maxY]"
626
632
  msgstr "Parameter bbox must be in format [minX, minY, maxX, maxY]"
627
633
 
628
- #: geovisio/web/params.py:211
634
+ #: geovisio/web/params.py:210
629
635
  #, python-format
630
636
  msgid "Parameter %(p)s must be coordinates in lat,lon format"
631
637
  msgstr "Parameter %(p)s must be coordinates in lat,lon format"
632
638
 
633
- #: geovisio/web/params.py:214
639
+ #: geovisio/web/params.py:213
634
640
  #, python-format
635
641
  msgid ""
636
642
  "Longitude in parameter %(p)s is not valid (should be between -180 and 180)"
637
643
  msgstr ""
638
644
  "Longitude in parameter %(p)s is not valid (should be between -180 and 180)"
639
645
 
640
- #: geovisio/web/params.py:215
646
+ #: geovisio/web/params.py:214
641
647
  #, python-format
642
648
  msgid "Latitude in parameter %(p)s is not valid (should be between -90 and 90)"
643
649
  msgstr ""
644
650
  "Latitude in parameter %(p)s is not valid (should be between -90 and 90)"
645
651
 
646
- #: geovisio/web/params.py:238 geovisio/web/params.py:251
652
+ #: geovisio/web/params.py:237 geovisio/web/params.py:250
647
653
  #, python-format
648
654
  msgid ""
649
655
  "Parameter %(p)s is invalid (should be a distance range in meters like "
@@ -652,17 +658,33 @@ msgstr ""
652
658
  "Parameter %(p)s is invalid (should be a distance range in meters like "
653
659
  "\"5-15\")"
654
660
 
655
- #: geovisio/web/params.py:244
661
+ #: geovisio/web/params.py:243
656
662
  #, python-format
657
663
  msgid "Parameter %(p)s has a min value greater than its max value"
658
664
  msgstr "Parameter %(p)s has a min value greater than its max value"
659
665
 
660
- #: geovisio/web/params.py:318
666
+ #: geovisio/web/params.py:317
661
667
  #, python-format
662
668
  msgid "Parameter %(p)s must be a valid list"
663
669
  msgstr "Parameter %(p)s must be a valid list"
664
670
 
665
- #: geovisio/web/params.py:363
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
666
688
  msgid ""
667
689
  "Heading is not valid, should be an integer in degrees from 0° to 360°. North "
668
690
  "is 0°, East = 90°, South = 180° and West = 270°."
@@ -670,35 +692,35 @@ msgstr ""
670
692
  "Heading is not valid, should be an integer in degrees from 0° to 360°. North "
671
693
  "is 0°, East = 90°, South = 180° and West = 270°."
672
694
 
673
- #: geovisio/web/params.py:409
695
+ #: geovisio/web/params.py:429
674
696
  msgid "Unsupported sortby parameter: syntax isn't correct"
675
697
  msgstr "Unsupported sortby parameter: syntax isn't correct"
676
698
 
677
- #: geovisio/web/params.py:458
699
+ #: geovisio/web/params.py:484
678
700
  msgid "Unsupported sortby parameter: invalid column name"
679
701
  msgstr "Unsupported sortby parameter: invalid column name"
680
702
 
681
- #: geovisio/web/params.py:468
703
+ #: geovisio/web/params.py:494
682
704
  msgid "Unsupported sortby parameter: invalid field"
683
705
  msgstr "Unsupported sortby parameter: invalid field"
684
706
 
685
- #: geovisio/web/params.py:495
707
+ #: geovisio/web/params.py:521
686
708
  #, python-format
687
709
  msgid ""
688
710
  "limit parameter should be a valid, positive integer (between 1 and %(v)s)"
689
711
  msgstr ""
690
712
  "limit parameter should be a valid, positive integer (between 1 and %(v)s)"
691
713
 
692
- #: geovisio/web/params.py:498
714
+ #: geovisio/web/params.py:524
693
715
  #, python-format
694
716
  msgid "limit parameter should be an integer between 1 and %(v)s"
695
717
  msgstr "limit parameter should be an integer between 1 and %(v)s"
696
718
 
697
- #: geovisio/web/params.py:509
719
+ #: geovisio/web/params.py:535
698
720
  msgid "longitude needs to be between -180 and 180"
699
721
  msgstr "longitude needs to be between -180 and 180"
700
722
 
701
- #: geovisio/web/params.py:519
723
+ #: geovisio/web/params.py:545
702
724
  msgid "latitude needs to be between -90 and 90"
703
725
  msgstr "latitude needs to be between -90 and 90"
704
726
 
@@ -784,7 +806,7 @@ msgstr "List of collections from this GeoVisio server"
784
806
  msgid "Impossible to find token"
785
807
  msgstr "Impossible to find token"
786
808
 
787
- #: geovisio/web/tokens.py:181
809
+ #: geovisio/web/tokens.py:181 geovisio/web/tokens.py:292
788
810
  msgid "Impossible to generate a new token"
789
811
  msgstr "Impossible to generate a new token"
790
812
 
@@ -792,32 +814,32 @@ msgstr "Impossible to generate a new token"
792
814
  msgid "Token already claimed by another account"
793
815
  msgstr "Token already claimed by another account"
794
816
 
795
- #: geovisio/web/upload_set.py:187
817
+ #: geovisio/web/upload_set.py:323
796
818
  msgid "Impossible to create an UploadSet"
797
819
  msgstr "Impossible to create an UploadSet"
798
820
 
799
- #: geovisio/web/upload_set.py:189
821
+ #: geovisio/web/upload_set.py:325
800
822
  msgid "Parameter for creating an UploadSet should be a valid JSON"
801
823
  msgstr "Parameter for creating an UploadSet should be a valid JSON"
802
824
 
803
- #: geovisio/web/upload_set.py:245
825
+ #: geovisio/web/upload_set.py:383
804
826
  msgid "Impossible to update the UploadSet"
805
827
  msgstr "Impossible to update the UploadSet"
806
828
 
807
- #: geovisio/web/upload_set.py:247
829
+ #: geovisio/web/upload_set.py:385
808
830
  msgid "Parameter for updating an UploadSet should be a valid JSON"
809
831
  msgstr "Parameter for updating an UploadSet should be a valid JSON"
810
832
 
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
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
813
835
  msgid "UploadSet doesn't exist"
814
836
  msgstr "UploadSet doesn't exist"
815
837
 
816
- #: geovisio/web/upload_set.py:255
838
+ #: geovisio/web/upload_set.py:394
817
839
  msgid "You are not allowed to update this upload set"
818
840
  msgstr "You are not allowed to update this upload set"
819
841
 
820
- #: geovisio/web/upload_set.py:424
842
+ #: geovisio/web/upload_set.py:565
821
843
  msgid ""
822
844
  "Parameter `override_capture_time` is not a valid datetime, it should be an "
823
845
  "iso formated datetime (like '2017-07-21T17:32:28Z')."
@@ -825,46 +847,47 @@ msgstr ""
825
847
  "Parameter `override_capture_time` is not a valid datetime, it should be an "
826
848
  "iso formated datetime (like '2017-07-21T17:32:28Z')."
827
849
 
828
- #: geovisio/web/upload_set.py:490
850
+ #: geovisio/web/upload_set.py:631
829
851
  msgid "No file was sent"
830
852
  msgstr "No file was sent"
831
853
 
832
- #: geovisio/web/upload_set.py:654 geovisio/web/upload_set.py:834
854
+ #: geovisio/web/upload_set.py:795 geovisio/web/upload_set.py:975
855
+ #: geovisio/web/upload_set.py:1023
833
856
  #, python-format
834
857
  msgid "UploadSet %(u)s does not exist"
835
858
  msgstr "UploadSet %(u)s does not exist"
836
859
 
837
- #: geovisio/web/upload_set.py:658
860
+ #: geovisio/web/upload_set.py:799
838
861
  msgid "You're not authorized to add picture to this upload set"
839
862
  msgstr "You're not authorized to add picture to this upload set"
840
863
 
841
- #: geovisio/web/upload_set.py:698
864
+ #: geovisio/web/upload_set.py:839
842
865
  msgid "The item has already been added to this upload set"
843
866
  msgstr "The item has already been added to this upload set"
844
867
 
845
- #: geovisio/web/upload_set.py:705
868
+ #: geovisio/web/upload_set.py:846
846
869
  msgid "The same picture has already been sent in a past upload"
847
870
  msgstr "The same picture has already been sent in a past upload"
848
871
 
849
- #: geovisio/web/upload_set.py:748
872
+ #: geovisio/web/upload_set.py:889
850
873
  msgid ""
851
874
  "Impossible to open file as image. The only supported image format is jpg."
852
875
  msgstr ""
853
876
  "Impossible to open file as image. The only supported image format is jpg."
854
877
 
855
- #: geovisio/web/upload_set.py:838
878
+ #: geovisio/web/upload_set.py:979
856
879
  msgid "You're not authorized to complete this upload set"
857
880
  msgstr "You're not authorized to complete this upload set"
858
881
 
859
- #: geovisio/web/upload_set.py:883
882
+ #: geovisio/web/upload_set.py:1026
860
883
  msgid "You're not authorized to delete this upload set"
861
884
  msgstr "You're not authorized to delete this upload set"
862
885
 
863
- #: geovisio/web/users.py:137
886
+ #: geovisio/web/users.py:138
864
887
  msgid "Impossible to find user"
865
888
  msgstr "Impossible to find user"
866
889
 
867
- #: geovisio/web/users.py:230
890
+ #: geovisio/web/users.py:231
868
891
  msgid ""
869
892
  "No search parameter given, you should provide `q=<pattern>` as query "
870
893
  "parameter"
@@ -872,6 +895,6 @@ msgstr ""
872
895
  "No search parameter given, you should provide `q=<pattern>` as query "
873
896
  "parameter"
874
897
 
875
- #: geovisio/web/utils.py:51
898
+ #: geovisio/web/utils.py:69
876
899
  msgid "No default account defined, please contact your instance administrator"
877
900
  msgstr "No default account defined, please contact your instance administrator"