Commit Graph

601 Commits (ac49f983ee799070e3f00603eb74fd9e776f275d)
 

Author SHA1 Message Date
Michel Peltriaux 3db2a156bb Merge pull request 'Refactoring' (#43) from Refactoring into master
Reviewed-on: SGD-Nord/konova#43
3 years ago
mpeltriaux 8e1c4446dd Refactoring
* moves add_state from compensation to AbstractCompensation
3 years ago
mpeltriaux 779065ec91 Refactoring
* adds simple getter methods for UserActionLogEntry
* replaces manual creation of UserActionLogEntry with new methods
3 years ago
mpeltriaux 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
3 years ago
mpeltriaux 6ad387daa3 Refactoring
* moves updating of shared access users into Intervention
3 years ago
mpeltriaux d8f0db6bd6 Refactoring
* moves adding of deduction into Intervention and EcoAccount model
* hardens against circular import issues
3 years ago
mpeltriaux 9b531bc09e Refactoring
* moves adding of revocation into Intervention model
3 years ago
mpeltriaux 60a50b304a Refactoring
* drop SSO message sending for now from the logic
3 years ago
mpeltriaux fd8ce4b2ec Refactoring
* create package from compensation/urls
* renames modules inside of compensation/urls and compensation/views
3 years ago
mpeltriaux 899bd28247 Refactoring
* create package from compensation/views
3 years ago
mpeltriaux 78945d648f Refactoring
* splits compensation/models.py into subpackage
* renames base objects by adding suffix Mixin
3 years ago
mpeltriaux 6f107ac7a1 Refactoring
* splits ema/models.py into subpackage
* splits konova/models.py into subpackage
* splits user/models.py into subpackage
3 years ago
mpeltriaux d78afbfb5c Refactoring
* splits intervention/models.py into subpackage
3 years ago
mpeltriaux 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
*
3 years ago
Michel Peltriaux 0778277de4 Merge pull request '38_User_requests' (#42) from 38_User_requests into master
Reviewed-on: SGD-Nord/konova#42
3 years ago
mpeltriaux ab8d5c9724 #38 User requests
* implements 5) "Add 'Maßnahmentyp' for KOMs "
    * prepares model and form fields as mixins for easy extension to eco accounts and emas (possibly in the future?)
3 years ago
mpeltriaux 2ca0ceade4 #38 User requests
* implements 4) "Comment fields should be of unlimited size"
3 years ago
mpeltriaux 7ed114a858 #38 User requests
* implements 3) "Extend sharing on direct adding of users"
3 years ago
mpeltriaux 36470f819c #38 User requests
* implements 2) "Multiple revocations for interventions"
3 years ago
mpeltriaux e922b983dd #38 User requests
* implements 1) "Add titles to public reports, next to identifiers"
3 years ago
Michel Peltriaux fdcae500b1 Merge pull request '39_Drop_fundings' (#41) from 39_Drop_fundings into master
Reviewed-on: SGD-Nord/konova#41
3 years ago
mpeltriaux d72c29bd56 #39 Drop fundings
* removes fundings from all models
3 years ago
mpeltriaux 8d7947bbda #39 Drop fundings
* removes fundings from all models, except the EMA model for migration compatibility (some old data may have fundings data)
3 years ago
Michel Peltriaux c1a251abc9 Merge pull request '19_Tests' (#40) from 19_Tests into master
Reviewed-on: SGD-Nord/konova#40
3 years ago
mpeltriaux e59af1e437 #19 Tests
* restructures setup for workflow tests in interventions
3 years ago
mpeltriaux 037d3a8fee #19 Tests
* adds workflow edit testing for compensations
3 years ago
mpeltriaux ea14a01f89 #19 Tests
* adds workflow testing for geometries on new creation of intervention and compensation
*
3 years ago
mpeltriaux ce7033943f #19 Tests
* refactors sharing user setting by introducing share_with(user) and share_with_list(user_list) for BaseObject for a more self-explanatory sharing
3 years ago
mpeltriaux 50e134ba91 #19 Tests
* adds workflow tests for eco account deduction creation
3 years ago
mpeltriaux 667f378b74 #19 Tests
* adds workflow tests for compensation checking and recording
* improves related code
3 years ago
mpeltriaux 7d611a60d8 #19 Tests
* adds workflow tests for checkability and recordability for interventions
* fixes/improves code snippets detected by testing
3 years ago
mpeltriaux bcee58700a #19 Tests
* adds workflow tests or deductions in InterventionWorkflowTestCase
* fixes bugs detected by testing
3 years ago
mpeltriaux 08d023092f #19 Tests
* adds new BaseWorkflowTestCase class for encapsulating
* adds new InterventionWorkflowTestCase class with first workflow tests
3 years ago
mpeltriaux bbbaeab4c7 #19 Tests
* moves dummy data creation from BaseViewTestCase into BaseTestCase
3 years ago
mpeltriaux 6992484b7f Export codelist command
* adds a useful custom command which exports a specific selectable codelist into a csv file
3 years ago
mpeltriaux 2957035b5a #19 Tests
* adds EcoAccount tests
* fixes bugs found by testing
3 years ago
mpeltriaux 0fac17ad68 #19 Tests
* adds EMA test
3 years ago
mpeltriaux c221d00c28 #19 Tests
* adds EMA tests
* extends compensation tests
* fixes bugs detected by testing
* restructured tests for performance boost
3 years ago
mpeltriaux 107cbeadee #19 Tests
* fixes bug where compensations still appeared on the public report despite being marked as deleted
* fixes bug where eco account could be deducted into a negative account balance
3 years ago
mpeltriaux b5fc96c1cf #19 Tests
* adds tests for compensations (WIP)
* refactors some dummy data generating into base test class
* fixes bugs detected by testing
* adds important requirements.txt change for itsdangerous package (<1.0.0 for compatibility to django-simple-sso)
3 years ago
mpeltriaux 5213c717d9 #19 Tests
* refactors CheckableMixin and RecordableMixin into CheckableObject and RecordableObject
* adds ShareableObject for wrapping share related fields and functionality
* adds share functionality to EcoAccount and EMA, just like Intervention
3 years ago
mpeltriaux bfe541f83e #19 Tests
* refactors test logic into base test classes
* adds tests for views in konova app
* fixes bugs/warnings detected by testing
3 years ago
mpeltriaux 2553eb2825 #19 Tests
* adds tests for views in intervention app
* fixes bugs detected by test writing
3 years ago
mpeltriaux 6e31dfc00d HOTFIX: Quality checks
* fixes bug due to missing evaluation of compensation validity
3 years ago
Michel Peltriaux e2d2e0317c Merge pull request '36_Quality_checks' (#37) from 36_Quality_checks into master
Reviewed-on: SGD-Nord/konova#37
3 years ago
mpeltriaux da23761f88 #36 Quality checks
* adds check on recording of intervention in case of invalid compensations
3 years ago
mpeltriaux 4a4c9ad049 #36 Quality checks
* adds unchecking/unrecording of interventions in case of post-check|post-record editing
3 years ago
mpeltriaux 1c3ab898cc #36 Quality checks
* refactors toggling of recorded status into RecordableMixin
3 years ago
mpeltriaux 26c1cee27e #36 Quality checks
* adds quality check logic for EcoAccount with EcoAccountQualityChecker
* adds/updates translations
* adds quality check logic for EMA with EmaQualityChecker
3 years ago
mpeltriaux 619f2110e4 #36 Quality checks
* adds quality check logic for Compensations with CompensationQUalityChecker
* adds compensation quality checking to checking routine of RunCheckModalForm.is_valid()
* adds/updates translations
3 years ago