Commit graph

1791 commits

Author SHA1 Message Date
Jenny Danzmayr
b1df8264c6 fixed resolving a users accesspermission into associated groups 2023-12-19 17:35:22 +01:00
Jenny Danzmayr
334dc9c09a fixed duplication of accessgroups in querysets in some edge cases 2023-12-19 17:07:47 +01:00
Laura Klünder
6a5097a0b6 delete account feature 2023-12-18 11:14:27 +01:00
Laura Klünder
a2d6012369 improve groundaltitude ux in editor 2023-12-18 11:14:27 +01:00
Gwendolyn
a0078a6312 fix wall rendering bug 2023-12-18 00:19:17 +01:00
Gwendolyn
8dca16f46c hopefully fixes C3NAV-37C3-M 2023-12-17 14:17:24 +01:00
Gwendolyn
7bc75e4207 fix wrong indentation from f85bcc1 2023-12-14 20:07:25 +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
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
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
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
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
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