Commit graph

2458 commits

Author SHA1 Message Date
Laura Klünder
3faed6c316 route from/to level or area 2017-11-27 16:46:03 +01:00
Laura Klünder
69dab03148 allow post in routing api 2017-11-27 16:43:41 +01:00
Laura Klünder
e00400a66f remove wrongly copied code from routing api 2017-11-27 16:43:12 +01:00
Laura Klünder
b88cc9d942 coords → coordinates 2017-11-27 16:42:35 +01:00
Laura Klünder
4c88cb2504 add routing api 2017-11-27 16:40:15 +01:00
Laura Klünder
c6948b4ce0 c3nav.js: use location api with location ids 2017-11-27 16:09:05 +01:00
Laura Klünder
6d13725e13 location api: use ids by default 2017-11-27 16:06:55 +01:00
Laura Klünder
31297ac39a fix include_type 2017-11-27 15:44:22 +01:00
Laura Klünder
480850b8ea improve route serialization 2017-11-27 15:41:25 +01:00
Laura Klünder
dfe7d10574 it's _name_cache not name_cache 2017-11-27 15:39:42 +01:00
Laura Klünder
5f2ca60432 getting a route 2017-11-27 15:01:58 +01:00
Laura Klünder
4c611995b8 fix AttributeError when unpickling 2017-11-27 13:41:16 +01:00
Laura Klünder
c698c1d6c6 save and load router 2017-11-27 13:21:53 +01:00
Laura Klünder
dd3a885749 start implementing routing by creating new router 2017-11-27 02:16:20 +01:00
Laura Klünder
587b08a1e4 namedtuple subclasses should set __slots__=() 2017-11-26 18:35:00 +01:00
Laura Klünder
fcae62eb86 fix error which caused infinite loops by accessing deferred fields 2017-11-26 14:18:41 +01:00
Laura Klünder
01e8eade8e make sure colors are in the right order (looks nicer in export source) 2017-11-26 13:17:39 +01:00
Laura Klünder
ed8e351556 shorter groundcolor name 2017-11-26 13:13:20 +01:00
Laura Klünder
d6fa4fce23 use nicer color names in renderer 2017-11-26 13:10:31 +01:00
Laura Klünder
c9b9c8b38d make sure triangulate_rings does not create triangles with no area 2017-11-26 13:03:26 +01:00
Laura Klünder
0b4964f629 deal with zero-length normals 2017-11-26 02:48:09 +01:00
Laura Klünder
0419d82d97 register changed geometries when some important attribute changes 2017-11-26 00:25:24 +01:00
Laura Klünder
05030bc91c fix missing holes in obstacles 2017-11-25 23:25:52 +01:00
Laura Klünder
a915e4401e simplify obstacle height calculation to fix rendering bugs 2017-11-25 22:53:50 +01:00
Laura Klünder
11017f0329 improve/fix stair obstacle cutting (again) 2017-11-25 21:42:42 +01:00
Laura Klünder
0ce53c0af5 improve german height/altitude translation 2017-11-25 21:10:03 +01:00
Laura Klünder
86a7c8b847 use same template in both lists 2017-11-25 20:40:44 +01:00
Laura Klünder
536f63eab7 add parenthesis and spaces and access restriction to connection list 2017-11-25 20:39:20 +01:00
Laura Klünder
b6f93e7bb0 fix fatal error when active node is reset 2017-11-25 20:34:30 +01:00
Laura Klünder
885dc49ae0 remove <strong> tag 2017-11-25 20:33:20 +01:00
Laura Klünder
94445edfc0 show graph node connections in editor 2017-11-25 20:32:05 +01:00
Laura Klünder
20cacfa507 speedup level graph api a bit 2017-11-25 19:01:23 +01:00
Laura Klünder
e4f3ba5ea2 simplify GeometryField 2017-11-25 18:30:40 +01:00
Laura Klünder
3bdbb57090 less queries for space graph view 2017-11-25 18:12:28 +01:00
Laura Klünder
f7d5c3cdaf faster serialization for graphedges 2017-11-25 18:04:26 +01:00
Laura Klünder
6288a1304f fix deactivating graph nodes without reloading 2017-11-25 16:40:09 +01:00
Laura Klünder
be7cd685be optionally activate next node after connecting 2017-11-25 16:25:50 +01:00
Laura Klünder
de08e4cf58 don't create new nodes if another node is active 2017-11-25 16:07:55 +01:00
Laura Klünder
f4c39a1393 remove debug color from svg renderer 2017-11-25 15:22:45 +01:00
Laura Klünder
94a093d4dc renderer: lowest levels should always be extend downwards 2017-11-25 15:16:15 +01:00
Laura Klünder
c9f160e8fb don't store update list as tuple, we can't modify it then 2017-11-25 14:57:34 +01:00
Laura Klünder
b846f6d0ad add fallback for empty geometries 2017-11-25 14:45:43 +01:00
Laura Klünder
3720fbd0ff dont render obstacles with zero height 2017-11-25 14:37:06 +01:00
Laura Klünder
32192e8fac height fields should not have negative values 2017-11-25 14:36:18 +01:00
Laura Klünder
d5ad497327 don't add height to short walls in svg renderer 2017-11-25 14:12:47 +01:00
Laura Klünder
bb6b726a89 remove unneeded superuser-access-code 2017-11-25 13:53:43 +01:00
Laura Klünder
7987aa08f3 fix broken q_for_request when wrapped querysets are used 2017-11-25 13:47:47 +01:00
Laura Klünder
cdca60b307 superusers should have all permissions for now 2017-11-25 13:47:31 +01:00
Laura Klünder
85698dc13b turn Source.name into a CharField to allow periods 2017-11-25 13:42:05 +01:00
Laura Klünder
3756e01552 fix error when applying changesets 2017-11-25 11:48:28 +01:00