Commit graph

3920 commits

Author SHA1 Message Date
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
Laura Klünder
d0b26cb67b lets move stuff to a file that actually exists 2023-12-07 02:33:37 +01:00
Laura Klünder
37507e65ab what if the last commit produced running code? who knows, but now it runs 2023-12-07 02:27:12 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Jenny Danzmayr
ae65a68830 fixed handling of locks via redis during mapupdates 2023-12-07 01:27:08 +01:00
Gwendolyn
1feb608106 sources as svg layers 2023-12-07 00:53:56 +01:00
Laura Klünder
83dfdec90f RangeLocator needs current router instead of old one (which might fail) 2023-12-07 00:18:20 +01:00
renovate[bot]
54635da40a
⬆️ Update ubuntu_23_04/postgresql-15 to v15.5-0ubuntu0.23.04.1 2023-12-06 18:50:49 +00:00
renovate[bot]
9a134aaa70
⬆️ Update ubuntu_23_04/curl to v7.88.1-8ubuntu2.4 2023-12-06 16:49:23 +00:00
renovate[bot]
1f21404797
⬆️ Update ubuntu_23_04/curl to v7.88.1-8ubuntu2.4 2023-12-06 16:49:14 +00:00
Gwendolyn
753d872602 fix js error 2023-12-06 14:41:22 +01:00
Gwendolyn
7059785c34 open most links from modal in a new tab (fixes #96, fixes #97) 2023-12-06 14:39:51 +01:00
Gwendolyn
b2a0ca71ba new api returns null for unset properties, so we need to compare to null instead of undefined 2023-12-05 18:10:33 +01:00
Gwendolyn
816fb04bea fix that stupid mobileclient bug in the editor 2023-12-05 17:20:01 +01:00
Gwendolyn
7862ec2765 raise APIKeyInvalid if no api key is provided 2023-12-05 15:36:58 +01:00
Jenny Danzmayr
e9a255b095 fixed bug introduced in last commit 2023-12-05 01:25:11 +01:00
Laura Klünder
dac24348d8 use editor/sourceimage to display sources (needs fixing, superuser only) 2023-12-05 01:24:46 +01:00
Jenny Danzmayr
17a636e643 fixed django reverse proxy csrf issues 2023-12-04 23:55:50 +01:00
Laura Klünder
cb8f4ab298 fix locate js 2023-12-04 23:37:32 +01:00
Laura Klünder
8c9b9618ca some more js api client fix 2023-12-04 23:19:24 +01:00
Laura Klünder
78ee84842e APIKeyAuth in scopes 2023-12-04 23:13:58 +01:00
Laura Klünder
68d9d535c7 mesh websocket auth: use X-Mesh-Secret 2023-12-04 23:09:27 +01:00
Laura Klünder
4491f68dc7 move api auth from authorization header to X-API-Key header 2023-12-04 23:07:45 +01:00
Laura Klünder
f64e65f297 make icon optional again 2023-12-04 23:07:30 +01:00
Laura Klünder
29e16e8ce0 remove more todo items 2023-12-04 22:31:00 +01:00
Laura Klünder
b7b18cad36 implement can_access_geometry 2023-12-04 22:27:01 +01:00