Commit graph

833 commits

Author SHA1 Message Date
Laura Klünder
55f0f481fe optimized empty png image in SVGImage 2017-10-29 14:24:45 +01:00
Laura Klünder
4ad4083456 rendering background color to RGB instead of RGBA PNGs 2017-10-29 13:36:34 +01:00
Laura Klünder
d174451699 forgot one place where it still was y,x 2017-10-29 11:34:23 +01:00
Laura Klünder
a3be7b2842 flip every y,x to x,y 2017-10-29 11:32:44 +01:00
Laura Klünder
cce476c37a using id() as a cache key was a very bad idea 2017-10-29 09:47:53 +01:00
Laura Klünder
bfe1491efc add border to map renderings 2017-10-29 09:32:15 +01:00
Laura Klünder
8c52f9aed1 add language to etag 2017-10-28 21:47:53 +02:00
Laura Klünder
5fe03c4c8e add simple_geometry to location api 2017-10-28 21:36:52 +02:00
Laura Klünder
f83b77ed8b improve location api caching again and improve subtitles/descriptions 2017-10-28 20:50:02 +02:00
Laura Klünder
8beb6f9e8b better subtitles for location groups and more caching in query set 2017-10-28 20:30:27 +02:00
Laura Klünder
966b554169 locationgroups always on top 2017-10-28 20:06:44 +02:00
Laura Klünder
be97ed6a47 add LocationGroup.subtitle 2017-10-28 19:49:28 +02:00
Laura Klünder
c2bedebd28 replace ?search with ?searchable 2017-10-28 14:09:59 +02:00
Laura Klünder
c35d833640 order locations by relevance 2017-10-28 13:31:12 +02:00
Laura Klünder
0cfae778f0 Location API: can_seach OR can_describe 2017-10-28 13:18:28 +02:00
Laura Klünder
bdbbaa71a1 fix typo (max instead of min) in MapHistory.add_new() 2017-10-28 13:14:32 +02:00
Laura Klünder
1db9db542f fix register_changed_geometries on LocationGroup and LocationGroupCategory 2017-10-28 13:04:46 +02:00
Laura Klünder
4f0dce05a1 location api: only prefetch location groups that are visible to the user 2017-10-28 12:44:22 +02:00
Laura Klünder
1536fb0e10 besser queryset mode values in location api 2017-10-28 12:38:29 +02:00
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