Commit Graph

133 Commits (master)

Author SHA1 Message Date
mpeltriaux 714d888326 #138 Configuration extended
* adds more layers and subfolders to the layer tree
* changes colours for tools
2 years ago
mpeltriaux 42592c5bdf #138 Netgis map client
* updates netgis map client to most recent version
* removes trigger delay on clicking events
* adds further customization options to config.json
2 years ago
mpeltriaux 6fd3c4c179 #138 WIP update
* implements new build for netgis map client
2 years ago
mpeltriaux d332be2971 #138 config.json
* adds some layers and reorganizes config.json for NETGIS client
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
2 years ago
mpeltriaux 3075ca8fec Merge branch 'master' into 138_New_map_client 2 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
2 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 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 6e3a6d53d1 #121 Deferred parcels
* improves filtering by gmrkng and krs
* implements deferred loading of parcels on spatial referenced data objects
* adds HTMX to project
* improves detail view layout (mainly interesting for smaller displays/mobile)
3 years ago
mpeltriaux 963854652e #101 Team mails
* adds mail templates for shared data actions
* fixes bug where deleted compensations would be used for checking
3 years ago
mpeltriaux 5e79f16e1e #86 Revocation rendering if needed
* renders revocation warning on the index view if a revocation exists
3 years ago
mpeltriaux 23c04c8883 #86 Parcel districts instead of revocation
* drops revocation column in favour of a parcel district column
3 years ago
mpeltriaux d5a3c70788 #86 Email enhancement
* adds object titles to email sending
3 years ago
mpeltriaux c7665a1aff # 86 Minor html/css tweaks
* improves minor things like display related breakpoints for certain html elements
* improves css for select2 for better group-result distinction
3 years ago
mpeltriaux 4bff5f2548 # 86 Visual improvements
* moves message rendering directly below navigation menu for a more closed look
* reworks message rendering on before_states and after_states for all compensation related datatypes
* reworks layout of action column on all related data card tables
* resizes certain attribute layouts on related data card tables
* reworks layout of details on CompensationState and CompensationAction rendering from own column into subgrouped placement of main type info
* drops align-middle placement for all related data card table contents
3 years ago
mpeltriaux edad33e662 # 86 Comment field length
* removes comment field length limit
* adds improvements for rendering large comments
3 years ago
mpeltriaux 1eecc5fa48 # 86 Viewport jump EcoAccount/EMA
* adds direct jump of viewport on related-data action (create/delete)
3 years ago
mpeltriaux 0248075479 # 86 Viewport jump Compensation
* adds direct jump of viewport on related-data action (create/delete)
* adds comment field to log.html as 'details'
3 years ago
mpeltriaux f9751d38db #93 Errors via mail
* configures server errors sending via mail
   * default for now is always 'ksp-servicestelle'
