Commit Graph

293 Commits (599764ef3861f888b70bd2ed63ebfb4ec7b3b13b)

Author SHA1 Message Date
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 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
mpeltriaux d6e76f7a2a Hotfix
* adds missing migration
2 years ago
mpeltriaux 4138b056df #238 Fix
* adds casting from Decimal() to primitive float for proper calculation
2 years ago
mpeltriaux 0cefc0e0b8 Fix CompensationAction unit None
* adds correct declaration of unit (qm -> m2) for template rendering
* adds migration to transform existing qm units to m2
2 years ago
mpeltriaux 4e0ee7dc91 #230 Shared users not rendered on compensation
* fixes non rendering of shared users on shared data
2 years ago
mpeltriaux 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
2 years ago
mpeltriaux 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!
2 years ago
mpeltriaux 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
2 years ago
mpeltriaux 587b828574 Test extension
* adds further checks on EcoAccount tests for proper updating of new deductable_rest attribute
2 years ago
mpeltriaux 96ee94583f Fixes account deletion with deductions
* adds a warning on removing an eco account if there are still deductions
    * this way a user needs to get rid of these deductions first
2 years ago
mpeltriaux 2129855068 Fix for recorded deduction
* fixes bug where deduction of a recorded intervention could be deleted from the eco account detail view
* improves check_for_recorded_instance() logic
* improves rendering of detail view on compensation-like objects to highlight missing data
2 years ago
mpeltriaux 68dfef18c5 Fixes EcoAccount availability ordering
* adds db based table ordering for EcoAccountTable
2 years ago
mpeltriaux 73f3887941 Hotfix for ordering of availability
* fixes error 500 in case of ordering by availability
2 years ago
mpeltriaux f49bb74c38 Login required on modals
* adds new login_required_modal decorator
    * can be used before regular login_required decorator to return a proper session-timed-out message
2 years ago
mpeltriaux fc19a4de52 Share views
* replaces function based share views with class based
* improves team-share autocomplete search
* renames internal share url names
2 years ago
mpeltriaux 09402611dc EcoAccount views
* splits compensation/views/eco_account.py (+700 lines) into separate files in new module
    * view files can now be found in /compensation/views/eco_account/...
2 years ago
mpeltriaux e66c5369a7 CompensationAction views
* replaces function based action views with class based
2 years ago
mpeltriaux 75802c5f66 State views
* replaces function based state views with class based
2 years ago