Commit Graph

161 Commits (60867fdf392671bd07b3caa49610efadc6327e3b)

Author SHA1 Message Date
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 c0595760ab Merge branch 'master' into 138_New_map_client
# Conflicts:
#	konova/models/geometry.py
#	konova/urls.py
#	locale/de/LC_MESSAGES/django.mo
#	locale/de/LC_MESSAGES/django.po
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 8d34580090 #138 WIP Improvements
* adds geom back writing to form field in case of invalid geometry, so the invalid geometry will be shown again
* updates tests
* fixes bug where race condition of celery workers could lead to duplicates in parcels (needs migration)
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
3 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
mpeltriaux 95856c9ee9 #112 CompensationAction Tree
* implements generic HTML based and Django compatible TreeView
* enhances listing of CompensationActions on DetailView
3 years ago
mpeltriaux 1028c19f87 Translation update
* updates translations
3 years ago
mpeltriaux c5534bcd55 #86 Edit document
* adds support for editing of documents
* adds buttons for intervention
3 years ago
mpeltriaux d106977c34 #86 Edit deductions
* adds support for editing deductions
* adds tests
* improves major base test logic
3 years ago
mpeltriaux ce9143e4b2 #86 Edit payment
* adds button for payment editing
* adds new edit form payment editing
* adds tests for views and workflow
3 years ago
mpeltriaux 402bc2d6f3 #86 Parcel district column for all
* adds parcel district column for all major data objects
* adds warning about intervention-revocation on index view of compensations
* adds warning about intervention-revocation on detail view of related compensations
3 years ago
mpeltriaux 23c04c8883 #86 Parcel districts instead of revocation
* drops revocation column in favour of a parcel district column
3 years ago
mpeltriaux 5ebb3f833a #86 Log detail enhancements
* restructures removing of related data into separate sub-delete forms for easier logic handling
3 years ago
mpeltriaux 7d3c3f030b # 86 Deadline removal log entry
* adds log entries if deadline is removed
3 years ago
mpeltriaux 0a6d5cf19b #86 Userlogs Compensation
* adds log details for adding/removing of compensations for intervention
* adds handy restore-deleted function for admin backend for alls BaseObject derivatives
* adds/updates translations
3 years ago
mpeltriaux b17b0b5144 # 86 Proper log detail
* adds support for payment adding/deleting to intervention log
* adds support for deduction adding/deleting to intervention/ecoaccount log
* improves code snippets
* drops add_deduction() methods for ecoaccount and intervention in favor of simpler creation in NewDeductionModalForm
* adds messages
* adds/updates translations
3 years ago
mpeltriaux 73cf3fc503 #88 Action detail codes
* adds codelist 1035 for compensation action detail codes
* extends CompensationAction model
* extends NewActionForm
* extends detail view of compensation action related models
* add/updates translations
* adds autocomplete tests
3 years ago
mpeltriaux 95a17ed04f # 88 Extra biotope codes
* adds additional biotope konovaCodes to CompensationState model
* increases rpp for Autocompletion
* adds/updates translations
3 years ago
mpeltriaux e0f7de37b6 #31 API further credential
* adds Kspuser as another expected header data to resolve the api user
* adds/updates translations
3 years ago
mpeltriaux b86202ba98 #31 API Token mail
* sends an email to the support address if a new token has been generated
3 years ago
mpeltriaux b13e67e061 #31 API Frontend token generating
* adds frontend settings for users to create API tokens on their user settings
3 years ago
mpeltriaux b72426e20f # 83 Publication rework interventions
* adds abstract is_ready_for_publish method to PublishableObjectMixin which needs to be implemented in subclasses
* adds implementation for intervention model
* adds publishable check to rendering report view
* adds/updates translations
3 years ago