Commit graph

1455 commits

Author SHA1 Message Date
Laura Klünder
d886b63452 when recreating a deleted existing locationredirect, restore it instead 2017-07-19 15:34:39 +02:00
Laura Klünder
4b103b2dda WrappedQueryset: exclude submodel-deleted LocationSlug instances 2017-07-19 15:24:12 +02:00
Laura Klünder
200603a1f0 fix changeset view with deleted location redirects & improve joins 2017-07-19 15:20:12 +02:00
Laura Klünder
cf39589619 fix changeset view 2017-07-19 14:35:39 +02:00
Laura Klünder
5a9a15fffe link to graph_edit view 2017-07-15 16:39:23 +02:00
Laura Klünder
66dabb3787 base for graph_edit view 2017-07-15 16:31:20 +02:00
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
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
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
7a06f8de4e respect access restrictions in render_svg() 2017-07-14 00:16:20 +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
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