Commit Graph

174 Commits (test-actions-runner)

Author SHA1 Message Date
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 5922d5ce06 # Issue #381
* adds another validity check to SimpleGeomForm (is_size_valid) to make sure the area of the entered geometry is somehow rational (>= 1m²)
* optimizes performance of django command sanitize_db
* extends Geometry model with two new attributes, holding timestamps when a parcel calculation has been started and ended
* finally drops unused update_parcel_wfs in favor of update_parcels in Geometry model
* refactors update_parcel method
* adds geometry buffer fallback in schneider/fetcher.py to avoid emptying of geometries when parcels shall be fetched
* finally removes utils/wfs/spatial.py
* extends GeomParcelsView according to #381
* updates translations
* removes redundant psycopg2-binary requirement
9 months 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 9615497a61 #345 Fix
* adds is_valid check for NewDeadlineModalForm to implement #345
1 year ago
mpeltriaux b11217e41f Error on map client search
* adds info for user if address search content could not be parsed properly due to external errors
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 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 f3075412eb #300 Extend mail templates
* extends all relevant mail templates such that municipals of an entry will be shown in the mail
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 e2e91a4df9 #255 Filter by created user
* adds new checkbox filter for all major data types wich shows only entries, where the performing user has been the initial creator of
* adds help texts for checkbox filters
* adds translations
2 years ago
mpeltriaux 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
2 years ago
mpeltriaux d7b2e933ec #232 Payment document linkage
* adds error message on intervention view if a payment has been added but no document has been uploaded yet
* adds same check to quality checker, meaning no intervention can be recorded which has a payment but no document
* adds trigger for sending data to egon on uploading a document in case of an already existing payment
* adds translations
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 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 8a44681803 Command
* adds new command to be used with cron for periodic checkin of resubmissions
* updates translations
2 years ago
mpeltriaux 049305c32e Minor changes
* updates translation
2 years ago
mpeltriaux 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
2 years ago
mpeltriaux 4138481a1b New Notification
* adds new notification setting to user settings form
* adds translations
* adds initial creating of ENUM on setup command
2 years ago
mpeltriaux 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
2 years ago
mpeltriaux 053612a924 #180 Shared data users hidden
* implements hidden visibility of shared users on non-shared entries
2 years ago
mpeltriaux 83039e63ce # 177 Timespanreport and Excel download
* fixes bug on excel download
* adds new order of columns to excel template for report download
* enhances subtitle for old data entries on timespanreport template
2 years ago
mpeltriaux 2d3299cffa # 177 Timespanreport helptext for deductions
* adds help text for recorded deduction section
2 years ago
mpeltriaux 8245cf5bbb # 177 Report help texts
* adds report form field help texts
* adds translations
2 years ago
mpeltriaux b0f6d83277 #158 is_pik added
* adds model and form mixin for PIK
* integrates mixins for compensation, ema and ecoaccount
* adds migration files
* extends API
* extends API test data
* adds is_xy fields to compensation, ema and ecoaccount reports
* adds is_pik information to detail views
* adds/updates translations
2 years ago
mpeltriaux 170e5798ec #169 Admin on teams
* adds admin column on team index view
* refactors Team model, so multiple members can become admins
* adds team migration for switch from fkey->m2m structure
* renames 'Group' to 'Permission' on user index view to avoid confusion between 'Groups' and Teams
* adds new autocomplete route for team-admin selection based on already selected members of the TeamForm
2 years ago
mpeltriaux c1aa14f6ba #163 Checked icons improvement
* adds a second star icon on currently unchecked but previously checked entries
   --> can be detected easier for another check run
