Commit graph

491 commits

Author SHA1 Message Date
Laura Klünder
5878381619 add door_height to editor form and serializer 2017-11-14 22:24:29 +01:00
Laura Klünder
3315fbf057 door heights 2017-11-14 21:33:55 +01:00
Laura Klünder
d023af3531 fix terrible glitches 2017-11-13 23:35:13 +01:00
Laura Klünder
f8e75584d9 more stuff better cut 2017-11-13 22:38:49 +01:00
Laura Klünder
dfdeb784aa fix orient again 2017-11-13 21:03:22 +01:00
Laura Klünder
a9b1ed1914 fix orientation problem on levels with no stairs 2017-11-13 20:58:02 +01:00
Laura Klünder
0253d378ed simplify altitudearea recalculate code 2017-11-13 19:36:11 +01:00
Laura Klünder
53af5d59ad properly use cut_polygon_with_lines 2017-11-13 18:54:38 +01:00
Laura Klünder
88fc75022e introducing cut_polygon_with_line() for better stair/altitude processing 2017-11-13 01:25:08 +01:00
Laura Klünder
b6cb29b907 use unary_union instead of the old cascaded_union 2017-11-11 02:36:02 +01:00
Laura Klünder
8bc5015caf use area.geometry_prep for intersects 2017-11-11 02:26:05 +01:00
Laura Klünder
38240fcbde speedup AltitudeArea.recalculate() by using shapely prepared 2017-11-11 02:09:33 +01:00
Laura Klünder
9879b86f86 fix error if two identical stairs exist 2017-11-11 00:21:44 +01:00
Laura Klünder
e1d27b637c process_updates() don't lock globally, but only on unprocessed updates 2017-11-10 23:23:22 +01:00
Laura Klünder
aa7ffab45c use delay() instead of apply_async() 2017-11-10 18:30:40 +01:00
Laura Klünder
64648d5d4f fix updating map history 2017-11-10 17:58:39 +01:00
Laura Klünder
efbbbe2495 schedula process_map_updates usind celery on new MapUpdate creation 2017-11-10 16:56:50 +01:00
Laura Klünder
ea22c7a927 process updates asynchronously 2017-11-10 16:32:58 +01:00
Laura Klünder
bf1e8a9b11 remove all old rendering methods 2017-11-09 17:32:39 +01:00
Laura Klünder
de6e67d8ae fix import 2017-11-05 17:15:20 +01:00
Laura Klünder
ae5bbb7705 superusers get their own cache key 2017-11-05 16:47:25 +01:00
Laura Klünder
e0ae343503 remove old render_svg code 2017-11-05 13:29:16 +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
949b88389e add Location.details_display() 2017-11-02 13:35:58 +01:00
Laura Klünder
e6b6db1c7c add location display endpoint 2017-11-01 15:55:59 +01:00
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