Commit graph

1115 commits

Author SHA1 Message Date
Laura Klünder
eb54ac7896 manage access permissions 2017-12-08 21:31:53 +01:00
Laura Klünder
2b02138e39 link to the control panel in account view 2017-12-08 16:01:34 +01:00
Laura Klünder
e2a0efd24f put user_data in request using middleware 2017-12-08 15:33:14 +01:00
Laura Klünder
01b703fad2 add control panel index 2017-12-08 15:21:33 +01:00
Laura Klünder
65917be3e0 rendermap: scale option 2017-12-08 14:49:53 +01:00
Laura Klünder
71faaf6caa I18nModelFormMixin 2017-12-08 00:36:12 +01:00
Laura Klünder
baaec3cc9b SourceViewSet order by name 2017-12-07 19:29:46 +01:00
Laura Klünder
1edd84895a fix loaddata with I18nField 2017-12-07 19:22:41 +01:00
Laura Klünder
de73251bc3 opengl vertex shader: use transformation matrix 2017-12-05 20:24:51 +01:00
Laura Klünder
3992ccd552 add renderer z offset 2017-12-05 18:13:38 +01:00
Laura Klünder
46c581627f fix fatal error when using current_cache_key as an etag func 2017-12-04 17:41:17 +01:00
Laura Klünder
1169597800 update tile access cookie setting infrastructure 2017-12-04 17:24:01 +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
1f2c886fa3 remove duplicate code by using LocationViewSetBase 2017-11-30 17:54:40 +01:00
Laura Klünder
f915210cf2 LocationGroupCategory.title_plural 2017-11-30 16:51:28 +01:00
Laura Klünder
4ccbbd0491 add timeout to opengl render queue 2017-11-30 15:53:12 +01:00
Laura Klünder
af93cd2aa2 make sure the I18nField defaultvalue is not passed by reference 2017-11-30 15:41:47 +01:00
Laura Klünder
6cfd8eb0e3 some more options / features for I18nField 2017-11-30 15:26:06 +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
f45cf00cd0 remove debug statement 2017-11-30 00:44:24 +01:00
Laura Klünder
f94be40470 add I18nField and replace the title JSONField with it 2017-11-30 00:43:39 +01:00
Laura Klünder
968fc3885d etags in api preview 2017-11-29 12:29:37 +01:00
Laura Klünder
e9bbd44822 more caching in api 2017-11-29 12:07:27 +01:00
Laura Klünder
9bcd4600e0 add more explanation to the API 2017-11-29 11:27:50 +01:00
Laura Klünder
8f3fd001fe remove levels/svg api endpoint as this no longer works 2017-11-29 10:52:25 +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
5184206b49 allow -2 and -1 zoom 2017-11-28 14:14:03 +01:00
Laura Klünder
344eb53d14 maxZoom is now 5 2017-11-28 11:15:12 +01:00
Laura Klünder
6d7f012666 _location_details_loaded 2017-11-28 11:03:51 +01:00
Laura Klünder
ddd87d2523 always describe from the viewpoint of the request and save queries 2017-11-28 00:16:43 +01:00
Laura Klünder
1ac5d554f2 use only can_describe=True locations to describe routes 2017-11-27 23:38:55 +01:00
Laura Klünder
e5f53aa399 rebuild router when processing updates 2017-11-27 16:53:56 +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
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
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