Commit graph

170 commits

Author SHA1 Message Date
Laura Klünder
1d10563f5f hide locations on hidden levels/spaces 2017-12-20 18:16:58 +01:00
Laura Klünder
f785349141 better api output 2017-12-20 17:17:55 +01:00
Laura Klünder
4bde1e4e1b better custom location descriptions 2017-12-20 17:12:54 +01:00
Laura Klünder
032dcebcd0 determine altitude for custom locations 2017-12-18 01:42:43 +01:00
Laura Klünder
656ad49721 when a level, space or area is origin or destination, move marker 2017-12-17 03:39:36 +01:00
Laura Klünder
d979a298c2 better title and subtitle for custom locations 2017-12-16 19:46:32 +01:00
Laura Klünder
552c996fa7 fix customlocation display error when no space was found 2017-12-11 00:57:53 +01:00
Laura Klünder
48e1ecda36 replace request with permissions in CustomLocation so it can be serialized 2017-12-11 00:57:19 +01:00
Laura Klünder
eae73071c1 consider access restrictions when describing a custom location 2017-12-11 00:53:21 +01:00
Laura Klünder
2d4043861b describe custom locations by space 2017-12-10 18:09:31 +01:00
Laura Klünder
01b703fad2 add control panel index 2017-12-08 15:21:33 +01:00
Laura Klünder
d4a0a9b7dd show current (maybe anonymous) user and their permissions 2017-12-04 16:11:57 +01:00
Laura Klünder
a7c140a2ac don't cast ugettext_lazy calls to str, as our json encoder is now clever 2017-11-30 01:10:49 +01:00
Laura Klünder
2d292844d6 use DjangoJSONEncoder in api html preview 2017-11-30 01:03:28 +01:00
Laura Klünder
353d00cbf2 fix error in good_representative_point 2017-11-29 00:00:14 +01:00
Laura Klünder
b92c871bc2 route from/to custom locations 2017-11-28 23:08:47 +01:00
Laura Klünder
08ec318231 prepare router for routing from points 2017-11-28 22:02:24 +01:00
Laura Klünder
eeae2d019b display coordinates details 2017-11-28 21:24:08 +01:00
Laura Klünder
ee20019417 fix data for level selector 2017-11-28 20:38:37 +01:00
Laura Klünder
3392226c44 allow more decimal digits in custom location id, but round them away 2017-11-28 20:25:52 +01:00
Laura Klünder
9b2b70f46f levels_by_short_label_for_request 2017-11-28 20:24:39 +01:00
Laura Klünder
dc46173668 custom locations are something that we want 2017-11-28 20:15:31 +01:00
Laura Klünder
dfe7d10574 it's _name_cache not name_cache 2017-11-27 15:39:42 +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
05030bc91c fix missing holes in obstacles 2017-11-25 23:25:52 +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
d0a4a71118 make GeometryIndexed slicing even faster 2017-11-21 16:24:10 +01:00
Laura Klünder
624d6f281c shorten etag before b2a_base64 2017-11-21 16:13:03 +01:00
Laura Klünder
01d80220bc use binascii.b2a_base64 instead of base64.b64encode because its faster 2017-11-21 16:05:42 +01:00
Laura Klünder
948ac26488 use base64 instead of base85, we want valid memcached keys 2017-11-21 14:59:10 +01:00
Laura Klünder
790835bc44 shorter etags 2017-11-21 14:25:10 +01:00
Laura Klünder
0fec7ff89c fix parse_tile_access_cookie 2017-11-21 04:27:05 +01:00
Laura Klünder
2185c1ac6a enable using the tileserver with minimal requirements 2017-11-21 02:12:00 +01:00
Laura Klünder
bf98f54b55 refactor tile code in meny places to allow reusing it 2017-11-21 00:15:49 +01:00
Laura Klünder
7cdc7879cc read MapPackage 2017-11-20 23:05:16 +01:00
Laura Klünder
83de101969 import CachePackage in __init__ 2017-11-20 21:14:46 +01:00
Laura Klünder
5498e9f84f create cache packages for caching tile servers 2017-11-20 21:10:03 +01:00
Laura Klünder
7b16be8041 fix error on AccessRestrictionAffectedCells.add() 2017-11-20 17:45:46 +01:00
Laura Klünder
5d293a866d fix min/max x/y in GeometryIndexed.__getitem__ 2017-11-20 17:45:10 +01:00
Laura Klünder
a6daeb6153 rename cache files for better overview 2017-11-20 17:25:21 +01:00
Laura Klünder
e06c71be61 add AccessRestrictionAffected as GeometryIndexed subclass 2017-11-20 17:21:19 +01:00
Laura Klünder
390cc4aeb4 LevelGeometryIndexed abstraction 2017-11-20 15:27:09 +01:00
Laura Klünder
f6304eca0a improve MapHistory docs 2017-11-20 14:57:19 +01:00
Laura Klünder
1596e9a130 isort 2017-11-20 02:28:41 +01:00
Laura Klünder
708620db0a split up c3nav.maputils.cache 2017-11-20 02:07:27 +01:00
Laura Klünder
116590b88f c3nav.mapdata.cache → c3nav.mapdata.utils.cache 2017-11-20 00:39:01 +01:00
Laura Klünder
4594c44539 avoid confusing the triangle library with too complex ring intersections 2017-11-19 19:54:22 +01:00
Laura Klünder
a679a81432 try to max out mpl wrapper performance 2017-11-18 22:53:17 +01:00
Laura Klünder
2d735cf7fc speedup cut_polygon_with_line using line_prep 2017-11-18 20:39:23 +01:00
Laura Klünder
7f5b614620 speedup cut_polygon_with_line calls by using list of polygons 2017-11-18 20:19:44 +01:00