Commit graph

735 commits

Author SHA1 Message Date
Laura Klünder
4453ea7b62 wrapped querysets: allow multi-level-lookups using subqueries 2017-07-15 15:54:32 +02:00
Laura Klünder
e847ce9fe6 type hinting 2017-07-14 15:32:14 +02:00
Laura Klünder
98ee2d0310 remove ctrl click for hole feature (replaced by columns) 2017-07-14 12:34:56 +02:00
Laura Klünder
fcc8a63ece remove unneeded code in editor.js 2017-07-14 12:34:10 +02:00
Laura Klünder
613f421f2e convert point geometries to circles in javascript 2017-07-14 12:30:55 +02:00
Laura Klünder
d5f431f0af fix calling child_model without parent 2017-07-14 00:08:34 +02:00
Laura Klünder
44c59e51a0 update editor api docs 2017-07-14 00:00:53 +02:00
Laura Klünder
a87d131134 respect access restrictions in child_model() count 2017-07-13 23:52:49 +02:00
Laura Klünder
506cf7cc60 access restrictions for doors 2017-07-13 23:49:00 +02:00
Laura Klünder
0393a72c91 fix editor bounds when no sources area accessible for the user 2017-07-13 23:37:48 +02:00
Laura Klünder
1a8c62956d respect access_restriction in editor views 2017-07-13 23:08:46 +02:00
Laura Klünder
890225784a respect access restrictions in editor API 2017-07-13 22:22:13 +02:00
Laura Klünder
c208e97ff1 BaseQueryWrapper.prefetch_related(): support Prefetch objects 2017-07-13 21:45:57 +02:00
Laura Klünder
9fff9e5dcb filter_q: allow empty Q() objects 2017-07-13 19:32:04 +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
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
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
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
662031c632 add empty string / none to choices for single LocationGroupCategories 2017-07-11 18:04:22 +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
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
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
782666bcaf fix clean_m2m 2017-07-10 16:01:00 +02:00
Laura Klünder
4b02c15a27 split groups field in EditorForm into location group categories 2017-07-10 16:00:43 +02:00
Laura Klünder
6a6af47528 Edit LocationGroupCategory objects in Editor 2017-07-10 14:10:48 +02:00
Laura Klünder
98b94b0763 minor tweaks in German Translation 2017-07-08 19:33:33 +02:00
Laura Klünder
8748ee102f update German translation 2017-07-08 19:30:54 +02:00
Laura Klünder
b490497c87 force _clean_changes() before applying a change set 2017-07-08 17:57:56 +02:00
Laura Klünder
b85d245360 last_cleaned_with. execute _clean_changes only if there was a map update 2017-07-08 17:53:44 +02:00
Laura Klünder
a72635e27b better other_spaces ordering in space geometry view 2017-07-08 17:30:10 +02:00
Laura Klünder
b2ac3a5395 change can_review and can_direct_edit fallback to is_superuser 2017-07-08 17:14:03 +02:00