Commit Graph

527 Commits

Author SHA1 Message Date
06af30fc49 #132 WIP Minor change
* changed comment field string if conservation/registration office or handler not identifiable
2022-05-12 12:07:24 +02:00
3c211e6560 #132 WIP Migrate Users
* adds automatic permission group adding depending on old access role
* catches error on intervention migration auto-recording
* changes default user is_active flag to be true on migration
2022-05-03 16:22:17 +02:00
9cd73aefe1 #132 WIP Migrate Users
* improves auto-recording of eco accounts
* adds migration of users and adding to auto-created teams
2022-04-29 13:33:44 +02:00
6ce2dd8509 #132 WIP Migrate recording accounts
* adds recording state of ecoaccounts
2022-04-06 09:55:37 +02:00
d19a563491 #132 EMA recording
* automatically record migrated ema using the created data (user + timestamp)
2022-03-31 17:00:29 +02:00
5c15f84fba #132 WIP Migrate Revocations
* adds revocation migrating into intervention data
* adds intervention recording migration (MUST BE RUN AFTER MAIN MIGRATION!!!)
   * WIP other data types need recording migration logic as well!
2022-03-31 16:27:38 +02:00
c3cce6eb28 #132 WIP Deduction enhances
* enhances comment messages
* adds fallback calculation for deduction-account ratio in case of missing or unlogical values
* adds creation timestamp for migrated deductions, derived from old kom-deduction log/protokoll table
* fixes bug in eco account migration where legal changes would not be saved
* changes bug in compensation where direct data changes would not be saved
* improves update_all_parcels.py by catching all types of possible exceptions during the update procedure and adding the causing geometry to the try_again_ids list
2022-03-31 14:45:34 +02:00
320d21af78 #132 WIP migration improvements
* set automatically DEFAULT_GROUP to migrated users
* fixes bug where GISPADID could not be resolved properly, since it is suddenly named FKEY in source table (protokoll)
* adds fallback for protokoll table migration, since some logs can be found in a table called "log"
* set created and modified attributes of a migrated instance according to their first and last log entries
* automatically create teams from previous registration and conservation office access roles
    * need to be populated with users using data from natportal migration
* checks first if a KOM's EIV exists before performing all (time consuming) migration steps
2022-03-30 14:45:30 +02:00
9c41cfb380 #132 WIP migration
* adds KOM paragraph 7 migration into compensation comment field
* adds fallback data for missing registration and binding dates, file numbers and so on
* fixes bug where a migration class' db connection would get a timeout if not used asap after instanciation
* enhances parcel update command
    * collects geometry id in case of unsuccessful calculation attempt and rerun another try on these afterwards (errors cased server-side of WFS)
2022-03-29 17:08:58 +02:00
f9db0e7596 #132 WIP Migrate OEKs
* migration for deductions added
2022-03-24 18:09:59 +01:00
a77cfa7fe3 #132 Log migration
* adds basic log migration for all data types
  * empty users will be auto-created on log creation
* drops CODELIST_INTERVENTION_HANDLER in favor of CODELIST_COMPENSATION_HANDLER
* fixes bug in rendering of parent-child Konova Code label
2022-03-24 13:42:05 +01:00
f621aab6e1 #132 WIP OEK
* adds geometry-remerging with former deductions
* adds geometry-area calculation
* adds fallback for old data migration on deprecated biotope code lists
* fixes typo in CODELIST_AFTER_STATE_BIOTOPES_ID
2022-03-22 16:36:52 +01:00
f312dafa68 #132 Enhancements
* adds CL288 to list of codelists
    * holds historic detail codes on biotopes (needed for proper migration of old entries but not for future, new entries)
