Commit graph

3817 commits

Author SHA1 Message Date
Gwendolyn
7bc75e4207 fix wrong indentation from f85bcc1 2023-12-14 20:07:25 +01:00
Gwendolyn
f41fe3dcc0 fix the pattern in the api schema for object ids in changesets 2023-12-14 18:43:37 +01:00
Gwendolyn
478057e515 fix api permission error message 2023-12-12 19:14:03 +01:00
Gwendolyn
2bbd3e7994 return priority as string in display details 2023-12-12 17:45:47 +01:00
Gwendolyn
2ec5e40f41 user data subtitle can be null 2023-12-12 16:55:58 +01:00
Gwendolyn
4b1ac9f194 convert django lazy string proxies to strings in the base schema validator, rather than in the serialization code of each source model 2023-12-11 20:59:19 +01:00
Gwendolyn
4c06abd400 hide map when in background and only show it again after a call to updates/fetch has returned, to ensure the tile cookie is properly set 2023-12-11 20:58:46 +01:00
Gwendolyn
22f1777c1c add samesite=strict for tile cookie 2023-12-11 20:58:46 +01:00
Laura Klünder
607c3f82fa fix grounaltitude migration 2023-12-11 20:34:11 +01:00
Laura Klünder
764ed575c9 commit missing migrations 2023-12-11 19:02:48 +01:00
Laura Klünder
ef83e73a36 make linter happy 2023-12-11 19:02:19 +01:00
Laura Klünder
30b0c12ebe remove debug statements and fix stuff etc 2023-12-11 18:50:36 +01:00
Laura Klünder
c3ce665562 linter stuff 2023-12-11 18:49:18 +01:00
Laura Klünder
11a631136b remove old debug strings 2023-12-11 18:49:18 +01:00
Laura Klünder
f85bcc173a extract color variables for rendering 2023-12-11 18:49:18 +01:00
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
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
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
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
960665a4ad fixed error in /updates/fetch api endpoint if case there are no site updates 2023-12-07 07:22:58 +01:00