490_View_refactoring_II #520

Merged
mpeltriaux merged 14 commits from 490_View_refactoring_II into master 2026-01-13 09:36:12 +00:00
Owner

Implements #490

Implements #490
mpeltriaux added 14 commits 2026-01-13 09:35:58 +00:00
* refactors index view methods into classes
* introduces AbstractIndexView as base class
* refactors detail view methods into classes
* introduces AbstractDetailView
* refactors identifier generator view methods into classes
* introduces IdentifierGenerator
* introduces AbstractIdentifierGeneratorView
* refactors public report view methods into classes
* introduces AbstractPublicReportView
* refactors qr code generating into class
* refactors usage of former qr code method calls
* refactors remove view methods into classes
* introduced AbstractRemoveView
* disables final-delete actions from admin views
* extends error warnings on RemoveEcoAccountModalForm
* removes LoginRequiredMixin from AbstractPublicReportView to make it accessible for the public
* updates translations
* fixes bug where permissions would be checked on non-logged in users which caused errors
* refactors 'new' view methods into classes for eiv and ema
* refactors 'edit' view methods into classes for eiv and ema
* reorganizes permissions on non-conservation-office users on ema entries
    * users can now open the log view properly if they have shared access
    * ema actions that require conservation office permission are now hidden on the frontend for non-conservation-office users
* refactors method based view into class
* refactors view method into class
* refactors revocation method views for intervention into classes
* refactors compensation new and edit method views into classes
* refactors new and edit method views into classes
* refactors payment creation, editing and removing into class based views
* refactors analysis report methods into class based views
* drops unused method view on api app (token generating has been de facto moved into users app long time ago)
mpeltriaux merged commit 970d0e79fa into master 2026-01-13 09:36:12 +00:00
mpeltriaux deleted branch 490_View_refactoring_II 2026-01-13 09:36:12 +00:00
Sign in to join this conversation.