Commit Graph
100 Commits
Author SHA1 Message Date
mpeltriaux 81663db65c # Migration list 975->288
* adds migration for app codelist to migrate existing biotope type details codes from list 975 to 288 depending on their atomID
* improves rendering of action and biotope type details on frontend for KOM, OEK and EMA
* refactors KonovaCode str() rendering
2024-08-07 09:12:38 +02:00
mpeltriaux 762d25a87e # Codelist 288
* introduces 288 to codelist/settings.py
* refactors usage from 975 to 288
* enhances rendering of codelist names depending on which name exists (short vs long)
2024-08-06 15:39:01 +02:00
mpeltriaux 2761d2a19c Merge pull request '# Bugfix' (#425) from 424_Archived_codes_selectable into master
Reviewed-on: #425
2024-08-06 14:28:16 +02:00
mpeltriaux a8eef6e793 # Bugfix
* fixes bug where archived codes has been selectable due to recursive building of child-parent hierarchy
2024-08-06 14:27:38 +02:00
mpeltriaux 2cb77e89fe Merge pull request '# Dependency fix' (#422) from 419_Dependency_upgrade into master
Reviewed-on: #422
2024-07-10 09:30:14 +02:00
mpeltriaux ff266d5c54 # Dependency fix
* fixes dependency mismatch between requests 2.32.3 and kombu (requires < 2.32.0)
2024-07-10 09:29:54 +02:00
mpeltriaux 730d29bcef Merge pull request '# Dependency update' (#420) from 419_Dependency_upgrade into master
Reviewed-on: #420
2024-07-10 09:26:35 +02:00
mpeltriaux e57e3ed598 # Dependency update
* updates dependencies due to important version changes
2024-07-10 09:26:18 +02:00
mpeltriaux f88f9d06fa Merge pull request '# Readonly map' (#417) from map_client_update_08-07-2024 into master
Reviewed-on: #417
2024-07-08 18:44:00 +02:00
mpeltriaux 7eb440f841 # Readonly map
* fixes bug where readonly mode of map client was not readonly at all
2024-07-08 06:59:15 +02:00
mpeltriaux 134afae038 Merge pull request '# .env fix' (#415) from env_fix into master
Reviewed-on: #415
2024-07-05 10:51:25 +02:00
mpeltriaux dc754c0363 # .env fix
* adds celery setting to .env.sample
2024-07-05 10:50:25 +02:00
mpeltriaux 801c9078e9 Merge pull request '# Requirements update' (#413) from fix_sso into master
Reviewed-on: #413
2024-07-04 11:42:05 +02:00
mpeltriaux c282443a6d # Requirements update
* due to existing migrations, django-simple-sso needs to be added as a dependency as well as itsdangerous (dependency of django-simple-sso)
    * however, there is no active usage of any of these packages anymore
2024-07-04 11:39:17 +02:00
mpeltriaux af0afec77d Merge pull request 'env' (#411) from env into master
Reviewed-on: #411
2024-07-04 08:36:04 +02:00
mpeltriaux 44c11fd89b Merge pull request '407_Drop_django-simple-sso' (#410) from 407_Drop_django-simple-sso into master
Reviewed-on: #410
2024-07-04 07:58:15 +02:00
mpeltriaux d86bbb0ab0 # Geopackage import configuration
* corrects config for geopackage import support
2024-07-04 07:44:08 +02:00
mpeltriaux ec4b5f76fe Merge pull request '# Send-to-EGON cmd' (#408) from sending_to_egon_cmd into master
Reviewed-on: #408
2024-06-18 11:49:35 +02:00
mpeltriaux eaea0eb512 # Send-to-EGON cmd
* adds new custom command send_to_egon for performing EGON sending on a list of intervention ids
2024-06-18 11:48:56 +02:00
mpeltriaux 8a67033e0d # Updates sso
* adds env usage for sso settings
2024-06-14 13:04:25 +02:00
mpeltriaux 6e35dc7de6 Merge branch 'refs/heads/407_Drop_django-simple-sso' into env
# Conflicts:
#	konova/sub_settings/sso_settings.py
#	requirements.txt
2024-06-14 13:02:33 +02:00
mpeltriaux 9b29474e46 # Requirements update
* updates requirements.txt
* drops django-simple-sso from codebase and requirements.txt
2024-06-14 13:00:09 +02:00
mpeltriaux da545cc8ec # Requirements update
* updates requirements.txt
* drops debug-toolbar
2024-06-14 07:42:17 +02:00
mpeltriaux 2365ede672 Merge pull request '# Comment card' (#406) from comment_card_improvement into master
Reviewed-on: #406
2024-05-21 14:43:49 +02:00
mpeltriaux 898a56db8a # Comment card
* adds proper line break rendering in comment card
2024-05-21 14:42:49 +02:00
mpeltriaux 8b1cf24bdd Merge pull request '# 404 Extend API' (#405) from 404_Extend_API_shared_acces into master
Reviewed-on: #405
2024-05-21 11:55:20 +02:00
mpeltriaux 5ef840f172 # 404 Extend API
* extends API shared record access with team based sharing
2024-05-21 11:54:06 +02:00
mpeltriaux 9e762584dc Merge pull request '# OAuth fix' (#402) from oauth_https_fix into master
Reviewed-on: #402
2024-05-17 10:59:02 +02:00
mpeltriaux d1790feda8 # OAuth fix
* fixes bug in deployment environment due to http/s usage in url
2024-05-17 10:56:33 +02:00
mpeltriaux decf0dc522 Merge pull request '# Fix' (#400) from oauth_https_fix into master
Reviewed-on: #400
2024-05-17 07:54:02 +02:00
mpeltriaux 67de6be975 # Fix
* fixes bug where oauth requests did not use https in dockered deployment environment
2024-05-17 07:49:46 +02:00
mpeltriaux 32bfec3683 Merge pull request '# Hotfix' (#398) from 395_OAuth2_refactoring into master
Reviewed-on: #398
2024-05-16 17:37:38 +02:00
mpeltriaux d31f997a58 # Hotfix
* changes randomly created code verifier into static one to avoid authentication conflicts on multi process deployment (where each process generates an own verifier...)
2024-05-16 17:37:19 +02:00
mpeltriaux d0e812ae70 Merge pull request '395_OAuth2_refactoring' (#396) from 395_OAuth2_refactoring into master
Reviewed-on: #396
2024-05-16 15:19:19 +02:00
mpeltriaux 8feb24e70f # OAuth Propagation
* adds user propagation without django-simple-sso
2024-05-10 10:40:19 +02:00
mpeltriaux 5bd0a161ff # OAuth migrations
* adds migrations for storing OAuthToken
* adds OAuthToken model
* adds OAuthToken admin
* adds user migration for Fkey relation to OAuthToken
2024-04-30 14:56:48 +02:00
mpeltriaux be373e2b14 # OAuth refactoring code
* refactors code
2024-04-29 12:27:07 +02:00
mpeltriaux 3b38f227ec # OAuth requirements
* updates requirements.txt
2024-04-29 12:14:15 +02:00
mpeltriaux b00dd5bcc8 # WIP: OAuth draft implementation
* first working client implementation of oauth workflow for logging in users
2024-04-29 12:07:06 +02:00
mpeltriaux 9d4a9bd122 Merge pull request 'requirements_update' (#394) from requirements_update into master
Reviewed-on: SGD-Nord/konova#394
2024-04-12 08:08:00 +02:00
mpeltriaux 34d53b0bc6 # Itsdangerous update
* adds itsdangerous package update
2024-04-12 07:51:18 +02:00
mpeltriaux d4edb00a12 # Requirements update
* updates requirements.txt
2024-04-12 07:51:17 +02:00
mpeltriaux 5c8b2ac1f8 # Env
* updates env.sample
2024-04-03 13:45:52 +02:00
mpeltriaux cf050a92ef # Environment
* refactors settings into env usage
* adds proxy usage for schneider parcel fetching (using public web address instead of internal ip address)
2024-04-03 13:45:08 +02:00
mpeltriaux 03edb74023 # Admin backends
* disables certain admin backends
* adds proper ordering to server message admin overview
2024-04-03 08:29:19 +02:00
mpeltriaux feee8b74ed # Admin button
* adds button for easier admin backend access
2024-04-03 08:26:00 +02:00
mpeltriaux e542872fef # JSON Decode error catch
* adds error catching on wfs parcel resolving
2024-03-15 09:10:06 +01:00
mpeltriaux 61046a27c5 Merge remote-tracking branch 'origin/master' 2024-03-12 10:32:17 +01:00
mpeltriaux 52b1750281 # Message rendering
* adds icons to message danger, info and success rendering
2024-03-12 10:32:05 +01:00
mpeltriaux aa97a663b4 # Requirements
* updates requirements.txt
2024-03-11 08:12:21 +01:00
mpeltriaux 5a71ad7187 HOTFIX
* fixes bug where rectangular geometry results in an error during geometry complexity calculation
2024-02-29 18:37:53 +01:00
mpeltriaux a57d609420 HOTFIX
* downgrades package qrcode from 7.4.2 to 7.3.1. Further details can be found in https://github.com/lincolnloop/python-qrcode/issues/353
2024-02-22 18:18:24 +01:00
mpeltriaux a71fc435e0 # HOTFIX
* drops need for authentication for calculated parcels of an entry (reports are publicly available -> does not need auth!)
2024-02-21 18:31:43 +01:00
mpeltriaux 7681a7a05f Merge pull request '# 382 - Redirect as 404' (#386) from 382_Custom_response_for_Validation_Error into master
Reviewed-on: SGD-Nord/konova#386
2024-02-16 10:16:05 +01:00
mpeltriaux ba83993abf # 382 - Redirect as 404
* extends 404 template (user should check the URL)
* introduces new decorator "uuid_required" which performs a check on a given 'uuid' or 'id' parameter
    * throws a Http404 exception --> redirect to 404 template instead of 500 error template
2024-02-16 10:13:43 +01:00
mpeltriaux 5b157254b4 Merge pull request 'geom_parcel_improvements' (#384) from geom_parcel_improvements into master
Reviewed-on: SGD-Nord/konova#384
2024-02-16 08:44:38 +01:00
mpeltriaux 69a8139601 # Fixes
* drops unused methods
* fixes typos
* updates comments
* drops unused model attribute
2024-02-16 08:41:03 +01:00
mpeltriaux 590a510880 # CONN_MAX_AGE
* dropping conn_max_age due to problems with usage in gunicorn
2024-02-16 08:23:14 +01:00
mpeltriaux 689a2d6acb # Typo
* fixes typo
2024-02-16 08:14:42 +01:00
mpeltriaux 4f02bf1da2 # Renaming
* renames a method and fixes doc string
2024-02-16 08:13:10 +01:00
mpeltriaux 6945b17117 # Optimizations and fixes
* drops identifier handling on all edit-forms (identifier editing has been disabled on the frontend for a while now)
* updates test cases
* updates form caption for checking and recording action (less intimidating)
* optimizes district column width
* fixes bug on frontend parcel fetching on detail view
* adds extended tooltip for title column on index tables
* retraslates 'Law' to 'Rechtsgrundlage'
2024-02-08 07:31:19 +01:00
mpeltriaux d639a4e530 # Geom parcel performance improvement
* refactors parcel calculating, resulting in 1.3-1.6x better performance
* optimizes parcel fetching view
2024-01-17 11:22:21 +01:00
mpeltriaux 523e338b1b # WIP: Performance boost parcel calculation
* improves handling of parcel calculation (speed up by ~30%)
* ToDo: Clean up code
2024-01-16 07:57:29 +01:00
mpeltriaux 5922d5ce06 # Issue #381
* adds another validity check to SimpleGeomForm (is_size_valid) to make sure the area of the entered geometry is somehow rational (>= 1m²)
* optimizes performance of django command sanitize_db
* extends Geometry model with two new attributes, holding timestamps when a parcel calculation has been started and ended
* finally drops unused update_parcel_wfs in favor of update_parcels in Geometry model
* refactors update_parcel method
* adds geometry buffer fallback in schneider/fetcher.py to avoid emptying of geometries when parcels shall be fetched
* finally removes utils/wfs/spatial.py
* extends GeomParcelsView according to #381
* updates translations
* removes redundant psycopg2-binary requirement
2024-01-09 13:11:04 +01:00
mpeltriaux 4d215288b3 Merge pull request 'django_5' (#378) from django_5 into master
Reviewed-on: SGD-Nord/konova#378
2024-01-05 09:37:18 +01:00
mpeltriaux 425bbd5f0a Django5
* updates requirements.txt
2024-01-05 09:34:18 +01:00
mpeltriaux 1746382aef Netgis map client fix
* fixes performance issue on drawing when WFS is activated
2023-12-28 15:12:06 +01:00
mpeltriaux e231bc6dbf Django5
* updates requirements
* adds Django5 related migration and setting (DEFAULT_AUTO_FIELD)
2023-12-19 08:54:42 +01:00
mpeltriaux 5d052fee41 Merge pull request 'EGON document fix' (#374) from 373_EGON_document into master
Reviewed-on: SGD-Nord/konova#374
2023-12-13 13:37:23 +01:00
mpeltriaux 547aa30763 EGON document fix
* fixes bug where documents have not been serialized properly into a single xml list
2023-12-13 13:34:46 +01:00
mpeltriaux 96d2b5aa6c Merge pull request '# Django 4 migrations' (#371) from django_4_migrations into master
Reviewed-on: SGD-Nord/konova#371
2023-12-12 07:34:40 +01:00
mpeltriaux c4c560d11c Merge pull request '368_Mail_linking' (#370) from 368_Mail_linking into master
Reviewed-on: SGD-Nord/konova#370
2023-12-11 13:42:51 +01:00
mpeltriaux 8cdea88756 Mail links
* adds direct object links into mail templates
* refactors transferring app-model identification data from fore- to background (celery) properly
2023-12-11 13:40:32 +01:00
mpeltriaux 11bbf7d9ec Municipal calculation to background
* moves municipal names fetching from fore- to background for mail sending
2023-12-11 12:12:19 +01:00
mpeltriaux 08467e5619 Object mailing restructred
* restructures object info mail sending
2023-12-11 12:06:33 +01:00
mpeltriaux fd7a82e569 Merge pull request 'Custom exception reporter' (#369) from custom_exception_reporter into master
Reviewed-on: SGD-Nord/konova#369
2023-12-11 11:22:12 +01:00
mpeltriaux d94767a05a Custom exception reporter
* adds custom exception_reporter.py
2023-12-11 09:40:17 +01:00
mpeltriaux 7a4c1ca530 HOTFIX netgis client
* fixes bug where imported geometries would not be editable
2023-12-07 06:43:11 +01:00
mpeltriaux 0b131ec15a Hotfix map client edit errors 2023-12-05 07:28:57 +01:00
mpeltriaux 9870c28967 # Hotfix netgis client
* adds import functionality as it was
* fixes bug where z-index values have been too high
2023-12-05 06:54:55 +01:00
mpeltriaux 29a55c9427 # Django 4 migrations
* migrations created because of switch to Django4
2023-11-30 13:04:33 +01:00
mpeltriaux cf1f42551d Merge pull request 'django_4' (#363) from django_4 into master
Reviewed-on: SGD-Nord/konova#363
2023-11-30 12:40:54 +01:00
mpeltriaux b9c9310f21 Merge pull request 'Hotfix: EcoAccount serializable' (#361) from 360_EcoAccount_not_serializable into django_4
Reviewed-on: SGD-Nord/konova#361
2023-11-29 12:22:42 +01:00
mpeltriaux a0823814c5 Hotfix: EcoAccount serializable
* fixes bug where EcoAccount model was not serializable due to changes in newer DAL version due to Django4
2023-11-29 12:21:37 +01:00
mpeltriaux fb67e42078 # CSRF_TRUSTED_ORIGINS
* new in Django4: setting CSRF_TRUSTED_ORIGINS needs to be set to schema+host for new CSRF security handling
2023-11-28 12:59:40 +01:00
mpeltriaux 691292c325 HOTFIX
* fixes z-index overlapping of netgis map client toolbar and modal forms
2023-11-27 12:51:39 +01:00
mpeltriaux 2bcac86249 Fix for testing 2023-11-21 14:03:38 +01:00
mpeltriaux 98a6f19a16 Merge pull request 'master' (#357) from master into django_4
Reviewed-on: SGD-Nord/konova#357
2023-11-21 13:38:18 +01:00
mpeltriaux ebe5ced710 Merge pull request 'django_4_map_update' (#356) from django_4_map_update into django_4
Reviewed-on: SGD-Nord/konova#356
2023-11-21 13:35:35 +01:00
mpeltriaux e4a94c6635 Map update 2023-11-21 13:22:58 +01:00
mpeltriaux daee3e71b3 Map update 2023-11-21 12:53:27 +01:00
mpeltriaux 0dd60f8b40 Map update 2023-11-21 09:01:59 +01:00
mpeltriaux c7958d1ebf HOTFIX
* fixes bug on saving eco account with missing deductable surface value
2023-11-07 16:23:57 +01:00
mpeltriaux bdc1c226e9 # Netgis HOTFIX
* fixes bug where map client would not parse config.json properly resulting in failed client start
2023-10-30 09:40:35 +01:00
mpeltriaux 0f173c4802 HOTFIX
* corrects behaviour of lanis link generation for EIV and KOM
2023-10-26 07:26:38 +02:00
mpeltriaux 599764ef38 HOTFIX
* fixes bug where detail view of KOM could not be opened anymore
2023-10-26 07:22:09 +02:00
mpeltriaux 11f2ad5617 Merge pull request '# 349 LANIS link improvements' (#350) from 349_LANIS_link into master
Reviewed-on: SGD-Nord/konova#350
2023-10-25 10:09:39 +02:00
mpeltriaux 274d7b8b6f # 349 LANIS link improvements
* replaces 'dumb' link template with LANIS mapinterface support
* adds fallback default LANIS link
2023-10-25 10:04:56 +02:00
mpeltriaux 02e8cfc76d # Map client update
* updates netgis map client to newest pre-release
2023-10-16 13:27:27 +02:00
mpeltriaux 2a9e57e633 Django 4.2
* updates Django to 4.x and other packages (if possible) to latest versions
* Attention: Requires postgresql >= 12.0
* updates code fragments to match requirements of newer package versions
2023-10-12 09:57:05 +02:00