Commit graph

4142 commits

Author SHA1 Message Date
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
Tom Hughes
37d65124a6 Improve styling of "signup blocked" page 2016-03-07 12:20:55 +00:00
Tom Hughes
6e154d48c0 Ignore bounds on elements with geometry 2016-03-06 21:37:47 +00:00
Tom Hughes
0ff7a928e4 Fix query tool to get correct bounds for enclosing ways
The bounding box returned by overpass for geom output is only
the bounds for the clipped geometry, so fetch the geometry and
the bounding box separately and merge them client side.

Fixes #1156
2016-03-06 20:42:04 +00:00
Tom Hughes
9f9ba18baa Correct URL of Mapzen metro extracts 2016-03-04 20:28:07 +00:00
Bryan Housel
47881add28 Add traffico icons to vendor/assets/iD and asset pipeline precompile list 2016-03-03 16:27:40 -05:00
Bryan Housel
2d7a678772 Update to iD v1.9.0 2016-03-01 17:19:05 -05:00
Tom Hughes
f0fa701563 Treeat user as logged in after a password reset
Fixes #1160
2016-02-26 16:30:32 +00:00
Tom Hughes
480c17be58 Preserve username and "remember me" when login fails
Fixes #1159
2016-02-26 15:32:40 +00:00
Aditya Prakash
80c46f54d4 Create new translation string for deleted user 2016-02-15 22:37:54 +05:30
Aditya Prakash
341f6cd9fe Do not hyperlink profiles of deleted users 2016-02-15 20:47:53 +05:30
Tom Hughes
be624d64f3 Avoid using Rails.application.assets as it no longer set in production 2016-02-11 10:15:19 +00:00
Tom Hughes
5d3ecffa28 Fix new rubocop warnings 2016-02-05 13:35:26 +00:00
Tom Hughes
77c25dca8c Validate characters in changeset comments
Fixes #1135
Closes #1139
2016-01-19 09:51:24 +00:00
Tom Hughes
8fe1899596 Fix rubocop warnings 2016-01-19 09:51:24 +00:00
Tom Hughes
e128e78408 Move routing API endpoint addresses to config file 2016-01-11 19:03:47 +00:00
Tom Hughes
4028f4cdb9 Rework locale selection
Implement our own matching algorithm rather than trying to
patch the http_accept_language one and make sure everything is
using it in a consistent way.

Fixes #1125
2016-01-06 18:43:25 +00:00
Ben Marchant
da6cf371ac Update rss.rss.builder
Change from hard coding URL to using image_path method that wil
resolve to the correct asset path.
2015-12-23 18:39:31 +00:00
Tom Hughes
18b8fc60bb Add rel=nofollow to links to tagless nodes in browse pages 2015-12-20 00:19:16 +00:00
Tom Hughes
67f3658431 Preserve URL fragments through external authentication
Fixes #1102
2015-12-12 16:08:09 +00:00
Tom Hughes
9dd5dabf86 Remove inline javascript from login page 2015-12-12 11:42:36 +00:00
Bryan Housel
bd4de52c98 Support using iD on Internet Explorer 11 and above 2015-12-10 18:34:33 -08:00
Tom Hughes
03356be588 Use correct title in og:title for pages with no title
Fixes #1098
2015-12-07 15:54:06 +00:00
Tom Hughes
8368f90310 Merge remote-tracking branch 'openstreetmap/pull/1099' 2015-12-07 14:57:19 +00:00
Ilya Zverev
988ee11fe4 Facebook emails are verified
Per https://developers.facebook.com/docs/graph-api/reference/user the
offical description of the email field is:

> The person's primary email address listed on their profile. This
> field will not be returned if no valid email address is available

Therefore we can treat the fact that the email is returned as proof
that it has been verified.
2015-12-07 14:23:23 +00:00
Tom Hughes
bb9f20710e Merge remote-tracking branch 'openstreetmap/pull/1082' 2015-12-07 14:21:57 +00:00
Tom Hughes
ec9d2fde78 Merge remote-tracking branch 'openstreetmap/pull/1085' 2015-12-07 14:11:35 +00:00
Tom Hughes
e20bb507f1 Fix issues with bogus % encoded sequences in URLs
Add a URI sanitizer to the rack stack avoid rack throwing
exceptions on the server side, and ignore errors decoding
components on the client side.

