Commit Graph

208 Commits (a1c9966d025946644b85eef0c47c0381b39cb46d)

Author SHA1 Message Date
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 25d2b806ab #146 Clickable QR codes
* refactors QR codes on report views to be clickable as well (even supported through saved pdf)
3 years ago
mpeltriaux 23b6130907 #146 Share with fix
* fixes bug where editable icon on overview table would not glow if user has only team based shared access
3 years ago
mpeltriaux d3d4fac7d3 #146 Admins and update_all_parcels.py
* extends admin backend
    * adds found_in_codelists to KonovaCodeAdmin to see where a KonovaCode can be found in
    * improves rendering of after_states and before_states for all AbstractCompensationAdmins
    * adds geometry_id to all major datatype admin backends
    * adds st_area like calculation to geometry admin backend
* update_all_parcels
    * orders geometries by size (small to big) to process smaller geometries first and bigger later
    * adds more output to command for a better overview of what is just going on
3 years ago
mpeltriaux 250189d895 #142 Localized date improved
* fixes bug where created timestamp has been displayed on modified attribute on detail views
* enhances localized date and datetime rendering
* reorders sub menus in user's profile hub
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 d679acd863 # 126 Report change
* removes handler from report rendering
3 years ago
mpeltriaux c34011d45f #125 Edit form titles
* changes form titles for all new EditForms
3 years ago
mpeltriaux 50def040f2 #101 Datatype team migrations
* adds migration files for ShareableObject data models
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 31f4369236 Missing migration
* adds a migration which has not been checked in from another branch
3 years ago
mpeltriaux 5ccb63d27b #114 Unshared Account Deductions
* enables deducting from unshared eco accounts
   * account must be recorded and not deleted, so users can use it for deductions
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 d04d02380f WIP: #112 Restructure CompensationAction 3 years ago
mpeltriaux 62e452c625 WIP: CompensationAction using jstree 3 years ago
mpeltriaux afb78fa670 #112 Migration enhance
* fixes bug in migration
* adds check to migration which raises error before data loss might happen
3 years ago
mpeltriaux 2b66189590 #112 WIP: Restructure CompensationAction
* changes action_type from ForeignKey into M2M
* adds migration
* changes form widget
* WIP: changes rendering on detail view of compensation
* TEST NOT CHECKED YET!
3 years ago
mpeltriaux 6fbdc3c1fb #86 Edit deadlines EcoAccount
* adds support for editing of deadlines in EcoAccount
* adds buttons and urls
3 years ago
mpeltriaux afb0cabec4 #86 Edit deadline Compensation
* adds support for editing of deadlines
* adds buttons and urls
* adds w-10 as base css-class for all action columns
3 years ago
mpeltriaux 8d396c3e2b #86 Edit deadlines EMA
* adds support for editing of EMA deadlines
* adds buttons and urls
3 years ago
mpeltriaux c88bbdabbc #86 Edit view tests
* extends view tests
3 years ago
mpeltriaux 792b4a4632 #86 Edit actions compensation
* adds support for editing of CompensationAction for compensation
* adds buttons and urls
3 years ago
mpeltriaux b581d1c4ad #86 Edit actions EMA
* adds support for editing of CompensationAction
* adds buttons and urls for EMA
3 years ago
mpeltriaux aa242e040a #86 Edit states EMA/EcoAccount
* adds support for editing of states for EMA and EcoAccount
* adds buttons and urls
3 years ago
mpeltriaux 0c261196a4 #86 Edit states compensation
* adds support for editing of states
* adds buttons and urls for compensation
3 years ago
mpeltriaux fe842cb9bc #86 Edit document EcoAccount
* adds support for editing of documents
* adds buttons and urls for ecoaccount
3 years ago
mpeltriaux 3ded54b80f #86 Edit document Compensation
* adds support for editing of documents
* adds buttons and urls for compensation
* simplifies getter for all documents
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 c5e3800c34 #86 District column simplification
* simplifies the fetching of districts for district column
3 years ago
mpeltriaux aa338e5519 #86 Parcel-Geometry improvement
* improves the way parcel-geometry relations are stored on the DB
    * instead of a numerical sequence we switched to UUID, so no sequence will run out at anytime (new model: ParcelIntersection)
    * instead of dropping all M2M relations between parcel and geometry on each calculation, we keep the ones that still exist, drop the ones that do not exist and add new ones (if new ones exist)
3 years ago
mpeltriaux a096b2a413 # 86 LANIS link fix
* simplifies creation of LANIS link by refactoring into super class
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 02ccb78080 Remove form renaming
* renames new remove modal forms to match a more coherent style
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 5eebd42c3c Further tests ecoaccount
* adds ecoaccount workflow tests
3 years ago
mpeltriaux 98df0f93c3 Further tests
* restructures compensation/tests into subtests for ecoaccount and compensation
* adds tests for ema workflow
* improved test data setup
3 years ago
mpeltriaux 7d3c3f030b # 86 Deadline removal log entry
* adds log entries if deadline is removed
3 years ago
mpeltriaux 7535f008b7 #86 Logs
* adds log detail support for compensation state and action
3 years ago
mpeltriaux c7665a1aff # 86 Minor html/css tweaks
* improves minor things like display related breakpoints for certain html elements
* improves css for select2 for better group-result distinction
3 years ago
mpeltriaux 298a632cac # 86 More log details Documents
* adds more log details on adding/removing documents
* fixes bug in admin backend where restoring of non-compensation entries led to an error
* fixes bug where deleting of revocation without an attached file would lead to an error
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