Skip to content

Merge with master#1

Open
jfirebaugh wants to merge 1890 commits intoapmon:routing2from
jfirebaugh:routing
Open

Merge with master#1
jfirebaugh wants to merge 1890 commits intoapmon:routing2from
jfirebaugh:routing

Conversation

@jfirebaugh
Copy link

Resolved these conflicts:

app/controllers/geocoder_controller.rb

Some methods had been removed on master.

app/views/export/start.js.erb

This is moved to a plain .js file on master. The changes on your
branch don't appear necessary.

app/views/layouts/site.html.erb

Updated Routing tab markup to match current code.

app/views/site/_search.html.erb

This code now lives in index.js. I ported your changes over.

app/views/site/index.html.erb

The JS in this file was moved to index.js. I kept your additions,
but you should move them to index.js as well.

config/routes.rb

Spurious conflict.

@jfirebaugh
Copy link
Author

BTW, instead of merging this PR via github, I suggest adding my remote and fast-forwarding my routing branch directly.

tomhughes and others added 29 commits December 1, 2013 22:30
Potlatch 1 has hard coded calls to updatelinks, so rename the
updatelinks function to updateLinks and add an updatelinks function
using the old style argument list for Potlatch 1 to call.
The default click handler in index.js handles them fine, and as this
one was not calling preventDefault both were actually firing in some
browsers, causing the changeset to be loaded twice and two history
entries to be created.
The default click handler only handle the, not the rest of the
entry, so retore the handler but add an e.preventDefault() call
to stop the second handler running.
On Chrome, this lets clicks with modifier keys anywhere
on the changeset entry work as expected. On other browsers,
modifier keys still only work on the link itself.
Reenable them when returning to high zoom in the
same session.

Fixes openstreetmap#592
When invoking Potlatch on a node/way/relation object we should
normally have valid location information in the map parameters, so
use any zoom which is there if possible, otherwise fall back to an
object type specific default value.

Fixes openstreetmap#605.
Makes sure maximised content sits on top of the header.
systemed and others added 30 commits March 8, 2014 13:37
(because I'll be lynched otherwise, mutter grumble)
Conflicts:
	app/views/layouts/_search.html.erb
…htsegments

jsrouting: mouseover an instruction, highlight the route segment
…arch

jsrouting: clear search boxes on page unload
(otherwise it fouls up the welcome message spacing)
(personally I am not feeling very Firefox-friendly right now)
MapQuest instructions still don't translate, as that backend doesn't accept
simple language locals but require country codes as well.
…ncalc

Fix hours:minutes duration display for routing
Minor fixes to the I18n code of routing
Too close of a name collision to OSM.Router.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.