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
Paul Bienkowski
88937b2f49
add API and Frontend version in frontend footer ( fixes #81 )
2021-09-12 10:37:40 +02:00
dependabot[bot]
f38823d6c5
chore(deps): bump normalize-url from 4.5.0 to 4.5.1 in /api
...
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases )
- [Commits](https://github.com/sindresorhus/normalize-url/commits )
---
updated-dependencies:
- dependency-name: normalize-url
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 13:47:04 +02:00
dependabot[bot]
5b676bdc03
chore(deps): bump glob-parent from 5.1.1 to 5.1.2 in /api
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 13:46:36 +02:00
dependabot[bot]
c143500605
chore(deps): bump ws from 7.4.0 to 7.5.0 in /api
...
Bumps [ws](https://github.com/websockets/ws ) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.4.0...7.5.0 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 13:45:47 +02:00
Paul Bienkowski
dab902aa22
Bump api/scripts
2021-06-22 09:56:06 +02:00
Paul Bienkowski
7162589617
Validate file uniqueness ( fixes #78 )
2021-06-21 19:36:28 +02:00
Paul Bienkowski
e6350cdb66
api: Do not require district for parsing anymore
2021-06-21 18:52:04 +02:00