Commit Graph

615 Commits (180ee293cafde41c261e513c303e7afc377c8b68)
 

Author SHA1 Message Date
mpeltriaux 0c2d39ba96 # Docker
* minor adjustments
3 years ago
mpeltriaux 9cb9308f85 # Docker Production
* adds further settings to create a production-ready docker configuration
3 years ago
mpeltriaux d9577fe6a1 # Docker
* adds docker related configurations
* directly working configuration provided
3 years ago
Michel Peltriaux 1fc0fbbf0a Merge pull request '#67 Parcel error fix' (#69) from 67_Parcel_fetcher_error into master
Reviewed-on: SGD-Nord/konova#69
3 years ago
mpeltriaux 022d9d15a7 #67 Parcel error fix
* adds workaround in case of received WFS exception -> routine waits 1 second and tries to rerun for another time. If this does fail as well, the routine will end without a result
* adds mailto shortcut to contact button in footer for a quick fix
3 years ago
Michel Peltriaux be7934f34a Merge pull request '#53 Remove buttons' (#68) from 53_Remove_Import-Export into master
Reviewed-on: SGD-Nord/konova#68
3 years ago
mpeltriaux b34853089e #53 Remove buttons
* removes (non-functional) buttons in frontend
3 years ago
Michel Peltriaux d08260a519 Merge pull request '# 62 404 and 500' (#66) from 62_custom_404_500 into master
Reviewed-on: SGD-Nord/konova#66
3 years ago
mpeltriaux 6f76b3a53d # 62 404 and 500
* adds custom 404 and 500 error handling views
* adds/updates translations
3 years ago
Michel Peltriaux 86aafcc5d4 Merge pull request '63_Email' (#65) from 63_Email into master
Reviewed-on: SGD-Nord/konova#65
3 years ago
mpeltriaux 795f64f20b # 63 Mail data checked
* adds mail sending if shared data is checked
* adds/updates translations
3 years ago
mpeltriaux 5ca4c7c777 # 63 UserNotificationEnum changes
* drops NOTIFY_ON_REGISTERED_DATA_EDITED in favor of NOTIFY_ON_SHARED_DATA_CHECKED
* adds/updates translations
3 years ago
mpeltriaux 7c5454a2c9 # 63 Mail data deleted
* adds mail sending if shared data is deleted
* adds/updates translations
* refactors recording mails into separate email template folder email/recording
3 years ago
mpeltriaux 157f05ead6 # 63 Mail recording/unrecording
* adds mail sending in case of unrecording and recording of data
* adds/updates translations
3 years ago
mpeltriaux 17dc3f7537 # 63 Mail celery
* moves mail sending to celery worker using shared_task in konova/tasks.py
* adds mail sending for shared access given
* adds UserNotification settings checks for mail sending
* adds/updates translations
3 years ago
mpeltriaux dbf32f3138 # 63 Mail background sending
* moves mail sending to background using celery
3 years ago
mpeltriaux 9c4bab3800 # 63 Mail shared access revoked
* adds mail support for revoking shared access
* adds/updates translations
3 years ago
mpeltriaux 02970b19b4 # 63 Refactoring
* refactors django User model to custom User model to provide further attributes and methods directly on the user model
3 years ago
Michel Peltriaux 37fffd639f Merge pull request '61_Extend_filter' (#64) from 61_Extend_filter into master
Reviewed-on: SGD-Nord/konova#64
3 years ago
mpeltriaux 96f2e77972 # 61 EcoAccount Filter
* adds specialized SelectionTableFilter for EcoAccount (and EMA) which only provides filtering by conservation office
3 years ago
mpeltriaux 4c5e170b85 # 61 General table enhancements
* enhances rendering of tables
* enhances rendering of filter section
* reorganizes table filter codes into konova/filters/ folder and splits into mixins and table_filters
3 years ago
mpeltriaux d57478ee09 # 61 Filter code enhancement
* reorganizes code
3 years ago
mpeltriaux 834fa8dbd4 # 61 Filter offices frontend/backend
* adds filters for registration and conservation offices
* adds SelectionTableFilter as new holder for these types of filter components
3 years ago
mpeltriaux 5bca8fc8f7 # 61 Filter frontend
* adds filtering for file number
* updates translations
3 years ago
mpeltriaux 5d5d8b1243 # 61 Filter frontend
* finished filter frontend
3 years ago
mpeltriaux 8a19d7239d # 61 Filter backend
* refactors XYTableFilter classes to hold query_filter and checkbox_filter which are separate instances of django_filter.FilterSets
* improves render ability for frontend
3 years ago
mpeltriaux 87f11a9914 # 61 Filter frontend
* optimizes minor parts of table-filter initialization and queryset passing
3 years ago
mpeltriaux 524b5c340f # 61 Filter backend
* refactors table filters by introducing AbstractTableFilter, GeoReferencedTableFilterMixin, ShareableTableFilterMixin and RecordableTableFilterMixin
* adds full filter functionality
* refactors TableFilter inheritances for all objects
3 years ago
mpeltriaux 2fdf6606b3 # Docker
* minor adjustments
3 years ago
mpeltriaux 7075d7074c # Docker Production
* adds further settings to create a production-ready docker configuration
3 years ago
mpeltriaux c9b54cd4c5 # Docker
* adds docker related configurations
* directly working configuration provided
3 years ago
Michel Peltriaux 552559c118 Merge pull request '#57 Deduction shortcut remove' (#60) from 57_Deduction_shortcut into master
Reviewed-on: SGD-Nord/konova#60
3 years ago
mpeltriaux e2fe85a4fb #57 Deduction shortcut remove
* removes deduction shortcut
* adds missing quality checks on intervention deduction accounts validity
* fixes error if checked intervention shall be checked again
* adds/updates translations
3 years ago
Michel Peltriaux 9fe054c681 Merge pull request '#54 Grouped autocomplete' (#59) from 54_Improve_autocomplete_selection into master
Reviewed-on: SGD-Nord/konova#59
3 years ago
mpeltriaux d4d792754f #54 Grouped autocomplete
* refactors default autocomplete into grouped autocompletes, if parents exist for grouping
* updates requirement for django-autocomplete-light due to an issue with an attribute in pip's default version 3.8.2. More info here: https://github.com/yourlabs/django-autocomplete-light/issues/1278
3 years ago
Michel Peltriaux f503abf5e6 Merge pull request '#55 Celery parcel updating' (#58) from 55_Parcel_calculation_to_background into master
Reviewed-on: SGD-Nord/konova#58
3 years ago
mpeltriaux d6d15185ea #55 Celery parcel updating
* adds celery to project
* adds celery background task for updating parcels
* adds parcel calculation to creating of new geometries as well
* tests outstanding!!!
3 years ago
Michel Peltriaux e618d454e2 Merge pull request '49_Parcel_calculation' (#56) from 49_Parcel_calculation into master
Reviewed-on: SGD-Nord/konova#56
3 years ago
mpeltriaux 527077cef3 #49 Annual report improve
* improves the filtering of annual report timespan on a date base instead of timestamp base
3 years ago
mpeltriaux 393f9a4d47 #49 Parcels on report
* adds parcel displaying on public reports
* fixes bug in EMA where autocomplete js would not load for modal forms
* fixes bug where BaseContext cached data from last request and reused it, if not overwritten
3 years ago
mpeltriaux bf0de00b72 #49 Frontend rendering
* adds rendering for detail view
* adds new includable html snippet for parcel rendering
* refactors generic includables in konova/ app into konova/templates/includes/...
* fixes bug where parcels have been reused from the database due to wrong model structure
* adds get_underlying_parcels() for Geometry model
* adds get_underlying_parcels() for GeoReferencedMixin models
* fixes bug where missing geometry would lead to an error during geometry conflict check
* removes unused wfs attribute from AbstractWFSFetcher
* adds/updates translations
3 years ago
mpeltriaux f0911b5eb6 #49 Update all parcels command
* adds update_all_parcels command which can be used e.g. with cronjob once a month to update all parcels and districts
3 years ago
mpeltriaux 6563e5e438 #49 Extends sanitize db command
* extends sanitize db command to remove unrelated parcels and district from the database
* fixes bug where single parcel wfs match would lead to unexpected behaviour
* adds admin interface for parcels and districts
* adds updating of parcels in case of SimpleGeomForm saving
3 years ago
mpeltriaux 2494ecc493 #49 Calculation implementation
* implements update routine for Geometry model
* reorganizes fields of Parcel and District
* adds tests
* simplifies usage of ParcelWFSFetcher
3 years ago
mpeltriaux 62030c4dcc #49 Parcels and Districts
* refactors WFS fetching to proper POST handling
* adds authentication support to WFS handling
* reduces dummy geometry for tests to a small area to reduce test network traffic overhead
3 years ago
mpeltriaux 440a4b04d5 #49 Parcels and Districts
* fixes bug in GeometryConflict conflict checking
* WIP: introduces new konova/utils/wfs/spatial holding SpatialWFSFetcher, which can be fed any geometry and it returns found features
* WIP: adds tests for wfs fetching
* updates requirements.txt
3 years ago
mpeltriaux 71f88f7218 #49 Parcels and Districts
* introduces new models: Parcel and District
3 years ago
Michel Peltriaux 44dbee0008 Merge pull request '50_Overlaying_geometries' (#52) from 50_Overlaying_geometries into master
Reviewed-on: SGD-Nord/konova#52
3 years ago
mpeltriaux 5df84bb7a1 #50 Overlaying geometries Tests
* adds test for geometry conflicts
* refactors rechecking of existing conflicts to avoid recursion in certain cases
* adds/updates translations
3 years ago
mpeltriaux 286ed609da #50 Overlaying geometries KOM + OEK
* removes unused messages
* adds geometry conflict message rendering for KOM and OEK
* removes unused methods in GeoReferencedMixin
* generalizes geometrical lookup for conflicts from overlaps to intersects
3 years ago