Commit graph

3981 commits

Author SHA1 Message Date
Tom Hughes
f04211b172 Improve test coverage 2015-02-27 00:40:37 +00:00
Tom Hughes
4254a1f291 Cancel any outstanding route when starting a new one
Fixes #913
2015-02-26 18:39:31 +00:00
Tom Hughes
4b2c64fbed Set an explicit image when dragging from the routing panel
This may help with #912 but at the very least it gives us a full size
image consistent with dragging marker that is already on the map.
2015-02-26 14:06:25 +00:00
Peter Karich
7bf86b7c4e GraphHopper directions updates
Add support for roundabouts in directions, update the URL for the
documenation and explicitly excludes elevation data (which requires
a custom polyline decoder) from the results.
2015-02-26 13:25:33 +00:00
Tom Hughes
dbe165bbb3 Fix some rubocop rails style issues 2015-02-26 00:12:54 +00:00
Tom Hughes
2d22ab10f7 Force coordinates into bounds when using the query tool 2015-02-25 11:16:10 +00:00
Tom Hughes
e434cb154c Convert OpenID authentication to generic third party authentication 2015-02-25 01:07:23 +00:00
Tom Hughes
b0150caee6 Convert OpenID authentication to use OmniAuth 2015-02-25 01:07:23 +00:00
Tom Hughes
a6b84a0294 Fix more rubocop style issues 2015-02-24 23:12:02 +00:00
Tom Hughes
e0706f06b1 Fix remaining JSHint issues 2015-02-24 19:45:10 +00:00
Tom Hughes
1dae6a712e Fix path for icons in the leaflet images directory
Fixes #910
2015-02-24 17:04:25 +00:00
Tom Hughes
781e80181e Restore templating to embed.js
The embed.js file is special because it is used standalone without the
rest of our javascript environment. Closes #909.
2015-02-24 12:42:18 +00:00
Tom Hughes
6d124f8012 Fix some more JSHint issues 2015-02-24 00:30:25 +00:00
Tom Hughes
bd2e999756 Move some javascript functions out of global scope 2015-02-24 00:19:08 +00:00
Tom Hughes
1596713871 Fix some JSHint complaints 2015-02-23 21:45:57 +00:00
Tom Hughes
e256c837b5 Eliminate templating from most javascript 2015-02-23 21:45:57 +00:00
Tom Hughes
2cb166cf33 Move querystring.js to vendor tree 2015-02-23 21:45:56 +00:00
Tom Hughes
3ecfef49e9 Change OpenID fields to be text fields
Although technically a URL is required in practive a domain is
often enough, but browsers will reject that in a URL field.
2015-02-22 13:34:08 +00:00
Tom Hughes
8e404f3a46 Fix some more rubocop style issues 2015-02-20 20:39:52 +00:00
Tom Hughes
dc2a2c8ebd Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
Tom Hughes
5cbd4038ed Fix rubocop style issues 2015-02-20 08:56:16 +00:00
Tom Hughes
baf10cd392 Fix rubocop lint issues 2015-02-20 08:56:16 +00:00
Tom Hughes
ef7f3d800c Fix most auto-correctable rubocop issues 2015-02-20 08:56:16 +00:00
Tom Hughes
34e3e51456 Cleanup trailing whitespace 2015-02-20 08:56:16 +00:00
Tom Hughes
6e9a76e64d Avoid mixed content warnings for the MapQuest logo 2015-02-16 21:48:08 +00:00
Tom Hughes
098f8e98f2 Avoid mixed content warnings when routing queries Nominatim 2015-02-16 21:46:54 +00:00
Tom Hughes
250bb47cc2 Merge remote-tracking branch 'systemed/routing' 2015-02-16 08:30:29 +00:00
Bryan Housel
eb61cc614f Update iD container to support iD 1.7.0 2015-02-12 05:57:12 -05:00
Tom Hughes
27179c8706 Wrap flash messages in a div instead of a paragraph
This allows more complex HTML in the message, closing #896.
2015-02-11 21:32:56 +00:00
Tom Hughes
d5e90c0d87 Add asset wrappers for iD 2015-02-11 19:18:13 +00:00
nebulon42
d371a1b38b update browse symbols changed in osm-carto 2.28.0 2015-02-08 14:54:46 +01:00
Dan Stowell
91dac23254 jsrouting: don't close the smallscreen header until both geocodes entered 2015-02-08 11:11:53 +00:00
nebulon42
e3b0b7813c update browse symbols changed in osm-carto 2.27.0 2015-02-05 22:05:28 +01:00
Tom Hughes
7d32e50e0a Extend https support to all three routing engines 2015-02-01 21:41:06 +00:00
Tom Hughes
4be0e9bd10 Merge branch 'master' into routing 2015-02-01 15:10:21 +00:00
Tom Hughes
8adb0846b4 Update to latest upstream polyline decoder 2015-02-01 15:09:15 +00:00
Tom Hughes
c093aa481b Remove typo 2015-02-01 14:18:16 +00:00
Tom Hughes
6f762ae184 Set foreground colour for input fields 2015-02-01 14:10:15 +00:00
Tom Hughes
30a39b35e5 Rename directions_engines to directions 2015-02-01 12:58:08 +00:00
Tom Hughes
41af7f5ea7 Remove unused images 2015-02-01 12:58:08 +00:00
Tom Hughes
a2527b79ff Clear old routes when the route panel is reopened 2015-02-01 12:58:08 +00:00
Tom Hughes
44a0835487 Move routing "Go" button up alongside the dropdown 2015-02-01 12:58:08 +00:00
Tom Hughes
13d650e2dc Merge branch 'master' into routing 2015-02-01 11:32:02 +00:00
Tom Hughes
959a076b50 Add some padding to select elements 2015-02-01 11:29:38 +00:00
Tom Hughes
2452576333 Drop redundant css extension from scss files 2015-02-01 10:50:50 +00:00
Thijs Alkemade
17f926fefb Fix two issues with the remember_me_openid button
1. It didn't work, the code only checked the remember_me button, not
   the remember_me_openid button.

2. It did not have a unique id, making the label next to it not work
   for selecting the checkbox.
2015-02-01 10:33:45 +00:00
Tom Hughes
d423ae9137 Default background for input fields to white
Some browsers apparently default form fields to a background based
on the desktop theme, and don't inherit from body.

Fixes #883
2015-02-01 10:15:00 +00:00
Dan Stowell
8024ad919c fix typo which prevented directions closebox from working 2015-01-26 20:48:01 +00:00
Matt Amos
1b2bfb6e92 Make directions endpoints own the value and not care which input box they get it from. 2015-01-26 18:47:34 +00:00
Matt Amos
7a44ae6cdc Use CSS rather than HTML attributes for styling. 2015-01-26 18:02:00 +00:00