Commit graph

561 commits

Author SHA1 Message Date
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
Laura Klünder
1a30cb325e improve queries in editor views 2017-06-11 15:37:25 +02:00
Laura Klünder
e8ffe20413 optimize queries in mapdata API 2017-06-11 15:10:48 +02:00
Laura Klünder
1498b7aeb0 rename Section back to Level 2017-06-11 14:43:14 +02:00
Laura Klünder
faa577de32 fix section svg renderer 2017-06-11 13:51:05 +02:00
Laura Klünder
d01732e589 show spaces from other sections in space view and hightlight space better 2017-06-11 13:26:35 +02:00
Laura Klünder
6a8b7e33ae Space.outside not means „only outside of building“, so False means nothing 2017-06-11 13:18:25 +02:00
Laura Klünder
bf95b1c9cc highlight sections on top 2017-06-11 12:29:12 +02:00
Laura Klünder
3e02958b37 subsection selector 2017-06-11 00:00:25 +02:00
Laura Klünder
9f1f8c78ba navigate to secondary sections 2017-06-10 23:04:28 +02:00
Laura Klünder
9910b3ed83 replace Space.level with secondary sections on top of primary sections 2017-06-10 15:00:47 +02:00
Laura Klünder
b19a8b7356 introducing column model 2017-06-09 15:22:30 +02:00
Laura Klünder
7a4bbeb2a6 remove unneeded method 2017-06-08 16:34:01 +02:00