* Data model draft
* Refactor query and assignment usages of old permissions
* Backend UI
* API serializer
* Big string replace
* Docs, tests and fixes for teams api
* Update docs for device auth
* Eliminate old names
* Make tests pass
* Use new permissions, remove inconsistencies
* Add test for translations
* Show plugin permissions
* Add permission for seating plans
* Fix plugin activation
* Fix failing test
* Refactor to permission groups
* Update doc/api/resources/devices.rst
Co-authored-by: luelista <weller@rami.io>
* Update doc/api/resources/events.rst
Co-authored-by: luelista <weller@rami.io>
* Update src/pretix/api/serializers/organizer.py
Co-authored-by: luelista <weller@rami.io>
* Fix typo
* Fix python version compat
* Replacement after rebase
* Add proper permission handling for exports
* Docs for exporters
* Runtime linting of permission names
* Fix typos
* Show export page even without orders permission
* More legacy compat
* Do not strongly validate before plugins are loaded
* Rebase migration
* Add permission for outgoing mails
* Review notes
* Update doc/api/resources/teams.rst
Co-authored-by: Richard Schreiber <schreiber@pretix.eu>
* Clean up logic around exporters
* Review and failures
* Fix migration leading to forbidden combination
* Handle permissions on event copying
* Remove print-statements
* Make test clearer
* Review feedback
* Add AnyPermissionOf
* migration safety
---------
Co-authored-by: luelista <weller@rami.io>
Co-authored-by: Richard Schreiber <schreiber@pretix.eu>
* MKBDIGI-185: Added update/create to events
* MKBDIGI-185: Added validation for 'slug, 'live' on event endpoint
* MKBDIGI-185: Code formatting
* MKBDIGI-185: Added 'plugins' to 'event' endpoint
* MKBDIGI-185: Merge migrations
* MKBDIGI-185: Cleaned up static methods
* EBILL-5: Added delete endpoint for event
* EBILL-5: Merge migrations
* EBILL-5: Fixed imports
* EBILL-5: Changed plugins to only list plugins enabled for the event
* EBILL-5: Added clone event endpoint
* EBILL-5: Removed permissions check API test for events
* EBILL-5: Merged master, updated migrations
* EBILL-5: Updated api permissions check for CRUD on events
* EBILL-5: Removed 'unique_together' constraint on event model
* EBILL-5: Removed call to changed static methods in test
* EBILL-5: Changed Event 'has_paid_things' to a property for consistency
* EBILL-5: Fixed created response code in documentation
* EBILL-6: Documentation fixes
* EBILL-6: Fixed typo
* EBILL-6: Fixed permissions
* EBILL-6: Added note on copying settings to documentation
* EBILL-6: Created model method for deleting sub objects on event before delete
* EBILL-6: Fixed typo
* EBILL-6: Re-added meta_data as read-only
* EBILL-6: Fixed permissions test
* EBILL-6: Added plugins issues check before live. Moved issues property from form to Event model.
* EBILL-6: Upped version number in documentation
* Add write support for MetaDataField
* EBILL-6: Expanded documentation for the clone endpoint, made behaviour of 'is_public' similar to 'plugins' for consistency
* EBILL-6: Re-added EventCRUDPermission
* EBILL-16: Updated documentation with permission model for the API
* EBILL-16: Added 'has_subevents' validation to ensure it cannot be changed once event is created.
* EBILL-16: Fixed event clone not differentiating between "not set" and "deliberately set to False"
* EBILL-16: Fixed event live validation
* EBILL-16: Added logging of live activated/deactivated
* EBILL-16: Fixed create event bug when no 'meta_data' supplied
* EBILL-16: Typo fixed
* EBILL-16: Added log display for "event created"
* EBILL-16: Enabling a plugin now calls 'installed' if applicable and log entries are added
* EBILL-16: Updated tests for events
* Do not allow enabling restricted plugins via the API
* Remove unused code