Commit graph

3945 commits

Author SHA1 Message Date
Jenny Danzmayr
4fb1230163 added version information to sentry and the about page 2023-12-11 18:32:26 +01:00
Laura Klünder
97c9c7ecb7 make altitudes reusable using GroundAltitude model 2023-12-11 18:17:57 +01:00
Gwendolyn
c939c81c71 updates/fetch should return user information in field "user_data" and not "user" 2023-12-11 15:13:16 +01:00
Gwendolyn
a26724715b locate_test needs to take a request parameter 2023-12-11 14:09:33 +01:00
Gwendolyn
d0d18fcae2 SerializableSchema should check if its values can be serialized, so that it doesn't break when used in a union with a base type or schema that isn't a SerializableSchema 2023-12-11 14:07:41 +01:00
Gwendolyn
058ff148cf locate-test sets the user location, so setting the user location should not break if mobileclient is not available 2023-12-11 13:35:12 +01:00
Gwendolyn
7836cf41a7 positioning/locate-test is a GET endpoint 2023-12-11 13:33:51 +01:00
Gwendolyn
19dafe5ea0 js functions that don't use await should not be async 2023-12-11 13:32:47 +01:00
Laura Klünder
4bb59c2265 fix the same thing again? sorry no idea what the last commit was 2023-12-10 21:59:20 +01:00
Laura Klünder
0b3d94124f better __str__ for altitudearea 2023-12-10 21:17:10 +01:00
Jenny Danzmayr
5b804a069c sentry tracing config option 2023-12-10 08:14:49 +01:00
Laura Klünder
a8fda62d24 read x-mesh-secret header correctly 2023-12-09 20:24:48 +01:00
Gwendolyn
2c395462b0 encode whether editor request is done with ajax in etag (fixes #126) 2023-12-09 00:01:00 +01:00
Jenny Danzmayr
555b4b107c added readme for building the docker containers 2023-12-08 22:58:37 +01:00
Laura Klünder
d19e1db3d2 sort access restrictions by title 2023-12-08 20:55:36 +01:00
Laura Klünder
ac53230f99 set CONN_MAX_AGE to 0 for ASGI 2023-12-08 12:58:44 +01:00
Jenny Danzmayr
03e0354ba5 removed devlop and build from dockerfile as docker compose watch doesn't work 2023-12-08 01:17:45 +01:00
Jenny Danzmayr
11aeda11e5 added script to load data from production 2023-12-08 01:17:45 +01:00
Jenny Danzmayr
9d0a8e08fd more typos *ugh* 2023-12-08 01:17:45 +01:00
Jenny Danzmayr
4bf510cdb3 fixed typo 2023-12-08 01:17:45 +01:00
Laura Klünder
ece79514f1 add CONN_HEALTH_CHECKS 2023-12-08 01:17:24 +01:00
Laura Klünder
24e80014b8 need to use credentials: include to make tile access cookie work 2023-12-08 01:12:18 +01:00
Jenny Danzmayr
653117fcb7 added docker compose file 2023-12-08 00:41:14 +01:00
Jenny Danzmayr
f27605434b updated docker build script to allow building from git 2023-12-08 00:22:49 +01:00
Jenny Danzmayr
d7a22bf715 fixed static file serving via starlet 2023-12-08 00:16:58 +01:00
Laura Klünder
295334a4a3 fix router and locator .load() 2023-12-07 22:15:50 +01:00
Laura Klünder
f4257fbf3f fix but that would make levels just. not render 2023-12-07 20:12:10 +01:00
Laura Klünder
99c2c4e0f0 some renderdata code modernization 2023-12-07 20:11:55 +01:00
Laura Klünder
551cb1e086 start modernizing renderdata code somewhat 2023-12-07 19:13:42 +01:00
Laura Klünder
0150851808 fix typo or it will never load from local cache 2023-12-07 18:57:57 +01:00
Jenny Danzmayr
dff4b7ea46 more typehinting 2023-12-07 17:57:50 +01:00
Jenny Danzmayr
fc7e3a1ecf fixed that CachePackage.open works also for filenames as strings 2023-12-07 17:56:19 +01:00
Gwendolyn
6e12553c5f fix logic error in CachePackage.open() 2023-12-07 17:43:32 +01:00
Jenny Danzmayr
f2f048d094 fixed session storage, whoops 2023-12-07 17:37:26 +01:00
Laura Klünder
372936fcad an experiment. lets don't use threading locks, hope it helps with performance 2023-12-07 17:28:13 +01:00
Jenny Danzmayr
2e09b286f4 store sessions in redis if redis is available 2023-12-07 16:36:19 +01:00
Gwendolyn
0e171166e8 fix routing error 2023-12-07 16:02:35 +01:00
Gwendolyn
e174dbf1af native share functionality
via `navigator.share()`
2023-12-07 15:18:41 +01:00
Gwendolyn
a2ec3483fb correct navigation buttons from/to here
they were swapped
2023-12-07 15:18:29 +01:00
Gwendolyn
8f0d61895b only try to load .svg source files as svg overlay, don't recreate svg if it's already loaded 2023-12-07 12:06:50 +01:00
Jenny Danzmayr
ff1df86e2e fixed tile view trying to delete non existing folders 2023-12-07 08:08:07 +01:00
Jenny Danzmayr
4e4b88ad68 added zstd to docker containers 2023-12-07 07:28:07 +01:00
Jenny Danzmayr
960665a4ad fixed error in /updates/fetch api endpoint if case there are no site updates 2023-12-07 07:22:58 +01:00
Jenny Danzmayr
9d79ed1a1a used zstd compressed CachePackage in the tile server 2023-12-07 06:58:04 +01:00
Jenny Danzmayr
0083d1103b fixed process_updates and Locator.rebuild 2023-12-07 06:43:50 +01:00
Jenny Danzmayr
d5e77de9d0 zstd decompression support for CachePackage 2023-12-07 06:43:04 +01:00
Jenny Danzmayr
fe248d42a1 zstd compression support for CachePackage 2023-12-07 06:19:28 +01:00
Jenny Danzmayr
eaed69ad1c pathlib api stuff, zstd support and gracefull error handling for the get_cache_package 2023-12-07 04:12:37 +01:00
Jenny Danzmayr
a16d37a2f8 use pathlib the api in the mapdata/tile view for all file operations 2023-12-07 04:04:47 +01:00
Jenny Danzmayr
5523d5dc29 used shutil.rmtree instead of executing rm -rf 2023-12-07 03:22:40 +01:00