Commit graph

1671 commits

Author SHA1 Message Date
Laura Klünder
0b3d94124f better __str__ for altitudearea 2023-12-10 21:17:10 +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
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
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
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
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
Laura Klünder
83dfdec90f RangeLocator needs current router instead of old one (which might fail) 2023-12-07 00:18:20 +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
Laura Klünder
1a0c4e63f5 lots of small fixes and todo removals 2023-12-04 22:21:48 +01:00
Laura Klünder
964574e535 more map api documentation improvements 2023-12-04 18:58:49 +01:00
Laura Klünder
fdf4860ea8 better bounds examples 2023-12-04 16:19:34 +01:00
Laura Klünder
4be79776cb update BoundsSchema docs 2023-12-04 13:55:24 +01:00
Laura Klünder
87ef037421 more api docs and tweaks for auth and updates API 2023-12-04 13:46:32 +01:00
Laura Klünder
ea335a8fe8 start making optional attributes look better in redoc 2023-12-03 23:27:42 +01:00
Gwendolyn
c8ec578045 fix package.tar file path generation with pathlib 2023-12-03 23:06:59 +01:00
Gwendolyn
73c80f576c pickle WrappedGeometry objects correctly (fixes #98) 2023-12-03 23:06:59 +01:00
Laura Klünder
e5e3a6b7e2 make redoc look prettier 2023-12-03 22:52:06 +01:00
Laura Klünder
ba4c2b7d0a rename newapi to api 2023-12-03 21:55:08 +01:00
Laura Klünder
caf23d053c goodbye django rest framework 2023-12-03 21:50:55 +01:00
Laura Klünder
0e65efcbbc lets group mapdata api v2 endpoints better and make sure descriptions are shown 2023-12-03 21:15:48 +01:00
Gwendolyn
73238f6943 LocationGeometry id can be custom location or position id 2023-12-03 21:11:10 +01:00
Laura Klünder
ef223ee09c make fetch_updates api v2 work 2023-12-03 20:42:26 +01:00
Laura Klünder
19380e0b80 remove etag where there should be none 2023-12-03 20:40:10 +01:00
Laura Klünder
c21c43a6da improve mesh api v2 documentation 2023-12-03 20:25:30 +01:00
Laura Klünder
65272042f9 improve mapdata api v2 docs 2023-12-03 20:12:27 +01:00
Laura Klünder
d63113f0bb customlocation geometry schema should have default none 2023-12-03 19:39:34 +01:00
Laura Klünder
6e41beac3f more mapdata.map api v2 documentation updates 2023-12-03 19:35:19 +01:00
Laura Klünder
93f70fa0b8 add fetch_updates api v2 endpoint 2023-12-03 19:25:44 +01:00
Laura Klünder
828d781938 improve api documentation for redoc 2023-12-03 19:04:23 +01:00
Laura Klünder
156e1a9436 fix the same thing again 2023-12-03 17:42:12 +01:00
Laura Klünder
635b9ab406 fix SourceSchema 2023-12-03 17:39:58 +01:00
Laura Klünder
210d079bb7 write more schema for routing api 2023-12-01 23:49:02 +01:00
Laura Klünder
6eaf087f71 update some dependencies 2023-12-01 01:56:23 +01:00
Laura Klünder
43791583e0 new api secret system, multiple api secrets, limited scopes, etc... 2023-11-30 22:02:40 +01:00
Laura Klünder
04f035bee5 missing import 2023-11-27 22:08:07 +01:00