Commit graph

571 commits

Author SHA1 Message Date
Ł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
2b3ab9719b Fix attribution links for Thunderforest layers 2014-06-26 10:42:16 +01:00
Tom Hughes
d1bebd0803 Make sure we pan immediately when a search result is clicked
Fixes #763
2014-06-18 09:36:02 +01:00
Tom Hughes
103fd8a38f Improve behaviour of new search markers 2014-06-17 19:12:32 +01:00
Tom Hughes
399fe3c12a Highlight search results when the mouse is over them
Fixes #748
2014-06-15 14:11:17 +01:00
Tom Hughes
6e45410103 Force coordinates into range for "Where am I" queries
Fixes #753
2014-06-15 11:08:25 +01:00
Tom Hughes
a5cef0cd80 Remove non-existent image from leaflet URL map 2014-04-27 19:18:45 +01:00
Tom Hughes
e85bcf9c4d Don't try and route to a note with no ID
Fixes #733
2014-04-26 00:13:49 +01:00
Tom Hughes
5e5c6b3a29 Add support for remote edit over https on port 8112 2014-04-01 19:17:15 +01:00
Tom Hughes
883a375d1a Ignore clicks on history entries if the mouse has moved
Ignore click events on history events if the mouse moves so that
drag selection can work. Fixes #581.
2014-03-31 11:25:40 +01: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
Tom Hughes
24e22dde6e Don't call updateLayers if the new state has no layer config
Fixes #719
2014-03-13 21:36:33 +00:00
Tom Hughes
82ff8ef58d Remove unused (and bogus) code 2014-03-13 17:33:46 +00:00
Tom Hughes
b4a2b23025 Block submission of the export form when the area is too large 2014-03-13 17:33:06 +00:00
Tom Hughes
9b35270d0b Update map state when following a client side route 2014-03-13 13:37:45 +00:00
Tom Hughes
8c9992f695 Apply zoomPrecision to location cookie 2014-02-28 00:26:34 +00:00
Tom Hughes
1f22b625a0 Move cookieContent to OSM.locationCookie 2014-02-28 00:10:55 +00:00
Tom Hughes
66039dedb0 Move zoomPrecision function to the OSM namespace 2014-02-27 18:15:54 +00:00
John Firebaugh
41b1bd4a70 Fix updateLinks({lat: 0, lon: 0}, ...)
Fixes openstreetmap/iD#2130
2014-02-18 17:20:52 -08:00
Tom Hughes
b947358134 Include selected layer in short links
Fixes #703
2014-02-15 12:05:30 +00:00
Tom Hughes
ee3e5d56d2 Remove https load test 2014-02-11 08:23:55 +00:00
Tom Hughes
a7f9ca32b7 Fix some mixed content issues 2014-02-08 17:43:34 +00:00
Tom Hughes
e5ff267073 Avoid using one translation as the key for a second
Translation keys need to be fixed, so we can't use the result of
one lookup to derive the key for another...

Fixes #697
2014-02-06 09:14:06 +00:00
Tom Hughes
ef448ea494 Boost https tile traffic to 20% 2014-02-05 19:43:44 +00:00
Tom Hughes
6b843cc158 Send 5% of users tiles over https as a test 2014-02-05 18:38:36 +00:00
Simon Poole
a24f52dec7 Add a landing page for "fix the map / report a problem" links 2014-01-19 13:48:27 +00:00
Tom Hughes
fd0ed54b16 Add a close icon to the feature warning panel
Fixes #660
2013-12-18 00:14:29 +00:00
Tom Hughes
dd12e1de63 Restore the duplicate search form in the header
It turns out the duplicate form is used, for the the mobile view.
2013-12-16 09:39:54 +00:00
Tom Hughes
19c77c3d24 Issue all _osm_location cookies against the root path
To ensure that any old cookies issued against other paths are
removed we make sure to do a removeCookie call first without a
path being specified so that any cookie for the current page is
removed before we add a new one against the root.

Fixes #652
2013-12-11 00:19:49 +00:00
Tom Hughes
9cc9a00988 Restore autofocusing of the search field
Use the HTML5 autofocus attribute, and focus on load for browsers
which don't support it.

Also change the removal of the "Where am I?" prompt to happen on
input rather than when the field is focused, so that it is properly
removed and restored when the field has been autofocused.

Fixes https://trac.openstreetmap.org/ticket/5065
2013-12-10 19:45:28 +00:00
Aaron Lidman
a796c41881 Refine zooming and panning for note and data layers
Fixes #629
Fixes #643
2013-12-09 23:05:38 +00:00
Tom Hughes
24893c0936 Update page title when switching to the front page view
Fixes https://trac.openstreetmap.org/ticket/5063
2013-12-09 09:28:13 +00:00
Roland Olbricht
83b3db9974 Improve display of alternative download sources
Makes the list of alternative sources displayed all the time
rather than just when the bounding box is too large, and adds
the Overpass API to the list of sources.

Fixes #606
Fixed #635
2013-12-07 14:56:47 +00:00
Tom Hughes
66aac9ca87 Pass details of any selected object to remote editors 2013-12-06 00:19:35 +00:00
John Firebaugh
69aca22e6a Run unload method before pushing the new state
If running unload causes any hash changes, those should
not end up on the new URL.

Fixes #622
2013-12-05 20:17:24 +00:00
John Firebaugh
21407ede7e Ensure object parameter is removed from edit link when closing sidebar
Refs #620
2013-12-05 19:38:34 +00:00
John Firebaugh
a47d6c212d Restore marker for non-browse search results
Fixes #615
2013-12-05 19:10:48 +00:00
John Firebaugh
190d0fddfc Remove object parameter from share URL
Fixes #616
Fixes #624
2013-12-05 19:09:33 +00:00
Tom Hughes
6670de16a1 Make remote edit work when /edit is loaded
Change detection of the edit request to use the URL as the class
will not be set on the body now, and force the router to think we
actually loaded the normal view.
2013-12-05 10:40:21 +00:00
Tom Hughes
b65ad205d1 Position on notes correctly when a link to a comment is loaded
Links to note comments in the RSS feed have a #id on the end to
position on the right comment, so don't let those hash strings
stop the map from panning to the note.

Fixes #603.
2013-12-04 08:41:56 +00:00
John Firebaugh
bdbc1d663d Unconditionally unbind moveend event
Can't rely on checking location.pathname -- inside unload,
it already contains the new path. Fortunately, checking is
unnecessary.

Fixes TypeError: Cannot call method 'split' of undefined.
2013-12-04 00:31:20 +00:00
John Firebaugh
6053ed4124 Update history feed URL with bbox parameter
https://lists.openstreetmap.org/pipermail/dev/2013-December/027599.html
2013-12-03 20:12:10 +00:00
John Firebaugh
944f3ebb67 Remove map data size warning (#592) 2013-12-03 19:38:26 +00:00
John Firebaugh
07976676de Restore support for #layers=X with no map parameter
https://trac.openstreetmap.org/ticket/5056
2013-12-03 19:37:25 +00:00
Tom Hughes
ba4a3e3ce9 Remove debugging code 2013-12-03 19:04:15 +00:00
Tom Hughes
78f8e2a450 Throw an exception instead of logging to the console 2013-12-03 18:15:02 +00:00
Tom Hughes
e18c3fd58d Log failures to match a route for the initial path 2013-12-03 17:51:01 +00:00
Tom Hughes
6362f60a54 Display the size warning when the data layer is disabled 2013-12-03 09:17:02 +00:00