Tom Hughes
8030e7b5d6
Enable some more eslint checks
2019-04-06 17:27:17 +01:00
Tom Hughes
eb7678145a
Use double quotes consistently in javascript code
2019-04-06 15:59:34 +01:00
Tom Hughes
87127d41e9
Enable some more eslint rules from iD rules
2019-04-06 15:48:51 +01:00
Tom Hughes
1f13321a60
Fix issues found by eslint
2019-04-01 22:03:39 +01:00
Tom Hughes
141df02e67
Move status into the settings object
...
Only the very early boot code needs to look at the value
from the environment directly.
2019-03-17 11:15:34 +00:00
Andy Allan
b3e74b0650
Instruct sprockets to recompile this file based on the settings files changing
2019-03-13 18:06:23 +01:00
Andy Allan
d102c9aaf4
Move all settings to settings.yml
...
We leave the STATUS setting alone, since it's required before rails
boots. The test-specific settings now live in config/settings/test.yml
2019-03-13 18:06:23 +01:00
Tom Hughes
d2ff1491b4
Avoid CSP issues with OpenID login
...
To avoid Chrom getting upset about sending form data to sites
that our policy doesn't allow, even when it isn't, use Javascript
to jump straight to Omniauth as the direct OpenID based login
buttons were already doing.
Fixes #1909
2019-02-25 11:46:12 +00:00
Tom Hughes
fa0a933c24
Replace augment.js with conditional polyfills for ES5 and ES6
2019-01-30 12:11:57 +00:00
Tom Hughes
48e886784e
Change default directions engine to fossgis_osrm_car
...
Also handle old cookies and URLs that ask for engines that
are no longer available.
2019-01-29 20:19:36 +00:00
Simon Poole
26102f581f
Remove old MapQuest Directions routing support
2019-01-29 20:19:36 +00:00
Simon Poole
067290f19f
Remove old OSRM routing support
2019-01-29 20:19:36 +00:00
Simon Poole
8937099429
Add support for FOSSGIS routing server
2019-01-29 20:19:36 +00:00
Quincy Morgan
3f2a42bf77
Add passthrough of new locale
, maprules
, and presets
URL hash parameters to iD
2019-01-23 12:13:27 -05:00
Tom Hughes
4b0fed0aa4
Replace custom panning with new panInside leaflet method
2019-01-02 11:03:06 +00:00
Tom Hughes
85802048a7
Fix issues with renaming of diary entry controller
2018-11-17 17:47:51 +00:00
Tom Hughes
efd50cd529
Merge remote-tracking branch 'upstream/pull/2009'
2018-11-04 14:50:14 +00:00
J Guthrie
d5e6acaace
On hover, change border to a subtle darker orange, increase strokeWidth
2018-11-02 01:23:37 +00:00
Tom Hughes
6b194ed627
Resize change bounding boxes on a zoom change
2018-10-14 12:28:26 +01:00
Tom Hughes
091818da5d
Adjust minimum changeset bbox to 20 pixels
2018-10-11 18:52:00 +01:00
Tom Hughes
bdcc33ae7f
Improve variable naming
2018-10-11 18:51:45 +01:00
J Guthrie
31c4461766
Converted to dot notation - fixes jshint
2018-10-07 00:52:11 +01:00
J Guthrie
e976f316b7
Convert degrees min-width to pixels min-width
2018-10-07 00:33:54 +01:00
Tom Hughes
b13b63b65c
Improve formatting
2018-10-03 22:39:27 +01:00
J Guthrie
cf896fa0a7
Updated min bounds algorithm
2018-10-03 22:07:20 +01:00
J Guthrie
9bf489a0b9
Changeset boundary is enlarged if it was on a single point
2018-10-02 23:56:42 +01:00
J Guthrie
aae0d3b7b5
Changeset border turns blue on hover
2018-10-02 23:41:24 +01:00
Tom Hughes
1a66467ef6
Avoid flickering welcome banner
...
Make the welcome banner default to being hidden and then show
it (by adding a class) if there is no cookie.
Fixes #1951
2018-09-10 21:21:43 +01:00
Tom Hughes
a7cdb0298d
Limit map to the maximum zoom of the current base layer
...
Fix maximum zoom levels for various layers and ensure that the
map can't be zoomed beyond the limit of the current base layer.
Fixes #1978
2018-09-10 20:37:36 +01:00
Ilya Zverev
67925e6d98
Do not display two coordinates on 'where am I' click
...
Closes #1968
2018-09-03 17:46:26 +01:00
Tom Hughes
32a400c5af
Only include embed related messages in the embed javascript
2018-08-28 18:02:32 +01:00
Tom Hughes
ed82d0a756
Only fetch client side translations for the current locale
2018-08-16 12:22:36 +01:00
Tom Hughes
e9abea3dd7
Avoid some accidental manouver type matches
2018-08-13 17:13:26 +01:00
Tom Hughes
4a6779abf7
Avoid using inline javascript to update message list
2018-05-30 15:30:23 +01:00
Benoît
e1f37fcc84
Improve HOT layer attribution
...
The style is by HOT and the server is provided by OpenStreetMap France.
Closes #1882
2018-05-25 10:22:56 +01:00
Peter Karich
1cea6b363a
Use XHR instead of jsonp for GraphHopper
...
Closes #1872
2018-05-17 20:47:58 +01:00
Tom Hughes
50f85248db
Use https to launch the remote editor except for modern browsers
...
Currently only Chrome 53+ and Firefox 55+ are known to support loading
of http resources from localhost for an https page.
2018-05-15 14:21:09 +01:00
Tom Hughes
64f3a1a947
Fix translation lookups for roundabout exits
2018-04-30 23:01:08 +01:00
Tom Hughes
91c30d3a8c
Avoid using "one" and "two" as translation keys
2018-04-30 22:38:43 +01:00
Tom Hughes
69ff048ae1
Merge remote-tracking branch 'upstream/pull/1802'
2018-04-30 18:56:09 +01:00
Tom Hughes
1ecf146766
Add terminating semicolon to overpass query
...
Fixes #1843
2018-04-30 18:54:31 +01:00
J Guthrie
e833ef6315
Separated ordinal roundabout exit text from normal exit text
2018-04-29 21:59:54 +01:00
J Guthrie
e0b175d3bd
Merge branch 'convert_roundabout_exits' of https://github.com/jguthrie100/openstreetmap-website into convert_roundabout_exits
2018-04-29 21:44:26 +01:00
J Guthrie
9efa2c7b92
Change roundabout exit logic and remove blank string from locale file
2018-04-29 20:30:44 +01:00
Jamie Guthrie
76bc5eba06
Merge branch 'master' into convert_roundabout_exits
2018-04-29 19:53:57 +01:00
J Guthrie
4330dcdf94
Added exit counts as seperate keys in locale file
2018-04-26 00:43:01 +01:00
Bryan Housel
4399cc793f
Allow changeset source tag to be settable via url api
...
(see https://github.com/openstreetmap/iD/issues/4899 )
2018-04-16 14:49:46 -04:00
J Guthrie
606c0adf29
Remove error class when right-click-selecting destination
2018-04-15 18:05:25 +01:00
Tom Hughes
be35dda9c3
Merge remote-tracking branch 'upstream/pull/1804'
2018-04-02 15:41:35 +01:00
Tom Hughes
7e6e1dfbaf
Tweak highlighting of geolocation errors
2018-04-02 15:24:03 +01:00