8 Commits

Author SHA1 Message Date
Erik Thuning
4ce802c37c Removed dead code - this app has no cron functionality 2025-09-12 17:18:18 +02:00
Erik Thuning
a02ae4a587 Added the ability to export map data to TSV
Exporting is allowed for anyone with export permission or above.
Pseudo-versions have been bumped in order to ensure no cache issues.
2025-09-12 17:15:56 +02:00
Erik Thuning
05dcc7e5d9 Implemented support for roles and comments on each point
Comments are only visible to users with admin rights or who have the new
permission level 'export'.

Also opportunisitally reduced code duplication in script.js
2025-09-03 16:28:20 +02:00
Erik Thuning
e03d5ac6b6 Decorators are not as straightforward as they seem
In order to get the @verify_admin decorator to work properly,
two things are required:
 - The decorator must be placed after the @app.route decorator, otherwise it
   is bypassed by flask which will use the result of @app.route for all calls
   regardless of any previous decorators
 - The decorator function must itself use an @wraps deorator for the wrapped
   function, otherwise flask will crash if the decorator is used
   more than once.
2025-06-27 14:13:08 +02:00
Erik Thuning
7c272a1617 Added a read-only mode for the map.
The config item required_entitlement has been replaced by two new items:
 - access_entitlement: grants access to the site
 - admin_entitlement: grants edit rights on the site
2025-06-27 12:08:00 +02:00
Erik Thuning
3e99c530a5 Fully functional MVP.
Searchability needs implementing.
2025-06-04 15:16:28 +02:00
Erik Thuning
0365ac28bc Trying leaflet for map rendering. Not working yet, but hopefully close. 2025-05-28 16:25:14 +02:00
Erik Thuning
bf717aecbe Initial commit, very basic POC 2025-05-26 10:48:14 +02:00