Commit Graph

945 Commits

Author SHA1 Message Date
4000eed75d Merge pull request 'Hotfix: EcoAccount serializable' (#361) from 360_EcoAccount_not_serializable into django_4
Reviewed-on: SGD-Nord/konova#361
2023-11-29 12:22:42 +01:00
07b14f1b7f Hotfix: EcoAccount serializable
* fixes bug where EcoAccount model was not serializable due to changes in newer DAL version due to Django4
2023-11-29 12:21:37 +01:00
8132427c7c # CSRF_TRUSTED_ORIGINS
* new in Django4: setting CSRF_TRUSTED_ORIGINS needs to be set to schema+host for new CSRF security handling
2023-11-28 12:59:40 +01:00
401dc18731 HOTFIX
* fixes z-index overlapping of netgis map client toolbar and modal forms
2023-11-27 12:51:39 +01:00
a2389edcc1 Fix for testing 2023-11-21 14:03:38 +01:00
92797f4ea0 Merge pull request 'master' (#357) from master into django_4
Reviewed-on: SGD-Nord/konova#357
2023-11-21 13:38:18 +01:00
d5e273ee80 Merge pull request 'django_4_map_update' (#356) from django_4_map_update into django_4
Reviewed-on: SGD-Nord/konova#356
2023-11-21 13:35:35 +01:00
34733779ed Map update 2023-11-21 13:22:58 +01:00
b1ee0f9034 Map update 2023-11-21 12:53:27 +01:00
a4ec0a8722 Map update 2023-11-21 09:01:59 +01:00
2aaa39e3a6 HOTFIX
* fixes bug on saving eco account with missing deductable surface value
2023-11-07 16:23:57 +01:00
964a9aaed9 # Netgis HOTFIX
* fixes bug where map client would not parse config.json properly resulting in failed client start
2023-10-30 09:40:35 +01:00
17de730c53 HOTFIX
* corrects behaviour of lanis link generation for EIV and KOM
2023-10-26 07:26:38 +02:00
23c7a80bd7 HOTFIX
* fixes bug where detail view of KOM could not be opened anymore
2023-10-26 07:22:09 +02:00
3e593bd00e Merge pull request '# 349 LANIS link improvements' (#350) from 349_LANIS_link into master
Reviewed-on: SGD-Nord/konova#350
2023-10-25 10:09:39 +02:00
16fd7a3a2c # 349 LANIS link improvements
* replaces 'dumb' link template with LANIS mapinterface support
* adds fallback default LANIS link
2023-10-25 10:04:56 +02:00
235539ee4b # Map client update
* updates netgis map client to newest pre-release
2023-10-16 13:27:27 +02:00
157e733c5a Django 4.2
* updates Django to 4.x and other packages (if possible) to latest versions
* Attention: Requires postgresql >= 12.0
* updates code fragments to match requirements of newer package versions
2023-10-12 09:57:05 +02:00
bfa893a02f Merge pull request 'test' (#347) from test into master
Reviewed-on: SGD-Nord/konova#347
2023-09-15 13:12:40 +02:00
e63de9b628 # Bugfix Payment date invalid
* fixes a bug where validation check of payment 'due' has not been triggered properly
2023-09-13 14:40:22 +02:00
9117abd1d8 Unit test user app
* adds unit test for User model and forms
* refactors functions from user_checks.py into User class and drops user_checks.py
2023-09-13 09:49:40 +02:00
19baf7ba86 # Unit test user
* adds unit test for team creating and editing of user app
2023-09-12 11:49:12 +02:00
d69ea6d7c0 # Unit tests for konova geometry
* adds further unit tests for konova app geometry model
2023-09-12 09:16:10 +02:00
89efc33d75 # Unit test konova app
* adds unit test for konova app models
* drops unused/unnecessary code fragments
* updates translation
2023-09-08 12:47:50 +02:00
530ceb3876 Unit test konova base forms
* adds unit test for resubmission modal form
2023-09-07 11:07:17 +02:00
ed548736e0 Unit test intervention/konova
* adds unit test for intervention app
* adds unit test for konova app
2023-09-07 10:48:11 +02:00
366c3eec83 Unit tests ema
* adds unit tests for ema forms
2023-09-05 11:24:29 +02:00
6362fbc387 Unit tests intervention
* adds tests for share and revocation forms
2023-08-31 12:17:28 +02:00
4a70408ec3 Deduction validity checking
* fixes behaviour of related deduction checks on intervention checking
2023-08-31 11:31:33 +02:00
5d734638ab Eco account unit tests
* adds eco account unit tests
* adds validity check to eco account form to check on existing deductions and potential conflict with reduced deductable surface
* improves geojson handling on SimpleGeomForm
* adds/updates translation
2023-08-30 16:20:06 +02:00
4392401f27 Unit test compensation models
* adds unit tests for compensation models
* removes duplicated unit tests
2023-08-30 10:37:16 +02:00
777b7a929d Merge branch 'master' into test
# Conflicts:
#	locale/de/LC_MESSAGES/django.mo
#	locale/de/LC_MESSAGES/django.po
2023-08-30 09:12:02 +02:00
454805608c Merge pull request '345_Other_deadline_with_comment' (#346) from 345_Other_deadline_with_comment into master
Reviewed-on: SGD-Nord/konova#346
2023-08-29 14:07:04 +02:00
13da5dbc32 # Deadline form logic
* adds logic to NewDeadlineModalForm to invalidate 'other' deadline types without comment (as explanation for 'other')
2023-08-29 14:06:11 +02:00
0a3b91e69a #345 Fix
* adds is_valid check for NewDeadlineModalForm to implement #345
2023-08-29 10:55:03 +02:00
be2245dbd9 Merge pull request '# 342 Fix' (#343) from 342_Rounding_error_on_db_SUM into master
Reviewed-on: SGD-Nord/konova#343
2023-08-25 09:41:55 +02:00
1c50d66551 # 342 Fix
* fixes bug where rounding error on aggregated db SUM() would occur
* simplifies code base
2023-08-25 09:13:46 +02:00
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