Commit graph

1432 commits

Author SHA1 Message Date
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
d25541a603 edit access restrictions in editor 2017-07-13 18:56:40 +02:00
Laura Klünder
80ed95f91c implement access_restriction field in Editor 2017-07-13 18:54:49 +02:00
Laura Klünder
11ff24cc49 allow calling Model class methods wrapped 2017-07-13 18:53:48 +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
51e1fc991e dont save empty single group selections 2017-07-13 14:11:33 +02:00
Laura Klünder
3f6bb910d8 save single groups 2017-07-13 14:08:05 +02:00
Laura Klünder
d74e4973f9 successfully deleting a change set should be messages.success 2017-07-13 14:05:48 +02:00
Laura Klünder
26b6f92a9d use "Title (language name)" in Editor Form 2017-07-13 13:47:11 +02:00
Laura Klünder
2270ea5505 use get_language_info in changes.py 2017-07-13 13:47:00 +02:00
Laura Klünder
f7a796fd66 update German translation 2017-07-13 13:38:30 +02:00
Laura Klünder
25989836a3 move all background colors into location groups 2017-07-13 13:32:06 +02:00
Laura Klünder
158ed72b3b remove unneeded strings from german translation 2017-07-13 13:05:00 +02:00
Laura Klünder
d2859f1452 move Area.stuffed into a Location Group 2017-07-13 13:01:38 +02:00
Laura Klünder
09fe696b49 Editor API /changeset/ does not exist any more 2017-07-11 19:35:07 +02:00
Laura Klünder
8855bce270 self→cls 2017-07-11 19:06:46 +02:00
Laura Klünder
905ce2e7f0 remove redundant paranthesis 2017-07-11 19:06:28 +02:00
Laura Klünder
28abf01594 remove obsolite line from docs 2017-07-11 19:05:42 +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
9b15e06733 show location group category form fields in correct order 2017-07-11 18:35:42 +02:00
Laura Klünder
a756cc0a16 move priority form field up again 2017-07-11 18:30:51 +02:00
Laura Klünder
538d55be8a move priority form field up 2017-07-11 18:30:08 +02:00
Laura Klünder
9874fb8843 update UML 2017-07-11 18:18:22 +02:00
Laura Klünder
662031c632 add empty string / none to choices for single LocationGroupCategories 2017-07-11 18:04:22 +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
c9ef56326c empty → change.empty 2017-07-10 19:22:40 +02:00
Laura Klünder
2566974ec5 changeset view: dont treat False as empty 2017-07-10 19:22:19 +02:00
Laura Klünder
edfc5eb81a category.single in EditorForm 2017-07-10 19:18:44 +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
4fa10dec68 exclude group categories according to allow_* 2017-07-10 19:04:35 +02:00
Laura Klünder
ea7a0e71c3 MapitemFormMixin → EditorFormBase 2017-07-10 19:03:45 +02:00
Laura Klünder
c823915d4a don't set m2m on objects that can have no groups 2017-07-10 19:03:35 +02:00
Laura Klünder
3e7589a217 allow new category fields in editor 2017-07-10 19:01:32 +02:00
Laura Klünder
2d3d67403c add single, allow_* and priority to LocationGroupCategory 2017-07-10 18:55:35 +02:00
Laura Klünder
18b64675b6 change title in editor index 2017-07-10 18:21:43 +02:00
Laura Klünder
b2850183e5 fix creating new objects 2017-07-10 18:18:13 +02:00
Laura Klünder
e29cbe8d8d move buttons away from pull-right 2017-07-10 17:37:33 +02:00
Laura Klünder
7540564f93 update german translation 2017-07-10 17:24:43 +02:00