Refactoring #43

Merged
mpeltriaux merged 13 commits from Refactoring into master 3 years ago
Owner

Restructures parts of the code for better future maintability, e.g.

  • splits large modules into smaller modules, wrapped in a packages, such as models.py -> models/modelA, modelB, modelC, ...
  • introduces more OO logic by moving add-related-elements logic into the model classes directly instead of processing e.g. in forms
Restructures parts of the code for better future maintability, e.g. * splits large modules into smaller modules, wrapped in a packages, such as models.py -> models/modelA, modelB, modelC, ... * introduces more OO logic by moving add-related-elements logic into the model classes directly instead of processing e.g. in forms
mpeltriaux added 13 commits 3 years ago
bcffae4a95 Refactoring
* renames model ResponsibilityData into Responsibility
* renames model LegalData into Legal
* moves form->object saving logic into model
* refactors NewDocumentForm into special types for intervention, compensation, eco account and ema
*
d78afbfb5c Refactoring
* splits intervention/models.py into subpackage
6f107ac7a1 Refactoring
* splits ema/models.py into subpackage
* splits konova/models.py into subpackage
* splits user/models.py into subpackage
78945d648f Refactoring
* splits compensation/models.py into subpackage
* renames base objects by adding suffix Mixin
899bd28247 Refactoring
* create package from compensation/views
fd8ce4b2ec Refactoring
* create package from compensation/urls
* renames modules inside of compensation/urls and compensation/views
60a50b304a Refactoring
* drop SSO message sending for now from the logic
9b531bc09e Refactoring
* moves adding of revocation into Intervention model
d8f0db6bd6 Refactoring
* moves adding of deduction into Intervention and EcoAccount model
* hardens against circular import issues
6ad387daa3 Refactoring
* moves updating of shared access users into Intervention
71e4aa9a2f Refactoring
* moves updating of shared access users into ShareableObjectMixin
* renames ShareInterventionModalForm to ShareModalForm since it's used for EMA and eco accounts as well
779065ec91 Refactoring
* adds simple getter methods for UserActionLogEntry
* replaces manual creation of UserActionLogEntry with new methods
8e1c4446dd Refactoring
* moves add_state from compensation to AbstractCompensation
mpeltriaux merged commit 3db2a156bb into master 3 years ago
mpeltriaux deleted branch Refactoring 3 years ago
The pull request has been merged as 3db2a156bb.
Sign in to join this conversation.
Loading…
There is no content yet.