master #172

Merged
mpeltriaux merged 35 commits from master into Docker 2022-06-02 08:53:33 +02:00
Owner

Update Docker

Update Docker
mpeltriaux added 35 commits 2022-06-02 08:52:18 +02:00
* adds netgis map client to all detail and report views
* adds netgis map client to new object forms
* WIP: needs functionality server-client
* minor changes for dev purposes
* adds first working draft of netgis map client
* adds functionality for address search widget
    * drops default proxy.php (replaced by own python call)
* reduces maxZoom in config.json
* 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)
* 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
* adds some layers and reorganizes config.json for NETGIS client
* adds proper css behaviour for collapsed icon
* adds minor js comments
* 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
* simplifies js for single-select radio tree
* extends compensation state forms to match the new logic
* adds minor changes for tests
Reviewed-on: SGD-Nord/konova#161
* 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
* 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
* implements new build for netgis map client
Reviewed-on: SGD-Nord/konova#162
* retranslates Bestandskraftdatum
Reviewed-on: SGD-Nord/konova#165
* updates netgis map client to most recent version
* removes trigger delay on clicking events
* adds further customization options to config.json
* adds more layers and subfolders to the layer tree
* changes colours for tools
# Conflicts:
#	konova/models/geometry.py
#	konova/urls.py
#	locale/de/LC_MESSAGES/django.mo
#	locale/de/LC_MESSAGES/django.po
Reviewed-on: SGD-Nord/konova#166
* fixes bug where empty geometry would have lead to exception during is_valid check on SimpleGeomForm
Reviewed-on: SGD-Nord/konova#167
* 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
Reviewed-on: SGD-Nord/konova#168
* 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
* 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
* adds tests for user app
* removes unused code snippets
Reviewed-on: SGD-Nord/konova#170
* fixes bug where entries would show up on index views as they would be shared (are shared but using a 'deleted' Team, which still exists on the db)
* 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
Reviewed-on: SGD-Nord/konova#171
mpeltriaux merged commit e513db9da5 into Docker 2022-06-02 08:53:33 +02:00
Sign in to join this conversation.
No description provided.