Commit graph

602 commits

Author SHA1 Message Date
Paul Bienkowski fe62af9d97 Allow forcing https for frontend config URLs 2021-11-25 00:11:21 +01:00
Paul Bienkowski c90d4da97a frontend: Keep track distance labels aligned to map 2021-11-24 23:40:06 +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 004deb8e60 chore: remove old-api 2021-11-22 09:53:13 +01:00
Paul Bienkowski 4b270877ca frontend: Improve config example obsMapSource 2021-11-22 09:52:42 +01:00
Paul Bienkowski 5d96009b01 Only one place for the version 2021-11-22 09:51:18 +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 12686abe14 frontend: Replace openlayers track map with gl version 2021-11-22 09:51:18 +01:00
Paul Bienkowski f54fe701e7 frontend: Fix attributions and reuse map code 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 ea6a631560 Ignore export/ and remove tileserver 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 fbc0e26912 Document usage of keycloak users export in upgrade guide 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 c353d2afc1 Lots of documentation for new development setup as well as upgrade guide 2021-11-22 09:50:33 +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 67b6341f68 tile-generator: also emit oneway roads 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
Paul Bienkowski 79f3469df8 frontend: add MapPage and make OBS data vector tiles URL configurable 2021-11-22 09:50:33 +01:00
Paul Bienkowski ec60fc3873 Start working on PostGIS supported tile generation 2021-11-22 09:50:33 +01:00
Paul Bienkowski a866eb3ab7 api: Fix track again, using correct filters to get all points 2021-11-22 09:50:33 +01:00
Paul Bienkowski 65b261630f frontend: fix config URL when loading from sub-page 2021-11-22 09:50:33 +01:00
Paul Bienkowski 6e5555782d chore: add editorconfig 2021-11-22 09:50:33 +01:00
Paul Bienkowski e8a66fa7b9 api: Generate track-settings file and read it in process_track.py 2021-11-22 09:50:33 +01:00
Paul Bienkowski ddeb5f9195 chore: use new filter classes 2021-11-22 09:50:33 +01:00
Paul Bienkowski 4742a6df13 chore: move obs_process_track.py into the API source, as it is very specific to the API 2021-11-22 09:50:33 +01:00
gluap e74d2c9130 needs to match permitted redirect url in api 2021-11-22 09:40:21 +01:00
gluap 8fd28dd130 Remove the disputed section about backups 2021-11-22 09:24:53 +01:00
gluap 0cd5525401 Clarify recursive clone, implment $ROOT
- Formerly  `README.md` announced there would be $ROOT but it wasn't used - start using it
    - Make sure that we also describe submodule cloning in Docker `README.md` as I have already been asked by several people "why the scripts directory isn't there".
    - Mention how to adapt map center coordinates as it is a FAQ
    - Mention how to backup the data.

    @opatut mention as discussed
2021-11-22 09:24:53 +01:00
gluap 7901a78754 also update api url here. 2021-11-22 09:23:04 +01:00
gluap 6b1e6eb06c adapt traefik.toml to volume mount
use acme/acme.json to avoid the issue with the directory (see previous commit)
2021-11-22 09:22:51 +01:00
gluap 62e8ff241c fix issues with acme volume
when directly voluming in the json and it does not exist, docker automatically creates a directory to mount which traefik chokes on trying to access it as a file. create a sensible mount dir but configure traefik to make a file in that directory (next commit)
2021-11-22 09:22:51 +01:00
gluap d81baaed1e docker-compose.yaml consitent with README.md 2021-10-19 23:04:15 +02:00
gluap 2996ec35c3 adapt endpoint to new scheme
to be consistent with traefik endpoint and the new scheme we should use `/api` here, too.
@opatut mention as discussed
2021-10-19 23:03:30 +02:00
gluap 9e6ee5deba Correctly volume frontend config 2021-10-19 11:25:40 +02:00
gluap 33b14b16a3 Fix twist in filename
the file is actually named config.example.json, fix the reference so the copy command works.
2021-10-19 10:03:56 +02:00
Paul Bienkowski 7bba46fa52 frontend: show event points with correct zIndex, too (fixes #99) 2021-10-05 16:06:15 +02:00
Paul Bienkowski 305850ea63 frontend: fix z-order of layers on track page 2021-09-27 20:50:56 +02:00
Paul Bienkowski 67c6b3a725 api: update scripts (fixes Zero-Zero bug) 2021-09-27 20:50:44 +02:00