Commit graph

73 commits

Author SHA1 Message Date
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
Laura Klünder
d9a451765c add ?detailed to Location API 2017-05-12 13:21:41 +02:00
Laura Klünder
4b0429f41b add title to Locatio serializer 2017-05-12 13:15:13 +02:00
Laura Klünder
1adf59af00 remove subtitle vom Location and fix title 2017-05-12 13:10:48 +02:00
Laura Klünder
4803704cec move slug to LocationSlug serializer 2017-05-12 12:54:10 +02:00
Laura Klünder
92003080ed delete old stuff from mapdata 2017-05-12 01:21:53 +02:00
Laura Klünder
9d67cdcb75 add LocationRedirect and fallback slug for locations 2017-05-11 22:46:39 +02:00
Laura Klünder
6bbac4a7ba new REST API 2017-05-11 21:02:01 +02:00
Laura Klünder
513bb25b6a move title property to Location 2017-05-11 09:06:19 +02:00
Laura Klünder
67f2bcdf0e delete AreaLocation 2017-05-10 21:31:54 +02:00
Laura Klünder
69ac1b74c6 convert all remaining AreaLocations 2017-05-10 21:24:31 +02:00
Laura Klünder
8290083fd4 Create new Location model structure 2017-05-10 19:02:31 +02:00
Laura Klünder
9a1ce01fdb flake8 and sort imports 2017-05-08 21:55:45 +02:00
Laura Klünder
963694395e turn abstract models into mixins 2017-05-08 16:40:22 +02:00
Laura Klünder
9e79ca74ae add geomtype to GeometryField and remove it from GeometryFeature 2017-05-08 16:17:47 +02:00
Laura Klünder
c9661e4edb rename Level to Section 2017-05-07 12:39:24 +02:00
Laura Klünder
83ca6abd00 convert mapdata.models.geometry into python package 2017-05-06 17:24:09 +02:00
Laura Klünder
89ab60b395 remove name field from most mapdata models 2017-05-05 16:22:11 +02:00
Laura Klünder
5973ca3211 rename and refactor mapdata models 2017-05-05 13:19:25 +02:00
Laura Klünder
5efb6d537d remove packages, hosters, ... completely 2017-05-01 18:10:46 +02:00
Laura Klünder
f0cec9b7bf add „public“ field to Areas and Locations and prefill it according to PUBLIC_PACKAGES 2017-05-01 17:35:41 +02:00
Laura Klünder
582f7df7ca remove tofile, fromfile and similar 2017-04-28 11:14:01 +02:00
Laura Klünder
01be74ab33 add wifilocate api 2016-12-27 23:39:14 +01:00
Laura Klünder
b33e9fe3eb add AreaLocation.bssids 2016-12-27 19:03:54 +01:00
Laura Klünder
e48c6b2d04 fix packageio color loading 2016-12-24 23:22:00 +01:00
Laura Klünder
e9f31f502a add color field 2016-12-24 22:05:59 +01:00
Laura Klünder
d1534a27e8 filter locationgroups in arealocation descriptions by can_describe 2016-12-24 21:54:49 +01:00
Laura Klünder
ec631cd133 add can_describe to LocationGroup 2016-12-24 21:54:49 +01:00
Laura Klünder
62d4132d60 fix error 500 when trying to edit/create an arealocation in editor 2016-12-24 16:24:56 +01:00
Laura Klünder
affe2934ee now really fix information disclosure 2016-12-24 02:46:05 +01:00
Laura Klünder
d4d42f46e1 fix incorrect set operator in check if PointLocation is reachable 2016-12-24 02:16:35 +01:00
Laura Klünder
3f3b868e8a fix possible information disclosure by describing coordinates 2016-12-24 02:08:30 +01:00