Commit graph

127 commits

Author SHA1 Message Date
Paul Bienkowski 810bd39152 Fix direction of road segments (fixes #142)
BREAKING CHANGE: This changes the tile generation function, please
update your database with `prepare_sql_tiles.py`.
2021-12-19 21:23:01 +01:00
Paul Bienkowski 4e45ec6744 Fix error handling, especially for file uploads 2021-12-06 10:09:37 +01:00
Paul Bienkowski 5395712c3a Release: 0.3.4 2021-12-06 08:53:04 +01:00
Paul Bienkowski 4bf23143e0 feat: Split road statistics by direction (fixes #117) 2021-12-03 19:28:07 +01:00
Paul Bienkowski 776275c52b fix: clicking on road without events should not cause 500 error 2021-12-03 18:12:00 +01:00
Paul Bienkowski 69e8591fae chore: allow explicit configuration of api base url 2021-12-03 17:54:26 +01:00
Paul Bienkowski 09fe1a7ac0 feat: Add optional banner to frontend via config entry (solves #128) 2021-12-03 17:31:43 +01:00
Paul Bienkowski 99f33aa988 chore: Use config.json from API route in development mode 2021-12-03 17:31:03 +01:00
Paul Bienkowski 84683c7789 Set example files map home to cover most of Germany 2021-12-03 17:06:29 +01:00
Paul Bienkowski be4e0055cf chore: Remove auto-generated obsMapSource from example API config 2021-12-03 17:02:08 +01:00
Paul Bienkowski 3aee226630 chore: remove outdated "mapTileset" frontend config section 2021-12-03 17:01:10 +01:00
Paul Bienkowski 456554c1de Release: 0.3.3 2021-12-02 21:03:33 +01:00
Paul Bienkowski 5309527c3e fix: read API key for posting tracks, fixes upload from OBS 2021-12-02 21:00:21 +01:00
Paul Bienkowski 86bbf50ea2 Release: 0.3.2 2021-12-01 09:42:38 +01:00
Paul Bienkowski 4003d5e938 Do not blindly import old API keys 2021-12-01 09:42:27 +01:00
Paul Bienkowski 525004ab15 Release: 0.3.1 2021-11-30 23:32:49 +01:00
Paul Bienkowski 004ad46251 Fix saving profile and add generating new API key 2021-11-30 23:32:42 +01:00
Paul Bienkowski 2f375dc24d Release: 0.3.0 2021-11-30 23:01:58 +01:00
Paul Bienkowski 61efdeb673 Add details for roads when clicking them in the big map 2021-11-30 21:58:05 +01:00
Paul Bienkowski c283bed13c fix: redirect from keycloak to api, not to frontend 2021-11-30 19:53:37 +01:00
Paul Bienkowski 9ade5ecc7a Remove code smells 2021-11-29 00:54:22 +01:00
Paul Bienkowski 8fc755f153 Fix licensing of styles, make tile-generator content our own by removing all OpenMapTiles licensed parts (it is only our config now) 2021-11-28 23:18:02 +01:00
Paul Bienkowski 1c39476ac5 chore: remove unused variables 2021-11-27 23:22:22 +01:00
Paul Bienkowski 40f336336b Fix bad python import 2021-11-27 23:03:55 +01:00
Paul Bienkowski a8a416ca68 Refactor frontend exposing code in API 2021-11-27 22:45:22 +01:00
Paul Bienkowski 8dec4c8262 Fix paths and URLs generated by API, and add note about config for proxying 2021-11-27 22:45:22 +01:00
Paul Bienkowski 9a13631097 api: Do not generate "track" into slugs 2021-11-27 22:45:22 +01:00
Paul Bienkowski 6ed9edf191 Formatting and remove debug prints 2021-11-27 22:45:22 +01:00
Paul Bienkowski a321cff6ea Do not blindly change usernames, track paths will break 2021-11-25 12:21:50 +01:00
Paul Bienkowski 2d8194c7c2 Use FRONTEND_HTTPS for redirect url as well 2021-11-25 00:27:09 +01:00
Paul Bienkowski 2b9bdb6ff1 Always export obsMapSource in config.json from api 2021-11-25 00:12:24 +01:00
Paul Bienkowski fe62af9d97 Allow forcing https for frontend config URLs 2021-11-25 00:11:21 +01:00
Paul Bienkowski 8998ffa10a Do not store all road tags in PostGIS 2021-11-24 23:07:22 +01:00
Paul Bienkowski 16903042bc Fix dependencies 2021-11-24 18:55:21 +01:00
Paul Bienkowski 2762e1f923 fix builtin worker 2021-11-22 18:35:11 +01:00
Paul Bienkowski ea106539c6 Improve docs around tiles, remove old stuff, bump 0.3.0-rc.1 2021-11-22 09:51:18 +01:00
Paul Bienkowski 12ef37392b api: Fix longitude/latitude ordering in track geojson
See: https://macwright.com/lonlat/
2021-11-22 09:51:18 +01:00
Paul Bienkowski 7add8caaa1 Live tiles, API executes openmaptiles-tools 2021-11-22 09:51:18 +01:00
Paul Bienkowski bde1b77b48 fix: proces_track utility 2021-11-22 09:51:18 +01:00
Paul Bienkowski 53e8d3ea45 Improve keycloak user export further 2021-11-22 09:51:18 +01:00
Paul Bienkowski e20b291823 Add ability to migration script to export a users file for keycloak 2021-11-22 09:51:18 +01:00
Paul Bienkowski b541f0b3fe Rename development realm to not contain space 2021-11-22 09:51:18 +01:00
Paul Bienkowski b6aa0cb1c9 Read reset_database config (POSTGRES_URL) from app 2021-11-22 09:51:18 +01:00
Paul Bienkowski 131afd5adc feat: publish tiles from API directly 2021-11-22 09:51:18 +01:00
Paul Bienkowski c85f261292 Single-container API+Frontend+Worker 2021-11-22 09:51:16 +01:00
Paul Bienkowski da33d814ae Move API to python. 2021-11-22 09:50:33 +01:00
Paul Bienkowski 32e86be1d1 Import oneway roads from implicit tags 2021-11-22 09:50:33 +01:00
Paul Bienkowski 07ec5b40a0 api: Add script to queue all tracks for reprocessing, useful after algorithm changes 2021-11-22 09:50:33 +01:00
Paul Bienkowski e3ec5ce1f9 Correct directional road rendering, and include all roads with null data in obs layer 2021-11-22 09:50:33 +01:00
Paul Bienkowski f2fa806cab api: Update to postgis version of scripts 2021-11-22 09:50:33 +01:00