Commit graph

3773 commits

Author SHA1 Message Date
Tom Hughes
dd81b09eba Update for API change in CPK 7.x 2014-07-04 19:24:25 +01:00
Tom Hughes
88ff6496a1 Sort tags alphabetically for consistent results 2014-07-04 19:24:25 +01:00
Tom Hughes
28bfb9999f Rename Trace#public to Trace#visible_to_all 2014-07-04 19:24:25 +01:00
Tom Hughes
56d39b06f2 Rename User#public to User#identifiable 2014-07-04 19:24:25 +01:00
Tom Hughes
2b3ab9719b Fix attribution links for Thunderforest layers 2014-06-26 10:42:16 +01:00
Tom Hughes
052559c5d7 Fix line height for buttons in Firefox 30
This is pretty ugly, but it's the best solution I have at the
current time. Seems to fix Firefox 30 without breaking Chrome
or Opera and doesn't make IE8 any worse.

Fixes #756
2014-06-22 10:25:08 +01:00
Tom Hughes
0cc579b287 Improve blocking of characters not allowed in XML 2014-06-19 00:25:18 +01:00
Tom Hughes
44d5335e47 Style trace edit form to match trace creation form 2014-06-18 22:48:23 +01:00
Tom Hughes
39e7ec3c4c Increase field widths on trace upload form
Fixes #664
2014-06-18 22:38:22 +01:00
Tom Hughes
40faa4e8c0 Use correct translation for back button 2014-06-18 09:51:36 +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
aa00e6b81e Decode entities in the title
They will get reencoded (if necessary) when they are output. Fixes #764.
2014-06-18 09:29:17 +01:00
Paul Norman
5ae33285e0 Make parking icon less blurry
Fixes #760
2014-06-17 21:30:42 +01:00
Tom Hughes
c9e9ef1a89 Rewrite layer parameters in shortlinks correctly
Fixes #762
2014-06-17 21:15:36 +01:00
Tom Hughes
103fd8a38f Improve behaviour of new search markers 2014-06-17 19:12:32 +01:00
Tom Hughes
32c385e8d7 Probit control characters in user names 2014-06-15 16:33:26 +01:00
Tom Hughes
6fe824bd0b Strip illegal characters from member roles in AMF uploads, part 2
Fixes #758
2014-06-15 15:55:30 +01:00
Tom Hughes
4cd7f5ad0d Strip illegal characters from member roles in AMF uploads
Fixes #758
2014-06-15 15:50:31 +01:00
Tom Hughes
d27cc80b43 Use the exclusion list returned by nominatim
When constructing a "more results" link for nominatim, use the
exclusion list returned by the previous query instead of trying
to make on up ourselves.

Fixes #701
2014-06-15 15:20:50 +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
5a830b2845 Don't force a login to use a remote editor
Fixes #754
2014-06-15 11:00:49 +01:00
Štefan Baebler
75e07dc5b8 Added telephone links into tag detail browser
International phone numbers become links using the official URI scheme
as per http://tools.ietf.org/html/rfc3966.

It is not limited to key=phone, so it can be used in other keys as well.
2014-06-15 09:31:04 +01:00
Tom Hughes
098c2675ba Add support for ACL blocks on note commenting 2014-06-03 20:59:25 +01:00
Tom Hughes
85e61568da Try harder to find a name in the right language 2014-05-24 12:52:09 +01:00
Tom Hughes
191af4a8b4 Remove bogus sort that is implied by the intermate association 2014-05-21 22:44:04 +01:00
Tom Hughes
e010a326a8 Wrap the ID in <bdi> tags for RTL locales 2014-05-19 00:29:08 +01:00
Tom Hughes
0d187c5c71 Replace <bdi> and </bdi> with Unicode markers in titles 2014-05-19 00:29:08 +01:00
Martin Raifer
1eab367de5 Instruct iD to load gpx file
When one clicks on the edit link of an uploaded GPX file, this instructs
the iD editor to load the respective GPX data from the appropriate URL.

See https://github.com/openstreetmap/iD/issues/970#issuecomment-43439476.
2014-05-18 18:59:08 +01:00
Tom Hughes
5da273027f Isolate object names from the database with a <bdi> tag
Fixes #743
2014-05-18 17:24:38 +01:00
Tom Hughes
b369d786db Add correct icon for caravan parks 2014-04-27 19:19:03 +01:00
Tom Hughes
d56b449bdb Remove unused CSS rules that refer to non-existent images 2014-04-27 19:18:56 +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
d79b286723 Fix more links to use new style #map links 2014-03-13 16:02:50 +00:00
Tom Hughes
4b3d4782ce Remove unused file 2014-03-13 16:01:17 +00:00
Tom Hughes
9b35270d0b Update map state when following a client side route 2014-03-13 13:37:45 +00:00
Tom Hughes
07082c35e6 Fix link 2014-03-13 13:37:39 +00:00
Tom Hughes
54890300a4 Generate a new style links for node locations in the data browser 2014-03-13 13:19:50 +00:00
Tom Hughes
8c82be0537 Make the search form a GET form with no extra fields
We only accept GET requests for the search, and although the form is
never normally submitted directly some browsers offer an option to
create a bookmark from a form, so make that work.
2014-03-07 19:18:24 +00:00
Tom Hughes
0c80a486b4 Remove an unused method 2014-03-05 22:54:50 +00:00
Tom Hughes
0de7fdb4df Add more tests for BrowseHelper 2014-03-01 16:02:06 +00:00
João G. Packer
18734786a1 Fixed wikipedia link reference to specific sections
When creating  a wikipedia link from a tag, the function
is (correctly) appending "?userlang=#{I18N.lang}" to the URL,
but doing this breaks the reference to a specific section
of a wikipedia article (if there is any).

For example, if the tag is "wikipedia=Article#Section", the function
would create a link to "../Article#Section?uselang=xx", and then the
browser wouldn't be able to correctly find the section. The correct
link result should be "../Article?uselang=xx#Section".

This commit fixes this by verifying if there is a reference to a
specific section of the article, and then putting "?uselang=#{I18N.lang}"
between the article's name and the section name.
2014-03-01 00:26:37 +00:00
Tom Hughes
8c9992f695 Apply zoomPrecision to location cookie 2014-02-28 00:26:34 +00:00