netgis_map_client_update #452
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "netgis_map_client_update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Aktualisiert netgis Kartenclient.
* adds LegalData to EcoAccount to provide registration_date support ("agreement date") for old-data report generating * adds/updates translations* implements 5) "Add 'Maßnahmentyp' for KOMs " * prepares model and form fields as mixins for easy extension to eco accounts and emas (possibly in the future?)* improves the way parcel-geometry relations are stored on the DB * instead of a numerical sequence we switched to UUID, so no sequence will run out at anytime (new model: ParcelIntersection) * instead of dropping all M2M relations between parcel and geometry on each calculation, we keep the ones that still exist, drop the ones that do not exist and add new ones (if new ones exist)* adds support for revocation edit * revocation document files will be replaced on an edit* 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* adds functionality for address search widget * drops default proxy.php (replaced by own python call) * reduces maxZoom in config.json* 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* 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* adds command sync_codelist * provides updating of all codes to the newest version (id) * must be run once on staging, can be dropped afterwards since the root for the problem has been resolved on the codelist management application* adds needed migrations * refactors forms.py (700+ lines) in main konova app * splits into forms/ and forms/modals and single class/topic-files for better maintainability and overview * fixes bug in main konova app migration which could occur if a certain compensation migration did not run before* splits compensation/forms.py and /modalForms.py into individual files inside new packages * general forms stay in new files in compensation/forms * modal forms stay in new files in compensation/forms/modals* refactors intervention/forms and ../modalForms into individual files in separated packages * forms.py has been renamed into intervention.py, now can be found as intervention/forms/intervention.py * modalForms.py has been split into individual files living in modals package, can be found as intervention/forms/modals/...* refactors user/forms.py by splitting into modals package and regular forms * regular forms can now be found at user/forms/user.py and user/forms/team.py * modal forms can now be found at user/forms/modals/...* refactors konova/autocompletes.py by splitting into individual files and moving them to fitting apps * autocomplete files now live in APPNAME/autocomplete/...* splits intervention/views.py (+700 lines) into separate files in new module * view files can now be found in /intervention/views/...* splits ema/views.py (+700 lines) into separate files in new module * view files can now be found in /ema/views/...* splits compensation/views/compensation.py (+700 lines) into separate files in new module * view files can now be found in /compensation/views/compensation/...* splits compensation/views/eco_account.py (+700 lines) into separate files in new module * view files can now be found in /compensation/views/eco_account/...* splits konova/views.py into separate files in new module * view files can now be found in /konova/views/... * introduces first class based view AbstractLogView * implemented for Ema, Intervention, Compensation and EcoAccount* adds AbstractResubmissionView to konova app * implemented for all major data types * replaces function based views* adds AbstractRecordView to konova/views/record.py * implements for all major data types* replaces function based views for creating, editing, removing and fetching documents with class based views * implemented for all major data types* splits compensation/views/eco_account.py (+700 lines) into separate files in new module * view files can now be found in /compensation/views/eco_account/...* adds new login_required_modal decorator * can be used before regular login_required decorator to return a proper session-timed-out message* fixes bug where geometry conflicts template message has been rendered despite having no active geometry conflict * happened in case of existing geometry conflicts related to an as deleted marked entry* adds a warning on removing an eco account if there are still deductions * this way a user needs to get rid of these deductions first* disables ordering of parcel_group ("Gemarkung") column on tables * ordering can not be done properly due to more complex nature of this column's content * introduces "Keine Geometrie vorhanden" message instead of hour glass icon on entries where no geometry has been entered yet * properly orders last_modified column by moving null values to the lower end of the ordering* introduces "..." as new icon for missing geometry entries * moves former explanatory message into title attribute for mouse hover activation* enhances visualization of editable column on tables * simplifies code * enhances visualization of parcel_group column on tables * WIP: Ordering on intervention table is odd. Same results are being displayed on page 2. Needs further analysis and fixing!* fixes bug where holes in stored geometries would not be rendered properly on initial loading the map client * drawback: multiple polygons are treated as a single feature on the map client. Not a real issue but maybe we can find a better solution to this * quality of life: renders geometry area in m² on detail and report view* EGON expects the payment amount to be a localized string instead of float * adds transformation for this* adds new command 'quality_check' which performs the quality checker on certain entries, which can be filtered using '--identifier-like' and/or '--title-like' parameters * results are shown in terminal* reduces number of queries performed on detail views of intervention, compensation and eco_account * renders deductable_rest of eco account beneath progressbar on eco account index view * clarifies ordering logic of related column* adds bugfixes and improvements - point / line auto buffer key input change buffer - pass default buffer values from config - update area label while vertex editing - auto buffer remove source geoms when done - toggle cut tool off when done - toggle delete tool off when done - allow panning while vertex editing (middle mouse button)* fixes bug where float numbers could not be used as input for e.g. buffer radius * supports up to two digits* fixes bug where float numbers could not be used as input for e.g. buffer radius * supports* simplifies geometries on SimpleGeomForm if threshold GEOM_MAX_VERTICES has been exceeded * geometry is iteratively simplified to find a proper tolerance value which satisfies the GEOM_MAX_VERTICES threshold* 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* 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 anymored830b7f88bto24518465f3