Fixes #1101
2015-12-07 13:52:20 +00:00
Florian Schäfer
d02ea8a133 Allow closing the sidebar when a timeout occured 2015-12-05 21:59:27 +01:00
Tom Hughes
d218d5bf7d Fix display of raw HTML in flash message
Fixes #1095
2015-11-30 08:56:26 +00:00
Bryan Housel
33b5af5c85 Don't update urlhash while in intro
This should cut down on the errant edits in Three Rivers, MI.
Users getting stuck in walkthrough are probably refreshing their browser and
returning to the location in the walkthrough where they got stuck.
2015-11-23 14:00:25 -05:00
Tom Hughes
081ac24295 Fix rubocop warnings 2015-11-19 21:41:33 +00:00
Aditya Prakash
ed151fdb78 Hide .describe_location on push and popstate 2015-11-13 09:41:47 +05:30
Edward17
3297444ecd Icon for shop=car_parts added 2015-11-08 21:55:57 +01:00
Tom Hughes
82b4c8e3f0 Pass title to opengraph routine 2015-11-05 11:44:08 +00:00
Andrew Hain
f9570c4f05 Update key and data browser for new road colours
Update colours for main roads to match new style and replace
references to trunk, primary and secondary in the key with a
generic reference to main roads as trunk, primary and secondary
here have OSM specific meaning.

Also change road icons in the data browser to be the same colours
as the revised colours in the standard map style. The top and bottom
lines for motorway, trunk and primary are in the casing colours,
secondary and tertiary are 50% intensity of casing colour. Tertiary
is made deeper.
2015-11-01 22:29:03 +00:00
Tom Hughes
c9fdd5d3cb Don't send note comment notifications to deleted users 2015-10-30 19:20:36 +00:00
Tom Hughes
a082baebd7 Don't send changeset comment notifications to deleted users 2015-10-30 19:01:09 +00:00
Tom Hughes
243129b671 Add og:description to OpenGraph tags 2015-10-27 12:02:13 +00:00
Tom Hughes
c8640c8f82 Add og:url to OpenGraph tags 2015-10-27 12:01:58 +00:00
Tom Hughes
18d26c0d81 Use PNG logo for og:image 2015-10-27 12:01:44 +00:00
Tom Hughes
e62e879b3b Add more detail to OpenGraph tags
Closes #1073
2015-10-26 22:27:21 +00:00
Aditya Prakash
57a9c0d4fa Remove inline property of secondary links on diary page 2015-10-26 12:33:57 +05:30
Tom Hughes
3932c6b7f2 User ferry icon for kFerryEnter with Mapzen routing 2015-10-12 21:17:57 +01:00
Tom Hughes
d2765cb23d Merge remote-tracking branch 'openstreetmap/pull/1068' 2015-10-12 21:15:47 +01:00
Simon Legner
ee5e4ac5a4 Add ferry routing information for OSRM
Relates to #1000.

Uses instruction code 18 to represent a ferry instruction. Ferry icon
taken from Mapbox Maki set (CC0).
2015-10-06 21:09:56 +02:00
Andrew Zaborowski
f4a43c3ce2 Close html <source> tags
Apparently this unclosed tag didn't break rendering but judging from the
fact that this was the only unclosed tag and was introduced recently,
it probably wasn't intended.  The unit tests did expect the tag to be
closed.
2015-10-04 02:13:57 +02:00
Tom Hughes
3c771a7844 Improve error handling for routing engines 2015-09-30 21:58:16 +01:00
Tom Hughes
d1d784bcca Ensure assets are recompiled when configuration changes 2015-09-30 19:34:14 +01:00
Tom Hughes
8df1212b59 Scale total distance to metres for Mapzen 2015-09-30 17:22:27 +01:00