Commit graph

914 commits

Author SHA1 Message Date
Laura Klünder
7632ce39ae add simple_api_cache to editor API 2017-10-27 17:33:50 +02:00
Laura Klünder
7a2ecb60ed add ETag to editor 2017-10-27 17:08:36 +02:00
Laura Klünder
85a0993799 add ETag to mapdata api 2017-10-27 16:40:15 +02:00
Laura Klünder
ef340c5193 defer Level.render_data when querying by locationslug 2017-10-27 16:00:54 +02:00
Laura Klünder
92f0ffe6fd cache location api list and query 2017-10-27 15:25:03 +02:00
Laura Klünder
db6102d5e5 fix typo 2017-10-27 15:14:34 +02:00
Laura Klünder
f99779e9de fix ?detailed-logic 2017-10-27 15:05:41 +02:00
Laura Klünder
879f550f84 fix subtitle logic 2017-10-27 15:03:38 +02:00
Laura Klünder
8472fc1952 fix docs in LocationViewSet 2017-10-27 14:52:31 +02:00
Laura Klünder
508a45b4c8 simplify subtitle logic 2017-10-27 14:51:26 +02:00
Laura Klünder
58f1ae9ee3 improve location API using caching 2017-10-27 14:51:09 +02:00
Laura Klünder
feb62bec39 check category_id, not category to avoid additional queries 2017-10-27 13:47:23 +02:00
Laura Klünder
25b478f227 add first subtitle code 2017-10-27 13:47:12 +02:00
Laura Klünder
48fb0e4555 add Level.short_label 2017-10-25 12:29:08 +02:00
Laura Klünder
6ed5188c07 remove bare exceptions 2017-10-25 00:47:40 +02: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
efa2e97970 delete tile access cookie if it would be empty 2017-10-24 23:28:38 +02:00
Laura Klünder
e24dace846 set tile access cookie 2017-10-24 23:27:07 +02:00
Laura Klünder
1bf61f5f0f access_permissions should be a set 2017-10-24 23:24:45 +02:00
Laura Klünder
a3d3f3888a fix etag 2017-10-24 23:24:32 +02:00
Laura Klünder
d34afc37c6 expire access permission cache earlier if a permission will expire 2017-10-24 22:52:38 +02:00
Laura Klünder
10da4f3bb6 implement access permissions 2017-10-24 22:45:57 +02:00
Laura Klünder
7c44a9d74f add AccessPermission modeling 2017-10-24 22:13:53 +02:00
Laura Klünder
0ce6ca9202 missing unimportant migration 2017-10-24 22:13:14 +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
506b959946 remove delete_old_cached_tiles task because new caching does not need this 2017-10-24 18:14:35 +02:00
Laura Klünder
6b6e3afa7b tile view: use new intelligent caching 2017-10-24 18:12:46 +02:00
Laura Klünder
7640e77c14 build map history with holes 2017-10-24 15:29:43 +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
82a46648a1 fix "bad char in struct format" 2017-10-24 13:26:25 +02:00
Laura Klünder
892de944f9 default for default_update 2017-10-24 13:19:23 +02:00
Laura Klünder
aa31a4e192 empty_array 2017-10-24 13:12:17 +02:00
Laura Klünder
130a13a4f8 simplify MapHistory (remove unneeded stuff) 2017-10-24 13:05:08 +02:00
Laura Klünder
6c9f755f8c force standard size struct 2017-10-24 02:07:56 +02:00
Laura Klünder
f34dd89424 change MapHistory format from cache_key to id and timestamp 2017-10-24 01:59:50 +02:00
Laura Klünder
1b972c4ab0 rebuild LevelRenderData after saving changed_geometries 2017-10-24 01:14:36 +02:00
Laura Klünder
dd44d145e9 create empty maphistory if it does not exist 2017-10-24 00:21:57 +02:00
Laura Klünder
24a2fe9522 write binary map history index 2017-10-24 00:11:02 +02:00
Laura Klünder
026926503c add LevelMapHistory 2017-10-23 22:51:17 +02:00