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
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
Štefan Baebler
26b47fdd18
Fix warning: 'value', 'index' is defined but never used.
2018-03-20 01:52:54 +01:00
Štefan Baebler
15ea756ae6
Cleanup leftover console log
2018-03-20 01:39:37 +01:00
Štefan Baebler
aa39179777
Using javascript and data attribute instead of inline css
2018-03-20 01:37:18 +01:00
Guillaume RISCHARD
ca36cf2826
Remove support for soon discontinued josm remote https endpoint
2017-12-16 16:15:52 +01:00
Holger Jeromin
2a21c82185
Removes DOM difference in location button (main map)
2017-10-18 19:51:05 +02:00
Tom Hughes
8db0548119
Remove explicit context menu width
...
Firefox and Chromium at least seem to autosize correctly based
on the actual text in use for a given locale.
2017-02-25 10:57:00 +00:00
Tom Hughes
430978fab7
Improve context menu initialisation to avoid namespace pollution
2017-02-12 19:19:13 +00:00
Tom Hughes
043d29fd7e
Merge remote-tracking branch 'openstreetmap/pull/1030' into next
2017-02-12 15:04:50 +00:00
Lars Sonchocky-Helldorf
df17b997b3
Add public gps tiles layer for debugging purposes
...
Fixes #1239
Closes #1406
2017-01-04 19:26:15 +00:00
Tom Hughes
6d9bddfa47
Patch classes on the locate control
...
This replaces the patching of the vendored source that we had been
doing before and which we always forget to apply after updating it.
Fixes #1306
2016-09-30 11:15:18 +01:00
Tom Hughes
9f817f8364
Set banner expiry correctly
2016-08-23 19:23:58 +01:00
Tom Hughes
31c81f108d
Set all cookies on the root path
2016-08-17 10:04:57 +01:00
Tom Hughes
fb9afd32db
Make banner cookies expire after one year
...
This avoids having lots of cookies stick around forever and
we shouldn't ever have a banner up for that long.
2016-08-17 10:02:50 +01:00
Bryan Housel
40abfdd316
remove debug statement
2016-06-20 19:19:20 -04:00
Bryan Housel
5e27978d3c
Add support for rotating banners, add banners for SOTM, SOTMUS
2016-06-20 18:09:55 -04:00
Simon Legner
6c3fd1e053
Consistent blue marker colour for sharing location
...
Before, when adding a marker, it was coloured blue. After sharing the marker,
it was coloured red.
2016-03-08 23:59:55 +01:00
Dan Stowell
6b0451124c
Fix missing semicolon warnings
2015-10-12 21:43:00 +01:00
Dan Stowell
35fbcf2815
Move contextmenu callbacks to separate file
2015-08-19 22:58:20 +01:00
Dan Stowell
e5b5faad72
tidier code
2015-08-09 19:29:37 +01:00
Dan Stowell
a2cf9b5b9f
Enable/disable some context-menu options conditional on zoom
2015-08-09 19:11:36 +01:00
Dan Stowell
8d0472f2ca
Allow users to get default contextmenu on shift-click
2015-08-09 12:11:07 +01:00
Dan Stowell
6e12650a45
Add "Query features" to context menu
2015-08-07 21:15:05 +01:00
Dan Stowell
cd61c8e065
Implement context menu with: directions, add note, describe, centre.
2015-08-05 22:30:41 +01:00
Tom Hughes
996d5413d8
Remove donation drive banner
...
Fixes #1003
2015-07-11 11:40:14 +01:00
Tom Hughes
9e2db4513e
Change donation drive panel to a thank you
...
Closes #1001
2015-06-30 22:01:44 +01:00
Tom Hughes
876d5614da
Add advert for donation drive
2015-06-16 10:38:29 +01:00
Tom Hughes
e2aef40437
URI encode the X-Page-Title header
...
Browsers's are inconsistent in how they interpret the encoding
of a response header in an XHR request, so URI encode it so that
it simple ASCII we can then decode it again in the browser.
2015-03-17 18:49:39 +00:00
Tom Hughes
db66e48847
Display tooltips on the right for RTL languages
...
Fixes #925
2015-03-09 22:29:18 +00:00
Tom Hughes
11af851248
Remove duplicate search handlers
...
Fixes #922
2015-03-05 00:34:06 +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
Matt Amos
321218f9b1
Make close button on route dialogue return to index.
2015-01-26 15:02:55 +00:00
Matt Amos
0cb475cc1a
Merge remote-tracking branch 'upstream/master' into routing-merge
...
Conflicts:
app/assets/javascripts/index.js
config/locales/en.yml
2014-11-10 16:14:06 +00:00
Tom Hughes
f0ecc6312b
Revert "Add SOTM advert"
...
This reverts commit 15a7276a9f
.
2014-11-09 23:03:04 +00:00
Matt Amos
a3eb48385b
Merge remote-tracking branch 'upstream/master' into routing
...
Conflicts:
app/assets/javascripts/index.js
app/assets/javascripts/leaflet.map.js.erb
config/environments/production.rb
config/locales/de.yml
2014-11-03 11:08:13 +00:00
Tom Hughes
501d13e1c0
Merge branch 'master' into overpass
2014-11-01 12:50:23 +00:00
Łukasz Gurdek
14ac1babc2
Changeset discussions
...
Add support for commenting on changesets with RSS feeds and email
notification of comments to other commenters and people that have
chosen to subscribe to a changeset.
2014-10-23 21:24:51 +01:00
Tom Hughes
69893849ca
Don't pass the hash when routing an empty search query
...
Fixes #793
2014-10-13 14:04:19 +01:00
Tom Hughes
15a7276a9f
Add SOTM advert
2014-09-04 15:25:56 +01:00
Tom Hughes
a70b61315c
Merge branch 'master' into overpass
2014-06-15 14:54:39 +01:00
Tom Hughes
6e45410103
Force coordinates into range for "Where am I" queries
...
Fixes #753
2014-06-15 11:08:25 +01:00
John Firebaugh
f2bf38606e
Permalinks for directions
2014-05-14 15:52:25 -07:00
John Firebaugh
2b252e8337
Refactor
2014-05-13 10:16:53 -07:00
John Firebaugh
be79156f43
OSM.Routing -> OSM.Directions
...
Too close of a name collision to OSM.Router.
2014-05-12 12:46:09 -07:00
Tom Hughes
203ba58bab
Merge branch 'master' into overpass
2014-03-16 16:20:39 +00:00
Tom Hughes
078059b76b
Initial work on overpass based query API
2014-03-16 16:18:12 +00:00
Tom Hughes
4cad1970fb
Make sure the hash updates properly on browse pages
...
Rework the way the move listener is disabled during initial
positiong of pages to avoid accidentally leaving it disabled
for the first user move of the map in some cases.
2014-03-16 14:11:29 +00:00
Richard Fairhurst
9d8ab7dbd1
From->To->Go order as per @samanpwbb's comment
2014-03-10 16:55:01 +00:00