Commit graph

336 commits

Author SHA1 Message Date
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
Paul Bienkowski 0784f916b6 api: fix more mongoose stuff 2021-09-27 20:35:51 +02:00
Paul Bienkowski 50d6697b5b api: fix mongoose model imports 2021-09-27 20:18:57 +02:00
Paul Bienkowski 22ce863ad4 README: add info about docker deployment guide 2021-09-27 19:54:11 +02:00
dependabot[bot] 90a36f8304 chore(deps): bump tmpl from 1.0.4 to 1.0.5 in /api
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 19:37:27 +02:00
dependabot[bot] ee0e77c85b chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /api
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 19:37:13 +02:00
Paul Bienkowski 4eb504d719 deployment: add example deployment config and readme 2021-09-27 19:34:14 +02:00
Paul Bienkowski 59651d3cb9 add production setup 2021-09-27 18:54:02 +02:00
gluap 4c28187741 Make optional use of STARTTLS possible if required. 2021-09-27 18:36:40 +02:00
Paul Bienkowski e52575ab87 api: update mongoose 2021-09-27 18:09:48 +02:00
Paul Bienkowski c7202eadd2 frontend: load config.json at runtime from public dir, to be overwritable 2021-09-14 22:02:57 +02:00
Paul Bienkowski 85d93fe598 frontend: add API URL in settings page next to API key, and add copy buttons for both values (fixes #97) 2021-09-14 20:56:24 +02:00
Paul Bienkowski 1705d03683 api: fix redirect using req.session.next when baseUrl is not at root 2021-09-14 19:26:50 +02:00
Paul Bienkowski 4fe6d77a23 api: make semantic-ui URL relative to baseHref 2021-09-14 19:08:00 +02:00
Paul Bienkowski aaea78daf7 frontend: Make home zone configurable 2021-09-12 11:13:03 +02:00
Paul Bienkowski 35fc7193b7 frontend: fix warning about DOM attributes 2021-09-12 11:12:52 +02:00
Paul Bienkowski 14039f30f3 frontend: Make tileset and zoom levels configurable (fixes #83) 2021-09-12 11:05:42 +02:00