Commit graph

1655 commits

Author SHA1 Message Date
Gwendolyn
d029114ef0 oops need to actually call MapUpdate.current_cache_key() 2024-03-18 23:28:42 +01:00
Gwendolyn
d42cd01e95 don't cache theme colors past a mapdata update 2024-03-18 23:23:14 +01:00
Gwendolyn
1989098d7e don't hide database error details in clearmapcache 2024-03-18 16:48:22 +01:00
Laura Klünder
0ca93acbf6 add missing migration 2024-03-10 13:46:05 +01:00
Laura Klünder
372db50224 add bluetooth and UWB parameters to RangingBeacon model 2024-03-10 13:45:20 +01:00
Laura Klünder
24e14c32ae rewrite migration to stay compatible with sqlite 2024-02-09 21:35:50 +01:00
Laura Klünder
a8261d0b3d configurable in-memory cache sizes 2024-02-07 20:20:40 +01:00
Laura Klünder
43b4b63a63 only import PIL.Image if needed 2024-02-07 19:59:53 +01:00
Laura Klünder
8c8ef12cf0 make linter happy 2024-02-07 18:34:28 +01:00
Laura Klünder
d7f175f7ef add options and postpone imports to massively reduce memory usage 2024-02-07 18:17:13 +01:00
Gwendolyn
da5346d0a9 theme selector 2024-01-06 20:52:46 +01:00
Gwendolyn
59317f9a42 oops forgot to remove the color field on line obstacles 2024-01-06 18:51:04 +01:00
Gwendolyn
9399e5c377 rudimentary theme support 2024-01-06 16:13:38 +01:00
Jenny Danzmayr
ff7d9d85fd fixed PUT on /positions/{position_id}/ API endpoint 2023-12-28 15:27:43 +01:00
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