Commit graph

273 commits

Author SHA1 Message Date
Laura Klünder
200603a1f0 fix changeset view with deleted location redirects & improve joins 2017-07-19 15:20:12 +02:00
Laura Klünder
e264df3bf3 remove buffered_geometry from GraphNode 2017-07-14 15:22:35 +02:00
Laura Klünder
6cf085398a create initial graph models 2017-07-14 15:20:22 +02:00
Laura Klünder
613f421f2e convert point geometries to circles in javascript 2017-07-14 12:30:55 +02:00
Laura Klünder
7a06f8de4e respect access restrictions in render_svg() 2017-07-14 00:16:20 +02:00
Laura Klünder
506cf7cc60 access restrictions for doors 2017-07-13 23:49:00 +02:00
Laura Klünder
890225784a respect access restrictions in editor API 2017-07-13 22:22:13 +02:00
Laura Klünder
eaf1d20427 move q_for_request to AccessRestriction 2017-07-13 19:26:10 +02:00
Laura Klünder
bbdfc9aadc respect access_restriction in mapdata API 2017-07-13 19:22:57 +02:00
Laura Klünder
80ed95f91c implement access_restriction field in Editor 2017-07-13 18:54:49 +02:00
Laura Klünder
20924b9845 remove property "public", add AccessRestriction model 2017-07-13 18:43:03 +02:00
Laura Klünder
945b5a7e0e add LocationGroupCategory to models/__init__.py 2017-07-13 18:23:33 +02:00
Laura Klünder
591dd86476 remove LEVEL_MODELS and SPACE_MODELS 2017-07-13 17:18:28 +02:00
Laura Klünder
5355231dbd remove categories options 2017-07-13 17:09:57 +02:00
Laura Klünder
25989836a3 move all background colors into location groups 2017-07-13 13:32:06 +02:00
Laura Klünder
d2859f1452 move Area.stuffed into a Location Group 2017-07-13 13:01:38 +02:00
Laura Klünder
65433894ac remove references to compiled_room and compiled_area 2017-07-11 19:05:23 +02:00
Laura Klünder
2fa482d9fd get_color() only allow groups that are allowed for this model 2017-07-11 19:02:33 +02:00
Laura Klünder
268fb2f683 LocationGroup: always select_related('category') 2017-07-11 19:02:09 +02:00
Laura Klünder
8edb845deb serialization of single groups 2017-07-11 18:53:43 +02:00
Laura Klünder
ca237d7884 remove compiled_room and compiled_area, create location group categories 2017-07-11 18:01:48 +02:00
Laura Klünder
5d336d218a order LocationGroups by their category first 2017-07-11 17:41:16 +02:00
Laura Klünder
47a2a713f6 remove category from space serialization 2017-07-11 17:34:07 +02:00
Laura Klünder
23ebd57a8a move Space.category into Location Groups 2017-07-11 17:32:17 +02:00
Laura Klünder
f48298ae1d add priority to LocationGroup and and default -priority ordering 2017-07-10 19:16:35 +02:00
Laura Klünder
6b8324f856 remove unneded line from TitledMixin.title 2017-07-10 19:07:19 +02:00
Laura Klünder
2d3d67403c add single, allow_* and priority to LocationGroupCategory 2017-07-10 18:55:35 +02:00
Laura Klünder
3762ebf37d show group categories in api 2017-07-10 16:30:38 +02:00
Laura Klünder
6a6af47528 Edit LocationGroupCategory objects in Editor 2017-07-10 14:10:48 +02:00
Laura Klünder
4a58c1afab create LocationGroupCategory 2017-07-10 13:54:33 +02:00
Laura Klünder
52c64b0798 fix typo 2017-07-10 13:04:02 +02:00
Laura Klünder
358f900cdc created TitledMixin 2017-07-10 13:01:35 +02:00
Laura Klünder
3dfa4b4956 make slug and titles non-mandatory 2017-07-08 16:50:37 +02:00
Laura Klünder
f2913dd8ac rename Point to POI 2017-07-08 16:29:12 +02:00
Laura Klünder
df19daf501 update sources API 2017-07-08 15:09:56 +02:00
Laura Klünder
8662d5a062 don't store source images in database 2017-07-08 15:05:25 +02:00
Laura Klünder
00a2366ae2 add cache keys 2017-07-05 23:38:47 +02:00
Laura Klünder
86c476a586 MapUpdate.last_update() and MapUpdate.lock() 2017-07-05 22:35:14 +02:00
Laura Klünder
375454c3f1 add MapUpdate 2017-07-05 22:04:22 +02:00
Laura Klünder
dee040734c no need to cache this, we have select_related 2017-06-22 20:14:32 +02:00
Laura Klünder
4d544610e5 only prefetch groups if detailed serialization was queried 2017-06-22 19:53:25 +02:00
Laura Klünder
03d40add64 user get_submodels everywhere 2017-06-22 19:27:51 +02:00
Laura Klünder
7a9f4da4c1 remove everything about the editor from mapdata app 2017-06-21 12:47:28 +02:00
Laura Klünder
279d9bab52 auto prefetch_related on LocationSlug 2017-06-18 18:42:30 +02:00
Laura Klünder
9cf48cb609 always copy dict on Location.__init__ because it could be the default 2017-06-18 18:08:58 +02:00
Laura Klünder
a659b37bc8 neatly show changes 2017-06-18 16:52:50 +02:00
Laura Klünder
bd32896b95 fix get_color() 2017-06-17 23:40:23 +02:00
Laura Klünder
edfb083c61 fix get_color() on ModelInstanceWrapper 2017-06-16 18:38:41 +02:00
Laura Klünder
8fef2a81a9 reimplement wrapped prefetch_related 2017-06-16 18:19:52 +02:00
Laura Klünder
344ab790a3 wrap around ORM in editor api 2017-06-12 23:33:59 +02:00