* improves EMA finance migration
* adds fix for KonovaCodes where parents do not have any proper long_name values set but short_names instead
2022-03-22 13:41:03 +01:00
0c1ca4d173 #132 WIP Migrate OEKs
* WIP: adds oek migrations
* refactors ema migration into own file
2022-03-17 16:33:06 +01:00
899a6240c1 #132 EMA finance volume migration
* adds migration of finance volumes into ema comment
2022-03-17 16:08:50 +01:00
4a06f8625a #132 Control deadlines
* extends migration to migration of action control deadlines
* adds EMA deadline migration
2022-03-17 15:30:27 +01:00
87e88fea54 # 132 Compensation handler codelist
* extends codelist settings by compensation handler codelist (differs from regular handler codelist)
2022-03-17 13:59:57 +01:00
ac704bc930 #132 WIP: EMA
* WIP: adds first implementation for EMA migration
* fixes bug where not found files would case migration to fail
2022-03-15 17:04:15 +01:00
f8627930d8 #132 COmpensation document
* adds migration for compensation documents
2022-03-15 16:52:32 +01:00
24ea850689 #132 Compensation migrater enhancements
* adds further catches for data garbage
* adds action migrater
* extends UnitChoices
2022-03-15 15:28:13 +01:00
24298d2043 #132 Compensation deadlines
* adds deadline migration
2022-03-15 11:43:17 +01:00
8b4104c704 #132 Compensation states
* adds migration for ksp-KOM states (before+after)
* adds migration for CEF/Coherence info
2022-03-15 11:26:09 +01:00
d21baf11f3 #132 Compensations
* WIP: adds CompensationMigrater
* moves more ksp-migration logic from InterventionMigrater to BaseMigrater
* improves comment card rendering
2022-03-14 15:58:02 +01:00
7338bfd073 #132 Migrater restructure
* restructures code into base migrater logic and inheriting migrater logic
    * preparation for further migraters
2022-03-14 15:03:05 +01:00
e95b337edc #132 Comment card
* improves multiline content rendering for comment card template
2022-03-14 14:50:28 +01:00
675a3a0287 #132 Old entries migration
* adds intervention payment migration
* adds intervention document migration
2022-03-14 14:47:38 +01:00
88946f663c #132 old entries
* WIP: further improves migration of interventions
2022-03-11 14:36:12 +01:00
228333d509 #132 WIP Old entries
* WIP: implements raw migration from ksp to konova
2022-03-10 15:31:47 +01:00
caa840849e Merge pull request '129_Handler_code' (#133) from 129_Handler_code into master
Reviewed-on: SGD-Nord/konova#133
2022-03-04 13:23:11 +01:00
f4d0485019 # 129 Handler code renaming
* renames handler code list
* improves missing handler data rendering on detail view
2022-03-03 12:09:09 +01:00
f441ed94f5 # 129 Handler code
* adds handler code list usage to forms and models
* updates tests
* extends API for handler code handling
2022-03-03 12:05:22 +01:00
e715be3ca1 Merge pull request '121_Deferred_parcel_loading' (#128) from 121_Deferred_parcel_loading into master
Reviewed-on: SGD-Nord/konova#128
2022-02-21 15:57:38 +01:00
ab361ec2fd #121 Deferred parcels test
* adds test for htmx-parcel fetching
2022-02-21 15:53:09 +01:00
95255ff3ea #121 Fancy spatial reference
* visual enhancement for spatial reference rendering
2022-02-21 15:38:41 +01:00
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)
2022-02-21 15:18:15 +01:00
ae1e65768e Merge pull request '125_Form_titles_wrong' (#127) from 125_Form_titles_wrong into master
Reviewed-on: SGD-Nord/konova#127
2022-02-21 09:25:21 +01:00
d679acd863 # 126 Report change
* removes handler from report rendering
2022-02-21 09:19:24 +01:00
c34011d45f #125 Edit form titles
* changes form titles for all new EditForms
2022-02-21 09:04:46 +01:00
f75acd318f HOTFIX
* fixes bug where new teams button would not open modal form
2022-02-18 15:28:15 +01:00
87f1ca19fb Merge pull request '101_Team_based_sharing' (#122) from 101_Team_based_sharing into master
Reviewed-on: SGD-Nord/konova#122
2022-02-18 15:20:34 +01:00
963854652e #101 Team mails
* adds mail templates for shared data actions
* fixes bug where deleted compensations would be used for checking
2022-02-18 15:19:37 +01:00
50def040f2 #101 Datatype team migrations
* adds migration files for ShareableObject data models
2022-02-18 14:09:45 +01:00
87a93b9a7f #101 Team data view
* adds overview of shared teams on object detail view
* adds team data view if button is clicked
2022-02-18 14:07:44 +01:00
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
2022-02-18 13:52:27 +01:00
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
2022-02-18 11:02:40 +01:00
071bdea099 Merge branch 'master' into 101_Team_based_sharing 2022-02-18 09:27:00 +01:00
31f4369236 Missing migration
* adds a migration which has not been checked in from another branch
2022-02-18 09:26:29 +01:00
3878b5dbdb WIP: #101 Team sharing form
* adds form for sharing via team
2022-02-17 15:07:25 +01:00
9fec85b688 #101 Team enhancements
* visual enhancement for team index rendering
* adds validity check for admin-membership of a team
2022-02-17 13:44:32 +01:00
75c70ff8dc #101 Team settings
* adds first implementation for team managing
2022-02-17 13:13:32 +01:00