Commit Graph

899 Commits (5ef840f172483f113f85cb3df0e1e0c89b3ae18d)
 

Author SHA1 Message Date
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
mpeltriaux 25d2b806ab #146 Clickable QR codes
* refactors QR codes on report views to be clickable as well (even supported through saved pdf)
3 years ago
mpeltriaux 23b6130907 #146 Share with fix
* fixes bug where editable icon on overview table would not glow if user has only team based shared access
3 years ago
mpeltriaux 8282509e2d #146 (Parcel) table
* set default rpp for overview tables from 5 to 10
* improves loading speed of parcel table
3 years ago
mpeltriaux d3d4fac7d3 #146 Admins and update_all_parcels.py
* extends admin backend
    * adds found_in_codelists to KonovaCodeAdmin to see where a KonovaCode can be found in
    * improves rendering of after_states and before_states for all AbstractCompensationAdmins
    * adds geometry_id to all major datatype admin backends
    * adds st_area like calculation to geometry admin backend
* update_all_parcels
    * orders geometries by size (small to big) to process smaller geometries first and bigger later
    * adds more output to command for a better overview of what is just going on
3 years ago
mpeltriaux 4fc1ca9eed Merge pull request 'master' (#147) from master into Docker
Reviewed-on: SGD-Nord/konova#147
3 years ago
mpeltriaux 75bae95db7 Merge pull request '#144 Report improved' (#145) from 144_Improve_report into master
Reviewed-on: SGD-Nord/konova#145
3 years ago
mpeltriaux e85a2294d9 #144 Report improved
* fixes bug in egon_export.py where missing payment date would result in non writing of gml
* fixes bug in egon_export.py which occured due to extension of parcel data fetching
* updates unavailable.html report content, such that users will understand why a recorded entry might not be visible, yet
3 years ago
mpeltriaux 157655a085 Merge pull request '#142 Localized date improved' (#143) from 142_Localized_date_format into master
Reviewed-on: SGD-Nord/konova#143
3 years ago
mpeltriaux 250189d895 #142 Localized date improved
* fixes bug where created timestamp has been displayed on modified attribute on detail views
* enhances localized date and datetime rendering
* reorders sub menus in user's profile hub
3 years ago
mpeltriaux a22f52ddd4 Merge pull request '139_Improve_parcel_reference' (#141) from 139_Improve_parcel_reference into master
Reviewed-on: SGD-Nord/konova#141
3 years ago
mpeltriaux e93ea72019 # 139 Doc update
* updates doc
3 years ago
mpeltriaux 6e76a3fdce #139 Parcel filter improved
* improves frontend filtering for district, municipal, ..., so keys can be used for a lookup as well
3 years ago
mpeltriaux 8af0e41e2d # 139 Parcel reference improved
* improves frontend layout to display more details on district, municipal and parce group
* improves ordering of parcels
* refactors parcel related models
* improves parcel fetching
* extends and simplifies sanitize_db parcel related code
3 years ago
mpeltriaux bdb9f74aca #138 WIP
* minor changes for dev purposes
3 years ago
mpeltriaux eb3d58ed19 #138 Map client to views
* adds netgis map client to all detail and report views
* adds netgis map client to new object forms
* WIP: needs functionality server-client
3 years ago
mpeltriaux 57e3287821 Merge pull request 'master' (#136) from master into Docker
Reviewed-on: SGD-Nord/konova#136
3 years ago
mpeltriaux a052283319 Merge pull request '131_EGON_connection' (#135) from 131_EGON_connection into master
Reviewed-on: SGD-Nord/konova#135
3 years ago
mpeltriaux bc53649ea8 #131 EGON export
* finishes egon compatible (tested) data export
* moves egon export into celery process
* adds export of data in case of intervention recording
* adds _RABBITMQ_ settings for intervention/settings.py
* adds new dependency for requirements.txt
3 years ago
mpeltriaux f50f17d593 Docker worker enhancement
* drops docker worker process in favor of background celery worker on main process
* changes uploaded files folder into host-based folder
3 years ago
mpeltriaux 0269dfb392 #131 EGON exporter
* enhances EGON exporter code structure
3 years ago
mpeltriaux 18c2513863 #131 WIP: EGON exporter
* adds incomplete WIP implementation of an EGON exporter
3 years ago
mpeltriaux 05c8d6e520 Merge pull request 'master' (#134) from master into Docker
Reviewed-on: SGD-Nord/konova#134
3 years ago
mpeltriaux caa840849e Merge pull request '129_Handler_code' (#133) from 129_Handler_code into master
Reviewed-on: SGD-Nord/konova#133
3 years ago
mpeltriaux f4d0485019 # 129 Handler code renaming
* renames handler code list
* improves missing handler data rendering on detail view
3 years ago
mpeltriaux f441ed94f5 # 129 Handler code
* adds handler code list usage to forms and models
* updates tests
* extends API for handler code handling
3 years ago
mpeltriaux a80fa4c700 Merge pull request 'master' (#130) from master into Docker
Reviewed-on: SGD-Nord/konova#130
3 years ago
mpeltriaux e715be3ca1 Merge pull request '121_Deferred_parcel_loading' (#128) from 121_Deferred_parcel_loading into master
Reviewed-on: SGD-Nord/konova#128
3 years ago