commonground-api-common 1.12.2__tar.gz → 2.4.1__tar.gz

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 (256) hide show
  1. commonground_api_common-2.4.1/CHANGELOG.rst +110 -0
  2. {commonground-api-common-1.12.2/commonground_api_common.egg-info → commonground_api_common-2.4.1}/PKG-INFO +26 -19
  3. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/README.rst +0 -3
  4. commonground-api-common-1.12.2/bin/patch_content_types → commonground_api_common-2.4.1/bin/generate_schema +2 -4
  5. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1/commonground_api_common.egg-info}/PKG-INFO +26 -19
  6. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/commonground_api_common.egg-info/SOURCES.txt +49 -48
  7. commonground_api_common-2.4.1/commonground_api_common.egg-info/requires.txt +63 -0
  8. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/setup.cfg +34 -26
  9. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_cache_headers.py +14 -14
  10. commonground_api_common-2.4.1/tests/test_configuration_steps_applicaties.py +82 -0
  11. commonground_api_common-2.4.1/tests/test_configuration_steps_jwtsecrets.py +62 -0
  12. commonground_api_common-2.4.1/tests/test_content_type_headers.py +76 -0
  13. commonground_api_common-2.4.1/tests/test_field_extensions.py +302 -0
  14. commonground_api_common-2.4.1/tests/test_filter_extension.py +53 -0
  15. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_jwt_decoding.py +1 -1
  16. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_jwtsecrets.py +3 -5
  17. commonground_api_common-2.4.1/tests/test_migrations.py +234 -0
  18. commonground_api_common-2.4.1/tests/test_pagination.py +35 -0
  19. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_permissions.py +1 -1
  20. commonground_api_common-2.4.1/tests/test_schema.py +238 -0
  21. commonground_api_common-2.4.1/tests/test_serializer_extensions.py +75 -0
  22. commonground_api_common-2.4.1/tests/test_validators.py +106 -0
  23. commonground_api_common-2.4.1/tests/test_views.py +208 -0
  24. commonground_api_common-2.4.1/vng_api_common/__init__.py +1 -0
  25. commonground_api_common-2.4.1/vng_api_common/admin.py +10 -0
  26. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/api/views.py +1 -0
  27. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/apps.py +44 -26
  28. commonground_api_common-2.4.1/vng_api_common/audittrails/utils.py +44 -0
  29. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/admin.py +1 -1
  30. {commonground-api-common-1.12.2/vng_api_common → commonground_api_common-2.4.1/vng_api_common/authorizations}/middleware.py +23 -40
  31. commonground_api_common-2.4.1/vng_api_common/authorizations/migrations/0016_remove_authorizationsconfig_api_root_and_more.py +76 -0
  32. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/models.py +62 -3
  33. commonground_api_common-2.4.1/vng_api_common/authorizations/utils.py +17 -0
  34. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/validators.py +5 -11
  35. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/caching/etags.py +2 -1
  36. commonground_api_common-2.4.1/vng_api_common/client.py +76 -0
  37. commonground_api_common-2.4.1/vng_api_common/conf/api.py +100 -0
  38. commonground_api_common-2.4.1/vng_api_common/contrib/setup_configuration/models.py +32 -0
  39. commonground_api_common-2.4.1/vng_api_common/contrib/setup_configuration/steps.py +46 -0
  40. commonground_api_common-2.4.1/vng_api_common/extensions/file.py +26 -0
  41. commonground_api_common-2.4.1/vng_api_common/extensions/gegevensgroep.py +16 -0
  42. commonground_api_common-2.4.1/vng_api_common/extensions/geojson.py +270 -0
  43. commonground_api_common-2.4.1/vng_api_common/extensions/hyperlink.py +37 -0
  44. commonground_api_common-2.4.1/vng_api_common/extensions/polymorphic.py +68 -0
  45. commonground_api_common-2.4.1/vng_api_common/extensions/query.py +20 -0
  46. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/filters.py +0 -1
  47. commonground_api_common-2.4.1/vng_api_common/generators.py +37 -0
  48. commonground_api_common-2.4.1/vng_api_common/middleware.py +35 -0
  49. commonground_api_common-2.4.1/vng_api_common/migrations/0006_delete_apicredential.py +120 -0
  50. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/mocks.py +4 -1
  51. commonground_api_common-2.4.1/vng_api_common/models.py +63 -0
  52. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/api/views.py +8 -8
  53. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/handlers.py +8 -3
  54. commonground_api_common-2.4.1/vng_api_common/notifications/migrations/0011_remove_subscription_config_and_more.py +23 -0
  55. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/oas.py +6 -10
  56. commonground_api_common-2.4.1/vng_api_common/pagination.py +10 -0
  57. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/routers.py +3 -3
  58. commonground_api_common-2.4.1/vng_api_common/schema.py +433 -0
  59. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/tests/schema.py +13 -0
  60. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/utils.py +0 -22
  61. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/validators.py +111 -113
  62. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/views.py +35 -20
  63. commonground-api-common-1.12.2/bin/generate_schema +0 -39
  64. commonground-api-common-1.12.2/bin/use_external_components +0 -16
  65. commonground-api-common-1.12.2/commonground_api_common.egg-info/requires.txt +0 -46
  66. commonground-api-common-1.12.2/tests/test_config.py +0 -13
  67. commonground-api-common-1.12.2/tests/test_content_type_headers.py +0 -84
  68. commonground-api-common-1.12.2/tests/test_schema_root_tags.py +0 -33
  69. commonground-api-common-1.12.2/tests/test_validators.py +0 -37
  70. commonground-api-common-1.12.2/tests/test_views.py +0 -18
  71. commonground-api-common-1.12.2/vng_api_common/__init__.py +0 -1
  72. commonground-api-common-1.12.2/vng_api_common/admin.py +0 -29
  73. commonground-api-common-1.12.2/vng_api_common/client.py +0 -44
  74. commonground-api-common-1.12.2/vng_api_common/conf/api.py +0 -115
  75. commonground-api-common-1.12.2/vng_api_common/generators.py +0 -138
  76. commonground-api-common-1.12.2/vng_api_common/inspectors/cache.py +0 -57
  77. commonground-api-common-1.12.2/vng_api_common/inspectors/fields.py +0 -126
  78. commonground-api-common-1.12.2/vng_api_common/inspectors/files.py +0 -121
  79. commonground-api-common-1.12.2/vng_api_common/inspectors/geojson.py +0 -360
  80. commonground-api-common-1.12.2/vng_api_common/inspectors/polymorphic.py +0 -72
  81. commonground-api-common-1.12.2/vng_api_common/inspectors/query.py +0 -96
  82. commonground-api-common-1.12.2/vng_api_common/inspectors/utils.py +0 -40
  83. commonground-api-common-1.12.2/vng_api_common/inspectors/view.py +0 -547
  84. commonground-api-common-1.12.2/vng_api_common/management/commands/generate_autorisaties.py +0 -43
  85. commonground-api-common-1.12.2/vng_api_common/management/commands/generate_notificaties.py +0 -40
  86. commonground-api-common-1.12.2/vng_api_common/management/commands/generate_swagger.py +0 -197
  87. commonground-api-common-1.12.2/vng_api_common/management/commands/patch_error_contenttypes.py +0 -61
  88. commonground-api-common-1.12.2/vng_api_common/management/commands/use_external_components.py +0 -94
  89. commonground-api-common-1.12.2/vng_api_common/models.py +0 -164
  90. commonground-api-common-1.12.2/vng_api_common/notifications/constants.py +0 -3
  91. commonground-api-common-1.12.2/vng_api_common/notifications/models.py +0 -97
  92. commonground-api-common-1.12.2/vng_api_common/schema.py +0 -177
  93. commonground-api-common-1.12.2/vng_api_common/templates/vng_api_common/api_schema_to_markdown_table.md +0 -16
  94. commonground-api-common-1.12.2/vng_api_common/templates/vng_api_common/autorisaties.md +0 -15
  95. commonground-api-common-1.12.2/vng_api_common/templates/vng_api_common/notificaties.md +0 -24
  96. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/MANIFEST.in +0 -0
  97. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/commonground_api_common.egg-info/dependency_links.txt +0 -0
  98. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/commonground_api_common.egg-info/not-zip-safe +0 -0
  99. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/commonground_api_common.egg-info/top_level.txt +0 -0
  100. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/pyproject.toml +0 -0
  101. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/setup.py +0 -0
  102. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_autorisatie_validation.py +0 -0
  103. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_check_query_params.py +0 -0
  104. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_checks.py +0 -0
  105. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_choices.py +0 -0
  106. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_filters.py +0 -0
  107. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_gegevensgroepen.py +0 -0
  108. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_get_resource.py +0 -0
  109. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_nested_serializer_validation.py +0 -0
  110. /commonground-api-common-1.12.2/tests/test_publish_validator.py → /commonground_api_common-2.4.1/tests/test_publish_validators.py +0 -0
  111. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_server_errors.py +0 -0
  112. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/tests/test_utils.py +0 -0
  113. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/api/__init__.py +0 -0
  114. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/api/permissions.py +0 -0
  115. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/api/serializers.py +0 -0
  116. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/api/urls.py +0 -0
  117. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/__init__.py +0 -0
  118. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/admin.py +0 -0
  119. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/api/__init__.py +0 -0
  120. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/api/scopes.py +0 -0
  121. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/api/serializers.py +0 -0
  122. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/apps.py +0 -0
  123. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/audits.py +0 -0
  124. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0001_initial.py +0 -0
  125. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0002_auto_20190516_0830.py +0 -0
  126. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0003_auto_20190517_0844.py +0 -0
  127. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0004_auto_20190520_1238.py +0 -0
  128. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0005_auto_20190520_1450.py +0 -0
  129. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0006_audittrail_toelichting.py +0 -0
  130. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0007_auto_20190522_0916.py +0 -0
  131. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0008_audittrail_resource_weergave.py +0 -0
  132. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0009_auto_20190712_1643.py +0 -0
  133. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0010_audittrail_request_id.py +0 -0
  134. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0011_auto_20190918_1335.py +0 -0
  135. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0012_auto_20200619_0545.py +0 -0
  136. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0012_remove_audittrail_request_id.py +0 -0
  137. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0013_audittrail_logrecord_id.py +0 -0
  138. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0013_auto_20201207_0846.py +0 -0
  139. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0014_auto_20201221_0905.py +0 -0
  140. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0014_auto_20210323_1654.py +0 -0
  141. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0015_auto_20220318_1608.py +0 -0
  142. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0016_merge_20220607_0517.py +0 -0
  143. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0017_alter_audittrail_bron.py +0 -0
  144. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/0018_auto_20221212_0745.py +0 -0
  145. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/__init__.py +0 -0
  146. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/migrations/_operations.py +0 -0
  147. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/models.py +0 -0
  148. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/audittrails/viewsets.py +0 -0
  149. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/__init__.py +0 -0
  150. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0001_initial.py +0 -0
  151. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0002_authorizationsconfig.py +0 -0
  152. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0003_auto_20190502_0409.py +0 -0
  153. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0004_auto_20190503_0941.py +0 -0
  154. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0005_auto_20190506_0842.py +0 -0
  155. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0006_auto_20190506_0901.py +0 -0
  156. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0007_auto_20190506_1212.py +0 -0
  157. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0008_auto_20190712_1541.py +0 -0
  158. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0009_update_enums.py +0 -0
  159. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0010_auto_20190712_1643.py +0 -0
  160. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0011_auto_20191114_0728.py +0 -0
  161. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0012_auto_20200619_0545.py +0 -0
  162. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0013_auto_20201207_0846.py +0 -0
  163. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0014_auto_20201221_0905.py +0 -0
  164. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/0015_auto_20220318_1608.py +0 -0
  165. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/migrations/__init__.py +0 -0
  166. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/authorizations/serializers.py +0 -0
  167. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/caching/__init__.py +0 -0
  168. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/caching/decorators.py +0 -0
  169. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/caching/introspection.py +0 -0
  170. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/caching/models.py +0 -0
  171. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/caching/registry.py +0 -0
  172. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/caching/signals.py +0 -0
  173. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/checks.py +0 -0
  174. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/choices.py +0 -0
  175. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/compat.py +0 -0
  176. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/conf/__init__.py +0 -0
  177. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/constants.py +0 -0
  178. {commonground-api-common-1.12.2/vng_api_common/db → commonground_api_common-2.4.1/vng_api_common/contrib}/__init__.py +0 -0
  179. {commonground-api-common-1.12.2/vng_api_common/inspectors → commonground_api_common-2.4.1/vng_api_common/contrib/setup_configuration}/__init__.py +0 -0
  180. {commonground-api-common-1.12.2/vng_api_common/management → commonground_api_common-2.4.1/vng_api_common/db}/__init__.py +0 -0
  181. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/db/operations.py +0 -0
  182. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/decorators.py +0 -0
  183. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/descriptors.py +0 -0
  184. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/doc.py +0 -0
  185. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/exception_handling.py +0 -0
  186. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/exceptions.py +0 -0
  187. {commonground-api-common-1.12.2/vng_api_common/management/commands → commonground_api_common-2.4.1/vng_api_common/extensions}/__init__.py +0 -0
  188. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/fields.py +0 -0
  189. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/filtersets.py +0 -0
  190. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/geo.py +0 -0
  191. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/locale/nl/LC_MESSAGES/django.mo +0 -0
  192. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/locale/nl/LC_MESSAGES/django.po +0 -0
  193. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/migrations/0001_initial.py +0 -0
  194. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/migrations/0002_apicredential.py +0 -0
  195. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/migrations/0003_auto_20190417_1145.py +0 -0
  196. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/migrations/0004_auto_20190517_0903.py +0 -0
  197. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/migrations/0005_auto_20190614_1346.py +0 -0
  198. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/migrations/__init__.py +0 -0
  199. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/__init__.py +0 -0
  200. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/api/__init__.py +0 -0
  201. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/api/urls.py +0 -0
  202. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/apps.py +0 -0
  203. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/0001_initial.py +0 -0
  204. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/0002_subscription__subscription.py +0 -0
  205. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/0003_auto_20190319_1048.py +0 -0
  206. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/0004_auto_20190325_1313.py +0 -0
  207. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/0005_fix_default_nrc.py +0 -0
  208. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/0006_auto_20190417_1142.py +0 -0
  209. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/0007_auto_20190429_1442.py +0 -0
  210. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/0008_auto_20190502_0415.py +0 -0
  211. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/0009_auto_20190729_0427.py +0 -0
  212. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/0010_auto_20220704_1419.py +0 -0
  213. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/notifications/migrations/__init__.py +0 -0
  214. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/permissions.py +0 -0
  215. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/polymorphism.py +0 -0
  216. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/scopes.py +0 -0
  217. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/search.py +0 -0
  218. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/serializers.py +0 -0
  219. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/css/admin/admin_overrides.css +0 -0
  220. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/css/screen.css +0 -0
  221. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/ico/favicon.png +0 -0
  222. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/img/vng.svg +0 -0
  223. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/LICENSE.txt +0 -0
  224. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/css/all.css +0 -0
  225. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/css/all.min.css +0 -0
  226. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.eot +0 -0
  227. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.svg +0 -0
  228. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.ttf +0 -0
  229. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.woff +0 -0
  230. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  231. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.eot +0 -0
  232. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.svg +0 -0
  233. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.ttf +0 -0
  234. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.woff +0 -0
  235. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  236. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.eot +0 -0
  237. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.svg +0 -0
  238. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.ttf +0 -0
  239. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.woff +0 -0
  240. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  241. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/templates/vng_api_common/admin/base_site.html +0 -0
  242. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/templates/vng_api_common/includes/kanalen_card.html +0 -0
  243. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/templates/vng_api_common/index.html +0 -0
  244. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/templates/vng_api_common/master.html +0 -0
  245. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/templates/vng_api_common/ref/error_detail.html +0 -0
  246. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/templates/vng_api_common/ref/scopes.html +0 -0
  247. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/templates/vng_api_common/view_config.html +0 -0
  248. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/templatetags/__init__.py +0 -0
  249. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/templatetags/vng_api_common.py +0 -0
  250. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/tests/__init__.py +0 -0
  251. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/tests/auth.py +0 -0
  252. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/tests/caching.py +0 -0
  253. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/tests/urls.py +0 -0
  254. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/urls.py +0 -0
  255. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/version.py +0 -0
  256. {commonground-api-common-1.12.2 → commonground_api_common-2.4.1}/vng_api_common/viewsets.py +0 -0
