udata 7.0.4.dev27782__py2.py3-none-any.whl → 7.0.5__py2.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.

Potentially problematic release.


This version of udata might be problematic. Click here for more details.

Files changed (71) hide show
  1. udata/__init__.py +1 -1
  2. udata/api/__init__.py +1 -1
  3. udata/core/dataset/api.py +14 -14
  4. udata/core/dataset/api_fields.py +7 -7
  5. udata/core/dataset/apiv2.py +3 -3
  6. udata/core/dataset/rdf.py +43 -1
  7. udata/core/organization/csv.py +27 -1
  8. udata/core/organization/models.py +20 -1
  9. udata/core/organization/tasks.py +61 -1
  10. udata/core/spatial/commands.py +26 -2
  11. udata/core/topic/api.py +6 -0
  12. udata/core/topic/apiv2.py +6 -0
  13. udata/core/topic/forms.py +5 -0
  14. udata/core/topic/models.py +3 -5
  15. udata/forms/fields.py +10 -0
  16. udata/frontend/csv.py +8 -8
  17. udata/harvest/actions.py +11 -0
  18. udata/harvest/api.py +3 -3
  19. udata/harvest/backends/dcat.py +42 -5
  20. udata/harvest/tests/dcat/bnodes.xml +16 -2
  21. udata/harvest/tests/test_dcat_backend.py +87 -1
  22. udata/settings.py +9 -0
  23. udata/static/chunks/{11.c0ccea08914b6b41568e.js → 11.a23c110811a9ac943478.js} +3 -3
  24. udata/static/chunks/{11.c0ccea08914b6b41568e.js.map → 11.a23c110811a9ac943478.js.map} +1 -1
  25. udata/static/chunks/{13.526a25163ababaa44409.js → 13.0889e093f8664e38568c.js} +2 -2
  26. udata/static/chunks/{13.526a25163ababaa44409.js.map → 13.0889e093f8664e38568c.js.map} +1 -1
  27. udata/static/chunks/{16.7901839b4227881947f6.js → 16.f41599478d3e97ad9a30.js} +2 -2
  28. udata/static/chunks/{16.7901839b4227881947f6.js.map → 16.f41599478d3e97ad9a30.js.map} +1 -1
  29. udata/static/chunks/{19.471d5a2a08eef6e5338a.js → 19.2b534a26af8b17e9170b.js} +3 -3
  30. udata/static/chunks/{19.471d5a2a08eef6e5338a.js.map → 19.2b534a26af8b17e9170b.js.map} +1 -1
  31. udata/static/chunks/{5.534e0531d0e2b150146f.js → 5.7115454a1183e5c12eef.js} +3 -3
  32. udata/static/chunks/{5.534e0531d0e2b150146f.js.map → 5.7115454a1183e5c12eef.js.map} +1 -1
  33. udata/static/chunks/{6.e56975229e6065f68d2a.js → 6.16bb24fb8240f2746488.js} +3 -3
  34. udata/static/chunks/{6.e56975229e6065f68d2a.js.map → 6.16bb24fb8240f2746488.js.map} +1 -1
  35. udata/static/chunks/{9.534426728626f11f4571.js → 9.3e752966ff14e47e11f2.js} +2 -2
  36. udata/static/chunks/{9.534426728626f11f4571.js.map → 9.3e752966ff14e47e11f2.js.map} +1 -1
  37. udata/static/common.js +1 -1
  38. udata/static/common.js.map +1 -1
  39. udata/storage/__init__.py +0 -0
  40. udata/storage/s3.py +54 -0
  41. udata/templates/mail/badge_added_association.html +33 -0
  42. udata/templates/mail/badge_added_association.txt +11 -0
  43. udata/templates/mail/badge_added_company.html +33 -0
  44. udata/templates/mail/badge_added_company.txt +11 -0
  45. udata/templates/mail/badge_added_local_authority.html +33 -0
  46. udata/templates/mail/badge_added_local_authority.txt +11 -0
  47. udata/tests/api/test_datasets_api.py +27 -0
  48. udata/tests/api/test_topics_api.py +31 -1
  49. udata/tests/apiv2/test_topics.py +4 -0
  50. udata/tests/organization/test_csv_adapter.py +43 -0
  51. udata/translations/ar/LC_MESSAGES/udata.mo +0 -0
  52. udata/translations/ar/LC_MESSAGES/udata.po +90 -44
  53. udata/translations/de/LC_MESSAGES/udata.mo +0 -0
  54. udata/translations/de/LC_MESSAGES/udata.po +91 -45
  55. udata/translations/es/LC_MESSAGES/udata.mo +0 -0
  56. udata/translations/es/LC_MESSAGES/udata.po +90 -44
  57. udata/translations/fr/LC_MESSAGES/udata.mo +0 -0
  58. udata/translations/fr/LC_MESSAGES/udata.po +91 -45
  59. udata/translations/it/LC_MESSAGES/udata.mo +0 -0
  60. udata/translations/it/LC_MESSAGES/udata.po +90 -44
  61. udata/translations/pt/LC_MESSAGES/udata.mo +0 -0
  62. udata/translations/pt/LC_MESSAGES/udata.po +91 -45
  63. udata/translations/sr/LC_MESSAGES/udata.mo +0 -0
  64. udata/translations/sr/LC_MESSAGES/udata.po +91 -45
  65. udata/translations/udata.pot +91 -45
  66. {udata-7.0.4.dev27782.dist-info → udata-7.0.5.dist-info}/METADATA +20 -3
  67. {udata-7.0.4.dev27782.dist-info → udata-7.0.5.dist-info}/RECORD +71 -62
  68. {udata-7.0.4.dev27782.dist-info → udata-7.0.5.dist-info}/LICENSE +0 -0
  69. {udata-7.0.4.dev27782.dist-info → udata-7.0.5.dist-info}/WHEEL +0 -0
  70. {udata-7.0.4.dev27782.dist-info → udata-7.0.5.dist-info}/entry_points.txt +0 -0
  71. {udata-7.0.4.dev27782.dist-info → udata-7.0.5.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,8 @@ msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: udata\n"
4
4
  "Report-Msgid-Bugs-To: i18n@opendata.team\n"
5
- "POT-Creation-Date: 2024-02-22 16:16+0100\n"
6
- "PO-Revision-Date: 2024-02-22 16:17\n"
5
+ "POT-Creation-Date: 2024-03-20 12:27+0100\n"
6
+ "PO-Revision-Date: 2024-03-20 13:07\n"
7
7
  "Last-Translator: Open Data Team <i18n@opendata.team>\n"
8
8
  "Language: sr\n"
9
9
  "Language-Team: Serbian (Cyrillic)\n"
@@ -42,7 +42,7 @@ msgstr "Ваша лозинка је промењена"
42
42
  msgid "Password reset instructions"
43
43
  msgstr "Инструкције за ресетовање лозинке"
44
44
 
45
- #: udata/settings.py:421
45
+ #: udata/settings.py:430
46
46
  msgid "This dataset has been archived"
47
47
  msgstr "Овај скуп података је архивиран"
48
48
 
@@ -171,7 +171,7 @@ msgstr "Врста беџа (сертификовано итд.)"
171
171
 
172
172
  #: udata/core/contact_point/forms.py:12 udata/core/jobs/forms.py:27
173
173
  #: udata/core/organization/forms.py:47 udata/core/post/forms.py:15
174
- #: udata/core/topic/forms.py:16 udata/harvest/forms.py:60
174
+ #: udata/core/topic/forms.py:17 udata/harvest/forms.py:60
175
175
  #: udata/templates/api/admin.html:10
176
176
  msgid "Name"
177
177
  msgstr "Име"
@@ -182,7 +182,7 @@ msgstr "Имејл"
182
182
 
183
183
  #: udata/core/contact_point/forms.py:16 udata/core/dataset/forms.py:95
184
184
  #: udata/core/dataset/forms.py:153 udata/core/reuse/forms.py:38
185
- #: udata/core/topic/forms.py:14 udata/harvest/forms.py:69
185
+ #: udata/core/topic/forms.py:15 udata/harvest/forms.py:69
186
186
  msgid "Publish as"
187
187
  msgstr "Објављено као"
188
188
 
@@ -224,7 +224,7 @@ msgstr "Наслов"
224
224
 
225
225
  #: udata/core/dataset/forms.py:56 udata/core/dataset/forms.py:126
226
226
  #: udata/core/jobs/forms.py:28 udata/core/organization/forms.py:51
227
- #: udata/core/reuse/forms.py:21 udata/core/topic/forms.py:18
227
+ #: udata/core/reuse/forms.py:21 udata/core/topic/forms.py:19
228
228
  #: udata/harvest/forms.py:62
229
229
  msgid "Description"
230
230
  msgstr "Опис"
@@ -274,7 +274,7 @@ msgstr "Величина датотеке у бајтовима"
274
274
  msgid "Related dataset"
275
275
  msgstr "Повезани скуп података"
276
276
 
277
- #: udata/core/dataset/forms.py:115
277
+ #: udata/core/dataset/forms.py:115 udata/tests/api/test_datasets_api.py:681
278
278
  msgid "Wrong contact point id or contact point ownership mismatch"
279
279
  msgstr ""
280
280
 
@@ -315,16 +315,17 @@ msgid "The period covered by the data"
315
315
  msgstr "Период покривен подацима"
316
316
 
317
317
  #: udata/core/dataset/forms.py:144 udata/core/spatial/forms.py:83
318
+ #: udata/core/topic/forms.py:25
318
319
  msgid "Spatial coverage"
319
320
  msgstr "Просторна покривеност"
320
321
 
321
- #: udata/core/dataset/forms.py:145
322
+ #: udata/core/dataset/forms.py:145 udata/core/topic/forms.py:26
322
323
  msgid "The geographical area covered by the data."
323
324
  msgstr "Географска област покривена подацима."
324
325
 
325
326
  #: udata/core/dataset/forms.py:146 udata/core/post/forms.py:26
326
327
  #: udata/core/reuse/forms.py:29 udata/core/site/forms.py:13
327
- #: udata/core/topic/forms.py:23
328
+ #: udata/core/topic/forms.py:28
328
329
  msgid "Tags"
329
330
  msgstr "Ознаке"
330
331
 
@@ -333,7 +334,7 @@ msgid "Some taxonomy keywords"
333
334
  msgstr "Неке кључне речи у таксономији"
334
335
 
335
336
  #: udata/core/dataset/forms.py:148 udata/core/reuse/forms.py:32
336
- #: udata/core/topic/forms.py:24
337
+ #: udata/core/topic/forms.py:29
337
338
  msgid "Private"
338
339
  msgstr "Приватно"
339
340
 
@@ -473,45 +474,45 @@ msgstr "Отпремљена датотека"
473
474
  msgid "Remote file"
474
475
  msgstr "Удаљена датотека"
475
476
 
476
- #: udata/core/dataset/models.py:187
477
+ #: udata/core/dataset/models.py:189
477
478
  msgid "A schema must contains a name or an URL when a version is provided."
478
479
  msgstr ""
479
480
 
480
- #: udata/core/dataset/models.py:213 udata/tests/api/test_datasets_api.py:745
481
+ #: udata/core/dataset/models.py:215 udata/tests/api/test_datasets_api.py:772
481
482
  msgid "Schema name \"{schema}\" is not an allowed value. Allowed values: {values}"
482
483
  msgstr "Име шеме \"{schema}\" није дозвољена вредност. Дозвољене вредности: {values}"
483
484
 
484
- #: udata/core/dataset/models.py:224 udata/tests/api/test_datasets_api.py:751
485
+ #: udata/core/dataset/models.py:230 udata/tests/api/test_datasets_api.py:778
485
486
  msgid "Version \"{version}\" is not an allowed value for the schema \"{name}\". Allowed versions: {values}"
486
487
  msgstr ""
487
488
 
488
- #: udata/core/dataset/models.py:475 udata/core/dataset/rdf.py:397
489
+ #: udata/core/dataset/models.py:483 udata/core/dataset/rdf.py:435
489
490
  #: udata/tests/dataset/test_dataset_rdf.py:499
490
491
  #: udata/tests/dataset/test_dataset_rdf.py:512
491
492
  msgid "Nameless resource"
492
493
  msgstr "Ресурс без имена"
493
494
 
494
- #: udata/core/dataset/models.py:550
495
+ #: udata/core/dataset/models.py:558
495
496
  msgid "Future date of update"
496
497
  msgstr "Будући датум ажурирања"
497
498
 
498
- #: udata/core/dataset/models.py:563 udata/models/datetime_fields.py:59
499
+ #: udata/core/dataset/models.py:571 udata/models/datetime_fields.py:59
499
500
  msgid "Creation date"
500
501
  msgstr "Датум креирања"
501
502
 
502
- #: udata/core/dataset/models.py:565 udata/models/datetime_fields.py:61
503
+ #: udata/core/dataset/models.py:573 udata/models/datetime_fields.py:61
503
504
  msgid "Last modification date"
504
505
  msgstr "Датум последње измене"
505
506
 
506
- #: udata/core/dataset/models.py:574
507
+ #: udata/core/dataset/models.py:582
507
508
  msgid "Pivotal data"
508
509
  msgstr "Кључни подаци"
509
510
 
510
- #: udata/core/dataset/models.py:613
511
+ #: udata/core/dataset/models.py:621
511
512
  msgid "dataset"
512
513
  msgstr "скуп података"
513
514
 
514
- #: udata/core/dataset/rdf.py:395 udata/tests/dataset/test_dataset_rdf.py:486
515
+ #: udata/core/dataset/rdf.py:433 udata/tests/dataset/test_dataset_rdf.py:486
515
516
  msgid "{format} resource"
516
517
  msgstr "{format} ресурс"
517
518
 
@@ -614,37 +615,49 @@ msgstr ""
614
615
  msgid "Role"
615
616
  msgstr "Улога"
616
617
 
617
- #: udata/core/organization/models.py:22
618
+ #: udata/core/organization/models.py:23
618
619
  msgid "Administrator"
619
620
  msgstr "Администратор"
620
621
 
621
- #: udata/core/organization/models.py:23
622
+ #: udata/core/organization/models.py:24
622
623
  msgid "Editor"
623
624
  msgstr "Уредник"
624
625
 
625
- #: udata/core/organization/models.py:29 udata/features/transfer/models.py:14
626
+ #: udata/core/organization/models.py:30 udata/features/transfer/models.py:14
626
627
  #: udata/harvest/models.py:22 udata/harvest/models.py:32 udata/harvest/models.py:70
627
628
  msgid "Pending"
628
629
  msgstr "На чекању"
629
630
 
630
- #: udata/core/organization/models.py:30 udata/features/transfer/models.py:15
631
+ #: udata/core/organization/models.py:31 udata/features/transfer/models.py:15
631
632
  #: udata/harvest/models.py:71
632
633
  msgid "Accepted"
633
634
  msgstr "Прихваћено"
634
635
 
635
- #: udata/core/organization/models.py:31 udata/features/transfer/models.py:16
636
+ #: udata/core/organization/models.py:32 udata/features/transfer/models.py:16
636
637
  #: udata/harvest/models.py:72
637
638
  msgid "Refused"
638
639
  msgstr "Одбијено"
639
640
 
640
- #: udata/core/organization/models.py:141
641
+ #: udata/core/organization/models.py:145
641
642
  msgid "Public Service"
642
643
  msgstr "Јавни сервис"
643
644
 
644
- #: udata/core/organization/models.py:142
645
+ #: udata/core/organization/models.py:146
645
646
  msgid "Certified"
646
647
  msgstr "Сертификовано"
647
648
 
649
+ #: udata/core/organization/models.py:147
650
+ msgid "Association"
651
+ msgstr ""
652
+
653
+ #: udata/core/organization/models.py:148
654
+ msgid "Company"
655
+ msgstr ""
656
+
657
+ #: udata/core/organization/models.py:149
658
+ msgid "Local authority"
659
+ msgstr ""
660
+
648
661
  #: udata/core/organization/tasks.py:52
649
662
  msgid "New membership request"
650
663
  msgstr "Нови захтев за чланство"
@@ -668,6 +681,21 @@ msgstr "Ваша организација\"%(name)s\" је сертификов
668
681
  msgid "Your organization \"%(name)s\" has been identified as public service"
669
682
  msgstr "Ваша организација \"%(name)s\" је индентификована као јавни сервис"
670
683
 
684
+ #: udata/core/organization/tasks.py:126
685
+ #, python-format
686
+ msgid "Your organization \"%(name)s\" has been identified as a company"
687
+ msgstr ""
688
+
689
+ #: udata/core/organization/tasks.py:146
690
+ #, python-format
691
+ msgid "Your organization \"%(name)s\" has been identified as an association"
692
+ msgstr ""
693
+
694
+ #: udata/core/organization/tasks.py:166
695
+ #, python-format
696
+ msgid "Your organization \"%(name)s\" has been identified as a local authority"
697
+ msgstr ""
698
+
671
699
  #: udata/core/post/forms.py:16
672
700
  msgid "Headline"
673
701
  msgstr "Наслов"
@@ -676,11 +704,11 @@ msgstr "Наслов"
676
704
  msgid "Content"
677
705
  msgstr "Садржај"
678
706
 
679
- #: udata/core/post/forms.py:19 udata/core/topic/forms.py:20
707
+ #: udata/core/post/forms.py:19 udata/core/topic/forms.py:21
680
708
  msgid "Associated datasets"
681
709
  msgstr "Повезани скупови података"
682
710
 
683
- #: udata/core/post/forms.py:20 udata/core/topic/forms.py:21
711
+ #: udata/core/post/forms.py:20 udata/core/topic/forms.py:22
684
712
  msgid "Associated reuses"
685
713
  msgstr "Повезани примери употребе"
686
714
 
@@ -940,7 +968,7 @@ msgstr "Француске прекоморске територије"
940
968
  msgid "French arrondissement"
941
969
  msgstr "Француски арондисман"
942
970
 
943
- #: udata/core/topic/forms.py:25
971
+ #: udata/core/topic/forms.py:30
944
972
  msgid "Featured"
945
973
  msgstr "Истакнуто"
946
974
 
@@ -1016,54 +1044,54 @@ msgstr "Улога {role} не постоји"
1016
1044
  msgid "Not a valid UUID"
1017
1045
  msgstr "UUID није важећи"
1018
1046
 
1019
- #: udata/forms/fields.py:200 udata/tests/api/test_datasets_api.py:739
1047
+ #: udata/forms/fields.py:210 udata/tests/api/test_datasets_api.py:766
1020
1048
  msgid "Invalid URL"
1021
1049
  msgstr "Неправилан URL"
1022
1050
 
1023
- #: udata/forms/fields.py:404
1051
+ #: udata/forms/fields.py:414
1024
1052
  #, python-format
1025
1053
  msgid "Tag \"%(tag)s\" must be between %(min)d and %(max)d characters long."
1026
1054
  msgstr "Ознака \"%(tag)s\" мора да буде дужине између %(min)d и %(max)d знакова."
1027
1055
 
1028
- #: udata/forms/fields.py:444 udata/forms/fields.py:496
1056
+ #: udata/forms/fields.py:454 udata/forms/fields.py:506
1029
1057
  msgid "{0} does not exists"
1030
1058
  msgstr "{0} не постоји"
1031
1059
 
1032
- #: udata/forms/fields.py:470 udata/tests/forms/test_model_field.py:318
1060
+ #: udata/forms/fields.py:480 udata/tests/forms/test_model_field.py:318
1033
1061
  #: udata/tests/forms/test_model_field.py:332
1034
1062
  msgid "Missing \"id\" field"
1035
1063
  msgstr ""
1036
1064
 
1037
- #: udata/forms/fields.py:477
1065
+ #: udata/forms/fields.py:487
1038
1066
  msgid "Expect a \"{0}\" class but \"{1}\" was found"
1039
1067
  msgstr ""
1040
1068
 
1041
- #: udata/forms/fields.py:483 udata/tests/forms/test_model_field.py:43
1069
+ #: udata/forms/fields.py:493 udata/tests/forms/test_model_field.py:43
1042
1070
  #: udata/tests/forms/test_model_field.py:56
1043
1071
  msgid "Expect both class and identifier"
1044
1072
  msgstr "Очекуј класу и идентификатор"
1045
1073
 
1046
- #: udata/forms/fields.py:529
1074
+ #: udata/forms/fields.py:539
1047
1075
  msgid "Model for {0} not found"
1048
1076
  msgstr "Модел за {0} није пронађен"
1049
1077
 
1050
- #: udata/forms/fields.py:564
1078
+ #: udata/forms/fields.py:574
1051
1079
  msgid "Unknown identifiers: {identifiers}"
1052
1080
  msgstr "Непознати идентификатори: {identifiers}"
1053
1081
 
1054
- #: udata/forms/fields.py:699
1082
+ #: udata/forms/fields.py:709
1055
1083
  msgid "Unable to parse date range"
1056
1084
  msgstr "Није могуће рашчланити опсег датума"
1057
1085
 
1058
- #: udata/forms/fields.py:726 udata/forms/fields.py:749
1086
+ #: udata/forms/fields.py:736 udata/forms/fields.py:759
1059
1087
  msgid "You must be authenticated"
1060
1088
  msgstr "Морате потврдити свој идентитет"
1061
1089
 
1062
- #: udata/forms/fields.py:729
1090
+ #: udata/forms/fields.py:739
1063
1091
  msgid "You can only set yourself as owner"
1064
1092
  msgstr "Само себе можете да означите као власника"
1065
1093
 
1066
- #: udata/forms/fields.py:752
1094
+ #: udata/forms/fields.py:762
1067
1095
  msgid "Permission denied for this organization"
1068
1096
  msgstr "Дозвола ја ову организацију је одбијена"
1069
1097
 
@@ -1211,16 +1239,34 @@ msgstr "Дељење, унапређивање и примери употреб
1211
1239
  msgid "Your account has now been deleted"
1212
1240
  msgstr "Ваш налог је обрисан"
1213
1241
 
1214
- #: udata/templates/mail/badge_added_certified.html:6
1242
+ #: udata/templates/mail/badge_added_association.html:6
1215
1243
  #, python-format
1216
- msgid "%(user)s has certified your organization \"%(name)s\""
1217
- msgstr "%(user)s је сертификовао вашу организацију \"%(name)s\""
1244
+ msgid "%(user)s has identified your organization \"%(name)s\" as an association"
1245
+ msgstr ""
1218
1246
 
1247
+ #: udata/templates/mail/badge_added_association.html:27
1219
1248
  #: udata/templates/mail/badge_added_certified.html:27
1249
+ #: udata/templates/mail/badge_added_company.html:27
1250
+ #: udata/templates/mail/badge_added_local_authority.html:27
1220
1251
  #: udata/templates/mail/badge_added_public_service.html:27
1221
1252
  msgid "See the badge"
1222
1253
  msgstr "Погледајте беџ"
1223
1254
 
1255
+ #: udata/templates/mail/badge_added_certified.html:6
1256
+ #, python-format
1257
+ msgid "%(user)s has certified your organization \"%(name)s\""
1258
+ msgstr "%(user)s је сертификовао вашу организацију \"%(name)s\""
1259
+
1260
+ #: udata/templates/mail/badge_added_company.html:6
1261
+ #, python-format
1262
+ msgid "%(user)s has identified your organization \"%(name)s\" as a company"
1263
+ msgstr ""
1264
+
1265
+ #: udata/templates/mail/badge_added_local_authority.html:6
1266
+ #, python-format
1267
+ msgid "%(user)s has identified your organization \"%(name)s\" as a local authority"
1268
+ msgstr ""
1269
+
1224
1270
  #: udata/templates/mail/badge_added_public_service.html:6
1225
1271
  #, python-format
1226
1272
  msgid "%(user)s has identified your organization \"%(name)s\" as public service"