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
mpeltriaux
4c7efdb800
#36 Quality checks
...
* moves geometry check logic to upper class
3 years ago
mpeltriaux
a5b1f68f62
#36 Quality checks
...
* adds AbstractQualityChecker as base for all quality checker instances
* adds InterventionQualityChecker, inheriting from AbstractQualityChecker
* adds functionality to InterventionQualityChecker
* adds/updates translations
3 years ago
Michel Peltriaux
e2409fdbde
Merge pull request ' #32 Disable file download' ( #34 ) from 32_Disable_file_download into master
...
Reviewed-on: SGD-Nord/konova#34
3 years ago
mpeltriaux
af70303b32
#32 Disable file download
...
* refactors: attached files can only be downloaded by users with shared access
* adds hint on unshared data being unshared for compensation, ema, eco-account
* minor optical enhancement for user contact form
3 years ago
Michel Peltriaux
d47e840dbd
Merge pull request '26_Annual_conservation_reports' ( #33 ) from 26_Annual_conservation_reports into master
...
Reviewed-on: SGD-Nord/konova#33
3 years ago
mpeltriaux
6ca5b32945
#26 Annual conservation report
...
* adds LegalData to EcoAccount to provide registration_date support ("agreement date") for old-data report generating
* adds/updates translations
3 years ago
mpeltriaux
b69b9a607e
#26 Annual conservation report
...
* enhancements for report2excel functionality
* improvements for report2html layout
+
3 years ago
mpeltriaux
37a684c7ab
#26 Annual conservation report
...
* Adds download as excel sheet
* adds excel_report.xlsx as template for excel sheet download
* improves db access performance
3 years ago
mpeltriaux
4e89fd9678
#26 Annual conservation report
...
* Adds download as excel sheet
* improves db access performance
3 years ago
mpeltriaux
419a48cff1
#26 Annual conservation report
...
* adds first try for excel file downloading (WIP)
3 years ago
mpeltriaux
e22e390040
#26 Annual conservation reports
...
* enhances TimespanReportForm control rendering
* adds/updates translations
3 years ago
mpeltriaux
6b839b7f60
#26 Annual conservation reports
...
* adds index form for selecting timespan and office of interest
* adds timespan support for TimespanReport
* fixes naive datetime issues
* fixes missing error message css tag
* adds/updates translations
3 years ago
mpeltriaux
d5b6c7f098
Geometry fix
...
* removes geographic=True from Geometry model
3 years ago
mpeltriaux
9e7e5ee726
EcoAccount fixes
...
* adds deductable surface field into NewEcoAccountForm directly
* removes custom manager for LegalData and ResponsibilityData
3 years ago
mpeltriaux
b90a07ca2a
#26 Annual conservation report
...
* WIP: EcoAccountReport
3 years ago
mpeltriaux
0e9a169d38
#26 Annual conservation report
...
* finishes intervention analysis report for cases before 16.06.2018 (LKompVzVo)
3 years ago
mpeltriaux
88c7f64901
#26 Annual conservation report
...
* finishes compensation analysis report
3 years ago
mpeltriaux
33de71d554
#26 Annual conservation report
...
* adds new templatetag default_if_zero in ksp_filters.py
* adds/updates translations
3 years ago
mpeltriaux
92155fb742
#26 Annual conservation report
...
* introduces new app 'analysis' for annual report generating and future features
* adds new templates (WIP)
* adds new routes (WIP)
3 years ago
Michel Peltriaux
2b06a439cf
Merge pull request '25_Public_Reports' ( #30 ) from 25_Public_Reports into master
...
Reviewed-on: SGD-Nord/konova#30
3 years ago
mpeltriaux
7631adc88f
Translations
...
* adds/updates translations
3 years ago
mpeltriaux
85759a636a
Database performance
...
* optimizes the db fetching for all index views and detail views
* introduces usage of managers.py in all necessary apps for wrapping basic fetch settings
* moves comment.html to comment_card.html under /konova/templates/konova/
* adds/updates translations
* fixes document typos
* drops comment rendering in public reports
* opens public reports in new tabs if button is clicked from the detail view
3 years ago
mpeltriaux
f5f08b979b
#25 Public reports
...
* adds fully functional EMA report
* adds/updates translations
3 years ago