Commit graph

1671 commits

Author SHA1 Message Date
Gwendolyn
a4b72478fa access restrictions for obstacles in renderer? 2023-12-25 17:40:35 +01:00
Laura Klünder
fba5c2cbd4 import_block implementation 2023-12-25 16:49:03 +01:00
Gwendolyn
7f72aa8b79 move tile directory before calling rmtree on it
this avoids the case where rmtree fails because other files are written to the directory from a different request while it is being deleted (fixes C3NAV-37C3-1W)
2023-12-25 12:27:35 +01:00
Jenny Danzmayr
0cf56deb0c fixed /map/positions api endpoint to work for unavailable custom locations
fixes C3NAV-37C3-1X
2023-12-25 12:05:45 +01:00
Laura Klünder
f23aaf86bf fix problem with editor and main_point 2023-12-24 16:37:09 +01:00
Laura Klünder
c1d9a011cf make linter happy 2023-12-24 16:07:07 +01:00
Laura Klünder
2b9c99070e sort imports 2023-12-24 16:04:33 +01:00
Laura Klünder
c284745681 one more fix for unlimited 2023-12-24 16:04:17 +01:00
Laura Klünder
0970a6558d manage unlimited tokens in control panel 2023-12-24 16:03:48 +01:00
Laura Klünder
d5ec23a7fb get access permissions without signing in 2023-12-24 15:40:48 +01:00
Laura Klünder
fef1fb2c06 make unlimited accesspermission tokens actually unlimited 2023-12-24 14:35:07 +01:00
Laura Klünder
dbdfcf3c7f implementation start for importhub 2023-12-24 03:39:13 +01:00
Laura Klünder
7f42ef9775 fix bug that made restricted spaces with holes see-through even without permission 2023-12-24 03:25:34 +01:00
Laura Klünder
4ade6cfc1f add external_url and hub_import_type 2023-12-22 01:20:24 +01:00
Jenny Danzmayr
21688c11d9 fixed wsgi.file_wrapper usage in get_cache_package 2023-12-22 00:31:41 +01:00
Jenny Danzmayr
0e50f9ab3a fixed tile render endpoint to work correctly with requests from the tileserver 2023-12-22 00:29:55 +01:00
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