Commit Graph

802 Commits

Author SHA1 Message Date
9476713911 Unit test api
* adds unit test for APIUserToken
* enhances handling of token fetching for API
2023-08-17 10:44:58 +02:00
d9cf9669f0 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
345b266422 Class based views
* refactors method based views for parcel fetching, home and logout to class based
2023-08-15 11:29:38 +02:00
60b6968436 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
b11217e41f 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
d361767471 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
a571c28027 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
4d96afae1d 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
9544e27baf # 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
c604de0f32 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
204cbe2a78 # Fixes bug
* fixes bug described in #331
2023-05-16 12:11:13 +02:00
4987d0b90d 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
a49c44ab44 #328 Fix
* fixes bug described in #328
2023-04-26 11:28:46 +02:00
57b734f1c2 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
56ddf7ddfa #325 Fix
* fixes bug described in #325
2023-04-19 15:22:52 +02:00
028efb3023 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
8a84df0fcd Simplification
* simplifies fetching of intervention's deductions
2023-03-30 15:11:19 +02:00
3eff97b6dd # 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
a2a7b00db5 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
6ce6834acd Adds scale line to map client 2023-03-28 13:51:28 +02:00
0a3a9b2480 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
16e72c3372 Server Messages unpublish
* changes unpublish_on to optional value
* simplifies fetching of server message news
2023-03-24 07:34:50 +01:00
e4a2a0f64e 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
76a90e655a 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
5664213959 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
7356c10f34 #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
7e847cf8cb 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
c421399788 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
b0d068e8a6 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
5fb4f61683 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
5c23f7a3de 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
457244d11b POST form error fix
* increases threshold for max upload memory size from 2.5MB to 5MB
2023-03-13 06:54:32 +01:00
9673886f93 # 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
e2b0120f93 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
d6af6ebf45 # 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
5551a513e9 HOTFIX
* fixes bug where quality checker for compensations would not check properly for state surface sums
2023-02-23 12:02:50 +01:00
e600b78c74 HOTFIX
* fixes bug where quality checker for compensations would not check properly for state surface sums
2023-02-23 10:44:44 +01:00
a90106b390 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
bc9c22949d 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
ede2591cb0 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
f3075412eb #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
8e95e980a3 # 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
073c39a970 # Improves home_view()
* improves db fetching performance of landing page by ~75%
2023-02-22 10:02:56 +01:00
acee9daab8 # Improves filter_show_all()
* improves performance for filter_show_all() in ShareableTableFilterMixin and CheckboxCompensationTableFilter by ~40%
2023-02-22 09:44:35 +01:00
35c7836b5c # Improve is_shared_with()
* improves central is_shared_with() method of ShareableObjectMixin to run ~30% faster
2023-02-22 09:19:22 +01:00
89c83f8a55 Merge pull request 'recorded_quality_check' (#297) from recorded_quality_check into master
Reviewed-on: SGD-Nord/konova#297
2023-02-21 08:06:36 +01:00
1438cf4e89 Deployment preparation
* adds unrecording to invalid entries
* reduces quality check runs on entries of interest (compensations)
2023-02-21 08:03:56 +01:00
676b8e1e54 Specific quality check for recorded entries
* adds a new command specifically for recorded entries
2023-02-17 08:03:10 +01:00
78868be772 Merge pull request 'netgis_client_update' (#294) from netgis_client_update into master
Reviewed-on: SGD-Nord/konova#294
2023-02-13 14:41:06 +01:00
4bd2a4c1c5 # Disables buggy client functions
* disables auto-buffering of new points and lines
* improves rendering of surface size
2023-02-13 12:00:19 +01:00