* simplifies some related code parts
* moves some translation string into message_templates.py
* enables session timeout after 60 minutes
* improves comment card layout sizing
* adds/updates translations
2 years ago
mpeltriaux 526178ce56 #164 Retranslating
* retranslates Bestandskraftdatum
2 years ago
mpeltriaux 3535aba30f #160 Parcel number to parcel table
* adds number of all underlying parcels into parcel table
* reworks minor code parts of parcel related logic
* fixes bug where under certain circumstances a parcel would have been added twice to a geometry
* removes unused parcel fetching on intervention detail view
2 years ago
mpeltriaux 2dff3cfce3 #151 Dynamic parcel table
* refactors parcel table into a dynamic table, which does not show all content at once but rather supports pagination and a button which triggers loading of more content
* adds translation
2 years ago
mpeltriaux a9555f7bda #140 Enhancements
* fixes InterventionAutocomplete bug, where team-shared entries would not pop up as valid option
* fixes bug where form opening for new compensation without direct intervention link resulted in 404
* adds intervention-recorded check on deduction forms: Form is invalid if intervention is currently recorded and therefore blocked for any editing
* extends basic check_for_recorded_instance() method to let some forms pass, e.g. deduction related forms on ecoaccounts which only have a reason to be rendered IF the entry is recorded
* adds/updates translations
2 years ago
mpeltriaux a1c9966d02 #140 Block edit on recorded
* adds new modal form content template recorded_no_edit.html
* adds modal content change, such that no data can be edited on any form as long as the entry is recorded -> instead, users are informed on the form, that the recording state prohibits editing
* adds translations
3 years ago
mpeltriaux e029f8c61e #146 Team leave
* adds button and functionality for leaving a team
   * if the admin leaves the team, another user will be chosen as new admin automatically
* improves Team (django) admin backend
   * better control over user adding-removing
   * only added team members are selectable as admin
3 years ago
mpeltriaux e85a2294d9 #144 Report improved
* fixes bug in egon_export.py where missing payment date would result in non writing of gml
* fixes bug in egon_export.py which occured due to extension of parcel data fetching
* updates unavailable.html report content, such that users will understand why a recorded entry might not be visible, yet
3 years ago
mpeltriaux 8af0e41e2d # 139 Parcel reference improved
* improves frontend layout to display more details on district, municipal and parce group
* improves ordering of parcels
* refactors parcel related models
* improves parcel fetching
* extends and simplifies sanitize_db parcel related code
3 years ago
mpeltriaux f4d0485019 # 129 Handler code renaming
* renames handler code list
* improves missing handler data rendering on detail view
3 years ago
mpeltriaux f441ed94f5 # 129 Handler code
* adds handler code list usage to forms and models
* updates tests
* extends API for handler code handling
3 years ago
mpeltriaux 6e3a6d53d1 #121 Deferred parcels
* improves filtering by gmrkng and krs
* implements deferred loading of parcels on spatial referenced data objects
* adds HTMX to project
* improves detail view layout (mainly interesting for smaller displays/mobile)
3 years ago
mpeltriaux c34011d45f #125 Edit form titles
* changes form titles for all new EditForms
3 years ago
mpeltriaux 963854652e #101 Team mails
* adds mail templates for shared data actions
* fixes bug where deleted compensations would be used for checking
3 years ago
mpeltriaux 87a93b9a7f #101 Team data view
* adds overview of shared teams on object detail view
* adds team data view if button is clicked
3 years ago
mpeltriaux edcf7b3c78 #101 Team sharing tests
* adds tests for team sharing
* extends the API for team sharing support
* adds shared_teams property shortcut for ShareableObjectMixin
* adds full support for team-based sharing to all views and functions
* simplifies ShareModalForm
* adds/updates translations
3 years ago
mpeltriaux e152dfd4d7 #101 Team sharing form
* adds team sharing field to share form
* splits sharing logic into user based and teams based
* adds TeamAdmin for admin backend
* adds validity check on Team name -> only unused names shall be valid
3 years ago
mpeltriaux 9fec85b688 #101 Team enhancements
* visual enhancement for team index rendering
* adds validity check for admin-membership of a team
3 years ago
mpeltriaux a160f3fe6c #112 Autocomplete enhancements
* enhances filtering for Autocomplete -> parent_parent will be searched for match as well
* adds rendering of parent_parent group for BiotopeAutocomplete
* enhances ordering of registration office autocomplete
3 years ago
mpeltriaux 4be26fbc22 #112 CompensationAction explanation
* updates the help_text for action_type on NewActionModalForm to give a better explanation
3 years ago
mpeltriaux c0de1ae28d #112 AbstractCompensation rendering enhancements
* minor changes to detail view rendering of EMA, Compensation and EcoAccount
3 years ago