Commit Graph

626 Commits (d168ec47ce96a9eefef04522a79e2081f1b093b1)
 

Author SHA1 Message Date
mpeltriaux c911276cb4 #169 Team delete-restore
* removes unused code snippets
2 years ago
mpeltriaux 4ec8e1ae07 #169 Team delete-restore
* adds tests for user app
2 years ago
mpeltriaux 5de3f4c24e #169 Team delete-restore
* adds restorable delete functionality to Team model
* refactors minor code model parts by introducing DeletableObjectMixin
* only non-deleted Teams can be chosen for sharing
* deleted Teams can be restored using the proper function on the backend admin
* deleted Teams do not provide
* adds migration
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 b790921e42 Merge pull request '#163 Checked icons improvement' (#168) from 163_Checked_workflow_improvements into master
Reviewed-on: SGD-Nord/konova#168
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 528f2145a4 Merge pull request '#138 Bugfix' (#167) from 138_New_map_client into master
Reviewed-on: SGD-Nord/konova#167
2 years ago
mpeltriaux 5c21932511 #138 Bugfix
* fixes bug where empty geometry would have lead to exception during is_valid check on SimpleGeomForm
2 years ago
mpeltriaux 56f58284f9 Merge pull request '138_New_map_client' (#166) from 138_New_map_client into master
Reviewed-on: SGD-Nord/konova#166
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 714d888326 #138 Configuration extended
* adds more layers and subfolders to the layer tree
* changes colours for tools
2 years ago
mpeltriaux 42592c5bdf #138 Netgis map client
* updates netgis map client to most recent version
* removes trigger delay on clicking events
* adds further customization options to config.json
2 years ago
mpeltriaux 1f998ebf76 Merge pull request '#164 Retranslating' (#165) from 164_Retranslate_binding_on_date into master
Reviewed-on: SGD-Nord/konova#165
2 years ago
mpeltriaux 526178ce56 #164 Retranslating
* retranslates Bestandskraftdatum
2 years ago
mpeltriaux 8b6dbdff8a Merge pull request '160_Number_of_parcels' (#162) from 160_Number_of_parcels into master
Reviewed-on: SGD-Nord/konova#162
2 years ago
mpeltriaux 6fd3c4c179 #138 WIP update
* implements new build for netgis map client
2 years ago
mpeltriaux 0b4b664265 #160 Parcel calc fix
* fixes minor bug where invalid geometry (self intersecting) could not be used properly as input for WFS parcel intersection calculation
    * future enhancements regarding map client will make sure invalid geometries can not be added in the first place
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 21d1fabeec Merge pull request 'js_tree_element_improvement' (#161) from js_tree_element_improvement into master
Reviewed-on: SGD-Nord/konova#161
2 years ago
mpeltriaux eb763a94fb JS Tree enhancement
* extends compensation state forms to match the new logic
* adds minor changes for tests
2 years ago
mpeltriaux 5fe27e02ec WIP: JS Tree
* simplifies js for single-select radio tree
2 years ago
mpeltriaux a5d24e6db5 WIP: JS Tree improvements
* adds optional short_name rendering for selectable codes
* refactors autocomplete field for compensation state into custom js tree widget
* adds single select (radio) alternative to tree widget templates
2 years ago
mpeltriaux 18789c231d Visual enhancement for custom JS tree widget
* adds proper css behaviour for collapsed icon
* adds minor js comments
2 years ago
mpeltriaux bec9c967b9 Merge pull request 'Update docker' (#159) from master into Docker
Reviewed-on: SGD-Nord/konova#159
2 years ago
mpeltriaux a7b8752119 Merge pull request 'Docker_worker_enhance' (#155) from Docker_worker_enhance into Docker
Reviewed-on: SGD-Nord/konova#155
2 years ago
mpeltriaux 2c2075fe4a Merge pull request '#156 Parcel WFS as geojson' (#157) from 156_Parcel_WFS_as_geojson into master
Reviewed-on: SGD-Nord/konova#157
2 years ago
mpeltriaux c9c918bae1 #156 Parcel WFS as geojson
* refactors fetching of parcels via wfs from xml to json for easier and faster processing
2 years ago
mpeltriaux 7027e0c02b Docker enhancement
* optimizes image build dependency
* increases gunicorn default number of workers
2 years ago
mpeltriaux 80de57a087 WIP: Docker enhancement
* reduces all needed containers into a single one
* simplifies initial startup command by adding docker-entrypoint.sh
2 years ago
mpeltriaux 7d29dddd22 WIP: Docker enhancement
* reduce containers into a single one, holding nginx + celery + redis all at once
2 years ago
mpeltriaux f93e2b8463 HOTFIX: API
* hardens atom_id input to be integer or string compatible
2 years ago
mpeltriaux 377428a699 HOTFIX: EGON sending via API
* adds EGON message triggering on API payment changes
2 years ago
mpeltriaux db05dbaf82 Merge pull request '#149 Send on changes' (#154) from 149_EGON_sending into master
Reviewed-on: SGD-Nord/konova#154
2 years ago
mpeltriaux 854382dc9a #149 Send on changes
* changes trigger for sending data to EGON: on each new payment, edited payment or deleted payment action, the data will be sent to EGON instead only once on "recording"
2 years ago
mpeltriaux 428f534c0d Merge pull request '151_Parcel_table_infinite_scroll' (#153) from 151_Parcel_table_infinite_scroll into master
Reviewed-on: SGD-Nord/konova#153
2 years ago
mpeltriaux 376a32182b #151 Parcel table infinite scroll
* refactors button for further loading to infinite scroll
* adds code documentation
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 d332be2971 #138 config.json
* adds some layers and reorganizes config.json for NETGIS client
2 years ago
mpeltriaux 5e65156b54 #138 WIP Validity
* adds geometry validity checks for SimpleGeomForm is_valid()
    * shows validity problems on the form if a feature is invalid
* optimizes merging of different features into one MultiPolygon
* further enhances tests
* adds as_feature_collection() method on Geometry model for converting geom MultiPolygon attribute into FeatureCollection json holding each polygon as an own feature -> makes each polygon selectable in new netgis map client
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 eeccba3968 #138 WIP NETGIS Map client
* adds functionality for address search widget
    * drops default proxy.php (replaced by own python call)
* reduces maxZoom in config.json
2 years ago
mpeltriaux d9ec0226fe #138 WIP First draft
* adds first working draft of netgis map client
3 years ago
mpeltriaux 3075ca8fec Merge branch 'master' into 138_New_map_client 3 years ago
mpeltriaux 1ea4cb7297 Merge pull request '140_Improve_check-record_reset' (#152) from 140_Improve_check-record_reset into master
Reviewed-on: SGD-Nord/konova#152
3 years ago
mpeltriaux 5f1f2a933e #140 Tests
* adds workflow tests for major datatypes
3 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 12df2e7110 Merge pull request '146_Minor_improvements' (#150) from 146_Minor_improvements into master
Reviewed-on: SGD-Nord/konova#150
3 years ago
mpeltriaux dd0b3c0680 #146 Record-unshare with default
* adds automatic unsharing with default-only users if entry is recorded
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