Commit graph

104 commits

Author SHA1 Message Date
Laura Klünder
c35d833640 order locations by relevance 2017-10-28 13:31:12 +02:00
Laura Klünder
1db9db542f fix register_changed_geometries on LocationGroup and LocationGroupCategory 2017-10-28 13:04:46 +02:00
Laura Klünder
ef340c5193 defer Level.render_data when querying by locationslug 2017-10-27 16:00:54 +02:00
Laura Klünder
f99779e9de fix ?detailed-logic 2017-10-27 15:05:41 +02:00
Laura Klünder
879f550f84 fix subtitle logic 2017-10-27 15:03:38 +02:00
Laura Klünder
508a45b4c8 simplify subtitle logic 2017-10-27 14:51:26 +02:00
Laura Klünder
feb62bec39 check category_id, not category to avoid additional queries 2017-10-27 13:47:23 +02:00
Laura Klünder
25b478f227 add first subtitle code 2017-10-27 13:47:12 +02:00
Laura Klünder
5af314d282 register updated geometries for tile cache invalidation 2017-10-23 19:25:15 +02:00
Laura Klünder
8731fd5f11 color should be up to 32 characters, fix color migration 2017-09-16 14:19:01 +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
20924b9845 remove property "public", add AccessRestriction model 2017-07-13 18:43:03 +02:00
Laura Klünder
25989836a3 move all background colors into location groups 2017-07-13 13:32:06 +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
f48298ae1d add priority to LocationGroup and and default -priority ordering 2017-07-10 19:16:35 +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
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
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
129be97a59 remove unneeded method 2017-05-31 02:39:35 +02:00
Laura Klünder
341c2f98e5 replace except: pass with suppress() context manager 2017-05-31 02:38:59 +02:00
Laura Klünder
c65f01d620 improve editor geometry API performance using prefetch_related 2017-05-29 16:36:17 +02:00
Laura Klünder
80b0d45823 remove help_text from Location color 2017-05-27 18:37:26 +02:00
Laura Klünder
f6cb959041 editor: edit slugs and redirecting slugs 2017-05-27 18:29:36 +02:00
Laura Klünder
85da33dee6 title property for all EditorFormMixin models 2017-05-16 18:11:33 +02:00
Laura Klünder
10ebf99f30 flake8 2017-05-16 16:23:12 +02:00
Laura Klünder
4f2861308a describe locationgroup choices in editor forms 2017-05-16 14:50:36 +02:00
Laura Klünder
84ebce2e0d change location color priority 2017-05-13 20:21:45 +02:00
Laura Klünder
6512ef7905 colorize spaces 2017-05-13 16:39:01 +02:00
Laura Klünder
d816762ea2 remove unused imports 2017-05-12 13:52:01 +02:00