Commit graph

1791 commits

Author SHA1 Message Date
Gwendolyn
ab224b2770 avoid race condition between multiple tile renderers using the same cache 2023-12-27 21:44:02 +01:00
Gwendolyn
f498592390 some more preview image and embed card related stuff 2023-12-27 13:13:32 +01:00
Gwendolyn
30d16c4cc9 file caching for preview images 2023-12-26 23:59:34 +01:00
Gwendolyn
ddc765ca52 etags for preview images 2023-12-26 23:19:16 +01:00
Gwendolyn
920af6ee66 previews support for location groups 2023-12-26 23:10:20 +01:00
Gwendolyn
d025ffa194 preview images for routes 2023-12-26 20:04:02 +01:00
Gwendolyn
7ab1881185 make wifi measurement data default value list instead of [] 2023-12-26 20:04:02 +01:00
Gwendolyn
9d422a777c little bit of render refactoring 2023-12-26 18:15:07 +01:00
Gwendolyn
51d2ec5714 cache preview images 2023-12-26 17:50:37 +01:00
Laura Klünder
e8e68888f6 what the fuck are slugs with underscores 2023-12-26 17:46:08 +01:00
Gwendolyn
3732163006 initialise wifi measurement data as empty list instead of null 2023-12-26 17:42:14 +01:00
Laura Klünder
731c041467 wtf are slugs that aren't lowercase?! 2023-12-26 17:14:44 +01:00
Gwendolyn
2745d3e644 implement slug property and get_slug method on CustomLocation 2023-12-26 17:11:46 +01:00
Gwendolyn
86180c8fb0 social/sharing card with opengraph and twitter, including preview image (no routing preview for now) 2023-12-26 17:02:38 +01:00
Laura Klünder
c7179e205d importhub: convert between Area and POI 2023-12-26 11:50:45 +01:00
Laura Klünder
933ea122b9 fix importhub to ignore weird new items without slug 2023-12-26 02:10:59 +01:00
Laura Klünder
2c0965795a fix external url details display 2023-12-26 00:12:06 +01:00
Laura Klünder
617c810f93 remove ?all=1 2023-12-25 23:41:53 +01:00
Laura Klünder
4919b7d2cb importhub now with automatic reports doing 2023-12-25 23:38:23 +01:00
Laura Klünder
04f7c27ecb add importhub first draft 2023-12-25 22:49:23 +01:00
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