wbcore 1.59.9__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.
- wbcore/__init__.py +1 -0
- wbcore/admin.py +197 -0
- wbcore/apps.py +17 -0
- wbcore/cache/__init__.py +0 -0
- wbcore/cache/buttons.py +23 -0
- wbcore/cache/decorators.py +31 -0
- wbcore/cache/mixins.py +49 -0
- wbcore/cache/registry.py +98 -0
- wbcore/cache/views.py +19 -0
- wbcore/configs/__init__.py +11 -0
- wbcore/configs/configs.py +52 -0
- wbcore/configs/decorators.py +11 -0
- wbcore/configs/registry.py +35 -0
- wbcore/configs/views.py +12 -0
- wbcore/configurations/__init__.py +1 -0
- wbcore/configurations/base.py +46 -0
- wbcore/configurations/configurations/__init__.py +16 -0
- wbcore/configurations/configurations/apps.py +55 -0
- wbcore/configurations/configurations/authentication.py +44 -0
- wbcore/configurations/configurations/base.py +15 -0
- wbcore/configurations/configurations/cache.py +20 -0
- wbcore/configurations/configurations/celery.py +26 -0
- wbcore/configurations/configurations/i18nl10n.py +11 -0
- wbcore/configurations/configurations/mail.py +2 -0
- wbcore/configurations/configurations/maintenance.py +53 -0
- wbcore/configurations/configurations/media.py +22 -0
- wbcore/configurations/configurations/middleware.py +27 -0
- wbcore/configurations/configurations/network.py +19 -0
- wbcore/configurations/configurations/rest_framework.py +42 -0
- wbcore/configurations/configurations/static.py +28 -0
- wbcore/configurations/configurations/templates.py +17 -0
- wbcore/configurations/configurations/uvicorn.py +9 -0
- wbcore/configurations/configurations/wbcore.py +61 -0
- wbcore/content_type/__init__.py +0 -0
- wbcore/content_type/admin.py +8 -0
- wbcore/content_type/filters.py +20 -0
- wbcore/content_type/serializers.py +98 -0
- wbcore/content_type/utils.py +30 -0
- wbcore/content_type/viewsets.py +81 -0
- wbcore/contrib/__init__.py +0 -0
- wbcore/contrib/agenda/__init__.py +0 -0
- wbcore/contrib/agenda/admin/__init__.py +2 -0
- wbcore/contrib/agenda/admin/calendar_item.py +14 -0
- wbcore/contrib/agenda/admin/conference_room.py +19 -0
- wbcore/contrib/agenda/apps.py +6 -0
- wbcore/contrib/agenda/configurations.py +11 -0
- wbcore/contrib/agenda/factories/__init__.py +2 -0
- wbcore/contrib/agenda/factories/calendar_item.py +49 -0
- wbcore/contrib/agenda/factories/conference_room.py +20 -0
- wbcore/contrib/agenda/filters/__init__.py +2 -0
- wbcore/contrib/agenda/filters/calendar_item.py +66 -0
- wbcore/contrib/agenda/filters/conference_room.py +42 -0
- wbcore/contrib/agenda/locale/de/LC_MESSAGES/django.po +206 -0
- wbcore/contrib/agenda/locale/de/LC_MESSAGES/django.po.translated +236 -0
- wbcore/contrib/agenda/locale/en/LC_MESSAGES/django.po +200 -0
- wbcore/contrib/agenda/locale/fr/LC_MESSAGES/django.po +201 -0
- wbcore/contrib/agenda/migrations/0001_initial.py +84 -0
- wbcore/contrib/agenda/migrations/0002_initial.py +26 -0
- wbcore/contrib/agenda/migrations/0003_calendaritem_endpoint_basename.py +42 -0
- wbcore/contrib/agenda/migrations/0004_alter_calendaritem_item_type.py +17 -0
- wbcore/contrib/agenda/migrations/0005_building_and_more.py +94 -0
- wbcore/contrib/agenda/migrations/0006_calendaritem_is_deletable.py +17 -0
- wbcore/contrib/agenda/migrations/0007_alter_calendaritem_options.py +21 -0
- wbcore/contrib/agenda/migrations/0008_alter_calendaritem_item_type.py +17 -0
- wbcore/contrib/agenda/migrations/0009_alter_calendaritem_icon.py +18 -0
- wbcore/contrib/agenda/migrations/__init__.py +0 -0
- wbcore/contrib/agenda/models/__init__.py +2 -0
- wbcore/contrib/agenda/models/calendar_item.py +240 -0
- wbcore/contrib/agenda/models/conference_room.py +96 -0
- wbcore/contrib/agenda/release_notes/1_0_0.md +13 -0
- wbcore/contrib/agenda/release_notes/__init__.py +0 -0
- wbcore/contrib/agenda/serializers/__init__.py +10 -0
- wbcore/contrib/agenda/serializers/calendar_item.py +77 -0
- wbcore/contrib/agenda/serializers/conference_room.py +99 -0
- wbcore/contrib/agenda/signals.py +5 -0
- wbcore/contrib/agenda/static/agenda/markdown/documentation/building.md +11 -0
- wbcore/contrib/agenda/static/agenda/markdown/documentation/conferenceroom.md +20 -0
- wbcore/contrib/agenda/tests/__init__.py +0 -0
- wbcore/contrib/agenda/tests/conftest.py +14 -0
- wbcore/contrib/agenda/tests/signals.py +17 -0
- wbcore/contrib/agenda/tests/test_models.py +34 -0
- wbcore/contrib/agenda/tests/test_viewsets.py +172 -0
- wbcore/contrib/agenda/tests/tests.py +26 -0
- wbcore/contrib/agenda/typings.py +19 -0
- wbcore/contrib/agenda/urls.py +26 -0
- wbcore/contrib/agenda/viewsets/__init__.py +13 -0
- wbcore/contrib/agenda/viewsets/buttons/__init__.py +1 -0
- wbcore/contrib/agenda/viewsets/buttons/conference_room.py +21 -0
- wbcore/contrib/agenda/viewsets/calendar_items.py +169 -0
- wbcore/contrib/agenda/viewsets/conference_room.py +48 -0
- wbcore/contrib/agenda/viewsets/display/__init__.py +2 -0
- wbcore/contrib/agenda/viewsets/display/calendar_items.py +17 -0
- wbcore/contrib/agenda/viewsets/display/conference_room.py +42 -0
- wbcore/contrib/agenda/viewsets/endpoints/__init__.py +1 -0
- wbcore/contrib/agenda/viewsets/endpoints/calendar_items.py +19 -0
- wbcore/contrib/agenda/viewsets/menu/__init__.py +2 -0
- wbcore/contrib/agenda/viewsets/menu/calendar_items.py +12 -0
- wbcore/contrib/agenda/viewsets/menu/conference_room.py +38 -0
- wbcore/contrib/agenda/viewsets/titles/__init__.py +2 -0
- wbcore/contrib/agenda/viewsets/titles/calendar_items.py +8 -0
- wbcore/contrib/agenda/viewsets/titles/conference_room.py +25 -0
- wbcore/contrib/ai/__init__.py +0 -0
- wbcore/contrib/ai/apps.py +5 -0
- wbcore/contrib/ai/exceptions.py +40 -0
- wbcore/contrib/ai/llm/__init__.py +0 -0
- wbcore/contrib/ai/llm/config.py +166 -0
- wbcore/contrib/ai/llm/decorators.py +10 -0
- wbcore/contrib/ai/llm/mixins.py +34 -0
- wbcore/contrib/ai/llm/utils.py +69 -0
- wbcore/contrib/authentication/__init__.py +9 -0
- wbcore/contrib/authentication/admin.py +247 -0
- wbcore/contrib/authentication/apps.py +14 -0
- wbcore/contrib/authentication/authentication.py +111 -0
- wbcore/contrib/authentication/configs.py +10 -0
- wbcore/contrib/authentication/configurations.py +60 -0
- wbcore/contrib/authentication/dynamic_preferences_registry.py +26 -0
- wbcore/contrib/authentication/factories/__init__.py +10 -0
- wbcore/contrib/authentication/factories/tokens.py +15 -0
- wbcore/contrib/authentication/factories/users.py +112 -0
- wbcore/contrib/authentication/factories/users_activities.py +19 -0
- wbcore/contrib/authentication/filters.py +17 -0
- wbcore/contrib/authentication/fixtures/authentication.json +62 -0
- wbcore/contrib/authentication/locale/de/LC_MESSAGES/django.po +632 -0
- wbcore/contrib/authentication/locale/de/LC_MESSAGES/django.po.translated +634 -0
- wbcore/contrib/authentication/locale/en/LC_MESSAGES/django.po +590 -0
- wbcore/contrib/authentication/locale/fr/LC_MESSAGES/django.po +592 -0
- wbcore/contrib/authentication/management/__init__.py +14 -0
- wbcore/contrib/authentication/migrations/0001_initial_squashed.py +174 -0
- wbcore/contrib/authentication/migrations/0002_profile.py +26 -0
- wbcore/contrib/authentication/migrations/0003_alter_user_profile.py +34 -0
- wbcore/contrib/authentication/migrations/0004_token.py +51 -0
- wbcore/contrib/authentication/migrations/0005_user_external_calendar_settings.py +17 -0
- wbcore/contrib/authentication/migrations/0006_auto_20231206_1422.py +13 -0
- wbcore/contrib/authentication/migrations/__init__.py +0 -0
- wbcore/contrib/authentication/models/__init__.py +3 -0
- wbcore/contrib/authentication/models/tokens.py +140 -0
- wbcore/contrib/authentication/models/users.py +224 -0
- wbcore/contrib/authentication/models/users_activities.py +114 -0
- wbcore/contrib/authentication/release_notes/1_0_0.md +13 -0
- wbcore/contrib/authentication/release_notes/__init__.py +0 -0
- wbcore/contrib/authentication/serializers/__init__.py +14 -0
- wbcore/contrib/authentication/serializers/users.py +351 -0
- wbcore/contrib/authentication/serializers/users_activites.py +37 -0
- wbcore/contrib/authentication/tasks.py +30 -0
- wbcore/contrib/authentication/templates/activate_confirm.html +12 -0
- wbcore/contrib/authentication/templates/base.html +135 -0
- wbcore/contrib/authentication/templates/email_base_template.html +335 -0
- wbcore/contrib/authentication/templates/password_reset_done.html +13 -0
- wbcore/contrib/authentication/templates/password_reset_email.html +11 -0
- wbcore/contrib/authentication/templates/password_reset_email_html.html +43 -0
- wbcore/contrib/authentication/templates/password_reset_form.html +23 -0
- wbcore/contrib/authentication/templates/password_reset_sent.html +11 -0
- wbcore/contrib/authentication/templates/reset_password.html +15 -0
- wbcore/contrib/authentication/templates/user_registration_email.html +37 -0
- wbcore/contrib/authentication/tests/__init__.py +0 -0
- wbcore/contrib/authentication/tests/conftest.py +18 -0
- wbcore/contrib/authentication/tests/e2e/__init__.py +1 -0
- wbcore/contrib/authentication/tests/e2e/e2e_auth_utility.py +20 -0
- wbcore/contrib/authentication/tests/signals.py +18 -0
- wbcore/contrib/authentication/tests/test_configs.py +6 -0
- wbcore/contrib/authentication/tests/test_serializers.py +6 -0
- wbcore/contrib/authentication/tests/test_tasks.py +34 -0
- wbcore/contrib/authentication/tests/test_tokens.py +127 -0
- wbcore/contrib/authentication/tests/test_users.py +338 -0
- wbcore/contrib/authentication/tests/test_viewsets.py +6 -0
- wbcore/contrib/authentication/tests/tests.py +15 -0
- wbcore/contrib/authentication/urls.py +94 -0
- wbcore/contrib/authentication/utils.py +10 -0
- wbcore/contrib/authentication/viewsets/__init__.py +19 -0
- wbcore/contrib/authentication/viewsets/buttons/__init__.py +1 -0
- wbcore/contrib/authentication/viewsets/buttons/users.py +56 -0
- wbcore/contrib/authentication/viewsets/display/__init__.py +6 -0
- wbcore/contrib/authentication/viewsets/display/user_activities.py +86 -0
- wbcore/contrib/authentication/viewsets/display/users.py +73 -0
- wbcore/contrib/authentication/viewsets/endpoints/__init__.py +6 -0
- wbcore/contrib/authentication/viewsets/endpoints/user_activities.py +14 -0
- wbcore/contrib/authentication/viewsets/endpoints/users.py +18 -0
- wbcore/contrib/authentication/viewsets/menu/__init__.py +6 -0
- wbcore/contrib/authentication/viewsets/menu/user_activities.py +40 -0
- wbcore/contrib/authentication/viewsets/menu/users.py +17 -0
- wbcore/contrib/authentication/viewsets/titles/__init__.py +12 -0
- wbcore/contrib/authentication/viewsets/titles/user_activities.py +32 -0
- wbcore/contrib/authentication/viewsets/titles/users.py +27 -0
- wbcore/contrib/authentication/viewsets/user_activities.py +224 -0
- wbcore/contrib/authentication/viewsets/users.py +331 -0
- wbcore/contrib/color/admin.py +28 -0
- wbcore/contrib/color/apps.py +5 -0
- wbcore/contrib/color/enums.py +17 -0
- wbcore/contrib/color/factories.py +10 -0
- wbcore/contrib/color/fields.py +29 -0
- wbcore/contrib/color/forms.py +13 -0
- wbcore/contrib/color/migrations/0001_initial.py +33 -0
- wbcore/contrib/color/migrations/0002_alter_colorgradient_colors.py +25 -0
- wbcore/contrib/color/migrations/__init__.py +0 -0
- wbcore/contrib/color/models.py +63 -0
- wbcore/contrib/color/tests/conftest.py +10 -0
- wbcore/contrib/color/tests/test_color_models.py +61 -0
- wbcore/contrib/color/tests/test_fields.py +25 -0
- wbcore/contrib/currency/__init__.py +0 -0
- wbcore/contrib/currency/admin.py +33 -0
- wbcore/contrib/currency/apps.py +5 -0
- wbcore/contrib/currency/dynamic_preferences_registry.py +39 -0
- wbcore/contrib/currency/factories.py +40 -0
- wbcore/contrib/currency/fixtures/currency.yaml +1014 -0
- wbcore/contrib/currency/fixtures/currency_fx_rate.yaml +73585 -0
- wbcore/contrib/currency/import_export/__init__.py +0 -0
- wbcore/contrib/currency/import_export/backends/__init__.py +1 -0
- wbcore/contrib/currency/import_export/backends/fixerio/__init__.py +1 -0
- wbcore/contrib/currency/import_export/backends/fixerio/currency_fx_rates.py +69 -0
- wbcore/contrib/currency/import_export/backends/utils.py +5 -0
- wbcore/contrib/currency/import_export/handlers/__init__.py +2 -0
- wbcore/contrib/currency/import_export/handlers/currency.py +25 -0
- wbcore/contrib/currency/import_export/handlers/currency_fx_rates.py +29 -0
- wbcore/contrib/currency/import_export/parsers/__init__.py +0 -0
- wbcore/contrib/currency/import_export/parsers/fixerio/__init__.py +0 -0
- wbcore/contrib/currency/import_export/parsers/fixerio/currency_fx_rates.py +34 -0
- wbcore/contrib/currency/migrations/0001_initial.py +89 -0
- wbcore/contrib/currency/migrations/__init__.py +0 -0
- wbcore/contrib/currency/models.py +199 -0
- wbcore/contrib/currency/release_notes/1_0_0.md +13 -0
- wbcore/contrib/currency/release_notes/__init__.py +0 -0
- wbcore/contrib/currency/serializers.py +45 -0
- wbcore/contrib/currency/tests/__init__.py +0 -0
- wbcore/contrib/currency/tests/conftest.py +7 -0
- wbcore/contrib/currency/tests/test_models.py +115 -0
- wbcore/contrib/currency/tests/test_serializers.py +67 -0
- wbcore/contrib/currency/tests/test_viewsets.py +196 -0
- wbcore/contrib/currency/urls.py +20 -0
- wbcore/contrib/currency/viewsets/__init__.py +2 -0
- wbcore/contrib/currency/viewsets/buttons/__init__.py +0 -0
- wbcore/contrib/currency/viewsets/currency.py +57 -0
- wbcore/contrib/currency/viewsets/currency_fx_rates.py +33 -0
- wbcore/contrib/currency/viewsets/display/__init__.py +2 -0
- wbcore/contrib/currency/viewsets/display/currency.py +38 -0
- wbcore/contrib/currency/viewsets/display/currency_fx_rates.py +9 -0
- wbcore/contrib/currency/viewsets/endpoints/__init__.py +1 -0
- wbcore/contrib/currency/viewsets/endpoints/currency_fx_rates.py +6 -0
- wbcore/contrib/currency/viewsets/menu/__init__.py +1 -0
- wbcore/contrib/currency/viewsets/menu/currency.py +8 -0
- wbcore/contrib/currency/viewsets/preview/__init__.py +1 -0
- wbcore/contrib/currency/viewsets/preview/currency.py +10 -0
- wbcore/contrib/currency/viewsets/titles/__init__.py +2 -0
- wbcore/contrib/currency/viewsets/titles/currency.py +6 -0
- wbcore/contrib/currency/viewsets/titles/currency_fx_rates.py +8 -0
- wbcore/contrib/dataloader/__init__.py +1 -0
- wbcore/contrib/dataloader/apps.py +5 -0
- wbcore/contrib/dataloader/dataloaders/__init__.py +2 -0
- wbcore/contrib/dataloader/dataloaders/dataloaders.py +25 -0
- wbcore/contrib/dataloader/dataloaders/proxies.py +82 -0
- wbcore/contrib/dataloader/models/__init__.py +1 -0
- wbcore/contrib/dataloader/models/entities.py +30 -0
- wbcore/contrib/dataloader/models/querysets/__init__.py +1 -0
- wbcore/contrib/dataloader/models/querysets/entities.py +28 -0
- wbcore/contrib/dataloader/tests/__init__.py +0 -0
- wbcore/contrib/dataloader/tests/conftest.py +26 -0
- wbcore/contrib/dataloader/tests/test/__init__.py +0 -0
- wbcore/contrib/dataloader/tests/test/dataloaders/__init__.py +0 -0
- wbcore/contrib/dataloader/tests/test/dataloaders/dataloaders.py +18 -0
- wbcore/contrib/dataloader/tests/test/dataloaders/protocols.py +5 -0
- wbcore/contrib/dataloader/tests/test/dataloaders/proxies.py +11 -0
- wbcore/contrib/dataloader/tests/test/factories.py +13 -0
- wbcore/contrib/dataloader/tests/test/models.py +11 -0
- wbcore/contrib/dataloader/tests/test_dataloaders.py +38 -0
- wbcore/contrib/dataloader/tests/test_entities.py +13 -0
- wbcore/contrib/dataloader/utils.py +20 -0
- wbcore/contrib/directory/__init__.py +0 -0
- wbcore/contrib/directory/admin/__init__.py +14 -0
- wbcore/contrib/directory/admin/contacts.py +55 -0
- wbcore/contrib/directory/admin/entries.py +235 -0
- wbcore/contrib/directory/admin/relationships.py +73 -0
- wbcore/contrib/directory/apps.py +6 -0
- wbcore/contrib/directory/configs.py +9 -0
- wbcore/contrib/directory/configurations.py +70 -0
- wbcore/contrib/directory/dynamic_preferences_registry.py +61 -0
- wbcore/contrib/directory/factories/__init__.py +35 -0
- wbcore/contrib/directory/factories/contacts.py +71 -0
- wbcore/contrib/directory/factories/entries.py +174 -0
- wbcore/contrib/directory/factories/relationships.py +77 -0
- wbcore/contrib/directory/filters/__init__.py +22 -0
- wbcore/contrib/directory/filters/contacts.py +234 -0
- wbcore/contrib/directory/filters/entries.py +273 -0
- wbcore/contrib/directory/filters/relationships.py +90 -0
- wbcore/contrib/directory/fixtures/directory.json +3884 -0
- wbcore/contrib/directory/locale/de/LC_MESSAGES/django.po +1700 -0
- wbcore/contrib/directory/locale/de/LC_MESSAGES/django.po.translated +1779 -0
- wbcore/contrib/directory/locale/en/LC_MESSAGES/django.po +1652 -0
- wbcore/contrib/directory/locale/fr/LC_MESSAGES/django.po +1654 -0
- wbcore/contrib/directory/migrations/0001_initial.py +871 -0
- wbcore/contrib/directory/migrations/0002_auto_20230414_1553.py +42 -0
- wbcore/contrib/directory/migrations/0003_remove_entry_last_event.py +16 -0
- wbcore/contrib/directory/migrations/0004_entry_is_draft_entry.py +21 -0
- wbcore/contrib/directory/migrations/0005_entry_salutation.py +17 -0
- wbcore/contrib/directory/migrations/0006_employeremployeerelationship_position_name.py +23 -0
- wbcore/contrib/directory/migrations/0007_alter_bankingcontact_options.py +20 -0
- wbcore/contrib/directory/migrations/0008_bankingcontact_access.py +17 -0
- wbcore/contrib/directory/migrations/0009_remove_entry_external_identfier_and_more.py +22 -0
- wbcore/contrib/directory/migrations/0010_remove_addresscontact_city.py +31 -0
- wbcore/contrib/directory/migrations/0011_person_description_person_i18n.py +24 -0
- wbcore/contrib/directory/migrations/0012_alter_person_managers.py +20 -0
- wbcore/contrib/directory/migrations/0013_alter_clientmanagerrelationship_options.py +17 -0
- wbcore/contrib/directory/migrations/0014_alter_entry_relationship_managers_and_more.py +28 -0
- wbcore/contrib/directory/migrations/__init__.py +0 -0
- wbcore/contrib/directory/models/__init__.py +27 -0
- wbcore/contrib/directory/models/contacts.py +554 -0
- wbcore/contrib/directory/models/entries.py +896 -0
- wbcore/contrib/directory/models/relationships.py +624 -0
- wbcore/contrib/directory/permissions.py +6 -0
- wbcore/contrib/directory/preferences.py +11 -0
- wbcore/contrib/directory/release_notes/1_0_0.md +13 -0
- wbcore/contrib/directory/release_notes/1_0_1.md +13 -0
- wbcore/contrib/directory/release_notes/__init__.py +0 -0
- wbcore/contrib/directory/serializers/__init__.py +62 -0
- wbcore/contrib/directory/serializers/companies.py +169 -0
- wbcore/contrib/directory/serializers/contacts.py +404 -0
- wbcore/contrib/directory/serializers/entries.py +355 -0
- wbcore/contrib/directory/serializers/entry_representations.py +38 -0
- wbcore/contrib/directory/serializers/persons.py +214 -0
- wbcore/contrib/directory/serializers/relationships.py +333 -0
- wbcore/contrib/directory/signals.py +3 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/address.md +38 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/banking.md +54 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/bankingentry.md +38 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/clientmanagerrelationship.md +42 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/company.md +52 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/companytype.md +2 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/customerstatus.md +2 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/email.md +20 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/employeecompany.md +34 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/employerperson.md +43 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/person.md +61 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/position.md +2 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/relationshiptype.md +2 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/socialmedia.md +23 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/specialization.md +2 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/systememployee.md +31 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/telephone.md +23 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/telephonesearch.md +26 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/userisclient.md +14 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/userismanager.md +28 -0
- wbcore/contrib/directory/static/directory/markdown/documentation/website.md +20 -0
- wbcore/contrib/directory/tests/__init__.py +0 -0
- wbcore/contrib/directory/tests/conftest.py +62 -0
- wbcore/contrib/directory/tests/disable_signals.py +62 -0
- wbcore/contrib/directory/tests/e2e/__init__.py +7 -0
- wbcore/contrib/directory/tests/e2e/e2e_directory_utility.py +163 -0
- wbcore/contrib/directory/tests/signals.py +89 -0
- wbcore/contrib/directory/tests/test_configs.py +6 -0
- wbcore/contrib/directory/tests/test_filters.py +60 -0
- wbcore/contrib/directory/tests/test_models.py +428 -0
- wbcore/contrib/directory/tests/test_permissions.py +123 -0
- wbcore/contrib/directory/tests/test_serializers.py +217 -0
- wbcore/contrib/directory/tests/test_viewsets.py +835 -0
- wbcore/contrib/directory/typings.py +17 -0
- wbcore/contrib/directory/urls.py +135 -0
- wbcore/contrib/directory/viewsets/__init__.py +57 -0
- wbcore/contrib/directory/viewsets/buttons/__init__.py +7 -0
- wbcore/contrib/directory/viewsets/buttons/contacts.py +17 -0
- wbcore/contrib/directory/viewsets/buttons/entries.py +134 -0
- wbcore/contrib/directory/viewsets/buttons/relationships.py +64 -0
- wbcore/contrib/directory/viewsets/contacts.py +392 -0
- wbcore/contrib/directory/viewsets/display/__init__.py +36 -0
- wbcore/contrib/directory/viewsets/display/contacts.py +368 -0
- wbcore/contrib/directory/viewsets/display/entries.py +532 -0
- wbcore/contrib/directory/viewsets/display/relationships.py +292 -0
- wbcore/contrib/directory/viewsets/display/utils.py +34 -0
- wbcore/contrib/directory/viewsets/endpoints/__init__.py +22 -0
- wbcore/contrib/directory/viewsets/endpoints/contacts.py +55 -0
- wbcore/contrib/directory/viewsets/endpoints/entries.py +31 -0
- wbcore/contrib/directory/viewsets/endpoints/relationships.py +81 -0
- wbcore/contrib/directory/viewsets/entries.py +205 -0
- wbcore/contrib/directory/viewsets/menu/__init__.py +16 -0
- wbcore/contrib/directory/viewsets/menu/contacts.py +26 -0
- wbcore/contrib/directory/viewsets/menu/entries.py +62 -0
- wbcore/contrib/directory/viewsets/menu/relationships.py +32 -0
- wbcore/contrib/directory/viewsets/menu/utils.py +73 -0
- wbcore/contrib/directory/viewsets/mixins.py +12 -0
- wbcore/contrib/directory/viewsets/previews/__init__.py +2 -0
- wbcore/contrib/directory/viewsets/previews/contacts.py +19 -0
- wbcore/contrib/directory/viewsets/previews/entries.py +32 -0
- wbcore/contrib/directory/viewsets/relationships.py +256 -0
- wbcore/contrib/directory/viewsets/titles/__init__.py +30 -0
- wbcore/contrib/directory/viewsets/titles/contacts.py +123 -0
- wbcore/contrib/directory/viewsets/titles/entries.py +30 -0
- wbcore/contrib/directory/viewsets/titles/relationships.py +86 -0
- wbcore/contrib/directory/viewsets/titles/utils.py +47 -0
- wbcore/contrib/directory/viewsets/utils.py +101 -0
- wbcore/contrib/documents/__init__.py +0 -0
- wbcore/contrib/documents/admin.py +80 -0
- wbcore/contrib/documents/apps.py +6 -0
- wbcore/contrib/documents/factories.py +44 -0
- wbcore/contrib/documents/filters.py +81 -0
- wbcore/contrib/documents/fixtures/docments.json +135 -0
- wbcore/contrib/documents/locale/de/LC_MESSAGES/django.po +281 -0
- wbcore/contrib/documents/locale/de/LC_MESSAGES/django.po.translated +285 -0
- wbcore/contrib/documents/locale/en/LC_MESSAGES/django.po +271 -0
- wbcore/contrib/documents/locale/fr/LC_MESSAGES/django.po +270 -0
- wbcore/contrib/documents/migrations/0001_initial.py +189 -0
- wbcore/contrib/documents/migrations/0002_documentmodelrelationship_primary_and_more.py +22 -0
- wbcore/contrib/documents/migrations/0003_alter_documentmodelrelationship_unique_together_and_more.py +30 -0
- wbcore/contrib/documents/migrations/0004_auto_20240103_0958.py +44 -0
- wbcore/contrib/documents/migrations/0005_document_valid_from_document_valid_until_and_more.py +32 -0
- wbcore/contrib/documents/migrations/__init__.py +0 -0
- wbcore/contrib/documents/models/__init__.py +4 -0
- wbcore/contrib/documents/models/document_model_relationships.py +58 -0
- wbcore/contrib/documents/models/document_types.py +36 -0
- wbcore/contrib/documents/models/documents.py +311 -0
- wbcore/contrib/documents/models/mixins.py +10 -0
- wbcore/contrib/documents/models/shareable_links.py +91 -0
- wbcore/contrib/documents/release_notes/1_0_0.md +13 -0
- wbcore/contrib/documents/release_notes/__init__.py +0 -0
- wbcore/contrib/documents/serializers/__init__.py +12 -0
- wbcore/contrib/documents/serializers/document_model_relationships.py +31 -0
- wbcore/contrib/documents/serializers/document_types.py +41 -0
- wbcore/contrib/documents/serializers/documents.py +65 -0
- wbcore/contrib/documents/serializers/shareable_links.py +91 -0
- wbcore/contrib/documents/static/documents/markdown/documentation/document_types.md +21 -0
- wbcore/contrib/documents/static/documents/markdown/documentation/documents.md +18 -0
- wbcore/contrib/documents/static/documents/markdown/documentation/shareablelink.md +28 -0
- wbcore/contrib/documents/static/documents/markdown/documentation/shareablelinkaccess.md +20 -0
- wbcore/contrib/documents/tests/conftest.py +30 -0
- wbcore/contrib/documents/tests/test_models.py +148 -0
- wbcore/contrib/documents/urls.py +43 -0
- wbcore/contrib/documents/viewsets/__init__.py +10 -0
- wbcore/contrib/documents/viewsets/buttons/__init__.py +3 -0
- wbcore/contrib/documents/viewsets/buttons/documents.py +54 -0
- wbcore/contrib/documents/viewsets/buttons/shareable_links.py +21 -0
- wbcore/contrib/documents/viewsets/buttons/signals.py +14 -0
- wbcore/contrib/documents/viewsets/display/__init__.py +4 -0
- wbcore/contrib/documents/viewsets/display/document_model_relationships.py +19 -0
- wbcore/contrib/documents/viewsets/display/document_types.py +24 -0
- wbcore/contrib/documents/viewsets/display/documents.py +102 -0
- wbcore/contrib/documents/viewsets/display/shareable_links.py +66 -0
- wbcore/contrib/documents/viewsets/document_model_relationships.py +25 -0
- wbcore/contrib/documents/viewsets/document_types.py +38 -0
- wbcore/contrib/documents/viewsets/documents.py +108 -0
- wbcore/contrib/documents/viewsets/endpoints/__init__.py +5 -0
- wbcore/contrib/documents/viewsets/endpoints/documents.py +20 -0
- wbcore/contrib/documents/viewsets/endpoints/documents_model_relationships.py +14 -0
- wbcore/contrib/documents/viewsets/endpoints/shareable_links.py +27 -0
- wbcore/contrib/documents/viewsets/menu/__init__.py +1 -0
- wbcore/contrib/documents/viewsets/menu/documents.py +25 -0
- wbcore/contrib/documents/viewsets/previews/__init__.py +1 -0
- wbcore/contrib/documents/viewsets/previews/documents.py +10 -0
- wbcore/contrib/documents/viewsets/shareable_links.py +110 -0
- wbcore/contrib/documents/viewsets/titles/__init__.py +3 -0
- wbcore/contrib/documents/viewsets/titles/document_types.py +14 -0
- wbcore/contrib/documents/viewsets/titles/documents.py +27 -0
- wbcore/contrib/documents/viewsets/titles/shareable_links.py +14 -0
- wbcore/contrib/dynamic_preferences/__init__.py +0 -0
- wbcore/contrib/dynamic_preferences/types.py +127 -0
- wbcore/contrib/dynamic_preferences/viewsets.py +27 -0
- wbcore/contrib/example_app/__init__.py +0 -0
- wbcore/contrib/example_app/admin.py +118 -0
- wbcore/contrib/example_app/apps.py +6 -0
- wbcore/contrib/example_app/factories/__init__.py +8 -0
- wbcore/contrib/example_app/factories/event.py +27 -0
- wbcore/contrib/example_app/factories/league.py +16 -0
- wbcore/contrib/example_app/factories/match.py +26 -0
- wbcore/contrib/example_app/factories/person.py +34 -0
- wbcore/contrib/example_app/factories/role.py +10 -0
- wbcore/contrib/example_app/factories/sport.py +13 -0
- wbcore/contrib/example_app/factories/stadium.py +13 -0
- wbcore/contrib/example_app/factories/team.py +37 -0
- wbcore/contrib/example_app/filters/__init__.py +9 -0
- wbcore/contrib/example_app/filters/event.py +83 -0
- wbcore/contrib/example_app/filters/league.py +75 -0
- wbcore/contrib/example_app/filters/match.py +93 -0
- wbcore/contrib/example_app/filters/person.py +78 -0
- wbcore/contrib/example_app/filters/role.py +18 -0
- wbcore/contrib/example_app/filters/sport.py +27 -0
- wbcore/contrib/example_app/filters/stadium.py +31 -0
- wbcore/contrib/example_app/filters/team.py +78 -0
- wbcore/contrib/example_app/filters/teamresult.py +48 -0
- wbcore/contrib/example_app/fixtures/example_app.json +7425 -0
- wbcore/contrib/example_app/migrations/0001_initial.py +498 -0
- wbcore/contrib/example_app/migrations/0002_sportperson_profile.py +49 -0
- wbcore/contrib/example_app/migrations/0003_change_stadium_capacity.py +31 -0
- wbcore/contrib/example_app/migrations/0004_alter_player_transfer_value.py +21 -0
- wbcore/contrib/example_app/migrations/0005_sportperson_profile_image.py +23 -0
- wbcore/contrib/example_app/migrations/0006_league_season_period_player_is_active_and_more.py +116 -0
- wbcore/contrib/example_app/migrations/0007_alter_player_options_alter_team_options_and_more.py +40 -0
- wbcore/contrib/example_app/migrations/__init__.py +0 -0
- wbcore/contrib/example_app/models.py +978 -0
- wbcore/contrib/example_app/serializers/__init__.py +31 -0
- wbcore/contrib/example_app/serializers/league.py +112 -0
- wbcore/contrib/example_app/serializers/match_event.py +305 -0
- wbcore/contrib/example_app/serializers/person_team.py +281 -0
- wbcore/contrib/example_app/serializers/role.py +16 -0
- wbcore/contrib/example_app/serializers/season.py +54 -0
- wbcore/contrib/example_app/serializers/sport.py +38 -0
- wbcore/contrib/example_app/serializers/stadium.py +59 -0
- wbcore/contrib/example_app/serializers/teamresult.py +44 -0
- wbcore/contrib/example_app/templates/example_app/embedded_view.html +19 -0
- wbcore/contrib/example_app/tests/__init__.py +0 -0
- wbcore/contrib/example_app/tests/conftest.py +13 -0
- wbcore/contrib/example_app/tests/e2e/__init__.py +1 -0
- wbcore/contrib/example_app/tests/e2e/e2e_example_app_utility.py +52 -0
- wbcore/contrib/example_app/tests/e2e/test_league.py +70 -0
- wbcore/contrib/example_app/tests/e2e/test_person.py +68 -0
- wbcore/contrib/example_app/tests/e2e/test_teams.py +57 -0
- wbcore/contrib/example_app/tests/signals.py +7 -0
- wbcore/contrib/example_app/tests/test_displays.py +41 -0
- wbcore/contrib/example_app/tests/test_filters.py +71 -0
- wbcore/contrib/example_app/tests/test_models/test_event.py +89 -0
- wbcore/contrib/example_app/tests/test_models/test_match.py +220 -0
- wbcore/contrib/example_app/tests/test_models/test_others.py +161 -0
- wbcore/contrib/example_app/tests/test_serializers/test_league_serializer.py +34 -0
- wbcore/contrib/example_app/tests/test_serializers/test_match_serializer.py +139 -0
- wbcore/contrib/example_app/tests/test_serializers/test_role_serializer.py +13 -0
- wbcore/contrib/example_app/tests/test_serializers/test_sport_serializer.py +14 -0
- wbcore/contrib/example_app/tests/test_serializers/test_stadium_serializer.py +14 -0
- wbcore/contrib/example_app/tests/test_serializers/test_team_result_serializer.py +30 -0
- wbcore/contrib/example_app/tests/test_serializers/test_team_serializer.py +70 -0
- wbcore/contrib/example_app/tests/test_utils.py +26 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_event_viewset.py +167 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_league_viewset.py +84 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_match_viewset.py +65 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_person_viewset.py +166 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_role_viewset.py +75 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_sport_viewset.py +75 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_stadium_viewset.py +75 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_team_viewset.py +92 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_teamresult_viewset.py +58 -0
- wbcore/contrib/example_app/tests/test_viewsets/test_utils_viewsets.py +124 -0
- wbcore/contrib/example_app/urls.py +82 -0
- wbcore/contrib/example_app/utils.py +21 -0
- wbcore/contrib/example_app/views.py +6 -0
- wbcore/contrib/example_app/viewsets/__init__.py +29 -0
- wbcore/contrib/example_app/viewsets/buttons/__init__.py +2 -0
- wbcore/contrib/example_app/viewsets/buttons/person.py +19 -0
- wbcore/contrib/example_app/viewsets/buttons/team.py +24 -0
- wbcore/contrib/example_app/viewsets/displays/__init__.py +23 -0
- wbcore/contrib/example_app/viewsets/displays/event.py +187 -0
- wbcore/contrib/example_app/viewsets/displays/league.py +391 -0
- wbcore/contrib/example_app/viewsets/displays/match.py +265 -0
- wbcore/contrib/example_app/viewsets/displays/person.py +252 -0
- wbcore/contrib/example_app/viewsets/displays/role.py +17 -0
- wbcore/contrib/example_app/viewsets/displays/season.py +66 -0
- wbcore/contrib/example_app/viewsets/displays/sport.py +116 -0
- wbcore/contrib/example_app/viewsets/displays/stadium.py +150 -0
- wbcore/contrib/example_app/viewsets/displays/team.py +250 -0
- wbcore/contrib/example_app/viewsets/displays/teamresult.py +31 -0
- wbcore/contrib/example_app/viewsets/endpoints/__init__.py +12 -0
- wbcore/contrib/example_app/viewsets/endpoints/endpoints.py +80 -0
- wbcore/contrib/example_app/viewsets/event.py +288 -0
- wbcore/contrib/example_app/viewsets/league.py +73 -0
- wbcore/contrib/example_app/viewsets/match.py +120 -0
- wbcore/contrib/example_app/viewsets/menu/__init__.py +1 -0
- wbcore/contrib/example_app/viewsets/menu/menus.py +103 -0
- wbcore/contrib/example_app/viewsets/menus.py +64 -0
- wbcore/contrib/example_app/viewsets/person.py +134 -0
- wbcore/contrib/example_app/viewsets/role.py +25 -0
- wbcore/contrib/example_app/viewsets/season.py +23 -0
- wbcore/contrib/example_app/viewsets/sport.py +26 -0
- wbcore/contrib/example_app/viewsets/stadium.py +31 -0
- wbcore/contrib/example_app/viewsets/team.py +69 -0
- wbcore/contrib/example_app/viewsets/teamresult.py +107 -0
- wbcore/contrib/example_app/viewsets/titles/__init__.py +9 -0
- wbcore/contrib/example_app/viewsets/titles/event.py +42 -0
- wbcore/contrib/example_app/viewsets/titles/league.py +25 -0
- wbcore/contrib/example_app/viewsets/titles/match.py +35 -0
- wbcore/contrib/example_app/viewsets/titles/person.py +36 -0
- wbcore/contrib/example_app/viewsets/titles/role.py +14 -0
- wbcore/contrib/example_app/viewsets/titles/sport.py +14 -0
- wbcore/contrib/example_app/viewsets/titles/stadium.py +14 -0
- wbcore/contrib/example_app/viewsets/titles/team.py +25 -0
- wbcore/contrib/example_app/viewsets/titles/teamresult.py +13 -0
- wbcore/contrib/geography/__init__.py +0 -0
- wbcore/contrib/geography/admin.py +30 -0
- wbcore/contrib/geography/apps.py +5 -0
- wbcore/contrib/geography/factories.py +46 -0
- wbcore/contrib/geography/fixtures/geography.json +13454 -0
- wbcore/contrib/geography/import_export/__init__.py +0 -0
- wbcore/contrib/geography/import_export/resources/__init__.py +0 -0
- wbcore/contrib/geography/import_export/resources/geography.py +11 -0
- wbcore/contrib/geography/migrations/0001_initial.py +110 -0
- wbcore/contrib/geography/migrations/0002_geography_geography_geography_tree_i739a.py +17 -0
- wbcore/contrib/geography/migrations/__init__.py +0 -0
- wbcore/contrib/geography/models.py +150 -0
- wbcore/contrib/geography/release_notes/1_0_0.md +13 -0
- wbcore/contrib/geography/release_notes/__init__.py +0 -0
- wbcore/contrib/geography/serializers.py +29 -0
- wbcore/contrib/geography/static/geography/markdown/documentation/geography.md +16 -0
- wbcore/contrib/geography/tests/__init__.py +0 -0
- wbcore/contrib/geography/tests/conftest.py +26 -0
- wbcore/contrib/geography/tests/signals.py +7 -0
- wbcore/contrib/geography/tests/test_models.py +27 -0
- wbcore/contrib/geography/tests/test_viewsets.py +100 -0
- wbcore/contrib/geography/urls.py +13 -0
- wbcore/contrib/geography/viewsets/__init__.py +1 -0
- wbcore/contrib/geography/viewsets/buttons/__init__.py +0 -0
- wbcore/contrib/geography/viewsets/display/__init__.py +1 -0
- wbcore/contrib/geography/viewsets/display/geography.py +32 -0
- wbcore/contrib/geography/viewsets/endpoints/__init__.py +0 -0
- wbcore/contrib/geography/viewsets/geography.py +58 -0
- wbcore/contrib/geography/viewsets/menu/__init__.py +1 -0
- wbcore/contrib/geography/viewsets/menu/geography.py +8 -0
- wbcore/contrib/geography/viewsets/preview/__init__.py +1 -0
- wbcore/contrib/geography/viewsets/preview/geography.py +19 -0
- wbcore/contrib/geography/viewsets/titles/__init__.py +0 -0
- wbcore/contrib/geography/viewsets/titles/geography.py +14 -0
- wbcore/contrib/gleap/__init__.py +0 -0
- wbcore/contrib/gleap/apps.py +5 -0
- wbcore/contrib/gleap/configs.py +12 -0
- wbcore/contrib/gleap/configurations.py +6 -0
- wbcore/contrib/gleap/hashes.py +13 -0
- wbcore/contrib/gleap/tests/__init__.py +0 -0
- wbcore/contrib/gleap/tests/conftest.py +1 -0
- wbcore/contrib/gleap/tests/tests.py +29 -0
- wbcore/contrib/gleap/urls.py +8 -0
- wbcore/contrib/gleap/views.py +31 -0
- wbcore/contrib/guardian/apps.py +6 -0
- wbcore/contrib/guardian/configurations.py +3 -0
- wbcore/contrib/guardian/filters.py +21 -0
- wbcore/contrib/guardian/migrations/0001_initial.py +103 -0
- wbcore/contrib/guardian/migrations/__init__.py +0 -0
- wbcore/contrib/guardian/models/__init__.py +1 -0
- wbcore/contrib/guardian/models/mixins.py +139 -0
- wbcore/contrib/guardian/models/models.py +29 -0
- wbcore/contrib/guardian/tasks.py +11 -0
- wbcore/contrib/guardian/tests/__init__.py +0 -0
- wbcore/contrib/guardian/tests/conftest.py +1 -0
- wbcore/contrib/guardian/tests/test_model_mixins.py +92 -0
- wbcore/contrib/guardian/tests/test_tasks.py +77 -0
- wbcore/contrib/guardian/tests/test_utils.py +196 -0
- wbcore/contrib/guardian/tests/test_viewsets.py +48 -0
- wbcore/contrib/guardian/urls.py +12 -0
- wbcore/contrib/guardian/utils.py +124 -0
- wbcore/contrib/guardian/viewsets/__init__.py +1 -0
- wbcore/contrib/guardian/viewsets/configs/__init__.py +4 -0
- wbcore/contrib/guardian/viewsets/configs/buttons.py +36 -0
- wbcore/contrib/guardian/viewsets/configs/displays.py +43 -0
- wbcore/contrib/guardian/viewsets/configs/endpoints.py +25 -0
- wbcore/contrib/guardian/viewsets/configs/titles.py +16 -0
- wbcore/contrib/guardian/viewsets/mixins.py +6 -0
- wbcore/contrib/guardian/viewsets/viewsets.py +141 -0
- wbcore/contrib/i18n/__init__.py +2 -0
- wbcore/contrib/i18n/buttons.py +33 -0
- wbcore/contrib/i18n/serializers/__init__.py +0 -0
- wbcore/contrib/i18n/serializers/fields.py +20 -0
- wbcore/contrib/i18n/serializers/mixins.py +13 -0
- wbcore/contrib/i18n/tests/conftest.py +11 -0
- wbcore/contrib/i18n/tests/test_viewsets.py +67 -0
- wbcore/contrib/i18n/translation.py +141 -0
- wbcore/contrib/i18n/viewsets.py +36 -0
- wbcore/contrib/icons/__init__.py +1 -0
- wbcore/contrib/icons/apps.py +5 -0
- wbcore/contrib/icons/backends/__init__.py +5 -0
- wbcore/contrib/icons/backends/default.py +375 -0
- wbcore/contrib/icons/backends/material.py +136 -0
- wbcore/contrib/icons/icons.py +167 -0
- wbcore/contrib/icons/models.py +11 -0
- wbcore/contrib/icons/serializers.py +18 -0
- wbcore/contrib/io/__init__.py +0 -0
- wbcore/contrib/io/admin.py +151 -0
- wbcore/contrib/io/apps.py +37 -0
- wbcore/contrib/io/backends/__init__.py +3 -0
- wbcore/contrib/io/backends/abstract.py +60 -0
- wbcore/contrib/io/backends/mail.py +39 -0
- wbcore/contrib/io/backends/utils.py +39 -0
- wbcore/contrib/io/configs/__init__.py +0 -0
- wbcore/contrib/io/configs/endpoints.py +13 -0
- wbcore/contrib/io/configurations/__init__.py +1 -0
- wbcore/contrib/io/configurations/base.py +7 -0
- wbcore/contrib/io/dynamic_preferences_registry.py +25 -0
- wbcore/contrib/io/enums.py +15 -0
- wbcore/contrib/io/exceptions.py +24 -0
- wbcore/contrib/io/factories.py +205 -0
- wbcore/contrib/io/fixtures/io.json +145 -0
- wbcore/contrib/io/import_export/backends/__init__.py +3 -0
- wbcore/contrib/io/import_export/backends/mail.py +51 -0
- wbcore/contrib/io/import_export/backends/sftp.py +69 -0
- wbcore/contrib/io/import_export/backends/stream.py +92 -0
- wbcore/contrib/io/import_export/parsers/__init__.py +0 -0
- wbcore/contrib/io/import_export/parsers/base_csv.py +36 -0
- wbcore/contrib/io/import_export/parsers/resources.py +50 -0
- wbcore/contrib/io/imports.py +313 -0
- wbcore/contrib/io/locale/de/LC_MESSAGES/django.po +144 -0
- wbcore/contrib/io/locale/de/LC_MESSAGES/django.po.translated +103 -0
- wbcore/contrib/io/locale/en/LC_MESSAGES/django.po +138 -0
- wbcore/contrib/io/locale/fr/LC_MESSAGES/django.po +138 -0
- wbcore/contrib/io/management/__init__.py +13 -0
- wbcore/contrib/io/migrations/0001_initial_squashed.py +319 -0
- wbcore/contrib/io/migrations/0002_importsource_creator.py +26 -0
- wbcore/contrib/io/migrations/0003_auto_20240103_1000.py +46 -0
- wbcore/contrib/io/migrations/0004_alter_importsource_status_exportsource.py +134 -0
- wbcore/contrib/io/migrations/0005_exportsource_data_alter_exportsource_query_str_and_more.py +67 -0
- wbcore/contrib/io/migrations/0006_alter_exportsource_query_params.py +20 -0
- wbcore/contrib/io/migrations/0007_alter_exportsource_query_params.py +23 -0
- wbcore/contrib/io/migrations/0008_importsource_resource_kwargs.py +18 -0
- wbcore/contrib/io/migrations/__init__.py +0 -0
- wbcore/contrib/io/mixins.py +37 -0
- wbcore/contrib/io/models.py +1037 -0
- wbcore/contrib/io/release_notes/1_0_0.md +13 -0
- wbcore/contrib/io/release_notes/__init__.py +0 -0
- wbcore/contrib/io/resources.py +176 -0
- wbcore/contrib/io/serializers.py +137 -0
- wbcore/contrib/io/signals.py +4 -0
- wbcore/contrib/io/tasks.py +27 -0
- wbcore/contrib/io/tests/__init__.py +0 -0
- wbcore/contrib/io/tests/conftest.py +42 -0
- wbcore/contrib/io/tests/test_backends.py +134 -0
- wbcore/contrib/io/tests/test_exports.py +130 -0
- wbcore/contrib/io/tests/test_imports.py +168 -0
- wbcore/contrib/io/tests/test_models.py +396 -0
- wbcore/contrib/io/tests/test_viewsets.py +271 -0
- wbcore/contrib/io/urls.py +29 -0
- wbcore/contrib/io/utils.py +44 -0
- wbcore/contrib/io/viewset_mixins.py +271 -0
- wbcore/contrib/io/viewsets.py +139 -0
- wbcore/contrib/notifications/__init__.py +0 -0
- wbcore/contrib/notifications/admin.py +63 -0
- wbcore/contrib/notifications/apps.py +43 -0
- wbcore/contrib/notifications/backends/__init__.py +0 -0
- wbcore/contrib/notifications/backends/abstract_backend.py +11 -0
- wbcore/contrib/notifications/backends/console/__init__.py +1 -0
- wbcore/contrib/notifications/backends/console/backends.py +25 -0
- wbcore/contrib/notifications/backends/firebase/__init__.py +1 -0
- wbcore/contrib/notifications/backends/firebase/backends.py +106 -0
- wbcore/contrib/notifications/configs.py +13 -0
- wbcore/contrib/notifications/configurations.py +9 -0
- wbcore/contrib/notifications/dispatch.py +90 -0
- wbcore/contrib/notifications/factories/__init__.py +0 -0
- wbcore/contrib/notifications/factories/notification_types.py +24 -0
- wbcore/contrib/notifications/factories/notifications.py +17 -0
- wbcore/contrib/notifications/factories/tokens.py +12 -0
- wbcore/contrib/notifications/locale/de/LC_MESSAGES/django.po +66 -0
- wbcore/contrib/notifications/locale/de/LC_MESSAGES/django.po.translated +63 -0
- wbcore/contrib/notifications/locale/en/LC_MESSAGES/django.po +61 -0
- wbcore/contrib/notifications/locale/fr/LC_MESSAGES/django.po +62 -0
- wbcore/contrib/notifications/migrations/0001_initial.py +116 -0
- wbcore/contrib/notifications/migrations/0002_notificationusertoken_unique_user_token_device.py +18 -0
- wbcore/contrib/notifications/migrations/0003_notificationusertoken_updated.py +17 -0
- wbcore/contrib/notifications/migrations/0004_alter_notification_body.py +17 -0
- wbcore/contrib/notifications/migrations/0005_alter_notification_endpoint.py +17 -0
- wbcore/contrib/notifications/migrations/0006_notification_created.py +25 -0
- wbcore/contrib/notifications/migrations/0007_notificationtype_resource_button_label.py +19 -0
- wbcore/contrib/notifications/migrations/0008_notificationtype_is_lock.py +18 -0
- wbcore/contrib/notifications/migrations/0009_alter_notificationtypesetting_options_and_more.py +32 -0
- wbcore/contrib/notifications/migrations/__init__.py +0 -0
- wbcore/contrib/notifications/models/__init__.py +3 -0
- wbcore/contrib/notifications/models/notification_types.py +165 -0
- wbcore/contrib/notifications/models/notifications.py +82 -0
- wbcore/contrib/notifications/models/tokens.py +46 -0
- wbcore/contrib/notifications/release_notes/1_0_0.md +13 -0
- wbcore/contrib/notifications/release_notes/__init__.py +0 -0
- wbcore/contrib/notifications/serializers/__init__.py +5 -0
- wbcore/contrib/notifications/serializers/notification_types.py +51 -0
- wbcore/contrib/notifications/serializers/notifications.py +33 -0
- wbcore/contrib/notifications/static/notifications/service-worker.js +1 -0
- wbcore/contrib/notifications/tasks.py +57 -0
- wbcore/contrib/notifications/templates/notifications/notification_template.html +43 -0
- wbcore/contrib/notifications/tests/__init__.py +0 -0
- wbcore/contrib/notifications/tests/conftest.py +47 -0
- wbcore/contrib/notifications/tests/test_backends/__init__.py +0 -0
- wbcore/contrib/notifications/tests/test_backends/test_firebase.py +79 -0
- wbcore/contrib/notifications/tests/test_configs.py +7 -0
- wbcore/contrib/notifications/tests/test_models/__init__.py +0 -0
- wbcore/contrib/notifications/tests/test_models/test_notification_types.py +85 -0
- wbcore/contrib/notifications/tests/test_models/test_notifications.py +46 -0
- wbcore/contrib/notifications/tests/test_models/test_tokens.py +30 -0
- wbcore/contrib/notifications/tests/test_serializers/__init__.py +0 -0
- wbcore/contrib/notifications/tests/test_serializers/test_notification_types.py +59 -0
- wbcore/contrib/notifications/tests/test_serializers/test_notifications.py +24 -0
- wbcore/contrib/notifications/tests/test_tasks.py +72 -0
- wbcore/contrib/notifications/tests/test_utils.py +0 -0
- wbcore/contrib/notifications/tests/test_viewsets/__init__.py +0 -0
- wbcore/contrib/notifications/tests/test_viewsets/test_notification_types.py +120 -0
- wbcore/contrib/notifications/tests/test_viewsets/test_notifications.py +143 -0
- wbcore/contrib/notifications/urls.py +27 -0
- wbcore/contrib/notifications/utils.py +27 -0
- wbcore/contrib/notifications/views.py +63 -0
- wbcore/contrib/notifications/viewsets/__init__.py +5 -0
- wbcore/contrib/notifications/viewsets/configs/notification_types.py +49 -0
- wbcore/contrib/notifications/viewsets/configs/notifications.py +91 -0
- wbcore/contrib/notifications/viewsets/menus.py +15 -0
- wbcore/contrib/notifications/viewsets/notification_types.py +51 -0
- wbcore/contrib/notifications/viewsets/notifications.py +58 -0
- wbcore/contrib/pandas/__init__.py +0 -0
- wbcore/contrib/pandas/fields.py +172 -0
- wbcore/contrib/pandas/filters.py +118 -0
- wbcore/contrib/pandas/filterset.py +28 -0
- wbcore/contrib/pandas/metadata.py +15 -0
- wbcore/contrib/pandas/tests/__init__.py +0 -0
- wbcore/contrib/pandas/tests/test_base.py +22 -0
- wbcore/contrib/pandas/tests/test_fields/__init__.py +0 -0
- wbcore/contrib/pandas/tests/test_fields/test_number_fields.py +19 -0
- wbcore/contrib/pandas/tests/test_filters/__init__.py +0 -0
- wbcore/contrib/pandas/tests/test_filters/test_pandas.py +115 -0
- wbcore/contrib/pandas/tests/test_views.py +22 -0
- wbcore/contrib/pandas/utils.py +170 -0
- wbcore/contrib/pandas/views.py +158 -0
- wbcore/contrib/tags/__init__.py +0 -0
- wbcore/contrib/tags/admin.py +17 -0
- wbcore/contrib/tags/apps.py +9 -0
- wbcore/contrib/tags/factories.py +28 -0
- wbcore/contrib/tags/filters.py +43 -0
- wbcore/contrib/tags/migrations/0001_initial.py +62 -0
- wbcore/contrib/tags/migrations/__init__.py +0 -0
- wbcore/contrib/tags/models/__init__.py +2 -0
- wbcore/contrib/tags/models/mixins.py +27 -0
- wbcore/contrib/tags/models/tags.py +107 -0
- wbcore/contrib/tags/release_notes/1_0_0.md +13 -0
- wbcore/contrib/tags/release_notes/__init__.py +0 -0
- wbcore/contrib/tags/serializers.py +90 -0
- wbcore/contrib/tags/signals.py +19 -0
- wbcore/contrib/tags/tests/__init__.py +0 -0
- wbcore/contrib/tags/tests/conftest.py +7 -0
- wbcore/contrib/tags/tests/tests.py +144 -0
- wbcore/contrib/tags/urls.py +15 -0
- wbcore/contrib/tags/viewsets/__init__.py +10 -0
- wbcore/contrib/tags/viewsets/display.py +50 -0
- wbcore/contrib/tags/viewsets/menu.py +15 -0
- wbcore/contrib/tags/viewsets/viewsets.py +58 -0
- wbcore/contrib/workflow/__init__.py +1 -0
- wbcore/contrib/workflow/admin/__init__.py +15 -0
- wbcore/contrib/workflow/admin/condition.py +9 -0
- wbcore/contrib/workflow/admin/data.py +15 -0
- wbcore/contrib/workflow/admin/display.py +9 -0
- wbcore/contrib/workflow/admin/process.py +37 -0
- wbcore/contrib/workflow/admin/step.py +92 -0
- wbcore/contrib/workflow/admin/transition.py +9 -0
- wbcore/contrib/workflow/admin/workflow.py +9 -0
- wbcore/contrib/workflow/apps.py +25 -0
- wbcore/contrib/workflow/configs.py +11 -0
- wbcore/contrib/workflow/decorators.py +25 -0
- wbcore/contrib/workflow/dispatch.py +24 -0
- wbcore/contrib/workflow/factories/__init__.py +18 -0
- wbcore/contrib/workflow/factories/condition.py +16 -0
- wbcore/contrib/workflow/factories/data.py +23 -0
- wbcore/contrib/workflow/factories/display.py +28 -0
- wbcore/contrib/workflow/factories/process.py +70 -0
- wbcore/contrib/workflow/factories/step.py +157 -0
- wbcore/contrib/workflow/factories/transition.py +27 -0
- wbcore/contrib/workflow/factories/workflow.py +20 -0
- wbcore/contrib/workflow/filters/__init__.py +24 -0
- wbcore/contrib/workflow/filters/condition.py +24 -0
- wbcore/contrib/workflow/filters/data.py +25 -0
- wbcore/contrib/workflow/filters/process.py +165 -0
- wbcore/contrib/workflow/filters/step.py +227 -0
- wbcore/contrib/workflow/filters/transition.py +42 -0
- wbcore/contrib/workflow/filters/workflow.py +44 -0
- wbcore/contrib/workflow/fixtures/workflow.json +612 -0
- wbcore/contrib/workflow/locale/de/LC_MESSAGES/django.po +1180 -0
- wbcore/contrib/workflow/locale/de/LC_MESSAGES/django.po.translated +1326 -0
- wbcore/contrib/workflow/locale/en/LC_MESSAGES/django.po +1102 -0
- wbcore/contrib/workflow/locale/fr/LC_MESSAGES/django.po +1114 -0
- wbcore/contrib/workflow/migrations/0001_initial.py +788 -0
- wbcore/contrib/workflow/migrations/0002_alter_step_step_type.py +31 -0
- wbcore/contrib/workflow/migrations/0003_alter_condition_attribute_name_and_more.py +75 -0
- wbcore/contrib/workflow/migrations/0004_alter_userstep_assignee_method.py +27 -0
- wbcore/contrib/workflow/migrations/0005_alter_userstep_assignee_method.py +17 -0
- wbcore/contrib/workflow/migrations/__init__.py +0 -0
- wbcore/contrib/workflow/models/__init__.py +19 -0
- wbcore/contrib/workflow/models/condition.py +124 -0
- wbcore/contrib/workflow/models/data.py +242 -0
- wbcore/contrib/workflow/models/display.py +34 -0
- wbcore/contrib/workflow/models/process.py +244 -0
- wbcore/contrib/workflow/models/step.py +778 -0
- wbcore/contrib/workflow/models/transition.py +71 -0
- wbcore/contrib/workflow/models/workflow.py +317 -0
- wbcore/contrib/workflow/serializers/__init__.py +37 -0
- wbcore/contrib/workflow/serializers/condition.py +65 -0
- wbcore/contrib/workflow/serializers/data.py +136 -0
- wbcore/contrib/workflow/serializers/display.py +25 -0
- wbcore/contrib/workflow/serializers/process.py +184 -0
- wbcore/contrib/workflow/serializers/signals.py +26 -0
- wbcore/contrib/workflow/serializers/step.py +365 -0
- wbcore/contrib/workflow/serializers/transition.py +81 -0
- wbcore/contrib/workflow/serializers/workflow.py +125 -0
- wbcore/contrib/workflow/sites.py +43 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/assignedprocessstep.md +33 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/condition.md +24 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/decisionstep.md +30 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/emailstep.md +45 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/finishstep.md +33 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/joinstep.md +33 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/process.md +33 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/processstep.md +51 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/scriptstep.md +33 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/splitstep.md +30 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/startstep.md +27 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/transition.md +27 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/userstep.md +42 -0
- wbcore/contrib/workflow/static/workflow/markdown/documentation/workflow.md +32 -0
- wbcore/contrib/workflow/templates/Test_Templates.txt +25 -0
- wbcore/contrib/workflow/tests/__init__.py +0 -0
- wbcore/contrib/workflow/tests/conftest.py +281 -0
- wbcore/contrib/workflow/tests/test_configs.py +6 -0
- wbcore/contrib/workflow/tests/test_dispatch.py +94 -0
- wbcore/contrib/workflow/tests/test_displays.py +42 -0
- wbcore/contrib/workflow/tests/test_filters.py +104 -0
- wbcore/contrib/workflow/tests/test_models/step/test_decision_step.py +82 -0
- wbcore/contrib/workflow/tests/test_models/step/test_email_step.py +85 -0
- wbcore/contrib/workflow/tests/test_models/step/test_finish_step.py +167 -0
- wbcore/contrib/workflow/tests/test_models/step/test_join_step.py +117 -0
- wbcore/contrib/workflow/tests/test_models/step/test_script_step.py +24 -0
- wbcore/contrib/workflow/tests/test_models/step/test_split_step.py +49 -0
- wbcore/contrib/workflow/tests/test_models/step/test_step.py +756 -0
- wbcore/contrib/workflow/tests/test_models/step/test_user_step.py +225 -0
- wbcore/contrib/workflow/tests/test_models/test_condition.py +103 -0
- wbcore/contrib/workflow/tests/test_models/test_data.py +134 -0
- wbcore/contrib/workflow/tests/test_models/test_process.py +98 -0
- wbcore/contrib/workflow/tests/test_models/test_transition.py +128 -0
- wbcore/contrib/workflow/tests/test_models/test_workflow.py +358 -0
- wbcore/contrib/workflow/tests/test_serializers.py +200 -0
- wbcore/contrib/workflow/tests/test_viewsets.py +300 -0
- wbcore/contrib/workflow/tests/test_workflow_assignees.py +236 -0
- wbcore/contrib/workflow/urls.py +67 -0
- wbcore/contrib/workflow/utils.py +13 -0
- wbcore/contrib/workflow/viewsets/__init__.py +17 -0
- wbcore/contrib/workflow/viewsets/buttons/__init__.py +1 -0
- wbcore/contrib/workflow/viewsets/buttons/step.py +68 -0
- wbcore/contrib/workflow/viewsets/condition.py +32 -0
- wbcore/contrib/workflow/viewsets/data.py +33 -0
- wbcore/contrib/workflow/viewsets/display/__init__.py +15 -0
- wbcore/contrib/workflow/viewsets/display/condition.py +51 -0
- wbcore/contrib/workflow/viewsets/display/data.py +51 -0
- wbcore/contrib/workflow/viewsets/display/process.py +186 -0
- wbcore/contrib/workflow/viewsets/display/step.py +454 -0
- wbcore/contrib/workflow/viewsets/display/transition.py +76 -0
- wbcore/contrib/workflow/viewsets/display/workflow.py +168 -0
- wbcore/contrib/workflow/viewsets/endpoints/__init__.py +5 -0
- wbcore/contrib/workflow/viewsets/endpoints/condition.py +9 -0
- wbcore/contrib/workflow/viewsets/endpoints/data.py +9 -0
- wbcore/contrib/workflow/viewsets/endpoints/process.py +11 -0
- wbcore/contrib/workflow/viewsets/endpoints/step.py +24 -0
- wbcore/contrib/workflow/viewsets/endpoints/transition.py +19 -0
- wbcore/contrib/workflow/viewsets/menu/__init__.py +15 -0
- wbcore/contrib/workflow/viewsets/menu/condition.py +19 -0
- wbcore/contrib/workflow/viewsets/menu/data.py +19 -0
- wbcore/contrib/workflow/viewsets/menu/process.py +19 -0
- wbcore/contrib/workflow/viewsets/menu/step.py +124 -0
- wbcore/contrib/workflow/viewsets/menu/transition.py +19 -0
- wbcore/contrib/workflow/viewsets/menu/workflow.py +19 -0
- wbcore/contrib/workflow/viewsets/process.py +175 -0
- wbcore/contrib/workflow/viewsets/step.py +229 -0
- wbcore/contrib/workflow/viewsets/titles/__init__.py +16 -0
- wbcore/contrib/workflow/viewsets/titles/condition.py +14 -0
- wbcore/contrib/workflow/viewsets/titles/data.py +14 -0
- wbcore/contrib/workflow/viewsets/titles/process.py +27 -0
- wbcore/contrib/workflow/viewsets/titles/step.py +102 -0
- wbcore/contrib/workflow/viewsets/titles/transition.py +14 -0
- wbcore/contrib/workflow/viewsets/titles/workflow.py +14 -0
- wbcore/contrib/workflow/viewsets/transition.py +58 -0
- wbcore/contrib/workflow/viewsets/workflow.py +37 -0
- wbcore/contrib/workflow/workflows/__init__.py +1 -0
- wbcore/contrib/workflow/workflows/assignees.py +88 -0
- wbcore/crontab/__init__.py +0 -0
- wbcore/crontab/serializers.py +24 -0
- wbcore/crontab/viewsets.py +10 -0
- wbcore/dispatch.py +56 -0
- wbcore/docs/__init__.py +23 -0
- wbcore/docs/orderable.md +29 -0
- wbcore/docs/reparent.md +13 -0
- wbcore/dynamic_preferences_registry.py +131 -0
- wbcore/enums.py +50 -0
- wbcore/filters/__init__.py +21 -0
- wbcore/filters/backends.py +19 -0
- wbcore/filters/defaults.py +70 -0
- wbcore/filters/fields/__init__.py +15 -0
- wbcore/filters/fields/booleans.py +7 -0
- wbcore/filters/fields/choices.py +60 -0
- wbcore/filters/fields/content_type.py +45 -0
- wbcore/filters/fields/datetime.py +117 -0
- wbcore/filters/fields/models.py +123 -0
- wbcore/filters/fields/multiple_lookups.py +20 -0
- wbcore/filters/fields/numbers.py +48 -0
- wbcore/filters/fields/text.py +7 -0
- wbcore/filters/filterset.py +250 -0
- wbcore/filters/lookups.py +41 -0
- wbcore/filters/mixins.py +111 -0
- wbcore/filters/utils.py +21 -0
- wbcore/forms.py +125 -0
- wbcore/frontend.py +23 -0
- wbcore/frontend_user_configuration.py +96 -0
- wbcore/fsm/__init__.py +0 -0
- wbcore/fsm/markdown_extensions.py +31 -0
- wbcore/fsm/mixins.py +128 -0
- wbcore/locale/de/LC_MESSAGES/django.po +1252 -0
- wbcore/locale/de/LC_MESSAGES/django.po.translated +1580 -0
- wbcore/locale/en/LC_MESSAGES/django.po +1234 -0
- wbcore/locale/fr/LC_MESSAGES/django.po +1235 -0
- wbcore/management/__init__.py +88 -0
- wbcore/management/commands/__init__.py +0 -0
- wbcore/management/commands/bootstrap.py +18 -0
- wbcore/management/commands/clean_obsolete_object.py +21 -0
- wbcore/management/commands/handle_release_notes.py +54 -0
- wbcore/markdown/__init__.py +1 -0
- wbcore/markdown/admin.py +9 -0
- wbcore/markdown/dynamic_preferences_registry.py +16 -0
- wbcore/markdown/models.py +41 -0
- wbcore/markdown/template.py +38 -0
- wbcore/markdown/utils.py +37 -0
- wbcore/markdown/views.py +50 -0
- wbcore/menus/__init__.py +2 -0
- wbcore/menus/menus.py +96 -0
- wbcore/menus/registry.py +28 -0
- wbcore/menus/views.py +41 -0
- wbcore/messages.py +60 -0
- wbcore/metadata/__init__.py +0 -0
- wbcore/metadata/configs/__init__.py +0 -0
- wbcore/metadata/configs/base.py +86 -0
- wbcore/metadata/configs/buttons/__init__.py +4 -0
- wbcore/metadata/configs/buttons/bases.py +89 -0
- wbcore/metadata/configs/buttons/buttons.py +138 -0
- wbcore/metadata/configs/buttons/enums.py +68 -0
- wbcore/metadata/configs/buttons/metadata.py +8 -0
- wbcore/metadata/configs/buttons/view_config.py +145 -0
- wbcore/metadata/configs/display/__init__.py +4 -0
- wbcore/metadata/configs/display/configs.py +16 -0
- wbcore/metadata/configs/display/display.py +234 -0
- wbcore/metadata/configs/display/formatting.py +47 -0
- wbcore/metadata/configs/display/instance_display/__init__.py +15 -0
- wbcore/metadata/configs/display/instance_display/display.py +40 -0
- wbcore/metadata/configs/display/instance_display/enums.py +7 -0
- wbcore/metadata/configs/display/instance_display/layouts/__init__.py +3 -0
- wbcore/metadata/configs/display/instance_display/layouts/inlines.py +58 -0
- wbcore/metadata/configs/display/instance_display/layouts/layouts.py +77 -0
- wbcore/metadata/configs/display/instance_display/layouts/sections.py +43 -0
- wbcore/metadata/configs/display/instance_display/operators.py +22 -0
- wbcore/metadata/configs/display/instance_display/pages.py +40 -0
- wbcore/metadata/configs/display/instance_display/shortcuts.py +81 -0
- wbcore/metadata/configs/display/instance_display/signals.py +3 -0
- wbcore/metadata/configs/display/instance_display/styles.py +42 -0
- wbcore/metadata/configs/display/instance_display/utils.py +74 -0
- wbcore/metadata/configs/display/list_display.py +290 -0
- wbcore/metadata/configs/display/models.py +26 -0
- wbcore/metadata/configs/display/view_config.py +85 -0
- wbcore/metadata/configs/display/views.py +48 -0
- wbcore/metadata/configs/display/windows.py +28 -0
- wbcore/metadata/configs/documentations.py +11 -0
- wbcore/metadata/configs/endpoints.py +189 -0
- wbcore/metadata/configs/fields.py +22 -0
- wbcore/metadata/configs/filter_fields.py +41 -0
- wbcore/metadata/configs/identifiers.py +27 -0
- wbcore/metadata/configs/ordering_fields.py +24 -0
- wbcore/metadata/configs/paginations.py +11 -0
- wbcore/metadata/configs/preview.py +41 -0
- wbcore/metadata/configs/primary_keys.py +9 -0
- wbcore/metadata/configs/search_fields.py +9 -0
- wbcore/metadata/configs/titles.py +48 -0
- wbcore/metadata/configs/window_types.py +13 -0
- wbcore/metadata/exceptions.py +0 -0
- wbcore/metadata/metadata.py +34 -0
- wbcore/metadata/mixins.py +106 -0
- wbcore/metadata/tests/__init__.py +0 -0
- wbcore/metadata/tests/test_buttons.py +165 -0
- wbcore/metadata/utils.py +4 -0
- wbcore/migrations/0001_initial_squashed_squashed_0010_preset_appliedpreset.py +398 -0
- wbcore/migrations/0011_genericmodel.py +22 -0
- wbcore/migrations/0012_delete_notification.py +15 -0
- wbcore/migrations/0013_delete_colorgradient.py +14 -0
- wbcore/migrations/0014_biguserobjectpermission_system.py +44 -0
- wbcore/migrations/__init__.py +0 -0
- wbcore/models/__init__.py +6 -0
- wbcore/models/base.py +184 -0
- wbcore/models/fields.py +29 -0
- wbcore/models/orderable.py +6 -0
- wbcore/pagination.py +64 -0
- wbcore/pandas/__init__.py +53 -0
- wbcore/pandas/fields.py +25 -0
- wbcore/pandas/filterset.py +9 -0
- wbcore/pandas/utils.py +25 -0
- wbcore/pandas/views.py +9 -0
- wbcore/permissions/__init__.py +0 -0
- wbcore/permissions/backend.py +36 -0
- wbcore/permissions/mixins.py +72 -0
- wbcore/permissions/permissions.py +51 -0
- wbcore/permissions/registry.py +33 -0
- wbcore/permissions/shortcuts.py +38 -0
- wbcore/permissions/utils.py +26 -0
- wbcore/release_notes/__init__.py +0 -0
- wbcore/release_notes/admin.py +30 -0
- wbcore/release_notes/buttons.py +26 -0
- wbcore/release_notes/display.py +52 -0
- wbcore/release_notes/filters.py +36 -0
- wbcore/release_notes/models.py +66 -0
- wbcore/release_notes/serializers.py +12 -0
- wbcore/release_notes/utils.py +14 -0
- wbcore/release_notes/viewsets.py +52 -0
- wbcore/reversion/__init__.py +0 -0
- wbcore/reversion/filters.py +39 -0
- wbcore/reversion/serializers.py +81 -0
- wbcore/reversion/viewsets/__init__.py +6 -0
- wbcore/reversion/viewsets/buttons.py +95 -0
- wbcore/reversion/viewsets/displays.py +45 -0
- wbcore/reversion/viewsets/endpoints.py +30 -0
- wbcore/reversion/viewsets/titles.py +19 -0
- wbcore/reversion/viewsets/viewsets.py +112 -0
- wbcore/routers.py +63 -0
- wbcore/search/__init__.py +62 -0
- wbcore/serializers/__init__.py +68 -0
- wbcore/serializers/fields/__init__.py +59 -0
- wbcore/serializers/fields/boolean.py +51 -0
- wbcore/serializers/fields/choice.py +60 -0
- wbcore/serializers/fields/datetime.py +178 -0
- wbcore/serializers/fields/fields.py +193 -0
- wbcore/serializers/fields/file.py +20 -0
- wbcore/serializers/fields/fsm.py +20 -0
- wbcore/serializers/fields/json.py +56 -0
- wbcore/serializers/fields/list.py +104 -0
- wbcore/serializers/fields/mixins.py +196 -0
- wbcore/serializers/fields/number.py +94 -0
- wbcore/serializers/fields/other.py +34 -0
- wbcore/serializers/fields/primary_key.py +22 -0
- wbcore/serializers/fields/related.py +150 -0
- wbcore/serializers/fields/text.py +141 -0
- wbcore/serializers/fields/types.py +46 -0
- wbcore/serializers/mixins.py +24 -0
- wbcore/serializers/serializers.py +425 -0
- wbcore/serializers/utils.py +143 -0
- wbcore/shares/__init__.py +1 -0
- wbcore/shares/config.py +64 -0
- wbcore/shares/decorator.py +13 -0
- wbcore/shares/signals.py +3 -0
- wbcore/shares/sites.py +29 -0
- wbcore/shares/views.py +25 -0
- wbcore/signals/__init__.py +7 -0
- wbcore/signals/clone.py +4 -0
- wbcore/signals/filters.py +3 -0
- wbcore/signals/instance_buttons.py +5 -0
- wbcore/signals/merge.py +4 -0
- wbcore/signals/models.py +4 -0
- wbcore/signals/permissions.py +3 -0
- wbcore/signals/serializers.py +5 -0
- wbcore/tasks.py +87 -0
- wbcore/template.py +29 -0
- wbcore/templates/errors/404.html +134 -0
- wbcore/templates/errors/500.html +138 -0
- wbcore/templates/errors/503.html +132 -0
- wbcore/templates/errors/custom.html +132 -0
- wbcore/templates/forms.py +0 -0
- wbcore/templates/notifications/email_template.html +43 -0
- wbcore/templates/reversion/__init__.py +0 -0
- wbcore/templates/reversion/compare_detail.html +19 -0
- wbcore/templates/wbcore/admin/change_list.html +8 -0
- wbcore/templates/wbcore/admin/csv_form.html +15 -0
- wbcore/templates/wbcore/dynamic_color_array.html +29 -0
- wbcore/templates/wbcore/email_base_template.html +335 -0
- wbcore/templates/wbcore/email_notification_template.html +10 -0
- wbcore/templates/wbcore/frontend.html +51 -0
- wbcore/test/__init__.py +30 -0
- wbcore/test/e2e_helpers_methods/e2e_checks.py +127 -0
- wbcore/test/e2e_helpers_methods/e2e_helper_methods.py +397 -0
- wbcore/test/mixins.py +660 -0
- wbcore/test/signals.py +6 -0
- wbcore/test/tests.py +129 -0
- wbcore/test/utils.py +227 -0
- wbcore/tests/__init__.py +0 -0
- wbcore/tests/conftest.py +55 -0
- wbcore/tests/e2e/__init__.py +0 -0
- wbcore/tests/e2e/test_e2e.py +25 -0
- wbcore/tests/models.py +6 -0
- wbcore/tests/test_cache/__init__.py +0 -0
- wbcore/tests/test_cache/test_decorators.py +28 -0
- wbcore/tests/test_cache/test_mixins.py +30 -0
- wbcore/tests/test_cache/test_registry.py +58 -0
- wbcore/tests/test_configs.py +58 -0
- wbcore/tests/test_enums.py +56 -0
- wbcore/tests/test_fields/__init__.py +0 -0
- wbcore/tests/test_fields/test_boolean_fields.py +49 -0
- wbcore/tests/test_fields/test_choice_fields.py +57 -0
- wbcore/tests/test_fields/test_datetime_fields.py +152 -0
- wbcore/tests/test_fields/test_fields.py +24 -0
- wbcore/tests/test_fields/test_file_fields.py +52 -0
- wbcore/tests/test_fields/test_json_fields.py +28 -0
- wbcore/tests/test_fields/test_list_fields.py +27 -0
- wbcore/tests/test_fields/test_mixins.py +112 -0
- wbcore/tests/test_fields/test_number_fields.py +166 -0
- wbcore/tests/test_fields/test_other_fields.py +60 -0
- wbcore/tests/test_fields/test_primary_key_fields.py +52 -0
- wbcore/tests/test_fields/test_related.py +81 -0
- wbcore/tests/test_fields/test_text_fields.py +118 -0
- wbcore/tests/test_filters/__init__.py +0 -0
- wbcore/tests/test_filters/test_mixins.py +109 -0
- wbcore/tests/test_list_display.py +29 -0
- wbcore/tests/test_models/__init__.py +0 -0
- wbcore/tests/test_models/test_fields.py +26 -0
- wbcore/tests/test_models/test_mixins.py +32 -0
- wbcore/tests/test_new_display/__init__.py +0 -0
- wbcore/tests/test_new_display/test_inlines.py +13 -0
- wbcore/tests/test_new_display/test_layouts.py +15 -0
- wbcore/tests/test_new_display/test_operators.py +16 -0
- wbcore/tests/test_new_display/test_pages.py +8 -0
- wbcore/tests/test_new_display/test_sections.py +0 -0
- wbcore/tests/test_new_display/test_shortcuts.py +38 -0
- wbcore/tests/test_new_display/test_utils.py +49 -0
- wbcore/tests/test_pagination.py +32 -0
- wbcore/tests/test_permissions/test_backend.py +29 -0
- wbcore/tests/test_serializers/__init__.py +0 -0
- wbcore/tests/test_serializers/test_fields.py +141 -0
- wbcore/tests/test_serializers/test_mixins.py +54 -0
- wbcore/tests/test_serializers/test_related.py +78 -0
- wbcore/tests/test_something.py +39 -0
- wbcore/tests/test_utils/__init__.py +0 -0
- wbcore/tests/test_utils/test_date.py +50 -0
- wbcore/tests/test_utils/test_date_builder.py +124 -0
- wbcore/tests/test_utils/test_primary.py +80 -0
- wbcore/tests/test_utils/test_signals.py +40 -0
- wbcore/tests/test_viewsets.py +21 -0
- wbcore/urls.py +117 -0
- wbcore/utils/__init__.py +13 -0
- wbcore/utils/cache.py +8 -0
- wbcore/utils/date.py +237 -0
- wbcore/utils/date_builder/__init__.py +18 -0
- wbcore/utils/date_builder/components.py +42 -0
- wbcore/utils/date_builder/offsets.py +27 -0
- wbcore/utils/deprecations.py +11 -0
- wbcore/utils/enum.py +23 -0
- wbcore/utils/figures.py +286 -0
- wbcore/utils/html.py +8 -0
- wbcore/utils/importlib.py +13 -0
- wbcore/utils/itertools.py +40 -0
- wbcore/utils/models.py +293 -0
- wbcore/utils/numbers.py +69 -0
- wbcore/utils/prettytable.py +35 -0
- wbcore/utils/print.py +29 -0
- wbcore/utils/renderers.py +13 -0
- wbcore/utils/reportlab.py +7 -0
- wbcore/utils/rrules.py +82 -0
- wbcore/utils/serializers.py +9 -0
- wbcore/utils/settings.py +5 -0
- wbcore/utils/signals.py +36 -0
- wbcore/utils/string_loader.py +42 -0
- wbcore/utils/strings.py +77 -0
- wbcore/utils/urls.py +70 -0
- wbcore/utils/views.py +207 -0
- wbcore/views.py +26 -0
- wbcore/viewsets/__init__.py +12 -0
- wbcore/viewsets/encoders.py +18 -0
- wbcore/viewsets/generics.py +5 -0
- wbcore/viewsets/mixins.py +295 -0
- wbcore/viewsets/utils.py +27 -0
- wbcore/viewsets/viewsets.py +202 -0
- wbcore/workers.py +8 -0
- wbcore-1.59.9.dist-info/METADATA +65 -0
- wbcore-1.59.9.dist-info/RECORD +1239 -0
- wbcore-1.59.9.dist-info/WHEEL +5 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
from django.db.models import Model
|
|
2
|
+
from django.utils.translation import gettext as _
|
|
3
|
+
from rest_framework.exceptions import ValidationError
|
|
4
|
+
from rest_framework.reverse import reverse
|
|
5
|
+
|
|
6
|
+
from wbcore import serializers as wb_serializers
|
|
7
|
+
from wbcore.content_type.serializers import ContentTypeRepresentationSerializer
|
|
8
|
+
from wbcore.contrib.icons import WBIcon
|
|
9
|
+
from wbcore.contrib.workflow.models import Workflow
|
|
10
|
+
from wbcore.contrib.workflow.sites import workflow_site
|
|
11
|
+
from wbcore.enums import RequestType
|
|
12
|
+
from wbcore.metadata.configs import buttons as bt
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class WorkflowModelSerializer(wb_serializers.ModelSerializer):
|
|
16
|
+
_model = ContentTypeRepresentationSerializer(source="model", allowed_types=workflow_site.model_content_types)
|
|
17
|
+
graph = wb_serializers.ImageField(required=False, read_only=True, label=_("Graph"))
|
|
18
|
+
|
|
19
|
+
@wb_serializers.register_resource()
|
|
20
|
+
def steps_inline(self, instance: Workflow, request, user) -> dict[str, str]:
|
|
21
|
+
if not self.context.get("request"):
|
|
22
|
+
return {}
|
|
23
|
+
return {
|
|
24
|
+
"steps": reverse("wbcore:workflow:step-workflow-list", args=[instance.pk], request=self.context["request"])
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@wb_serializers.register_resource()
|
|
28
|
+
def transitions_inline(self, instance: Workflow, request, user) -> dict[str, str]:
|
|
29
|
+
if not self.context.get("request"):
|
|
30
|
+
return {}
|
|
31
|
+
return {
|
|
32
|
+
"transitions": reverse(
|
|
33
|
+
"wbcore:workflow:transition-workflow-list", args=[instance.pk], request=self.context["request"]
|
|
34
|
+
)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@wb_serializers.register_resource()
|
|
38
|
+
def processes_inline(self, instance: Workflow, request, user) -> dict[str, str]:
|
|
39
|
+
if not self.context.get("request"):
|
|
40
|
+
return {}
|
|
41
|
+
return {
|
|
42
|
+
"processes": reverse(
|
|
43
|
+
"wbcore:workflow:process-workflow-list", args=[instance.pk], request=self.context["request"]
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@wb_serializers.register_resource()
|
|
48
|
+
def data_inline(self, instance: Workflow, request, user) -> dict[str, str]:
|
|
49
|
+
if not self.context.get("request"):
|
|
50
|
+
return {}
|
|
51
|
+
return {
|
|
52
|
+
"data": reverse("wbcore:workflow:data-workflow-list", args=[instance.pk], request=self.context["request"])
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@wb_serializers.register_dynamic_button()
|
|
56
|
+
def start_workflow_buttons(self, instance: Workflow, request, user):
|
|
57
|
+
buttons = []
|
|
58
|
+
for step in instance.get_start_steps_for_workflow():
|
|
59
|
+
buttons.append(
|
|
60
|
+
bt.ActionButton(
|
|
61
|
+
method=RequestType.PATCH,
|
|
62
|
+
identifiers=("workflow:process",),
|
|
63
|
+
endpoint=f"{reverse('wbcore:workflow:workflow-start', args=[instance.pk], request=request)}?step_id={step.pk}",
|
|
64
|
+
label=_("Start {}").format(step.workflow.name),
|
|
65
|
+
icon=WBIcon.START.icon,
|
|
66
|
+
description_fields=_("Are you sure you want to start workflow {}?").format(step.workflow.name),
|
|
67
|
+
title=_("Start {}").format(step.workflow.name),
|
|
68
|
+
action_label=_("Starting {}").format(step.workflow.name),
|
|
69
|
+
)
|
|
70
|
+
)
|
|
71
|
+
return buttons
|
|
72
|
+
|
|
73
|
+
def validate(self, data: dict) -> dict:
|
|
74
|
+
if "status_field" in data:
|
|
75
|
+
status_field: str | None = data["status_field"]
|
|
76
|
+
else:
|
|
77
|
+
status_field: str | None = self.instance.status_field if self.instance else None
|
|
78
|
+
if "model" in data:
|
|
79
|
+
model: Model | None = data["model"]
|
|
80
|
+
else:
|
|
81
|
+
model: Model | None = self.instance.model if self.instance else None
|
|
82
|
+
preserve_instance: bool | None = data.get(
|
|
83
|
+
"preserve_instance", self.instance.preserve_instance if self.instance else None
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
if preserve_instance and not bool(model):
|
|
87
|
+
raise ValidationError({"preserve_instance": _("Can only preserve the instance when a model is attached.")})
|
|
88
|
+
|
|
89
|
+
if model and status_field:
|
|
90
|
+
if not (model_class := model.model_class()):
|
|
91
|
+
raise ValidationError({"model": _("Model not found.")})
|
|
92
|
+
if not hasattr(model_class, status_field):
|
|
93
|
+
raise ValidationError({"status_field": _("This model does not implement the specified status field.")})
|
|
94
|
+
return data
|
|
95
|
+
|
|
96
|
+
class Meta:
|
|
97
|
+
dependency_map = {
|
|
98
|
+
"status_field": ["model"],
|
|
99
|
+
"preserve_instance": ["model"],
|
|
100
|
+
}
|
|
101
|
+
model = Workflow
|
|
102
|
+
fields = (
|
|
103
|
+
"id",
|
|
104
|
+
"name",
|
|
105
|
+
"single_instance_execution",
|
|
106
|
+
"model",
|
|
107
|
+
"_model",
|
|
108
|
+
"status_field",
|
|
109
|
+
"_additional_resources",
|
|
110
|
+
"_buttons",
|
|
111
|
+
"preserve_instance",
|
|
112
|
+
"graph",
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
class WorkflowRepresentationSerializer(wb_serializers.RepresentationSerializer):
|
|
117
|
+
_detail = wb_serializers.HyperlinkField(reverse_name="wbcore:workflow:workflow-detail")
|
|
118
|
+
|
|
119
|
+
class Meta:
|
|
120
|
+
model = Workflow
|
|
121
|
+
fields = (
|
|
122
|
+
"id",
|
|
123
|
+
"name",
|
|
124
|
+
"_detail",
|
|
125
|
+
)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
from dataclasses import dataclass, field
|
|
2
|
+
from typing import Callable
|
|
3
|
+
|
|
4
|
+
from django.utils.functional import cached_property
|
|
5
|
+
from django.utils.module_loading import autodiscover_modules, import_string
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CachedDict(dict):
|
|
9
|
+
def __init__(self):
|
|
10
|
+
super().__init__()
|
|
11
|
+
self._cache = {}
|
|
12
|
+
|
|
13
|
+
def __getitem__(self, key):
|
|
14
|
+
if key in self._cache:
|
|
15
|
+
return self._cache[key]
|
|
16
|
+
value = super().get(key)
|
|
17
|
+
self._cache[key] = import_string(value)
|
|
18
|
+
return self._cache[key]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
@dataclass
|
|
22
|
+
class WorkflowSite:
|
|
23
|
+
registered_assignees_methods: dict[str, Callable] = field(default_factory=dict)
|
|
24
|
+
registered_assignees_names: dict[str, str] = field(default_factory=dict)
|
|
25
|
+
registered_model_classes_serializer_map: CachedDict = field(default_factory=CachedDict)
|
|
26
|
+
|
|
27
|
+
@cached_property
|
|
28
|
+
def assignees_choices(self) -> tuple[str, str]:
|
|
29
|
+
autodiscover_modules("workflows") # we have to do that because the filter choices loads at runtime
|
|
30
|
+
return tuple(self.registered_assignees_names.items())
|
|
31
|
+
|
|
32
|
+
@cached_property
|
|
33
|
+
def assignees_methods(self) -> tuple[str, Callable]:
|
|
34
|
+
return tuple(self.registered_assignees_methods.items())
|
|
35
|
+
|
|
36
|
+
@cached_property
|
|
37
|
+
def model_content_types(self):
|
|
38
|
+
return [
|
|
39
|
+
(model._meta.app_label, model.__name__) for model in self.registered_model_classes_serializer_map.keys()
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
workflow_site = WorkflowSite()
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Assigned Process Steps
|
|
2
|
+
|
|
3
|
+
A list of all active process steps that are assigned to the current user. A process step is the running instance of a step with all its relevant information. When a workflow is started a process step is created for every step that gets executed. Therefore, all fields are read-only.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Step:
|
|
9
|
+
The step that is currently being executed.
|
|
10
|
+
|
|
11
|
+
### Attached Model:
|
|
12
|
+
The model the workflow is attached to (e.g. Activity). Used to display buttons in the model instances to steer the workflow, set a status field or evaluate conditions.
|
|
13
|
+
|
|
14
|
+
### Workflow:
|
|
15
|
+
The workflow that is currently being executed.
|
|
16
|
+
|
|
17
|
+
### Started:
|
|
18
|
+
Date and time at which this step was started.
|
|
19
|
+
|
|
20
|
+
### Finished:
|
|
21
|
+
Date and time at which this step was finished.
|
|
22
|
+
|
|
23
|
+
### Group:
|
|
24
|
+
The group that this process step is assigned to.
|
|
25
|
+
|
|
26
|
+
### Permission:
|
|
27
|
+
The permission that is needed to be able to view this item.
|
|
28
|
+
|
|
29
|
+
### Status:
|
|
30
|
+
The status that was set on the attached model when this step was executed.
|
|
31
|
+
|
|
32
|
+
## Search Field:
|
|
33
|
+
Typing in the search field allows to filter the process steps by workflow or step name.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Conditions
|
|
2
|
+
|
|
3
|
+
Conditions are always attached to a transition with a transition only being able to be triggered if **all** its conditions are satisfied. This provides the ability to conditionally turn on and off any transition by creating conditions. Conditions currently need an attached instance that can be evaluated which will look like this: `Attribute Name` `(Negate) Operator` `Expected Value`
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Transition:
|
|
9
|
+
The transition this condition is attached to.
|
|
10
|
+
|
|
11
|
+
### Attribute Name:
|
|
12
|
+
The name of the attribute on the attached instance. Its value will be evaluated against the condition.
|
|
13
|
+
|
|
14
|
+
### Operator:
|
|
15
|
+
The operator can be any of the following: `<`, `>`, `<=`, `>=`, `=`.
|
|
16
|
+
|
|
17
|
+
### Negate Operator:
|
|
18
|
+
Indicates if the operator should be negated. Will effectively reverse the result of the condition.
|
|
19
|
+
|
|
20
|
+
### Expected Value:
|
|
21
|
+
The expected value of the attribute that will satisfy the condition.
|
|
22
|
+
|
|
23
|
+
## Search Field:
|
|
24
|
+
Typing in the search field allows to filter the conditions by attribute name or expected value.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Decision Steps
|
|
2
|
+
|
|
3
|
+
A decision step automatically activates the first transition that satisfies all of its conditions. Only really makes sense in conjunction with conditions that disable every transition but one.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Name:
|
|
9
|
+
The name of the step.
|
|
10
|
+
|
|
11
|
+
### Workflow:
|
|
12
|
+
The workflow this step belongs to.
|
|
13
|
+
|
|
14
|
+
### Status:
|
|
15
|
+
The status that will be set in the attached instance's status field upon transitioning to this step. Only applicable if attached model is set.
|
|
16
|
+
|
|
17
|
+
### Code:
|
|
18
|
+
A number representation of this step. Must be unique per workflow.
|
|
19
|
+
|
|
20
|
+
### Permission:
|
|
21
|
+
Defines which permission is needed to be able to view this step being executed.
|
|
22
|
+
|
|
23
|
+
## Filters:
|
|
24
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
25
|
+
|
|
26
|
+
### Associated Transition:
|
|
27
|
+
Displays every step that the specified transition is a part of.
|
|
28
|
+
|
|
29
|
+
## Search Field:
|
|
30
|
+
Typing in the search field allows to filter the steps by name.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Email Steps
|
|
2
|
+
|
|
3
|
+
An email step automatically sends out an email to a list of contacts before transitioning to the next step.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Name:
|
|
9
|
+
The name of the step.
|
|
10
|
+
|
|
11
|
+
### To:
|
|
12
|
+
A list of receiving email adresses. Please make sure there are no duplicates in all email lists.
|
|
13
|
+
|
|
14
|
+
### Subject:
|
|
15
|
+
The subject of the email.
|
|
16
|
+
|
|
17
|
+
### Template:
|
|
18
|
+
The email template that will be used for creating the email.
|
|
19
|
+
|
|
20
|
+
### CC:
|
|
21
|
+
A list of email adresses that will receive a copy of the email.
|
|
22
|
+
|
|
23
|
+
### BCC:
|
|
24
|
+
A list of email adresses that will receive a blind copy of the email.
|
|
25
|
+
|
|
26
|
+
### Workflow:
|
|
27
|
+
The workflow this step belongs to.
|
|
28
|
+
|
|
29
|
+
### Status:
|
|
30
|
+
The status that will be set in the attached instance's status field upon transitioning to this step. Only applicable if attached model is set.
|
|
31
|
+
|
|
32
|
+
### Code:
|
|
33
|
+
A number representation of this step. Must be unique per workflow.
|
|
34
|
+
|
|
35
|
+
### Permission:
|
|
36
|
+
Defines which permission is needed to be able to view this step being executed.
|
|
37
|
+
|
|
38
|
+
## Filters:
|
|
39
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
40
|
+
|
|
41
|
+
### Associated Transition:
|
|
42
|
+
Displays every step that the specified transition is a part of.
|
|
43
|
+
|
|
44
|
+
## Search Field:
|
|
45
|
+
Typing in the search field allows to filter the steps by name.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Finish Steps
|
|
2
|
+
|
|
3
|
+
A finish step is always the last step in a workflow.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Name:
|
|
9
|
+
The name of the step.
|
|
10
|
+
|
|
11
|
+
### Workflow:
|
|
12
|
+
The workflow this step belongs to.
|
|
13
|
+
|
|
14
|
+
### Write Preserved Instance:
|
|
15
|
+
If "Preserve Instance" was selected in the related workflow this field provides the option of writing the previously saved data onto the attached instance to preserve its state throughout the workflow.
|
|
16
|
+
|
|
17
|
+
### Status:
|
|
18
|
+
The status that will be set in the attached instance's status field upon transitioning to this step. Only applicable if attached model is set.
|
|
19
|
+
|
|
20
|
+
### Code:
|
|
21
|
+
A number representation of this step. Must be unique per workflow.
|
|
22
|
+
|
|
23
|
+
### Permission:
|
|
24
|
+
Defines which permission is needed to be able to view this step being executed.
|
|
25
|
+
|
|
26
|
+
## Filters:
|
|
27
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
28
|
+
|
|
29
|
+
### Associated Transition:
|
|
30
|
+
Displays every step that the specified transition is a part of.
|
|
31
|
+
|
|
32
|
+
## Search Field:
|
|
33
|
+
Typing in the search field allows to filter the steps by name.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Join Steps
|
|
2
|
+
|
|
3
|
+
A join step joins multiple steps into one. Waits until all incoming transitions are done by default. If _Wait For All_ is False the first incoming transition cancels all other active incoming transitions. The step of choice for merging different workflow trees back into one.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Name:
|
|
9
|
+
The name of the step.
|
|
10
|
+
|
|
11
|
+
### Workflow:
|
|
12
|
+
The workflow this step belongs to.
|
|
13
|
+
|
|
14
|
+
### Wait For All:
|
|
15
|
+
Indicates wether the step will wait for all incoming transitions to be finished until triggering the next transition. If False, the step will instead cancel all other active incoming transitions as soon as it is reached before triggering the next transition.
|
|
16
|
+
|
|
17
|
+
### Status:
|
|
18
|
+
The status that will be set in the attached instance's status field upon transitioning to this step. Only applicable if attached model is set.
|
|
19
|
+
|
|
20
|
+
### Code:
|
|
21
|
+
A number representation of this step. Must be unique per workflow.
|
|
22
|
+
|
|
23
|
+
### Permission:
|
|
24
|
+
Defines which permission is needed to be able to view this step being executed.
|
|
25
|
+
|
|
26
|
+
## Filters:
|
|
27
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
28
|
+
|
|
29
|
+
### Associated Transition:
|
|
30
|
+
Displays every step that the specified transition is a part of.
|
|
31
|
+
|
|
32
|
+
## Search Field:
|
|
33
|
+
Typing in the search field allows to filter the steps by name.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Processes
|
|
2
|
+
|
|
3
|
+
Whenever a workflow is started, this creates a process with all relevant information from the workflow. Therefore, all fields are read-only.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Workflow:
|
|
9
|
+
The executed workflow.
|
|
10
|
+
|
|
11
|
+
### UUID:
|
|
12
|
+
Unique identifier for this process.
|
|
13
|
+
|
|
14
|
+
### Started:
|
|
15
|
+
Date and time at which the workflow was started.
|
|
16
|
+
|
|
17
|
+
### Finished:
|
|
18
|
+
Date and time at which the workflow was finished.
|
|
19
|
+
|
|
20
|
+
### Attached Model:
|
|
21
|
+
The model the workflow is attached to (e.g. Activity). Used to display buttons in the model instances to steer the workflow, set a status field or evaluate conditions.
|
|
22
|
+
|
|
23
|
+
## Legend:
|
|
24
|
+
Click on a state in the legend to filter the list.
|
|
25
|
+
|
|
26
|
+
## Filters:
|
|
27
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
28
|
+
|
|
29
|
+
### States:
|
|
30
|
+
Filter processes by a specific state they're in, smiliarly to what clicking on the legend does.
|
|
31
|
+
|
|
32
|
+
## Search Field:
|
|
33
|
+
Typing in the search field allows to filter the processes by workflow name or attached model.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Process Steps
|
|
2
|
+
|
|
3
|
+
A process step is the running instance of a step with all its relevant information. When a workflow is started a process step is created for every step that gets executed. Therefore, all fields are read-only.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### UUID:
|
|
9
|
+
Unique identifier for this process step.
|
|
10
|
+
|
|
11
|
+
### Step:
|
|
12
|
+
The step that is currently being executed.
|
|
13
|
+
|
|
14
|
+
### Process:
|
|
15
|
+
The process that this process step belongs to.
|
|
16
|
+
|
|
17
|
+
### Workflow:
|
|
18
|
+
The workflow that is currently being executed.
|
|
19
|
+
|
|
20
|
+
### Started:
|
|
21
|
+
Date and time at which this step was started.
|
|
22
|
+
|
|
23
|
+
### Finished:
|
|
24
|
+
Date and time at which this step was finished.
|
|
25
|
+
|
|
26
|
+
### Error Message:
|
|
27
|
+
The error message in case this step failed.
|
|
28
|
+
|
|
29
|
+
### Assignee:
|
|
30
|
+
The person that this process step is assigned to.
|
|
31
|
+
|
|
32
|
+
### Group:
|
|
33
|
+
The group that this process step is assigned to.
|
|
34
|
+
|
|
35
|
+
### Permission:
|
|
36
|
+
The permission that is needed to be able to view this item.
|
|
37
|
+
|
|
38
|
+
### Status:
|
|
39
|
+
The status that was set on the attached model when this step was executed.
|
|
40
|
+
|
|
41
|
+
## Legend:
|
|
42
|
+
Click on a state in the legend to filter the list.
|
|
43
|
+
|
|
44
|
+
## Filters:
|
|
45
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
46
|
+
|
|
47
|
+
### States:
|
|
48
|
+
Filter processes by a specific state they're in, smiliarly to what clicking on the legend does.
|
|
49
|
+
|
|
50
|
+
## Search Field:
|
|
51
|
+
Typing in the search field allows to filter the by workflow or step name.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Script Steps
|
|
2
|
+
|
|
3
|
+
A script step automatically runs a provided python script before transitioning to the next step.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Name:
|
|
9
|
+
The name of the step.
|
|
10
|
+
|
|
11
|
+
### Workflow:
|
|
12
|
+
The workflow this step belongs to.
|
|
13
|
+
|
|
14
|
+
### Script:
|
|
15
|
+
The script that will be executed by this step. Should be valid python and implement the function "run" that has exactly one argument called "process_step". To make changes on the attached instance, call `process_step.process.instance`.
|
|
16
|
+
|
|
17
|
+
### Status:
|
|
18
|
+
The status that will be set in the attached instance's status field upon transitioning to this step. Only applicable if attached model is set.
|
|
19
|
+
|
|
20
|
+
### Code:
|
|
21
|
+
A number representation of this step. Must be unique per workflow.
|
|
22
|
+
|
|
23
|
+
### Permission:
|
|
24
|
+
Defines which permission is needed to be able to view this step being executed.
|
|
25
|
+
|
|
26
|
+
## Filters:
|
|
27
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
28
|
+
|
|
29
|
+
### Associated Transition:
|
|
30
|
+
Displays every step that the specified transition is a part of.
|
|
31
|
+
|
|
32
|
+
## Search Field:
|
|
33
|
+
Typing in the search field allows to filter the steps by name.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Split Steps
|
|
2
|
+
|
|
3
|
+
A split step activates all transitions that meet all of their conditions making it the step of choice for splitting a workflow into sub-trees that run simultaneously.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Name:
|
|
9
|
+
The name of the step.
|
|
10
|
+
|
|
11
|
+
### Workflow:
|
|
12
|
+
The workflow this step belongs to.
|
|
13
|
+
|
|
14
|
+
### Status:
|
|
15
|
+
The status that will be set in the attached instance's status field upon transitioning to this step. Only applicable if attached model is set.
|
|
16
|
+
|
|
17
|
+
### Code:
|
|
18
|
+
A number representation of this step. Must be unique per workflow.
|
|
19
|
+
|
|
20
|
+
### Permission:
|
|
21
|
+
Defines which permission is needed to be able to view this step being executed.
|
|
22
|
+
|
|
23
|
+
## Filters:
|
|
24
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
25
|
+
|
|
26
|
+
### Associated Transition:
|
|
27
|
+
Displays every step that the specified transition is a part of.
|
|
28
|
+
|
|
29
|
+
## Search Field:
|
|
30
|
+
Typing in the search field allows to filter the steps by name.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Start Steps
|
|
2
|
+
|
|
3
|
+
A start step is always the first step in a workflow.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Name:
|
|
9
|
+
The name of the step.
|
|
10
|
+
|
|
11
|
+
### Workflow:
|
|
12
|
+
The workflow this step belongs to.
|
|
13
|
+
|
|
14
|
+
### Status:
|
|
15
|
+
The status that will be set in the attached instance's status field upon transitioning to this step. Only applicable if attached model is set.
|
|
16
|
+
|
|
17
|
+
### Code:
|
|
18
|
+
A number representation of this step. Must be unique per workflow.
|
|
19
|
+
|
|
20
|
+
## Filters:
|
|
21
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
22
|
+
|
|
23
|
+
### Associated Transition:
|
|
24
|
+
Displays every step that the specified transition is a part of.
|
|
25
|
+
|
|
26
|
+
## Search Field:
|
|
27
|
+
Typing in the search field allows to filter the steps by name.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Transitions
|
|
2
|
+
|
|
3
|
+
A transition connects two steps in a workflow.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Name:
|
|
9
|
+
The name of the transition.
|
|
10
|
+
|
|
11
|
+
### From:
|
|
12
|
+
The originating step.
|
|
13
|
+
|
|
14
|
+
### To:
|
|
15
|
+
The target step.
|
|
16
|
+
|
|
17
|
+
### Icon:
|
|
18
|
+
The icon that will grace the transition buttons for user steps.
|
|
19
|
+
|
|
20
|
+
## Filters:
|
|
21
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
22
|
+
|
|
23
|
+
### Associated Condition:
|
|
24
|
+
Displays the transition a selected condition is attached to.
|
|
25
|
+
|
|
26
|
+
## Search Field:
|
|
27
|
+
Typing in the search field allows to filter the transitions by name.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# User Steps
|
|
2
|
+
|
|
3
|
+
A user step needs an assigned user or user group to manually pick the next transition.
|
|
4
|
+
|
|
5
|
+
## Columns:
|
|
6
|
+
Each column title has three lines on the right if you hover over it. Click on them to show options for that column. The second tab of the options menu will allow you to filter the column, the third to completely hide entire columns. Click on anywhere else on the column to order it, cycling between ascending, descending and no ordering. Hold shift while clicking to order multiple columns with individual weights.
|
|
7
|
+
|
|
8
|
+
### Name:
|
|
9
|
+
The name of the step.
|
|
10
|
+
|
|
11
|
+
### Workflow:
|
|
12
|
+
The workflow this step belongs to.
|
|
13
|
+
|
|
14
|
+
### Status:
|
|
15
|
+
The status that will be set in the attached instance's status field upon transitioning to this step. Only applicable if attached model is set.
|
|
16
|
+
|
|
17
|
+
### Code:
|
|
18
|
+
A number representation of this step. Must be unique per workflow.
|
|
19
|
+
|
|
20
|
+
### Permission:
|
|
21
|
+
Defines which permission is needed to be able to view this step being executed.
|
|
22
|
+
|
|
23
|
+
### Assignee:
|
|
24
|
+
A selected assignee needs to choose the next transition.
|
|
25
|
+
|
|
26
|
+
### Group:
|
|
27
|
+
From a selected group anyone can progress the workflow by choosing the next transition. Exclusive with assignee field.
|
|
28
|
+
|
|
29
|
+
### Assignee Method:
|
|
30
|
+
Automatically chooses a the step's assignee possibly picking from the provided group depending on the method's implementation. Exclusive with assignee field.
|
|
31
|
+
|
|
32
|
+
### Notify User:
|
|
33
|
+
If True, sends a notification to all assigned users to remind them that they need to pick the next transition.
|
|
34
|
+
|
|
35
|
+
## Filters:
|
|
36
|
+
Filters are accessed by clicking on the symbol in the top left corner of the window.
|
|
37
|
+
|
|
38
|
+
### Associated Transition:
|
|
39
|
+
Displays every step that the specified transition is a part of.
|
|
40
|
+
|
|
41
|
+
## Search Field:
|
|
42
|
+
Typing in the search field allows to filter the steps by name, assignee or group.
|