Paul Bienkowski
70fa1a41c4
Provide GPX download from track page
2022-02-25 11:53:28 +01:00
Paul Bienkowski
a71dadfc7f
Export GPX track while processing
2022-02-25 11:53:13 +01:00
Paul Bienkowski
600457fe19
Fix downloaded filename
2022-02-25 11:52:56 +01:00
Paul Bienkowski
a884ac88d8
Add exports page
2022-02-22 17:52:13 +01:00
Paul Bienkowski
8135d4ed51
Release: 0.4.0
2022-02-22 15:56:27 +01:00
Paul Bienkowski
ba887e2208
Write changelog for 0.4.0
2022-02-22 15:56:13 +01:00
Paul Bienkowski
ec7a4506f9
Document lean mode
2022-02-19 09:27:08 +01:00
Paul Bienkowski
5a7900d269
Lean mode default should be off
2022-02-19 09:27:08 +01:00
Paul Bienkowski
bdc68e950e
Do not mount /tiles and /mapdetails routes in lean mode
2022-02-19 09:27:08 +01:00
Paul Bienkowski
3ef6dcf5d9
Add lean mode (overpass source and no map view in frontend)
2022-02-19 09:27:08 +01:00
Paul Bienkowski
d10b91804c
Update readme to mention config.overrides.py
2022-02-18 18:36:31 +01:00
Paul Bienkowski
01bde30d0c
Add config.overrides.py for development config
2022-02-18 18:34:02 +01:00
Paul Bienkowski
71a04b1611
Fix track comment route
2022-02-18 18:24:28 +01:00
Paul Bienkowski
7fc9558e42
Use custom get_single arg everywhere, remove sanicargs ( fixes #193 )
2022-02-18 12:15:08 +01:00
Paul Bienkowski
8bb5d71186
Extract utility functions
2022-02-18 12:05:04 +01:00
Dennis Boldt
412349cf4f
Improve the README
2022-02-18 11:46:00 +01:00
gluap
1735f44769
Port 3000 exposed for consistency
...
Noticed I can do this myself -- disregard my comment about this fact.
2022-02-18 11:46:00 +01:00
Dennis Boldt
e82f2c9a0e
Use environment variables to configure the portal
...
- Added an example .env file, where all variables start with `OBS_`
- `OBS_` variables are handled by the portal as configuration variables
- Uncomment some variables in the config.py, since the config.py overrides the env-vars
- Use env-vars and env-file in the docker-compose.yaml
- Add the worker to the docker-compose.yaml
- Add KeyCloak with its own postgres to the docker-compose.yaml
2022-02-18 11:46:00 +01:00
Dennis Boldt
0f816e1680
Fix env-var names in osm2pgsql.sh
2022-02-18 11:46:00 +01:00
Dennis Boldt
e4e9f921b6
Fix isPath
2022-02-18 11:46:00 +01:00
Dennis Boldt
9df2914b86
Allow env-vars starting with OBS_ to configure the portal
2022-02-18 11:46:00 +01:00
Dennis Boldt
af174bc930
osm2pgsql can use a connection string
...
See option -d at https://osm2pgsql.org/doc/man/latest.html
2022-02-18 11:46:00 +01:00
Dennis Boldt
12224db3b9
Use osm2pgsql.sh to import osm data into the database with the portal image
...
- Added POSTGRES env-vars to the portal (only handled by osm2pgsql.sh until now)
- Added ./data/pbf:/pbf as host volume mount to the portal
- Added osm2pgsql.sh, which ueses the env-vars and pbf-mount to import the osm data into the database
2022-02-18 11:46:00 +01:00
Dennis Boldt
85911a2c97
Add osm2pgsql to the portal container
...
- Build osm2pgsql in a separate woker
- Fix EXPOSE port to 3000
- Add postgres to the backend network
2022-02-18 11:46:00 +01:00
gluap
b43f7a2ebb
retry: should only modify client on success.
2022-02-18 11:21:04 +01:00
gluap
4505ddd0ee
add retry to keycloak connection
2022-02-18 11:21:04 +01:00
gluap
b8ab7da1a9
This allows us to recover from the condition with the broken connections.
2022-02-18 11:19:43 +01:00
gluap
5ac2900e63
make pool_size and overflow configurable for worker and portal
2022-02-18 11:19:43 +01:00
gluap
6a34eaf819
Make setup.py consistent with requirements.txt
...
pyyaml, sqlalchemy asyncpg were missing. I wasn't able to identify where we use pyyaml but left it in to not accidentally break things.
2022-02-18 11:15:00 +01:00
Paul Bienkowski
0d49945018
Fix logging and use coloredlogs for nicer output
2022-02-18 11:15:00 +01:00
Paul Bienkowski
96642d2255
Fix format strings
2022-02-18 11:15:00 +01:00
Paul Bienkowski
b66784f1ed
Fix path to roads_import.lua in docs
2022-02-18 11:15:00 +01:00
gluap
15aaf06168
ignore submodules - it's not branch-aware
2022-02-11 17:09:37 +01:00
gluap
41e7fb001c
Merge pull request #194 from openbikesensor/bump_versions_2022-01-14
...
bump those versions that we can bump
2022-02-09 21:15:00 +01:00
gluap
530c604623
bump those versions that we can bump
2022-02-08 22:51:15 +01:00
gluap
8a4fbf954c
Remove frontend checking
...
It's noisy and buildtime-only.
2022-02-08 21:59:02 +01:00
Paul Bienkowski
2ce0338f38
Refactor routes/exports.py
2022-01-19 20:39:05 +01:00
Paul Bienkowski
3da467800d
Remove broken duplicate route
2022-01-19 20:36:03 +01:00
Paul Bienkowski
0c256d8923
Add export routes
2022-01-19 09:11:54 +01:00
Andreas Mandel
1c09725ff1
Merge pull request #158 from openbikesensor/feature/enable-dependabot-for-update-prs
...
Enable dependabot for update pull requrests
2022-01-18 19:49:29 +01:00
Andreas Mandel
57976b4cec
Enable dependabot for update pull requrests
2022-01-16 12:25:56 +01:00
gluap
ee6163b301
Merge pull request #152 from gluap/proper_deps
...
switch from link to depends_on
2021-12-25 22:51:36 +01:00
Paul Bienkowski
057e2bcc6c
Remove duplicate events from the same track
2021-12-25 21:22:59 +01:00
gluap
442143a651
switch from link to depends_on
2021-12-25 20:32:53 +01:00
gluap
c63fd49245
mongo is not used any more.
2021-12-25 13:19:04 +01:00
Paul Bienkowski
6fd56334e2
Explain to use the portal service, instead of api, in production
2021-12-20 11:33:17 +01:00
Paul Bienkowski
076bc988df
Point footer to forum, not slack ( fixes #140 )
2021-12-19 21:27:30 +01:00
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
ab6e2b8a74
Use entrypoint instead of command, so you can run process_track.py one-off tasks
2021-12-19 21:23:01 +01:00
gluap
184e5c6f8f
Properly split tasks into bulletpoints.
2021-12-19 19:48:06 +01:00