Commit graph

2429 commits

Author SHA1 Message Date
Laura Klünder
1f80f2daa6 remove editor.utils because nearly nothing in it was used 2017-11-30 15:52:02 +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
fa450084dc fix wrapped orm error with i18nfield 2017-11-30 15:06:54 +01:00
Laura Klünder
505ea466d2 add I18nField support to EditorForm 2017-11-30 15:05:32 +01:00
Laura Klünder
08621fa6d0 support for I18nField in orm wrapper 2017-11-30 13:42:28 +01:00
Laura Klünder
c012f0cde3 fix json error in state serialization 2017-11-30 13:31:45 +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
e7f0a00df9 caching in the editor API 2017-11-29 12:11:47 +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
f73d016826 add some information to the API root 2017-11-29 11:13:13 +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
c71b9b0f8b speed up router 2017-11-29 00:01:23 +01:00
Laura Klünder
f260b52a6e fix error in route initialization 2017-11-29 00:00:42 +01:00
Laura Klünder
353d00cbf2 fix error in good_representative_point 2017-11-29 00:00:14 +01:00
Laura Klünder
b66d5c8a08 rename to add_intermediate_point 2017-11-28 23:39:50 +01:00
Laura Klünder
421943f32c better factor for intermediate points offset 2017-11-28 23:39:30 +01:00
Laura Klünder
2e61e3385e add_intermediate_points: look better for short distances 2017-11-28 23:37:53 +01:00
Laura Klünder
5b9a5ec040 fix bug during routing 2017-11-28 23:34:11 +01:00
Laura Klünder
7a47cb192d _click_anywhere should only trigger if the map is clicked directly 2017-11-28 23:28:09 +01:00
Laura Klünder
06bd8967c8 show node_addition in route 2017-11-28 23:25:56 +01:00
Laura Klünder
b92c871bc2 route from/to custom locations 2017-11-28 23:08:47 +01:00
Laura Klünder
f5ee24495e route from/to POI 2017-11-28 22:40:01 +01:00
Laura Klünder
08ec318231 prepare router for routing from points 2017-11-28 22:02:24 +01:00
Laura Klünder
4195a1325c show/hide "show in editor" link 2017-11-28 21:25:43 +01:00
Laura Klünder
eeae2d019b display coordinates details 2017-11-28 21:24:08 +01:00
Laura Klünder
4d2607ca3f click anywhere to get coordinates 2017-11-28 21:12:14 +01:00
Laura Klünder
b6fc7ede26 fix python map state parsing 2017-11-28 20:44:15 +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
e0dc75c992 remove old code 2017-11-28 16:17:08 +01:00
Laura Klünder
88bb6e6b06 much simpler origin/destination line smoothing 2017-11-28 16:10:35 +01:00
Laura Klünder
a0c62ccc0e fix typo 2017-11-28 15:37:09 +01:00
Laura Klünder
7006e99e73 smooth origin and destination lines 2017-11-28 15:36:41 +01:00
Laura Klünder
8d657eb34f smooth line drawing 2017-11-28 14:48:46 +01:00
Laura Klünder
5184206b49 allow -2 and -1 zoom 2017-11-28 14:14:03 +01:00
Laura Klünder
78d09a0c0c improve route nofly logic 2017-11-28 14:08:05 +01:00
Laura Klünder
97db5dc6e3 display_route: only fly during during load if no center was set 2017-11-28 14:06:41 +01:00
Laura Klünder
c72e64789c fly_to_bounds can now fly to the current route 2017-11-28 13:51:00 +01:00
Laura Klünder
2df6b971f9 dash lines on intermediate levels 2017-11-28 13:29:02 +01:00
Laura Klünder
cd48fcd18e add links between levels when clicking on route 2017-11-28 13:27:23 +01:00
Laura Klünder
8b2f19ee9e take coordinates from first and last point from route result 2017-11-28 13:10:38 +01:00
Laura Klünder
e0f13e49a4 dashed gray line from/to first/last point 2017-11-28 13:03:39 +01:00