e2eb0ecbb0
HOTFIX
...
* fixes bug where rectangular geometry results in an error during geometry complexity calculation
2024-02-29 18:37:53 +01:00
72f1d80261
# HOTFIX
...
* drops need for authentication for calculated parcels of an entry (reports are publicly available -> does not need auth!)
2024-02-21 18:31:43 +01:00
11cc8b6766
# 382 - Redirect as 404
...
* extends 404 template (user should check the URL)
* introduces new decorator "uuid_required" which performs a check on a given 'uuid' or 'id' parameter
* throws a Http404 exception --> redirect to 404 template instead of 500 error template
2024-02-16 10:13:43 +01:00
d76a1fc85f
# Fixes
...
* drops unused methods
* fixes typos
* updates comments
* drops unused model attribute
2024-02-16 08:41:03 +01:00
476447c621
# CONN_MAX_AGE
...
* dropping conn_max_age due to problems with usage in gunicorn
2024-02-16 08:23:14 +01:00
2b94e537ae
# Typo
...
* fixes typo
2024-02-16 08:14:42 +01:00
c06088a260
# Renaming
...
* renames a method and fixes doc string
2024-02-16 08:13:10 +01:00
4fc15f6a9d
# Optimizations and fixes
...
* drops identifier handling on all edit-forms (identifier editing has been disabled on the frontend for a while now)
* updates test cases
* updates form caption for checking and recording action (less intimidating)
* optimizes district column width
* fixes bug on frontend parcel fetching on detail view
* adds extended tooltip for title column on index tables
* retraslates 'Law' to 'Rechtsgrundlage'
2024-02-08 07:31:19 +01:00
cf90f9710c
# Geom parcel performance improvement
...
* refactors parcel calculating, resulting in 1.3-1.6x better performance
* optimizes parcel fetching view
2024-01-17 11:22:21 +01:00
8bcccb4685
# WIP: Performance boost parcel calculation
...
* improves handling of parcel calculation (speed up by ~30%)
* ToDo: Clean up code
2024-01-16 07:57:29 +01:00
50bd6feb89
# Issue #381
...
* adds another validity check to SimpleGeomForm (is_size_valid) to make sure the area of the entered geometry is somehow rational (>= 1m²)
* optimizes performance of django command sanitize_db
* extends Geometry model with two new attributes, holding timestamps when a parcel calculation has been started and ended
* finally drops unused update_parcel_wfs in favor of update_parcels in Geometry model
* refactors update_parcel method
* adds geometry buffer fallback in schneider/fetcher.py to avoid emptying of geometries when parcels shall be fetched
* finally removes utils/wfs/spatial.py
* extends GeomParcelsView according to #381
* updates translations
* removes redundant psycopg2-binary requirement
2024-01-09 13:11:04 +01:00
c2ef5160a3
Django5
...
* updates requirements
* adds Django5 related migration and setting (DEFAULT_AUTO_FIELD)
2023-12-19 08:54:42 +01:00
a127b4f68c
Merge pull request '368_Mail_linking' ( #370 ) from 368_Mail_linking into master
...
Reviewed-on: SGD-Nord/konova#370
2023-12-11 13:42:51 +01:00
7b3b40f3c9
Mail links
...
* adds direct object links into mail templates
* refactors transferring app-model identification data from fore- to background (celery) properly
2023-12-11 13:40:32 +01:00
b1e7acc5f4
Municipal calculation to background
...
* moves municipal names fetching from fore- to background for mail sending
2023-12-11 12:12:19 +01:00
743bb320d7
Object mailing restructred
...
* restructures object info mail sending
2023-12-11 12:06:33 +01:00
15029cb93f
Custom exception reporter
...
* adds custom exception_reporter.py
2023-12-11 09:40:17 +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
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
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
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
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
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
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
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
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
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
1047a5f119
Tests on analysis and compensation
...
* enhances tests for analysis and compensation app
2023-08-17 12:59:50 +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
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
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
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
0664604804
# Fixes bug
...
* fixes bug described in #331
2023-05-16 12:11:13 +02: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
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
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
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
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
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
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