Commit Graph

360 Commits

Author SHA1 Message Date
7fda62cbf3 Fixes resubmission handling
* resubmissions have not been deleted after sending mails
2022-12-01 13:57:04 +01:00
40df3a30d8 Hotfix
* fixes bug where None-geometry entry (instead of empty geometry) would not be expected on parcel fetching
2022-11-30 07:06:44 +01:00
f58da45a11 Merge pull request '222_Annual_reports' (#251) from 222_Annual_reports into master
Reviewed-on: SGD-Nord/konova#251
2022-11-25 09:18:04 +01:00
415089084e Command response dynamic
* adds a check whether the mail could be sent properly or not and changes the resulting response
2022-11-25 09:17:15 +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
a6a5bd5450 Further fixes
* fixes race condition on geometry conflict calculation if performed in background process
* simplifies access to smaller buffered geometry
* adds mapping of "qm"->"m2" for UnitChoice in API usage for backwards compatibility
2022-11-22 15:38:03 +01:00
5594250d59 #243 Feature without geometry
* fixes GDALException in case of provided feature (import) without geometry content
* modifies 500.html template to inform the user about the admins being informed automatically
2022-11-22 14:49:51 +01:00
689f3b6d28 Updates LANIS link
* changes LANIS link to new layer declaration
2022-11-18 13:28:13 +01:00
a157891f9d Z-axis geometry upload fix
* adds clamping of 3D geometries to 2D geometries if uploaded using the map importer
* extends tests for payment-document linkage
* fixes bug in team-admin selection where autocomplete could not be resolved properly
2022-11-17 13:01:40 +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
266f2fcdf6 #228 Parcel filter
* changes parcel related filter fields from CharField to NumberField to avoid unexpected behaviour on non-numerical input
2022-11-16 13:18:52 +01:00
829c145749 Team mail fix
* filters team members by notification settings before sending team mails
2022-11-14 07:19:04 +01:00
1f7f9c8964 Command
* adds new 'generate_report' command
   * generates TimeSpanReports for given conservation offices
   * zips reports into archive
   * sents archive to ADMINS mails
2022-10-26 15:44:33 +02:00
048af01795 Landing page shared count fix
* fixes bug where count of shared entries on landing page would ignore team-shared entries
* restore prior editable column icon rendering
2022-10-19 07:24:00 +02:00
d95827770d Map client holes fix
* fixes bug where holes in stored geometries would not be rendered properly on initial loading the map client
    * drawback: multiple polygons are treated as a single feature on the map client. Not a real issue but maybe we can find a better solution to this
* quality of life: renders geometry area in m² on detail and report view
2022-10-14 08:02:08 +02: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
90da686de3 New help page link
* changes the help link to match the new starter help page
2022-10-12 10:20:04 +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
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
2022-10-11 16:32:12 +02:00
d7655be7dc Map client update
* updates map client to most recent code
* fixes bug on as_feature_collection which led to problems on initial loading in map
2022-10-07 13:56:43 +02:00
ab534556a2 Fix geometry conflict message
* fixes bug where geometry conflicts template message has been rendered despite having no active geometry conflict
    * happened in case of existing geometry conflicts related to an as deleted marked entry
2022-09-29 10:29:33 +02:00
981b526e99 Merge pull request 'Bugfix Parcel calculation' (#206) from map_client_update into master
Reviewed-on: SGD-Nord/konova#206
2022-09-16 12:13:24 +02:00
167be0c24e Bugfix Parcel calculation
* fixes a bug where neighbouring parcels would be detected using Intersection operation as well
2022-09-16 12:09:25 +02:00
2957a6aa60 202 Geometry conflict checking to background
* wraps check_for_conflicts() in celery based method
* fixes bug on InterventionEditForm where geometry's save() has been called twice
2022-09-15 12:12:35 +02:00
a8b7cebc09 Netgis client update
* adds new version to sources
2022-09-12 13:12:59 +02:00
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
2022-08-25 11:34:09 +02:00
fc19a4de52 Share views
* replaces function based share views with class based
* improves team-share autocomplete search
* renames internal share url names
2022-08-22 10:58:07 +02:00
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/...
2022-08-22 10:17:49 +02:00
e66c5369a7 CompensationAction views
* replaces function based action views with class based
2022-08-22 08:38:23 +02:00
75802c5f66 State views
* replaces function based state views with class based
2022-08-22 08:27:36 +02:00
9e6a9f4902 Deadline views
* replaces function based views for deadlines with class based views
2022-08-22 08:07:35 +02:00
a73046aa02 Document views
* replaces function based views for creating, editing, removing and fetching documents with class based views
    * implemented for all major data types
2022-08-22 07:52:22 +02:00
7b35591f5d Record class view
* adds AbstractRecordView to konova/views/record.py
    * implements for all major data types
2022-08-19 11:01:33 +02:00
ef3507f058 Resubmission class view
* adds AbstractResubmissionView to konova app
    * implemented for all major data types
    * replaces function based views
2022-08-19 10:47:59 +02:00
3c416fa264 Konova views
* splits konova/views.py into separate files in new module
    * view files can now be found in /konova/views/...
* introduces first class based view AbstractLogView
    * implemented for Ema, Intervention, Compensation and EcoAccount
2022-08-19 10:25:27 +02:00
75777d65c6 Filters refactoring
* splits filters.py of compensation and ema app into separate files in new /filters module
* optimizes entry search for multi keyword input
2022-08-18 13:19:04 +02:00
87b1da8fdd Autocomplete refactoring
* refactors konova/autocompletes.py by splitting into individual files and moving them to fitting apps
     * autocomplete files now live in APPNAME/autocomplete/...
2022-08-18 11:25:06 +02:00
c07933a9bf Konova filter mixins
* refactors konova/mixins.py into individual files in konova/mixins/...
2022-08-18 10:45:15 +02:00
de8d79983d Intervention forms
* refactors intervention/forms and ../modalForms into individual files in separated packages
    * forms.py has been renamed into intervention.py, now can be found as intervention/forms/intervention.py
    * modalForms.py has been split into individual files living in modals package, can be found as intervention/forms/modals/...
2022-08-18 10:08:51 +02:00
0bf2051bdf Migrations + Cleanup
* adds needed migrations
* refactors forms.py (700+ lines) in main konova app
    * splits into forms/ and forms/modals and single class/topic-files for better maintainability and overview
* fixes bug in main konova app migration which could occur if a certain compensation migration did not run before
2022-08-15 10:50:01 +02:00
8a44681803 Command
* adds new command to be used with cron for periodic checkin of resubmissions
* updates translations
2022-08-15 10:02:07 +02:00
60867fdf39 Templates + Routes
* adds control button for Intervention, Compensation, Ema and EcoAccount for setting a resubmission on an entry
2022-08-15 09:38:51 +02:00
7e05d05d97 Model
* adds new model and mixin
* adds new functionality for Mailer class for sending resubmission mails
2022-08-15 08:08:15 +02:00
45e9ff9539 Fix
* adds more detailed situation check on check_for_recorded_instance()
2022-08-10 09:28:43 +02:00
ff26019b6e Mail sending
* adds mail sending logic for new notification setting
* adds new templates for user and team based sending
* enhances all email template layout
* adds translations
2022-08-10 08:59:24 +02:00
4138481a1b New Notification
* adds new notification setting to user settings form
* adds translations
* adds initial creating of ENUM on setup command
2022-08-10 08:03:18 +02:00
538d8d1ed2 #190 Mandatory finished deadline
* adds template message to indicate a finished-deadline is mandatory
* adds finished deadline existance to quality check of compensation-like entries
* adds proper warning to quality check result
* extends tests
2022-08-08 14:57:36 +02:00
ac49f983ee #185 Parcel loading on public reports
* fixes bug where unauthorized clients would not load a geometries parcel view properly
* minor general templates enhancements
2022-08-02 09:38:03 +02:00
a955e9f564 Revert "Merge branch 'Docker' into master"
This reverts commit 8c47c8ae35, reversing
changes made to 2206565673.

Undos accidental remote merge
2022-07-13 11:21:51 +02:00