* includes improvements from #97
3 years ago
mpeltriaux b86202ba98 #31 API Token mail
* sends an email to the support address if a new token has been generated
3 years ago
mpeltriaux dc42278943 # 70 Tab titles interventions
* adds content related tab title
* adds/updates translations
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
mpeltriaux b34853089e #53 Remove buttons
* removes (non-functional) buttons in frontend
3 years ago
mpeltriaux 6f76b3a53d # 62 404 and 500
* adds custom 404 and 500 error handling views
* adds/updates translations
3 years ago
mpeltriaux 795f64f20b # 63 Mail data checked
* adds mail sending if shared data is 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
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 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 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 e22e390040 #26 Annual conservation reports
* enhances TimespanReportForm control rendering
* adds/updates translations
3 years ago
mpeltriaux 92155fb742 #26 Annual conservation report
* introduces new app 'analysis' for annual report generating and future features
* adds new templates (WIP)
* adds new routes (WIP)
3 years ago
mpeltriaux ac17d953c6 #25 Public reports
* adds public report rendering for intervention model
* adds new routes for report
* adds new public_base.html and public_navbar.html
* adds lookup table for zoom levels for lanis link generating
* moves qr code generating into utils/generators.py
3 years ago
mipel 0e839f5e44 #7 New Form
* refactors/renames folders and files for generic template rendering
* removes unused choiceColumnForm.html
3 years ago
mipel 3d31a13508 #7 New Form
* adds creation of new compensation directly from intervention detail view
* adds comment rendering on compensation detail view (WIP)
* adds shared_access_required decorator
* adds/updates translations
3 years ago
mipel 7841599650 #7 New Form
* extends KonovaCode filtering for parent objects matching given input
* renames data_form into form for easier template render support
* simplifies empty geometry form initialization
3 years ago
mipel 9b728e5d10 #7 New forms WIP
* adds saving functionality for new intervention form
* refactors new identifier generating, so a pre-generated identifier from a new element form will be checked again before saving
* adds css fixes for disturbing input field:focus bugs
* adds missing csrf token to new collapsible form
* adds/updates translations
* introduces mark_as_deleted as only marking instead of using delete() which will really delete from the db
3 years ago
mipel 951477c58f #7 New forms WIP
* adds new collapsible styled form for new main data
* adds/updates translations
3 years ago
mipel 97571d4363 Konova Codelist enhancements
* adds proper boolean mapping to update_codelist
* differs between id and atom_id for KonovaCode since atomIds are not unique (could change in the future)
* adds is_selectable and is_archived to KonovaCode
* scales width of DAL form fields to 100% width
* adds table-responsive wrapping container for table forms to prevent unwanted rendering artifacts in case of table resizing due to long content
* adds autocomplete routes for law, registration offices and conservation offices
3 years ago
mipel 2469bde7ee Biotope code list
* integrates biotope code list to NewStateForm
* adds dal scripts automatically on compensation view
3 years ago
mipel d1f43f8c64 EMA
* adds Ema model (basically Compensation inherited)
* adds index view for EMAs
* fixes drop-down link bug for menu 'More' in navbar
* refactors some more forms to use process_request()
* adds modified attribute to BaseResource for easy last_modified check
* adds setting of modified attribute in all places where UserAction.EDITED is added to log
* adds EMA_ACCOUNT_IDENTIFIER_LENGTH and EMA_ACCOUNT_IDENTIFIER_TEMPLATE to ema/settings.py
* adds EmaAdmin to ema/admin.py
* fixes wrong title in intervention detail view html for revocations
* adds support for subtitle variable to BaseTable and generic_index.html
* drops next_version attribute from models
* adds/updates translations
* adds default ordering for UserActionLogEntry
   * removes extra ordering in log modal rendering
3 years ago
mipel 03fe293cd8 Favicon
* adds favicon
3 years ago
mipel 7dbf4d5b91 Mobile optimization
* adds table-responsive class to BaseClass
* adds html meta attributes for proper small device rendering
3 years ago
mipel c82ee8afbc Modal and other tweaks
* removes WIKI_URL, replaces with HELP_LINK since it was the same before as well
* refactors modal form processing (process_request())
   * modal form can now display errors directly inside the modal (as intended by the devs)
   * modals now properly support the GET-POST workflow that is intended by the devs. More information here: https://github.com/trco/django-bootstrap-modal-forms/issues/183
* Improves label-field linking in generic_table_form_body.html
* removes isDeleteForm attribute from modal_form_script.html
3 years ago
mipel 833483b810 SSO and messages
* adds message for checking of intervention
* refactors sso message sending to handle an iterable of users
* adds specific method for sending object checking related messages
* adds label support for modal form for more simple clicking of checkboxes
3 years ago
mipel 766d38bcbf HTML improvements
* refactors initializing and rendering of a map view into map/geom_form.html, which leads to simple includes on the detail views instead of redundant html
* refactors django-autocomplete-light form media links and scripts into dal/scripts.html, which can be included on the header blocks of detail views to support form modals using dal easier without the need for form.media
* changes filter behaviour on eco account index: instead of hiding recorded accounts (like in interventions), the filter option there has been replaced with "Show only unrecorded" which can be used to hide all recorded ones
   * background: eco accounts shall be visible when recorded, since they can only be used for withdrawing if they are recorded. Hiding the recorded ones does not make any sense, just like in interventions