@@ -0,0 +1,110 @@
1
+ ==============
2
+ Change history
3
+ ==============
4
+
5
+ 2.4.1 (2025-01-14)
6
+ ------------------
7
+
8
+ * Make geojson fields optional by catching ImproperlyConfigured errors
9
+
10
+ 2.4.0 (2025-01-13)
11
+ ------------------
12
+
13
+ * [#57] Improved validation of RSIN and BSN by creating a generic validator.
14
+
15
+ 2.3.0 (2025-01-09)
16
+ ------------------
17
+
18
+ * Add ConfigurationStep for Applicatie model
19
+ * [#29] Replaced drf-yasg with drf-spectacular
20
+ * [#29] Removed management commands to generate markdown files for scopes and notifications channels:
21
+ * ``generate_autorisaties``
22
+ * ``generate_notificaties``
23
+
24
+
25
+ 2.2.0 (2024-12-10)
26
+ ------------------
27
+
28
+ * Add support for ``django-setup-configuration``, add a ``ConfigurationStep`` for ``JWTSecret``
29
+
30
+ 2.1.2 (2024-11-29)
31
+ ------------------
32
+
33
+ * Version 2.1.1 tagged the incorrect commit (`403494178746fba882208ee7e49f9dd6a2c6c5f6`)
34
+
35
+ 2.1.1 (2024-11-29)
36
+ ------------------
37
+
38
+ * Move zgw-consumers-oas import to related function
39
+
40
+ 2.1.0 (2024-11-29)
41
+ ------------------
42
+
43
+ * Update `notifications-api-common` to version `0.3.1`
44
+ * [#44] include missing `Service` migration from `zgw-consumers`
45
+ * Add `check_autorisaties_subscription` keyword argument to `_test_nrc_config`
46
+ which allows checking for subscriptions to be optional (defaults to `True`) for the
47
+ authorization service.
48
+ * Modify `_test_nrc_config` check to skip extra checks if Notificaties API is not configured
49
+ * Add `raise_exceptions` option to `get_client` util
50
+ * Remove assertion in `to_internal_data` util to avoid errors in case of empty (204) responses
51
+
52
+ 2.0.1 (2024-11-22)
53
+ ------------------
54
+
55
+ * move zgw-consumers-oas to ``testutils`` instead of ``tests``, to avoid pulling in irrelevant test deps in other projects
56
+
57
+ 2.0.0 (2024-11-22)
58
+ ------------------
59
+
60
+ * upgrade to zgw-consumers 0.35.1
61
+ * remove zds-client dependency and replace with ``ape_pie.APIClient``
62
+ * upgrade to notifications-api-common>=0.3.0
63
+ * replace ``get_auth_headers`` with ``generate_jwt`` util
64
+
65
+ .. warning::
66
+
67
+ If your project uses OAS test utilities, make sure to install them via ``commonground-api-common[testutils]``
68
+
69
+ .. warning::
70
+
71
+ The ``APICredential`` class has been removed in favor of the ``Service`` model from zgw-consumers,
72
+ a data migration is added to create ``Service`` instances from ``APICredential`` instances
73
+
74
+ .. warning::
75
+
76
+ Several notifications related models (``NotificationsConfig`` and ``Subscription``) as well as
77
+ the constants ``SCOPE_NOTIFICATIES_CONSUMEREN_LABEL`` and ``SCOPE_NOTIFICATIES_PUBLICEREN_LABEL`` have
78
+ been removed, since they are defined in ``notifications-api-common`` and were a not deleted yet in ``commonground-api-common``
79
+
80
+ 1.13.4 (2024-10-25)
81
+ -------------------
82
+
83
+ * Move AuthMiddleware to authorizations app, to avoid unnecessary migrations for projects that don't use ``vng_api_common.authorizations``
84
+
85
+ 1.13.3 (2024-09-05)
86
+ -------------------
87
+
88
+ * Dropped support for Python 3.8 and Python 3.9
89
+ * [#33] Added dynamic pagination
90
+
91
+
92
+ 1.13.2 (2024-07-05)
93
+ -------------------
94
+
95
+ * Added *identificatie* to ``UniekeIdentificatieValidator`` error message
96
+
97
+
98
+ 1.13.1 (2024-05-28)
99
+ -------------------
100
+
101
+ * Marked notifications view scopes as private
102
+ * Added natural keys to authorization models
103
+
104
+
105
+ 1.13.0 (2024-03-01)
106
+ -------------------
107
+
108
+ * Added support of Django 4.2
109
+ * Removed support of Python 3.7
110
+ * Added support of Python 3.11
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: commonground-api-common
3
- Version: 1.12.2
3
+ Version: 2.4.1
4
4
  Summary: Commonground API tooling
5
5
  Home-page: https://github.com/maykinmedia/commonground-api-common
6
6
  Author: Maykin Media, VNG-Realisatie
@@ -9,49 +9,59 @@ License: EUPL 1.2
9
9
  Keywords: openapi,swagger,django
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Framework :: Django
12
- Classifier: Framework :: Django :: 3.2
13
- Classifier: Framework :: Django :: 4.1
12
+ Classifier: Framework :: Django :: 4.2
14
13
  Classifier: Intended Audience :: Developers
15
14
  Classifier: Operating System :: Unix
16
15
  Classifier: Operating System :: MacOS
17
16
  Classifier: Operating System :: Microsoft :: Windows
18
17
  Classifier: Programming Language :: Python :: 3
19
18
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.7
21
- Classifier: Programming Language :: Python :: 3.8
22
- Classifier: Programming Language :: Python :: 3.9
23
19
  Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
24
21
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
- Requires-Dist: django<4.2,>=3.2.0
26
- Requires-Dist: django-filter>=2.0
22
+ Requires-Dist: django>=4.2.0
23
+ Requires-Dist: django-filter<=25.1,>=23.1
27
24
  Requires-Dist: django-solo
28
- Requires-Dist: djangorestframework~=3.12.0
25
+ Requires-Dist: djangorestframework>=3.15.0
29
26
  Requires-Dist: djangorestframework_camel_case>=1.2.0
30
27
  Requires-Dist: django-rest-framework-condition
31
- Requires-Dist: drf-yasg>=1.20.0
32
- Requires-Dist: drf-nested-routers>=0.93.3
33
- Requires-Dist: gemma-zds-client>=0.14.0
28
+ Requires-Dist: drf-nested-routers>=0.94.1
29
+ Requires-Dist: drf-spectacular
34
30
  Requires-Dist: iso-639
35
31
  Requires-Dist: isodate
36
- Requires-Dist: notifications-api-common>=0.2.2
32
+ Requires-Dist: notifications-api-common>=0.3.1
33
+ Requires-Dist: zgw-consumers>=0.35.1
37
34
  Requires-Dist: oyaml
38
- Requires-Dist: PyJWT>=2.0.0
39
- Requires-Dist: pyyaml
35
+ Requires-Dist: PyJWT>=2.1.1
40
36
  Requires-Dist: requests
37
+ Requires-Dist: requests-mock
41
38
  Requires-Dist: coreapi
39
+ Requires-Dist: ape-pie
42
40
  Provides-Extra: markdown-docs
43
41
  Requires-Dist: django-markup<=1.3; extra == "markdown-docs"
44
42
  Requires-Dist: markdown; extra == "markdown-docs"
43
+ Provides-Extra: djangorestframework-gis
44
+ Requires-Dist: djangorestframework-gis>=1.0; extra == "djangorestframework-gis"
45
+ Provides-Extra: drf-extra-fields
46
+ Requires-Dist: drf-extra-fields>=3.7.0; extra == "drf-extra-fields"
45
47
  Provides-Extra: tests
46
48
  Requires-Dist: psycopg2; extra == "tests"
47
49
  Requires-Dist: pytest; extra == "tests"
48
50
  Requires-Dist: pytest-django; extra == "tests"
51
+ Requires-Dist: pytest-dotenv; extra == "tests"
49
52
  Requires-Dist: pytest-factoryboy; extra == "tests"
50
53
  Requires-Dist: tox; extra == "tests"
51
54
  Requires-Dist: isort; extra == "tests"
52
55
  Requires-Dist: black; extra == "tests"
53
56
  Requires-Dist: requests-mock; extra == "tests"
54
57
  Requires-Dist: freezegun; extra == "tests"
58
+ Requires-Dist: zgw-consumers-oas; extra == "tests"
59
+ Requires-Dist: djangorestframework-gis; extra == "tests"
60
+ Requires-Dist: drf-extra-fields; extra == "tests"
61
+ Provides-Extra: testutils
62
+ Requires-Dist: zgw-consumers-oas; extra == "testutils"
63
+ Provides-Extra: setup-configuration
64
+ Requires-Dist: django-setup-configuration>=0.4.0; extra == "setup-configuration"
55
65
  Provides-Extra: pep8
56
66
  Requires-Dist: flake8; extra == "pep8"
57
67
  Provides-Extra: coverage
@@ -100,9 +110,6 @@ Features
100
110
  * ``UniekeIdentificatieValidator`` (in combinatie met organisatie)
101
111
  * ``InformatieObjectUniqueValidator`` om te valideren dat M2M entries
102
112
  slechts eenmalig voorkomen
103
- * ``ObjectInformatieObjectValidator`` om te valideren dat de synchronisatie
104
- van een object-informatieobject relatie pas kan nadat deze relatie in het
105
- DRC gemaakt is
106
113
  * ``IsImmutableValidator`` - valideer dat bepaalde velden niet gewijzigd
107
114
  worden bij een (partial) update, maar wel mogen gezet worden bij een create
108
115
  * ``ResourceValidator`` - valideer dat een URL een bepaalde resource ontsluit
@@ -35,9 +35,6 @@ Features
35
35
  * ``UniekeIdentificatieValidator`` (in combinatie met organisatie)
36
36
  * ``InformatieObjectUniqueValidator`` om te valideren dat M2M entries
37
37
  slechts eenmalig voorkomen
38
- * ``ObjectInformatieObjectValidator`` om te valideren dat de synchronisatie
39
- van een object-informatieobject relatie pas kan nadat deze relatie in het
40
- DRC gemaakt is
41
38
  * ``IsImmutableValidator`` - valideer dat bepaalde velden niet gewijzigd
42
39
  worden bij een (partial) update, maar wel mogen gezet worden bij een create
43
40
  * ``ResourceValidator`` - valideer dat een URL een bepaalde resource ontsluit
@@ -9,7 +9,5 @@ if [[ -z "$VIRTUAL_ENV" ]]; then
9
9
  exit 1
10
10
  fi
11
11
 
12
- source_file=${1:-./src/openapi.yaml}
13
- manage=${MANAGE:-src/manage.py}
14
-
15
- python $manage patch_error_contenttypes $source_file
12
+ echo "generate schema"
13
+ src/manage.py spectacular --file src/openapi.yaml --validate
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: commonground-api-common
3
- Version: 1.12.2
3
+ Version: 2.4.1
4
4
  Summary: Commonground API tooling
5
5
  Home-page: https://github.com/maykinmedia/commonground-api-common
6
6
  Author: Maykin Media, VNG-Realisatie
@@ -9,49 +9,59 @@ License: EUPL 1.2
9
9
  Keywords: openapi,swagger,django
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Framework :: Django
12
- Classifier: Framework :: Django :: 3.2
13
- Classifier: Framework :: Django :: 4.1
12
+ Classifier: Framework :: Django :: 4.2
14
13
  Classifier: Intended Audience :: Developers
15
14
  Classifier: Operating System :: Unix
16
15
  Classifier: Operating System :: MacOS
17
16
  Classifier: Operating System :: Microsoft :: Windows
18
17
  Classifier: Programming Language :: Python :: 3
19
18
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.7
21
- Classifier: Programming Language :: Python :: 3.8
22
- Classifier: Programming Language :: Python :: 3.9
23
19
  Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
24
21
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
- Requires-Dist: django<4.2,>=3.2.0
26
- Requires-Dist: django-filter>=2.0
22
+ Requires-Dist: django>=4.2.0
23
+ Requires-Dist: django-filter<=25.1,>=23.1
27
24
  Requires-Dist: django-solo
28
- Requires-Dist: djangorestframework~=3.12.0
25
+ Requires-Dist: djangorestframework>=3.15.0
29
26
  Requires-Dist: djangorestframework_camel_case>=1.2.0
30
27
  Requires-Dist: django-rest-framework-condition
31
- Requires-Dist: drf-yasg>=1.20.0
32
- Requires-Dist: drf-nested-routers>=0.93.3
33
- Requires-Dist: gemma-zds-client>=0.14.0
28
+ Requires-Dist: drf-nested-routers>=0.94.1
29
+ Requires-Dist: drf-spectacular
34
30
  Requires-Dist: iso-639
35
31
  Requires-Dist: isodate
36
- Requires-Dist: notifications-api-common>=0.2.2
32
+ Requires-Dist: notifications-api-common>=0.3.1
33
+ Requires-Dist: zgw-consumers>=0.35.1
37
34
  Requires-Dist: oyaml
38
- Requires-Dist: PyJWT>=2.0.0
39
- Requires-Dist: pyyaml
35
+ Requires-Dist: PyJWT>=2.1.1
40
36
  Requires-Dist: requests
37
+ Requires-Dist: requests-mock
41
38
  Requires-Dist: coreapi
39
+ Requires-Dist: ape-pie
42
40
  Provides-Extra: markdown-docs
43
41
  Requires-Dist: django-markup<=1.3; extra == "markdown-docs"
44
42
  Requires-Dist: markdown; extra == "markdown-docs"
43
+ Provides-Extra: djangorestframework-gis
44
+ Requires-Dist: djangorestframework-gis>=1.0; extra == "djangorestframework-gis"
45
+ Provides-Extra: drf-extra-fields
46
+ Requires-Dist: drf-extra-fields>=3.7.0; extra == "drf-extra-fields"
45
47
  Provides-Extra: tests
46
48
  Requires-Dist: psycopg2; extra == "tests"
47
49
  Requires-Dist: pytest; extra == "tests"
48
50
  Requires-Dist: pytest-django; extra == "tests"
51
+ Requires-Dist: pytest-dotenv; extra == "tests"
49
52
  Requires-Dist: pytest-factoryboy; extra == "tests"
50
53
  Requires-Dist: tox; extra == "tests"
51
54
  Requires-Dist: isort; extra == "tests"
52
55
  Requires-Dist: black; extra == "tests"
53
56
  Requires-Dist: requests-mock; extra == "tests"
54
57
  Requires-Dist: freezegun; extra == "tests"
58
+ Requires-Dist: zgw-consumers-oas; extra == "tests"
59
+ Requires-Dist: djangorestframework-gis; extra == "tests"
60
+ Requires-Dist: drf-extra-fields; extra == "tests"
61
+ Provides-Extra: testutils
62
+ Requires-Dist: zgw-consumers-oas; extra == "testutils"
63
+ Provides-Extra: setup-configuration
64
+ Requires-Dist: django-setup-configuration>=0.4.0; extra == "setup-configuration"
55
65
  Provides-Extra: pep8
56
66
  Requires-Dist: flake8; extra == "pep8"
57
67
  Provides-Extra: coverage
@@ -100,9 +110,6 @@ Features
100
110
  * ``UniekeIdentificatieValidator`` (in combinatie met organisatie)
101
111
  * ``InformatieObjectUniqueValidator`` om te valideren dat M2M entries
102
112
  slechts eenmalig voorkomen
103
- * ``ObjectInformatieObjectValidator`` om te valideren dat de synchronisatie
104
- van een object-informatieobject relatie pas kan nadat deze relatie in het
105
- DRC gemaakt is
106
113
  * ``IsImmutableValidator`` - valideer dat bepaalde velden niet gewijzigd
107
114
  worden bij een (partial) update, maar wel mogen gezet worden bij een create
108
115
  * ``ResourceValidator`` - valideer dat een URL een bepaalde resource ontsluit
@@ -1,11 +1,10 @@
1
+ CHANGELOG.rst
1
2
  MANIFEST.in
2
3
  README.rst
3
4
  pyproject.toml
4
5
  setup.cfg
5
6
  setup.py
6
7
  bin/generate_schema
7
- bin/patch_content_types
8
- bin/use_external_components
9
8
  commonground_api_common.egg-info/PKG-INFO
10
9
  commonground_api_common.egg-info/SOURCES.txt
11
10
  commonground_api_common.egg-info/dependency_links.txt
@@ -17,17 +16,23 @@ tests/test_cache_headers.py
17
16
  tests/test_check_query_params.py
18
17
  tests/test_checks.py
19
18
  tests/test_choices.py
20
- tests/test_config.py
19
+ tests/test_configuration_steps_applicaties.py
20
+ tests/test_configuration_steps_jwtsecrets.py
21
21
  tests/test_content_type_headers.py
22
+ tests/test_field_extensions.py
23
+ tests/test_filter_extension.py
22
24
  tests/test_filters.py
23
25
  tests/test_gegevensgroepen.py
24
26
  tests/test_get_resource.py
25
27
  tests/test_jwt_decoding.py
26
28
  tests/test_jwtsecrets.py
29
+ tests/test_migrations.py
27
30
  tests/test_nested_serializer_validation.py
31
+ tests/test_pagination.py
28
32
  tests/test_permissions.py
29
- tests/test_publish_validator.py
30
- tests/test_schema_root_tags.py
33
+ tests/test_publish_validators.py
34
+ tests/test_schema.py
35
+ tests/test_serializer_extensions.py
31
36
  tests/test_server_errors.py
32
37
  tests/test_utils.py
33
38
  tests/test_validators.py
@@ -54,6 +59,7 @@ vng_api_common/middleware.py
54
59
  vng_api_common/mocks.py
55
60
  vng_api_common/models.py
56
61
  vng_api_common/oas.py
62
+ vng_api_common/pagination.py
57
63
  vng_api_common/permissions.py
58
64
  vng_api_common/polymorphism.py
59
65
  vng_api_common/routers.py
@@ -77,6 +83,7 @@ vng_api_common/audittrails/admin.py
77
83
  vng_api_common/audittrails/apps.py
78
84
  vng_api_common/audittrails/audits.py
79
85
  vng_api_common/audittrails/models.py
86
+ vng_api_common/audittrails/utils.py
80
87
  vng_api_common/audittrails/viewsets.py
81
88
  vng_api_common/audittrails/api/__init__.py
82
89
  vng_api_common/audittrails/api/scopes.py
@@ -106,8 +113,10 @@ vng_api_common/audittrails/migrations/__init__.py
106
113
  vng_api_common/audittrails/migrations/_operations.py
107
114
  vng_api_common/authorizations/__init__.py
108
115
  vng_api_common/authorizations/admin.py
116
+ vng_api_common/authorizations/middleware.py
109
117
  vng_api_common/authorizations/models.py
110
118
  vng_api_common/authorizations/serializers.py
119
+ vng_api_common/authorizations/utils.py
111
120
  vng_api_common/authorizations/validators.py
112
121
  vng_api_common/authorizations/migrations/0001_initial.py
113
122
  vng_api_common/authorizations/migrations/0002_authorizationsconfig.py
@@ -124,6 +133,7 @@ vng_api_common/authorizations/migrations/0012_auto_20200619_0545.py
124
133
  vng_api_common/authorizations/migrations/0013_auto_20201207_0846.py
125
134
  vng_api_common/authorizations/migrations/0014_auto_20201221_0905.py
126
135
  vng_api_common/authorizations/migrations/0015_auto_20220318_1608.py
136
+ vng_api_common/authorizations/migrations/0016_remove_authorizationsconfig_api_root_and_more.py
127
137
  vng_api_common/authorizations/migrations/__init__.py
128
138
  vng_api_common/caching/__init__.py
129
139
  vng_api_common/caching/decorators.py
@@ -134,37 +144,31 @@ vng_api_common/caching/registry.py
134
144
  vng_api_common/caching/signals.py
135
145
  vng_api_common/conf/__init__.py
136
146
  vng_api_common/conf/api.py
147
+ vng_api_common/contrib/__init__.py
148
+ vng_api_common/contrib/setup_configuration/__init__.py
149
+ vng_api_common/contrib/setup_configuration/models.py
150
+ vng_api_common/contrib/setup_configuration/steps.py
137
151
  vng_api_common/db/__init__.py
138
152
  vng_api_common/db/operations.py
139
- vng_api_common/inspectors/__init__.py
140
- vng_api_common/inspectors/cache.py
141
- vng_api_common/inspectors/fields.py
142
- vng_api_common/inspectors/files.py
143
- vng_api_common/inspectors/geojson.py
144
- vng_api_common/inspectors/polymorphic.py
145
- vng_api_common/inspectors/query.py
146
- vng_api_common/inspectors/utils.py
147
- vng_api_common/inspectors/view.py
153
+ vng_api_common/extensions/__init__.py
154
+ vng_api_common/extensions/file.py
155
+ vng_api_common/extensions/gegevensgroep.py
156
+ vng_api_common/extensions/geojson.py
157
+ vng_api_common/extensions/hyperlink.py
158
+ vng_api_common/extensions/polymorphic.py
159
+ vng_api_common/extensions/query.py
148
160
  vng_api_common/locale/nl/LC_MESSAGES/django.mo
149
161
  vng_api_common/locale/nl/LC_MESSAGES/django.po
150
- vng_api_common/management/__init__.py
151
- vng_api_common/management/commands/__init__.py
152
- vng_api_common/management/commands/generate_autorisaties.py
153
- vng_api_common/management/commands/generate_notificaties.py
154
- vng_api_common/management/commands/generate_swagger.py
155
- vng_api_common/management/commands/patch_error_contenttypes.py
156
- vng_api_common/management/commands/use_external_components.py
157
162
  vng_api_common/migrations/0001_initial.py
158
163
  vng_api_common/migrations/0002_apicredential.py
159
164
  vng_api_common/migrations/0003_auto_20190417_1145.py
160
165
  vng_api_common/migrations/0004_auto_20190517_0903.py
161
166
  vng_api_common/migrations/0005_auto_20190614_1346.py
167
+ vng_api_common/migrations/0006_delete_apicredential.py
162
168
  vng_api_common/migrations/__init__.py
163
169
  vng_api_common/notifications/__init__.py
164
170
  vng_api_common/notifications/apps.py
165
- vng_api_common/notifications/constants.py
166
171
  vng_api_common/notifications/handlers.py
167
- vng_api_common/notifications/models.py
168
172
  vng_api_common/notifications/api/__init__.py
169
173
  vng_api_common/notifications/api/urls.py
170
174
  vng_api_common/notifications/api/views.py
@@ -178,35 +182,32 @@ vng_api_common/notifications/migrations/0007_auto_20190429_1442.py
178
182
  vng_api_common/notifications/migrations/0008_auto_20190502_0415.py
179
183
  vng_api_common/notifications/migrations/0009_auto_20190729_0427.py
180
184
  vng_api_common/notifications/migrations/0010_auto_20220704_1419.py
185
+ vng_api_common/notifications/migrations/0011_remove_subscription_config_and_more.py
181
186
  vng_api_common/notifications/migrations/__init__.py
182
- vng_api_common/static/./vng_api_common/css/screen.css
183
- vng_api_common/static/./vng_api_common/css/admin/admin_overrides.css
184
- vng_api_common/static/./vng_api_common/ico/favicon.png
185
- vng_api_common/static/./vng_api_common/img/vng.svg
186
- vng_api_common/static/./vng_api_common/libs/fontawesome/LICENSE.txt
187
- vng_api_common/static/./vng_api_common/libs/fontawesome/css/all.css
188
- vng_api_common/static/./vng_api_common/libs/fontawesome/css/all.min.css
189
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-brands-400.eot
190
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-brands-400.svg
191
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-brands-400.ttf
192
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-brands-400.woff
193
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-brands-400.woff2
194
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-regular-400.eot
195
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-regular-400.svg
196
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-regular-400.ttf
197
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-regular-400.woff
198
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-regular-400.woff2
199
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-solid-900.eot
200
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-solid-900.svg
201
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-solid-900.ttf
202
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-solid-900.woff
203
- vng_api_common/static/./vng_api_common/libs/fontawesome/webfonts/fa-solid-900.woff2
187
+ vng_api_common/static/vng_api_common/css/screen.css
188
+ vng_api_common/static/vng_api_common/css/admin/admin_overrides.css
189
+ vng_api_common/static/vng_api_common/ico/favicon.png
190
+ vng_api_common/static/vng_api_common/img/vng.svg
204
191
  vng_api_common/static/vng_api_common/libs/fontawesome/LICENSE.txt
205
- vng_api_common/templates/vng_api_common/api_schema_to_markdown_table.md
206
- vng_api_common/templates/vng_api_common/autorisaties.md
192
+ vng_api_common/static/vng_api_common/libs/fontawesome/css/all.css
193
+ vng_api_common/static/vng_api_common/libs/fontawesome/css/all.min.css
194
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.eot
195
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.svg
196
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.ttf
197
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.woff
198
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.woff2
199
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.eot
200
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.svg
201
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.ttf
202
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.woff
203
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.woff2
204
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.eot
205
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.svg
206
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.ttf
207
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.woff
208
+ vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.woff2
207
209
  vng_api_common/templates/vng_api_common/index.html
208
210
  vng_api_common/templates/vng_api_common/master.html
209
- vng_api_common/templates/vng_api_common/notificaties.md
210
211
  vng_api_common/templates/vng_api_common/view_config.html
211
212
  vng_api_common/templates/vng_api_common/admin/base_site.html
212
213
  vng_api_common/templates/vng_api_common/includes/kanalen_card.html
@@ -0,0 +1,63 @@
1
+ django>=4.2.0
2
+ django-filter<=25.1,>=23.1
3
+ django-solo
4
+ djangorestframework>=3.15.0
5
+ djangorestframework_camel_case>=1.2.0
6
+ django-rest-framework-condition
7
+ drf-nested-routers>=0.94.1
8
+ drf-spectacular
9
+ iso-639
10
+ isodate
11
+ notifications-api-common>=0.3.1
12
+ zgw-consumers>=0.35.1
13
+ oyaml
14
+ PyJWT>=2.1.1
15
+ requests
16
+ requests-mock
17
+ coreapi
18
+ ape-pie
19
+
20
+ [coverage]
21
+ pytest-cov
22
+
23
+ [djangorestframework_gis]
24
+ djangorestframework-gis>=1.0
25
+
26
+ [docs]
27
+ psycopg2
28
+ sphinx
29
+ sphinx-rtd-theme
30
+
31
+ [drf_extra_fields]
32
+ drf-extra-fields>=3.7.0
33
+
34
+ [markdown_docs]
35
+ django-markup<=1.3
36
+ markdown
37
+
38
+ [pep8]
39
+ flake8
40
+
41
+ [release]
42
+ bump2version
43
+
44
+ [setup-configuration]
45
+ django-setup-configuration>=0.4.0
46
+
47
+ [tests]
48
+ psycopg2
49
+ pytest
50
+ pytest-django
51
+ pytest-dotenv
52
+ pytest-factoryboy
53
+ tox
54
+ isort
55
+ black
56
+ requests-mock
57
+ freezegun
58
+ zgw-consumers-oas
59
+ djangorestframework-gis
60
+ drf-extra-fields
61
+
62
+ [testutils]
63
+ zgw-consumers-oas