Commit graph

412 commits

Author SHA1 Message Date
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
9466c2559f AccessRestriction API 2017-07-13 19:01:47 +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
f7900e92a0 Location API: filter by group 2017-07-10 17:03:44 +02:00
Laura Klünder
9e184db721 SpecificLocation APIs: filter by group 2017-07-10 16:43:44 +02:00
Laura Klünder
90f464de9b LocationGroup API: filter by category 2017-07-10 16:36:52 +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
8748ee102f update German translation 2017-07-08 19:30:54 +02:00
Laura Klünder
cc3d72bc7b missing slug migration 2017-07-08 17:53:18 +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
5d3453abe5 set color='' to color=None 2017-07-06 13:38:22 +02:00
Laura Klünder
00a2366ae2 add cache keys 2017-07-05 23:38:47 +02:00
Laura Klünder
6406950263 add clearcache command 2017-07-05 22:42:50 +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
0ef51ac147 change default of geometryfield / support for null values 2017-06-26 23:23:39 +02:00
Laura Klünder
79220c39f9 add has_no_effect check to changes and replace undo button icon 2017-06-25 16:12:57 +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
e2d6879716 use get_child() before serializing locations 2017-06-22 20:10:17 +02:00
Laura Klünder
3419c9db54 new get_queryset() for LocationViewSet 2017-06-22 20:09:58 +02:00
Laura Klünder
ef7b5c973d fix querying on API /locations/search 2017-06-22 20:02:29 +02:00
Laura Klünder
15831b97ef get_submodels(SpecificLocation) 2017-06-22 19:58:08 +02:00
Laura Klünder
c4b3932e9b correctly filter on api /locations/ 2017-06-22 19:57:49 +02:00
Laura Klünder
4d544610e5 only prefetch groups if detailed serialization was queried 2017-06-22 19:53:25 +02:00