Commit Graph

908 Commits

Author SHA1 Message Date
7430a239a5 Unit test intervention forms
* adds unit test for new/edit intervention forms
* improves code base for generating new identifiers
2023-08-24 11:47:40 +02:00
02e8d65f02 Unit test EMA model
* adds unit test for EMA model
2023-08-24 10:59:32 +02:00
f1f73d0a66 Unit test compensation states
* adds unit test for adding/editing/removing compensation states
2023-08-22 10:54:20 +02:00
147d4938db Unit test for compensation forms
* adds unit tests for adding and editing deadline
2023-08-21 10:33:05 +02:00
b802c02069 Unit test for compensation forms
* adds compensation action forms unit tests
2023-08-21 10:10:23 +02:00
1047a5f119 Tests on analysis and compensation
* enhances tests for analysis and compensation app
2023-08-17 12:59:50 +02:00
b854695399 Unit test api
* adds unit test for APIUserToken
* enhances handling of token fetching for API
2023-08-17 10:44:58 +02:00
1726eb38ad Unit test analysis
* adds unit test for creating report
* fixes bug where new (>2018) eco accounts have not been fetched correctly from the  db
* adds enhancements in the frontend
* improves test data setup
2023-08-17 10:12:05 +02:00
865a3a51fe Class based views
* refactors method based views for parcel fetching, home and logout to class based
2023-08-15 11:29:38 +02:00
6de3fab800 Merge pull request 'Error on map client search' (#340) from 338_Error_on_map_client_search into master
Reviewed-on: SGD-Nord/konova#340
2023-07-10 11:47:12 +02:00
c8b9f28584 Error on map client search
* adds info for user if address search content could not be parsed properly due to external errors
2023-07-10 10:23:04 +02:00
46d40205f2 Merge pull request 'Geometry simplification' (#339) from 337_Simplify_large_geometries into master
Reviewed-on: SGD-Nord/konova#339
2023-07-10 10:07:49 +02:00
e8feec851f Geometry simplification
* simplifies geometries on SimpleGeomForm if threshold GEOM_MAX_VERTICES has been exceeded
    * geometry is iteratively simplified to find a proper tolerance value which satisfies the GEOM_MAX_VERTICES threshold
2023-06-28 14:21:26 +02:00
dd9d10f6fc Merge pull request '# Improves form date checking' (#335) from 334_nrealistic_dates into master
Reviewed-on: SGD-Nord/konova#335
2023-05-17 14:39:50 +02:00
9136b89e00 # Improves form date checking
* adds validator to make sure no dates like `01.01.1` can be accepted. All dates must be somewhat later than 01.01.1950
2023-05-17 14:08:57 +02:00
67e050764b Merge pull request '# Fixes bug' (#332) from 331_Deductions_of_unshared_interventions_not_changeable into master
Reviewed-on: SGD-Nord/konova#332
2023-05-16 14:10:59 +02:00
0664604804 # Fixes bug
* fixes bug described in #331
2023-05-16 12:11:13 +02:00
dc052a96cb Merge pull request '#328 Fix' (#329) from 328_Removing_of_migrated_revocations_fails into master
Reviewed-on: SGD-Nord/konova#329
2023-04-26 11:29:43 +02:00
872d2bd9f8 #328 Fix
* fixes bug described in #328
2023-04-26 11:28:46 +02:00
e05aca7fa7 Merge pull request '#325 Fix' (#326) from 325_Error_on_ecoaccount_recording into master
Reviewed-on: SGD-Nord/konova#326
2023-04-19 15:23:15 +02:00
eaceb2d6fe #325 Fix
* fixes bug described in #325
2023-04-19 15:22:52 +02:00
7bbba6f7d3 Merge pull request '# Implements #332' (#323) from 332_Drop_deductions_of_deleted_intervention into master
Reviewed-on: SGD-Nord/konova#323
2023-03-30 15:11:43 +02:00
8e89beaf88 Simplification
* simplifies fetching of intervention's deductions
2023-03-30 15:11:19 +02:00
24a9a7d695 # Implements #332
* extends intervention's mark_as_deleted() functionality to drop related deductions and free reserved deductable surface from the related eco accounts
2023-03-30 15:08:42 +02:00
b655b47979 Merge pull request 'Adds scale line to map client' (#320) from scale_line_map_client into master
Reviewed-on: SGD-Nord/konova#320
2023-03-28 13:52:32 +02:00
3d967341e1 Adds scale line to map client 2023-03-28 13:51:28 +02:00
6aa243192d Merge pull request 'Server Messages unpublish' (#319) from improve_unpublish_dependency_news into master
Reviewed-on: SGD-Nord/konova#319
2023-03-24 07:35:57 +01:00
7fdc93fefd Server Messages unpublish
* changes unpublish_on to optional value
* simplifies fetching of server message news
2023-03-24 07:34:50 +01:00
91537078eb Merge pull request 'HOTFIX' (#317) from fix_public_report into master
Reviewed-on: SGD-Nord/konova#317
2023-03-24 07:14:13 +01:00
b5937b516e HOTFIX
* fixes bug where float numbers could not be used as input for e.g. buffer radius
    * supports
2023-03-24 07:13:15 +01:00
431b400ca8 Merge pull request '#314 Public report for old entries' (#315) from 314_Public_report_on_old_entries into master
Reviewed-on: SGD-Nord/konova#315
2023-03-22 09:00:01 +01:00
d5f97687b5 #314 Public report for old entries
* enables public access to reports for unrecorded old entries if their binding_date < 16.06.2018
2023-03-22 08:54:23 +01:00
b34be9f2fd Merge pull request 'netgis_client_update' (#312) from netgis_client_update into master
Reviewed-on: SGD-Nord/konova#312
2023-03-16 08:14:16 +01:00
e2cbe7eb73 HOTFIX
* fixes bug where float numbers could not be used as input for e.g. buffer radius
    * supports up to two digits
2023-03-16 08:12:51 +01:00
0fb40a5568 Netgis client update
* adds bugfixes and improvements
    - point / line auto buffer key input change buffer
    - pass default buffer values from config
    - update area label while vertex editing
    - auto buffer remove source geoms when done
    - toggle cut tool off when done
    - toggle delete tool off when done
    - allow panning while vertex editing (middle mouse button)
2023-03-13 08:06:24 +01:00
78d0bb876f Merge pull request '# 308 To share info message' (#310) from 308_To_share_info_message into master
Reviewed-on: SGD-Nord/konova#310
2023-03-13 06:55:46 +01:00
d5523e6fb6 Merge pull request 'POST form error fix' (#309) from increase_data_upload_memory_size into master
Reviewed-on: SGD-Nord/konova#309
2023-03-13 06:55:27 +01:00
ea9083f4c5 POST form error fix
* increases threshold for max upload memory size from 2.5MB to 5MB
2023-03-13 06:54:32 +01:00
f22b45b82b # 308 To share info message
* adds needs-to-be-shared info message on entries which are only shared with the current user
2023-03-07 07:17:08 +01:00
4d3831f30b Merge pull request '# Bugfix' (#306) from fix_multipolygon_features_mapclient into master
Reviewed-on: SGD-Nord/konova#306
2023-02-23 15:34:34 +01:00
b494bee65e # Bugfix
* fixes bug where multipolygon behaved in mapclient as single polygon, making e.g. deleting of single polygons impossible without removing everything
2023-02-23 14:56:49 +01:00
fb2900aa74 HOTFIX
* fixes bug where quality checker for compensations would not check properly for state surface sums
2023-02-23 12:02:50 +01:00
d600ab1d59 HOTFIX
* fixes bug where quality checker for compensations would not check properly for state surface sums
2023-02-23 10:44:44 +01:00
35745d6ee6 Merge pull request '284_285_API_changes' (#296) from 284_285_API_changes into master
Reviewed-on: SGD-Nord/konova#296
2023-02-23 10:20:56 +01:00
dfa05a98c6 Merge pull request '299_Performance_tweaks' (#302) from 299_Performance_tweaks into master
Reviewed-on: SGD-Nord/konova#302
2023-02-23 10:19:55 +01:00
f86952be06 Merge pull request '#300 Extend mail templates' (#301) from 300_Extend_mail_template into master
Reviewed-on: SGD-Nord/konova#301
2023-02-23 10:18:32 +01:00
bf41559c56 #300 Extend mail templates
* extends all relevant mail templates such that municipals of an entry will be shown in the mail
2023-02-23 10:17:45 +01:00
8fccddf66f # Reduces db access
* reduces number of queries performed on detail views of intervention, compensation and eco_account
* renders deductable_rest of eco account beneath progressbar on eco account index view
    * clarifies ordering logic of related column
2023-02-22 10:53:25 +01:00
cea40cd878 # Improves home_view()
* improves db fetching performance of landing page by ~75%
2023-02-22 10:02:56 +01:00
799b97341a # Improves filter_show_all()
* improves performance for filter_show_all() in ShareableTableFilterMixin and CheckboxCompensationTableFilter by ~40%
2023-02-22 09:44:35 +01:00