Commit graph

59 commits

Author SHA1 Message Date
Laura Klünder
a3feee713b accidentally swapped bounds 2017-12-20 19:11:28 +01:00
Laura Klünder
a7c4475151 throw bad request in tile view if a tile cache server should be used 2017-12-15 00:33:13 +01:00
Laura Klünder
a2987cfbb3 reorganize cookie settings and make them always secure 2017-12-14 23:01:49 +01:00
Laura Klünder
6adaf4ab40 fix not setting cache in tile view 2017-12-10 15:36:13 +01:00
Laura Klünder
1169597800 update tile access cookie setting infrastructure 2017-12-04 17:24:01 +01:00
Laura Klünder
5184206b49 allow -2 and -1 zoom 2017-11-28 14:14:03 +01:00
Laura Klünder
344eb53d14 maxZoom is now 5 2017-11-28 11:15:12 +01:00
Laura Klünder
bc1cbc5f24 only read affected access restrictions if needed 2017-11-23 01:40:02 +01:00
Laura Klünder
0346301f8e fix error 500 if CACHE_TILES is active 2017-11-21 05:52:19 +01:00
Laura Klünder
443d58965d add settings to use external cached tile server 2017-11-21 04:34:43 +01:00
Laura Klünder
7ccfe058f6 allow specifying tile access permissions directly if authorized 2017-11-21 00:41:19 +01:00
Laura Klünder
bf98f54b55 refactor tile code in meny places to allow reusing it 2017-11-21 00:15:49 +01:00
Laura Klünder
1fdcca4ae1 add view for external tile servers do load cache package 2017-11-20 22:48:05 +01:00
Laura Klünder
87d1e3e7f5 don't import anything in render.__init__ 2017-11-20 02:53:49 +01:00
Laura Klünder
116590b88f c3nav.mapdata.cache → c3nav.mapdata.utils.cache 2017-11-20 00:39:01 +01:00
Laura Klünder
ebed7aa42f don't send the key 2017-11-19 12:56:22 +01:00
Laura Klünder
bc83548da4 add X-ETag-Unencoded for debugging purposes 2017-11-19 12:52:25 +01:00
Laura Klünder
7f0d52f23f rename map history files to be less confusing 2017-11-16 02:03:36 +01:00
Laura Klünder
37e9dcc1f6 drop suppoprt for svg output 2017-11-09 17:42:19 +01:00
Laura Klünder
a05c7a5a3c add base for OpenGL map render engine 2017-11-06 11:19:53 +01:00
Laura Klünder
f928fd8b6e fix imports 2017-11-05 12:32:07 +01:00
Laura Klünder
df451f9143 cleanup render code to make room for the opengl rendering engine 2017-11-04 23:21:36 +01:00
Laura Klünder
495cef1691 render 257x257px tiles so they can overlap to avoid rendering bugs 2017-10-30 21:25:56 +01:00
Laura Klünder
a3be7b2842 flip every y,x to x,y 2017-10-29 11:32:44 +01:00
Laura Klünder
5c51548174 tile_access view to set cookie 2017-10-24 23:49:02 +02:00
Laura Klünder
4afc1b6bd7 fix history etag 2017-10-24 23:48:53 +02:00
Laura Klünder
aee452679c get and apply tile access cookie 2017-10-24 23:41:53 +02:00
Laura Klünder
a3d3f3888a fix etag 2017-10-24 23:24:32 +02:00
Laura Klünder
10da4f3bb6 implement access permissions 2017-10-24 22:45:57 +02:00
Laura Klünder
1e6e61e4b5 cache history endpoint 2017-10-24 21:40:10 +02:00
Laura Klünder
bc465f3351 etags should be quoted 2017-10-24 21:39:52 +02:00
Laura Klünder
3112db4bae X-Access-Restrictions header in tile renderer 2017-10-24 21:16:47 +02:00
Laura Klünder
e8f46f77e3 history has no language either 2017-10-24 21:06:42 +02:00
Laura Klünder
153bad00e1 get red of unwanted vary headers 2017-10-24 21:03:56 +02:00
Laura Klünder
0fbe1eb9bf hash tile etag to prevent information disclosure 2017-10-24 20:05:47 +02:00
Laura Klünder
71e3a5f6e5 whitespaces 2017-10-24 19:30:16 +02:00
Laura Klünder
9c6a340df6 remove profiler 2017-10-24 18:24:38 +02:00
Laura Klünder
6b6e3afa7b tile view: use new intelligent caching 2017-10-24 18:12:46 +02:00
Laura Klünder
e453bc4959 fix logik in render cache export 2017-10-24 15:23:41 +02:00
Laura Klünder
28098969cc move level cache filename to method 2017-10-24 14:46:35 +02:00
Laura Klünder
8205ee51a8 export history 2017-10-24 13:59:42 +02:00
Laura Klünder
82fc9f2264 rename cache_key→current_cache_key 2017-10-23 22:49:45 +02:00
Laura Klünder
5af314d282 register updated geometries for tile cache invalidation 2017-10-23 19:25:15 +02:00
Laura Klünder
84b5c26f3d cache tiles on disk 2017-10-20 16:47:53 +02:00
Laura Klünder
decb01c9c7 add ETag to tile renderer view 2017-10-20 16:21:25 +02:00
Laura Klünder
a71a24c884 remove debug statement 2017-10-19 23:11:51 +02:00
Laura Klünder
4acee03ca3 respect access restrictions in renderer 2017-10-19 17:20:55 +02:00
Laura Klünder
03e35a019e speedup get_render_level_data 2017-10-19 13:47:03 +02:00
Laura Klünder
2789fe3472 render and crop directly with rsvg/cairo 2017-10-17 14:34:09 +02:00
Laura Klünder
ff3a881368 add first shadows to rendering and fix png rendering (fuck rsvg) 2017-10-17 12:24:38 +02:00