* updates some code documentation
* adds/updates translations
3 years ago
mipel f8b3e5c8fd EcoAccount withdraws
* adds functionality for withdraws from eco accounts in detail view of interventions and eco account as well
* adds get_surface() method to AbstractCompensation class to provide a simple getter for a sql calculation
* adds get_surface_withdraws() method to EcoAccount class to provide a simple getter for a sql calculation
* renames some routes to match coherent rout naming
* adds logic check on NewWithdrawForm
* renames templates/table directory to templates/form, since there are form-table templates inside --> more clarity
* adds new autocomplete routes to konova/urls.py for Interventions and EcoAccounts
* adds/updates translations
* adds/updates template comments
* updates requirements.txt
3 years ago
mipel 5efa755188 Log
* adds modal_generic.html template for generic usage
* adds M2M field log to BaseObject
* adds show log button to controls.html
* adds logging on adding related objects
* adds render log table using generic modal
* adds tooltip to missing values in detail views
* adds/updates translations
3 years ago
mipel d773c3b3d4 Fixes and improvements
* fixes group check on detail views
* adds check for required fields in BaseForm for showing required field hint or not in template
3 years ago
mipel 2f33e5fba9 Access url for interventions
* adds access_token as new attribute
* adds generating of access_token
* adds new form
* adds two new routes for sharing an intervention
* adds translation
* adds render_submit to BaseModalForm which triggers rendering the modal footer
3 years ago
mipel c76a061740 Template improvements
* refactors templates/table.html into templates/generic_index.html
* adds DummyFilterInput as do-not-render-widget
* hardens combination of q filter and other filters on index view rendering
3 years ago
mipel 1ff02c30a6 Document upload
* adds document upload form
* refactors modal form templates into form classes
* adds document upload route to intervention routes of urls.py
3 years ago
mipel 2889b10e0d Payments add modal form
* adds help texts to add payment form
* adds removing button for payments
* refactors user fetching into BaseForm
* adds generic RemoveModalForm which is intended to be used for every modal form which shall remove something
* adds translations
* removes unused html
* prepares payment amount field to be able to process german inputs like '1.000,50' which is not the international default
3 years ago
mipel 23afe2654e Payments add modal form
* adds modal form for adding payments
* generalizes generic_table_form.html for table-form-like usage in modal_form.html
* adds css enhancements for focused input fields
* adds BaseModalForm as specification to BaseForm, which inherits the BSModalForm class as well
* adds translations
3 years ago
mipel 8885f81770 Documents removing
* adds generic modal rendering using package django-bootstrap-modal-forms
* adds document file removing from hard drive
* adds translations
3 years ago
mipel 13a15e4f56 Compensation routes
* improves compensation routes
3 years ago
mipel 0c1fa72556 Table filters
* adds table filtering for InterventionTable
* adds default ordering
* moves user-access filtering from view to InterventionTableFiler
* adds generic render_icn method for BaseTable (for usage with fontawesome5)
* adds translations
* improves table.html template
3 years ago
mipel f88b206756 Help link
* adds help link
3 years ago
mipel 8f0db2ae3e Linkage improvement
* adds linking to submenus
* adds PaymentAdmin
* adds Meta class inheritance for tables
3 years ago
mipel c07a0d730d Html enhancements
* adds some bootstrap enhancements for responsiveness
3 years ago
mipel fc6f9cfbcd Index table enhancement
* minor changes
3 years ago
mipel 6ac0556601 Default bootstrap tables
* adds basic bootstrap classes to BaseTable model
3 years ago
mipel 596d61f667 Default bootstrap tables
* refactors old table index template into bootstrap-fontawesome generic table
3 years ago
mipel 50d98b2a83 Updates generic_table_form.html
* updates generic template
3 years ago
mipel 903a22973f User menu
* adds user notifications and management
3 years ago
mipel f0a33b360d User menu
* starts user menu implementation
3 years ago
mipel 7968d7d355 Landing page
* started to implement a landing page
* started news implementation
3 years ago
mipel f654826003 Navbar improved 3 years ago
mipel c3e1e3e669 Navbar improved 3 years ago
mipel 905e29c8f8 Navbar improved 3 years ago
mipel 8fd09abda6 Simple footer finished 3 years ago
mipel b63cb3c493 Simple navbar finished 3 years ago
mipel 629bf4230e Simple navbar implemented 3 years ago
mipel 4084373e2b Refactoring to konova 3 years ago
mipel a5e8bcfa8c Initial 3 years ago