Commit graph

843 commits

Author SHA1 Message Date
Laura Klünder
f2179d07e4 use less definitions in svg 2017-05-13 20:10:12 +02:00
Laura Klünder
f09d90da96 fix rendering so shadows are correctly rendered by librsvg 2017-05-13 20:01:12 +02:00
Laura Klünder
1f897ccec9 improve shadow rendering 2017-05-13 19:19:28 +02:00
Laura Klünder
860d80a88b flake8 2017-05-13 16:42:39 +02:00
Laura Klünder
6512ef7905 colorize spaces 2017-05-13 16:39:01 +02:00
Laura Klünder
16556c104a improve svg rendering with wall shadows 2017-05-13 14:59:59 +02:00
Laura Klünder
18bb742308 svg.add_geometry() trim everything to two decimal places 2017-05-13 14:59:03 +02:00
Laura Klünder
97ffea6166 base for new renderer 2017-05-12 23:37:03 +02:00
Laura Klünder
d644ac614e add Space.outside (for correct rendering) 2017-05-12 23:11:11 +02:00
Laura Klünder
56eb1e9b13 fix api root 2017-05-12 17:22:10 +02:00
Laura Klünder
c34334c7fe remove old search implementation 2017-05-12 13:54:28 +02:00
Laura Klünder
d816762ea2 remove unused imports 2017-05-12 13:52:01 +02:00
Laura Klünder
ef89c81fb1 add search to location API 2017-05-12 13:51:17 +02:00
Laura Klünder
5e63751b26 API HTML preview: check all items for geometry not only the first one 2017-05-12 13:29:20 +02:00
Laura Klünder
43a8d6f953 API HTML preview – shorten less for outputs without geometry 2017-05-12 13:26:18 +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
d5ce495cdc add /api/locations/ list 2017-05-12 12:55:23 +02:00
Laura Klünder
88c14add23 /api/locations/redirects/ 2017-05-12 12:54:50 +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
40375585e1 add location→types API endpoint 2017-05-11 21:34:36 +02:00
Laura Klünder
6bbac4a7ba new REST API 2017-05-11 21:02:01 +02:00
Laura Klünder
ac29041a3c migration to fix broken foreign keys refering to spaces 2017-05-11 19:02:03 +02:00
Laura Klünder
69634da8d1 add new initial (“squashed”) migrations for the new mapdata schema 2017-05-11 09:23:06 +02:00
Laura Klünder
513bb25b6a move title property to Location 2017-05-11 09:06:19 +02:00
Laura Klünder
da69a8813a update c3nav.puml 2017-05-10 21:33:12 +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
fd17c3c29d convert general-area-AreaLocations to Areas and poi-AreaLocations to Points 2017-05-10 20:41:22 +02:00
Laura Klünder
b77086f8ed convert data of room- and level-Arealocations to Sections and Spaces 2017-05-10 19:31:38 +02:00
Laura Klünder
8290083fd4 Create new Location model structure 2017-05-10 19:02:31 +02:00
Laura Klünder
e8e4e9fd40 add Point model 2017-05-10 15:30:54 +02:00
Laura Klünder
84b826e261 s/stuffedareas/areas/ 2017-05-10 15:30:02 +02:00
Laura Klünder
b7f5f359a5 support for point geometries in GeometryField 2017-05-10 15:24:52 +02:00
Laura Klünder
47d2616469 rename StuffedArea to Area with boolean field „stuffed“ 2017-05-10 15:15:55 +02:00
Laura Klünder
af30d9532b add Door.level 2017-05-09 13:48:55 +02:00
Laura Klünder
e70eaea471 rename Space.layer to Space.level 2017-05-09 13:42:09 +02:00
Laura Klünder
beac70a5c3 bump python verion to 3.6 2017-05-09 13:32:41 +02:00
Laura Klünder
15d9f9008d isort 2017-05-09 13:32:32 +02:00
Laura Klünder
cf374d5c61 improve docstrings and add defaults for Space fields 2017-05-09 13:20:25 +02:00
Laura Klünder
2da1bf0bd5 add some more type hinting 2017-05-09 13:16:36 +02:00
Laura Klünder
39a6104d7a check that all GeometryMixin subclasses have a geometry field 2017-05-09 13:09:45 +02:00
Laura Klünder
a845f23cee convert the model mixins to abstract models 2017-05-09 12:50:32 +02:00
Laura Klünder
65ccf1d92f reimplement GEOMETRY_MODELS etc. 2017-05-09 09:36:08 +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