Commit graph

1655 commits

Author SHA1 Message Date
Laura Klünder
4d97af63b3 importhub stub 2023-12-22 00:13:54 +01:00
Gwendolyn
fadbabf9bf use minimum_rotated_rectangle instead of bounding box for non-detailed geometry 2023-12-21 23:22:14 +01:00
Gwendolyn
4510c346cb fix type in tile url pattern 2023-12-21 22:59:10 +01:00
Jenny Danzmayr
9278b98add disabled wsgi.file_wrapper because it returns 0 bytes 2023-12-21 22:19:54 +01:00
Jenny Danzmayr
5aa14ea93c fixed wrong extension in ArchiveFileExtConverter 2023-12-21 21:54:22 +01:00
Gwendolyn
d6f234cf1f positions 2023-12-21 15:14:38 +01:00
Gwendolyn
1d4703f86f access restrictions can be set to public to make them available to everyone (even not logged in users)
public access restrictions do not count to the unlocked areas count
2023-12-20 23:56:32 +01:00
Gwendolyn
8311bf9668 update migration for main_point to use blank=True
(does not change db)
2023-12-20 23:33:36 +01:00
Gwendolyn
5e9cd69ade treat empty strings and None as None rather than an empty geometry, to support optional geometry fields (Fixes C3NAV-37C3-V) 2023-12-20 15:47:20 +01:00
Laura Klünder
81e159047a fix missing blank for geometryfield 2023-12-20 00:18:38 +01:00
Laura Klünder
1faeda5e8a fix main_point form into hidden field 2023-12-20 00:13:36 +01:00
Laura Klünder
3477354688 access permissions can now also be given by group 2023-12-19 19:48:31 +01:00
Laura Klünder
c4a8e1d874 add "main point" to area 2023-12-19 19:48:24 +01:00
Laura Klünder
e55e2a33d5 missing migration for report author 2023-12-19 19:48:18 +01:00
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