Commit graph

416 commits

Author SHA1 Message Date
Laura Klünder
fd74ca3258 calculate better representative point for geometries 2017-10-31 19:20:28 +01:00
Laura Klünder
31bc299f77 superusers have all access permissions 2017-10-31 18:09:55 +01:00
Laura Klünder
e98c38e5fb represent level in state url as short_label, not its id 2017-10-31 16:08:20 +01:00
Laura Klünder
620323b808 export entire location query logic into mapdata.utils.locations and cache 2017-10-31 15:22:12 +01:00
Laura Klünder
247d6b119e fix subtitles if space_cache or level_cache are empty 2017-10-31 14:08:01 +01:00
Laura Klünder
be2a81f806 move complicated Location API Queryset into LocationSlug 2017-10-31 13:25:42 +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
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
c35d833640 order locations by relevance 2017-10-28 13:31:12 +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
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
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
508a45b4c8 simplify subtitle logic 2017-10-27 14:51:26 +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
1bf61f5f0f access_permissions should be a set 2017-10-24 23:24:45 +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
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
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
24a2fe9522 write binary map history index 2017-10-24 00:11:02 +02:00
Laura Klünder
82fc9f2264 rename cache_key→current_cache_key 2017-10-23 22:49:45 +02:00
Laura Klünder
2124b4a536 move cache.py to mapdata root 2017-10-23 19:32:11 +02:00
Laura Klünder
5af314d282 register updated geometries for tile cache invalidation 2017-10-23 19:25:15 +02:00
Laura Klünder
9f59b841b0 cache LevelRenderData for each level completely (+ cropping) 2017-10-20 22:02:51 +02:00
Laura Klünder
96dc678fe6 delete old cached map tiles 2017-10-20 17:00:14 +02:00
Laura Klünder
1ae60dba63 render XML directly as string for better performance and more cleanup 2017-10-19 23:50:21 +02:00
Laura Klünder
ed2cedaa87 rebuild altitudes and level geoms on mapupdate 2017-10-19 14:41:42 +02:00
Laura Klünder
9bfa48ba2c cache max_bounds 2017-10-19 13:55:35 +02:00
Laura Klünder
eb370b430c always defer Level.geoms_cache by default 2017-10-19 13:40:17 +02:00
Laura Klünder
a9594b0cc5 improve rendering speed by caching LevelGeometry in database 2017-10-19 13:35:17 +02:00
Laura Klünder
c3cb12d2bc simple renderer for tiles 2017-10-10 17:49:53 +02:00
Laura Klünder
9a538f8255 GeometryManager with within 2017-10-10 17:49:30 +02:00
Laura Klünder
99f9aac0c3 add geometry bounds for easier querying 2017-10-10 13:26:46 +02:00
Laura Klünder
a87b6d79ac change building color 2017-09-21 16:22:20 +02:00
Laura Klünder
17faf9ce05 change space color 2017-09-21 16:17:58 +02:00
Laura Klünder
1f977ca9e6 remove borders from svg rendering 2017-09-19 17:23:50 +02:00
Laura Klünder
3ab21d55d1 fix hole rendering again 2017-09-19 17:21:07 +02:00