96d2b5aa6c
Merge pull request '# Django 4 migrations' ( #371 ) from django_4_migrations into master
...
Reviewed-on: SGD-Nord/konova#371
2023-12-12 07:34:40 +01:00
8cdea88756
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
08467e5619
Object mailing restructred
...
* restructures object info mail sending
2023-12-11 12:06:33 +01:00
29a55c9427
# Django 4 migrations
...
* migrations created because of switch to Django4
2023-11-30 13:04:33 +01:00
a0823814c5
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
98a6f19a16
Merge pull request 'master' ( #357 ) from master into django_4
...
Reviewed-on: SGD-Nord/konova#357
2023-11-21 13:38:18 +01:00
c7958d1ebf
HOTFIX
...
* fixes bug on saving eco account with missing deductable surface value
2023-11-07 16:23:57 +01:00
0f173c4802
HOTFIX
...
* corrects behaviour of lanis link generation for EIV and KOM
2023-10-26 07:26:38 +02:00
599764ef38
HOTFIX
...
* fixes bug where detail view of KOM could not be opened anymore
2023-10-26 07:22:09 +02:00
274d7b8b6f
# 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
2a9e57e633
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
5f45db6716
# 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
d9046eb2b9
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
e443c5f8be
# 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
3fa76063d0
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
5684b9b6d9
Unit test compensation models
...
* adds unit tests for compensation models
* removes duplicated unit tests
2023-08-30 10:37:16 +02:00
e9086cbbcd
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
44db3ea03e
# 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
9615497a61
#345 Fix
...
* adds is_valid check for NewDeadlineModalForm to implement #345
2023-08-29 10:55:03 +02:00
ad2f4c12f8
# 342 Fix
...
* fixes bug where rounding error on aggregated db SUM() would occur
* simplifies code base
2023-08-25 09:13:46 +02:00
a2b44a9c45
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
0f757a5de1
Unit test compensation states
...
* adds unit test for adding/editing/removing compensation states
2023-08-22 10:54:20 +02:00
1d3b576b51
Unit test for compensation forms
...
* adds unit tests for adding and editing deadline
2023-08-21 10:33:05 +02:00
643abcf841
Unit test for compensation forms
...
* adds compensation action forms unit tests
2023-08-21 10:10:23 +02:00
564ae4d5db
Tests on analysis and compensation
...
* enhances tests for analysis and compensation app
2023-08-17 12:59:50 +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
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
56ddf7ddfa
#325 Fix
...
* fixes bug described in #325
2023-04-19 15:22:52 +02: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
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
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
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
3390593bff
Bugfix
...
* fixes rendering of shared users counter on unshared compensation entries
2023-02-02 16:34:09 +01:00
aba91db152
#277 Deleted entries accessible
...
* fixes bug where deleted entries could be accessed if detail page would be called directly
2022-12-13 09:15:22 +01:00
f26b26d1a1
Public report enhancements
...
* adds toggling of scrollable box table views
* deactivates scrolling for public report view (so all entries can be seen if page is printed)
2022-12-12 13:09:17 +01:00
c4174b5b36
#271 Identifier non editable
...
* sets the identifier form field as readonly
* extends help text
* updates translations
2022-12-09 12:43:49 +01:00
1798765af5
Revert "File number public reports"
...
This reverts commit 913c42e7e8
.
2022-11-28 13:50:31 +01:00
913c42e7e8
File number public reports
...
* removes file numbers from public reports
2022-11-28 07:28:09 +01:00
aa13e60bc0
Tests
...
* extends test for new behaviour of newly created entries
2022-11-25 09:05:06 +01:00
bfbe1085b2
#249 Created as modified
...
* fills modified attribute on new entries with created value automatically
* adds default ordering by last modified on table overviews
2022-11-25 08:27:42 +01:00
2ef643f4e0
Geometry race condition fix
...
* fixes race condition for geometry conflict and parcel calculation
* harmonizes empty geometries from None/MultiPolygonEmpty to MultiPolygonEmpty
2022-11-23 13:51:05 +01:00
d6e76f7a2a
Hotfix
...
* adds missing migration
2022-11-18 16:22:24 +01:00
4138b056df
#238 Fix
...
* adds casting from Decimal() to primitive float for proper calculation
2022-11-18 13:24:36 +01:00
0cefc0e0b8
Fix CompensationAction unit None
...
* adds correct declaration of unit (qm -> m2) for template rendering
* adds migration to transform existing qm units to m2
2022-11-17 10:13:22 +01:00
4e0ee7dc91
#230 Shared users not rendered on compensation
...
* fixes non rendering of shared users on shared data
2022-11-16 13:30:07 +01:00
83137f0e58
#229 Shared users mandatory on admin
...
* changes mandatory state of users and teams on admin backend to optional (as expected by the model)
* adds team selection to admin backend
2022-11-16 13:27:57 +01:00
b57d52dc9f
Table improvements
...
* enhances visualization of editable column on tables
* simplifies code
* enhances visualization of parcel_group column on tables
* WIP: Ordering on intervention table is odd. Same results are being displayed on page 2. Needs further analysis and fixing!
2022-10-12 16:26:01 +02:00
67df63af0f
Quality of Life improvements
...
* disables ordering of parcel_group ("Gemarkung") column on tables
* ordering can not be done properly due to more complex nature of this column's content
* introduces "Keine Geometrie vorhanden" message instead of hour glass icon on entries where no geometry has been entered yet
* properly orders last_modified column by moving null values to the lower end of the ordering
2022-10-12 10:01:23 +02:00
587b828574
Test extension
...
* adds further checks on EcoAccount tests for proper updating of new deductable_rest attribute
2022-10-12 08:59:38 +02:00