197_Resubmission #198

Merged
mpeltriaux merged 4 commits from 197_Resubmission into master 2022-08-15 11:02:08 +02:00
Owner

Implements #197

  • adds new Resubmission model
  • adds new model to Intervention, Compensation, Ema and EcoAccount as resubmissions M2M
  • adds new command for periodic cron usage
    • checks on outstanding resubmissions and sends mails
    • deletes resubmission entries afterwards
  • adds new button to control buttons on detail views

Cleanup

Cleaned and refactored konova/forms.py which got too large (+700 lines) by splitting the content into individual class/topic based files like konova/forms/topic-abc_form.py and konova/forms/modals/topic-abc_form.py.
All usage imports of the forms have been updated.
See 0bf2051bdf for details.

# Implements #197 * adds new `Resubmission` model * adds new model to `Intervention`, `Compensation`, `Ema` and `EcoAccount` as `resubmissions` M2M * adds new command for periodic cron usage * checks on outstanding resubmissions and sends mails * deletes resubmission entries afterwards * adds new button to control buttons on detail views ## Cleanup Cleaned and refactored `konova/forms.py` which got too large (+700 lines) by splitting the content into individual class/topic based files like `konova/forms/topic-abc_form.py` and `konova/forms/modals/topic-abc_form.py`. All usage imports of the forms have been updated. See https://git.naturschutz.rlp.de/SGD-Nord/konova/commit/0bf2051bdf6debb3c508ee06f03c51970d104d2b for details.
mpeltriaux added 4 commits 2022-08-15 10:59:51 +02:00
* adds new model and mixin
* adds new functionality for Mailer class for sending resubmission mails
* adds control button for Intervention, Compensation, Ema and EcoAccount for setting a resubmission on an entry
* adds new command to be used with cron for periodic checkin of resubmissions
* updates translations
* adds needed migrations
* refactors forms.py (700+ lines) in main konova app
    * splits into forms/ and forms/modals and single class/topic-files for better maintainability and overview
* fixes bug in main konova app migration which could occur if a certain compensation migration did not run before
mpeltriaux merged commit 180ee293ca into master 2022-08-15 11:02:08 +02:00
mpeltriaux deleted branch 197_Resubmission 2022-08-15 11:21:15 +02:00
Sign in to join this conversation.
No description provided.