1042 Commits

Author SHA1 Message Date
644aa2e3cd # Refactoring payment view
* refactors views for adding, editing and removing payments
2025-11-28 11:53:43 +01:00
c14aff771e # Refactoring revocation views
* refactors views for adding, editing and removing revocations
* refactors view for getting the document of a revocation
* updates tests
2025-11-28 11:53:43 +01:00
e239736a72 # Compensation State view refactoring
* refactors compensation state views for kom, ema, oek
* updates tests
* refactors before-after state toggling into initialization of NewCompensationStateModalForm
2025-11-28 11:53:43 +01:00
21af4f2c57 # Remove View refactoring
* refactors remove view for kom, eiv, oek and ema
* introduces BaseRemoveModalFormView
* moves html blocking logic from BaseModalForm into BaseModalFormView
2025-11-28 11:53:43 +01:00
765356d064 # Test update
* fixes bug for sharing via token where permission was too tight
2025-11-28 11:53:43 +01:00
00bf03f58d # Share view refactoring
* refactors share views for eiv, oek, ema (kom does not have any)
2025-11-28 11:53:43 +01:00
3de97e2f6a # Resubmission view refactoring
* refactors resubmission view for eiv, kom, oek, ema
* removes unused attributes on BaseModalFormView
2025-11-28 11:53:43 +01:00
00109b6bfd # Log view refactoring
* refactors log views to inherit from BaseView
2025-11-28 11:53:43 +01:00
971e3f20c8 # Parcel view refactoring
* refactors parcel view to inherit from BaseView
2025-11-28 11:53:43 +01:00
efb76278b4 # Document views refactoring
* refactors new, edit, get and delete views for eiv, kom, oek and ema
* introduces
2025-11-28 11:53:43 +01:00
e0b8922494 # Deadline tests refactored
* refactors tests for deadline views to check whether they work properly
2025-11-28 11:53:43 +01:00
bfdf82ac46 # Deadline views refactored
* refactors AbstractDeadlineViews (new, edit, remove) to inherit from BaseModalFormView
* refactors KOM, OEK, EMA views for deadline views
2025-11-28 11:53:43 +01:00
0ad0b02f95 # CompensationAction views refactored
* refactors AbstractCompensationActionViews (new, edit, remove) to inherit from BaseModalFormView
* refactors KOM, OEK, EMA views for compensation actions
* moves message template strings into message_templates.py
2025-11-28 11:53:43 +01:00
a407c86dfb # RecordModalForm refactored
* refactors AbstractRecordModalForm
* refactors recording view for ema, intervention and eco account
2025-11-28 11:53:42 +01:00
abfc48d79b # BaseModalFormView refactoring
* extends BaseModalFormView to hold general logic for processing GET and POST requests for BaseModalForm endpoints
* refactors uuid check to use a specific parameter instead of kwargs
* fixes css bug where modal form input elements would not be visible
* refactors check view for intervention from function to class
* refactors DeductionViews to inherit from extended BaseModalFormView
2025-11-28 11:53:40 +01:00
43846e8d2f # Bugfix NewCompensationForm
* fixes bug where a form error would trigger a wrong error warning
2025-11-28 11:53:31 +01:00
5e01d7ccda # NewEcoAccount EditEcoAccount view
* refactors new and edit eco account views from function to class based
* removes info message if checked intervention is altered and loses the current checked state
* updates comments/documentation
* removes code duplicates
* fixes display error where modal form was hidden behind menu bar of map client
* fixes bug where compensation could not be created directly from intervention
2025-11-28 11:53:15 +01:00
5b1af04d66 # NewCompensation EditCompensation view
* refactors new and edit compensation views from function to class based
* adds checked property to compensation to return parent-intervention's checked info
* fixes bug where compensation could be added to recorded intervention
* updates translations
2025-11-28 11:52:14 +01:00
0d939c9e19 # NewEma EditEma views
* refactors views for new ema and edit ema from function to class based
* moves shared access check to base edit form view to be checked for every inheriting class
* fixes bug where private variables changed on singleton objects
* updates translations
2025-11-28 11:52:14 +01:00
7d80875727 # EditIntervention view
* refactors edit intervention view from function to class
2025-11-28 11:52:14 +01:00
53d5e03a3f # NewIntervention view
* introduces BaseFormView and BaseNewSpatialLocatedObjectFormView
* refactors new intervention view from function to class
2025-11-28 11:52:14 +01:00
34a8ea4aec # Detail View
* introduces BaseDetailView
* refactors detail views for EIV, KOM, OEK, EMA from function based to class based
* refactors already class based HomeView to inherit from new BaseView
2025-11-28 11:52:14 +01:00
478d630d76 # ClientProxyView
* refactors login required from method decorator to mixin inheritance
2025-11-28 11:52:14 +01:00
00e2178f3c # Report view refactoring
* refactors function based report views into class based for EIV, OEK, EMA, KOM
* introduces BaseReportView for proper inheritance of shared logic
* refactors generating of qr codes into proper class
2025-11-28 11:52:14 +01:00
8a984d0169 # Deduction views
* refactors deduction views on interventions and eco accounts from function to class based
* introduces basic checks on shared access and permission on BaseView on dispatching --> checks shall be overwritten on inheriting classes
2025-11-28 11:52:14 +01:00
f4e97db9ac # User view refactoring
* refactors majority of user views into class based views
* introduces BaseModalFormView and BaseView for even more generic usage
* renames url identifier user:index into user:detail for more clarity
2025-11-28 11:52:14 +01:00
95510cef36 # Identifier Generator View EcoAccount refactoring
* refactors identifier generator view for ecoaccount
* simplifies base identifier generator view even further
2025-11-28 11:52:14 +01:00
225d4e8ce1 # Identifier Generator View Compensation refactoring
* refactors identifier generator view for compensation
2025-11-28 11:52:14 +01:00
ca7411b6c3 # Identifier Generator View refactoring
* refactors identifier generator view for interventions
* simplifies same view for ema
2025-11-28 11:52:14 +01:00
43f313a71e # NewId Generator Ema refactoring
* introduces BaseNewIdentifierGeneratorView class
* refactors new identifier generator view for ema
2025-11-28 11:52:14 +01:00
241db2f51d # Index Ema refactoring
* refactors index view for ema
2025-11-28 11:52:14 +01:00
dce61c4d7e # Index EcoAccount refactoring
* refactors index view for eco account
2025-11-28 11:52:14 +01:00
17d817bbe1 # Index Compensation refactoring
* refactors index view for compensations
2025-11-28 11:52:14 +01:00
aec10ee0af # Index Intervention refactoring
* introduces BaseIndexView class
* refactors index view for interventions
2025-11-28 11:52:14 +01:00
6df47f1615 Merge pull request '504_Geometry_read-only_on_editing' (#505) from 504_Geometry_read-only_on_editing into master
Reviewed-on: #505
1.13.5
2025-11-28 11:45:30 +01:00
e25d549a97 # 497 Impressum link update
* updates impressum link
2025-11-28 11:44:18 +01:00
5e65b8f4dc # Geometry error message fix
* fixes bug where errors on geometry form were not rendered properly
* fixes bug where invalid geometry was written as read-only back into form (could not be corrected by user)
* adds explanatory comments to SimpleGeomForm is_valid() checks
* reorders code snippets for better understanding
* adds correcting logic to _set_geojson_properties() in case of missing properties element
2025-11-28 11:43:17 +01:00
22cddb9902 Merge pull request '# Fix for #500' (#501) from 500_Geometry_conflicts_still_visible into master
Reviewed-on: #501
1.13.4
2025-11-19 13:16:30 +01:00
c986bd0b92 # Fix for #500
* fixes bug where de-facto deleted compensations (because of deleted intervention) would still show up as geometry conflicts on other entries
2025-11-19 13:16:09 +01:00
2c60d86177 Merge pull request '# Update netgis map client' (#498) from netgis_map_client into master
Reviewed-on: #498
1.13.3
2025-11-07 14:11:57 +01:00
b7792ececc # Update netgis map client
* updates netgis map client (bugfix for https://github.com/sebastianpauli/netgis-client/issues/43#issuecomment-3446898016)
2025-11-07 14:11:15 +01:00
210f3fcafa Merge pull request '# HOTFIX' (#495) from update_map_config into master
Reviewed-on: #495
1.13.2
2025-10-23 16:12:45 +02:00
e7d67560f2 # HOTFIX
* fixes bug on netgis map client where importing a geometry would result in an error message
* THIS IS JUST A WORKAROUND AND HAS TO BE REPLACED BY A PROPER FIX FROM THE DEVS ASAP
2025-10-23 16:12:05 +02:00
b5e991fb95 Merge pull request '# Map layer update' (#494) from update_map_config into master
Reviewed-on: #494
2025-10-22 16:02:02 +02:00
d3a555d406 # Map layer update
* updates rp_dop layer from deprecated to newest
2025-10-22 16:00:35 +02:00
9a374f50de Merge pull request '# CSS bugfix' (#492) from fix_css_map_menu_bar_overlap into master
Reviewed-on: #492
1.13.1
2025-10-21 15:59:37 +02:00
ce63dd30bc # CSS bugfix
* fixes a rendering bug where the menu bar of the map client overlapped modal forms
2025-10-21 15:57:25 +02:00
e5db7f6b13 Merge pull request '# Small geometry processing' (#488) from 487_Small_geometry_processing into master
Reviewed-on: #488
1.13
2025-10-15 09:51:27 +02:00
442f3ceb37 # Small geometry processing
* changes SimpleGeomForm behaviour on small geometries (<1m²): These geometries will now be dismissed on processing
* adds a new info message in case of automatically removed geometries on saving
* updates tests
2025-10-15 09:50:59 +02:00
cd2949fc03 Merge pull request 'netgis_map_client_update' (#452) from netgis_map_client_update into master
Reviewed-on: #452
1.12
2025-10-12 11:31:37 +02:00