Commit Graph

310 Commits (db53cc168ae812952437cf79097e1c40bc7d87e0)

Author SHA1 Message Date
mpeltriaux 3ac9081205 Merge branch 'refs/heads/master' into missing_migrations 1 month ago
mpeltriaux b265aab4cf # Migrations
* adds missing migrations
* renames variables shadowing in-builts
1 month ago
mpeltriaux 4e56f47b47 # Variable refactoring
* renames variable `has_access` into `is_entry_shared` for better understanding in various places (mostly html related)
2 months ago
mpeltriaux 81663db65c # Migration list 975->288
* adds migration for app codelist to migrate existing biotope type details codes from list 975 to 288 depending on their atomID
* improves rendering of action and biotope type details on frontend for KOM, OEK and EMA
* refactors KonovaCode str() rendering
2 months ago
mpeltriaux 762d25a87e # Codelist 288
* introduces 288 to codelist/settings.py
* refactors usage from 975 to 288
* enhances rendering of codelist names depending on which name exists (short vs long)
2 months ago
mpeltriaux 03edb74023 # Admin backends
* disables certain admin backends
* adds proper ordering to server message admin overview
6 months ago
mpeltriaux ba83993abf # 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
8 months ago
mpeltriaux 6945b17117 # 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'
8 months ago
mpeltriaux 96d2b5aa6c Merge pull request '# Django 4 migrations' (#371) from django_4_migrations into master
Reviewed-on: SGD-Nord/konova#371
10 months ago
mpeltriaux 8cdea88756 Mail links
* adds direct object links into mail templates
* refactors transferring app-model identification data from fore- to background (celery) properly
10 months ago
mpeltriaux 08467e5619 Object mailing restructred
* restructures object info mail sending
10 months ago
mpeltriaux 29a55c9427 # Django 4 migrations
* migrations created because of switch to Django4
10 months ago
mpeltriaux a0823814c5 Hotfix: EcoAccount serializable
* fixes bug where EcoAccount model was not serializable due to changes in newer DAL version due to Django4
10 months ago
mpeltriaux 98a6f19a16 Merge pull request 'master' (#357) from master into django_4
Reviewed-on: SGD-Nord/konova#357
11 months ago
mpeltriaux c7958d1ebf HOTFIX
* fixes bug on saving eco account with missing deductable surface value
11 months ago
mpeltriaux 0f173c4802 HOTFIX
* corrects behaviour of lanis link generation for EIV and KOM
12 months ago
mpeltriaux 599764ef38 HOTFIX
* fixes bug where detail view of KOM could not be opened anymore
12 months ago
mpeltriaux 274d7b8b6f # 349 LANIS link improvements
* replaces 'dumb' link template with LANIS mapinterface support
* adds fallback default LANIS link
12 months ago
mpeltriaux 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
12 months ago
mpeltriaux 5f45db6716 # Bugfix Payment date invalid
* fixes a bug where validation check of payment 'due' has not been triggered properly
1 year ago
mpeltriaux 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
1 year ago
mpeltriaux e443c5f8be # Unit test konova app
* adds unit test for konova app models
* drops unused/unnecessary code fragments
* updates translation
1 year ago
mpeltriaux 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
1 year ago
mpeltriaux 5684b9b6d9 Unit test compensation models
* adds unit tests for compensation models
* removes duplicated unit tests
1 year ago
mpeltriaux e9086cbbcd Merge branch 'master' into test
# Conflicts:
#	locale/de/LC_MESSAGES/django.mo
#	locale/de/LC_MESSAGES/django.po
1 year ago
mpeltriaux 44db3ea03e # Deadline form logic
* adds logic to NewDeadlineModalForm to invalidate 'other' deadline types without comment (as explanation for 'other')
1 year ago
mpeltriaux 9615497a61 #345 Fix
* adds is_valid check for NewDeadlineModalForm to implement #345
1 year ago
mpeltriaux ad2f4c12f8 # 342 Fix
* fixes bug where rounding error on aggregated db SUM() would occur
* simplifies code base
1 year ago
mpeltriaux a2b44a9c45 Unit test intervention forms
* adds unit test for new/edit intervention forms
* improves code base for generating new identifiers
1 year ago
mpeltriaux 0f757a5de1 Unit test compensation states
* adds unit test for adding/editing/removing compensation states
1 year ago
mpeltriaux 1d3b576b51 Unit test for compensation forms
* adds unit tests for adding and editing deadline
1 year ago
mpeltriaux 643abcf841 Unit test for compensation forms
* adds compensation action forms unit tests
1 year ago
mpeltriaux 564ae4d5db Tests on analysis and compensation
* enhances tests for analysis and compensation app
1 year ago
mpeltriaux 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
1 year ago
mpeltriaux 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
1 year ago
mpeltriaux 56ddf7ddfa #325 Fix
* fixes bug described in #325
1 year ago
mpeltriaux 9673886f93 # 308 To share info message
* adds needs-to-be-shared info message on entries which are only shared with the current user
2 years ago
mpeltriaux 5551a513e9 HOTFIX
* fixes bug where quality checker for compensations would not check properly for state surface sums
2 years ago
mpeltriaux e600b78c74 HOTFIX
* fixes bug where quality checker for compensations would not check properly for state surface sums
2 years ago
mpeltriaux 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
2 years ago
mpeltriaux acee9daab8 # Improves filter_show_all()
* improves performance for filter_show_all() in ShareableTableFilterMixin and CheckboxCompensationTableFilter by ~40%
2 years ago
mpeltriaux 3390593bff Bugfix
* fixes rendering of shared users counter on unshared compensation entries
2 years ago
mpeltriaux aba91db152 #277 Deleted entries accessible
* fixes bug where deleted entries could be accessed if detail page would be called directly
2 years ago
mpeltriaux 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)
2 years ago
mpeltriaux c4174b5b36 #271 Identifier non editable
* sets the identifier form field as readonly
* extends help text
* updates translations
2 years ago
mpeltriaux 1798765af5 Revert "File number public reports"
This reverts commit 913c42e7e8.
2 years ago
mpeltriaux 913c42e7e8 File number public reports
* removes file numbers from public reports
2 years ago
mpeltriaux aa13e60bc0 Tests
* extends test for new behaviour of newly created entries
2 years ago
mpeltriaux bfbe1085b2 #249 Created as modified
* fills modified attribute on new entries with created value automatically
* adds default ordering by last modified on table overviews
2 years ago
mpeltriaux 2ef643f4e0 Geometry race condition fix
* fixes race condition for geometry conflict and parcel calculation
* harmonizes empty geometries from None/MultiPolygonEmpty to MultiPolygonEmpty
2 years ago