Commit graph

4142 commits

Author SHA1 Message Date
Tom Hughes
e54eadea95 Add support for Mapzen's Valhalla routing engine 2015-09-29 15:37:04 +01:00
Tom Hughes
24eaeb2653 Fix jshint warning 2015-09-28 15:01:41 +01:00
Tom Hughes
31c80f6646 Use jsonp for MapQuest as CORS doesn't seem to be working 2015-09-28 14:47:32 +01:00
Tom Hughes
38213ab588 Allow jQuery to construct the routing URLs 2015-09-28 14:43:36 +01:00
Tom Hughes
2d6fb571dc Make MapQuest API key conditional 2015-09-28 13:54:49 +01:00
Tom Hughes
7dd23a4b56 Move the MapQuest API key to the configuration file 2015-09-28 13:45:01 +01:00
Bryan Housel
81408141e9 Allow iD in iframe to request fullscreen 2015-09-16 00:17:27 -04:00
Holger Jeromin
37a4fc6dd1 Add srcset to img tags inside picture elements
Some browsers (in particular Safari on iOS) don't support picture
yet but do support srcset on the img tag.
2015-09-15 08:48:50 +01:00
Holger Jeromin
9aaea24702 Converted inkscape font info to font-family 2015-09-15 08:34:50 +01:00
Tom Hughes
0d0498d303 Use SVG for sprites for better high DPI support 2015-09-14 08:45:13 +01:00
Tom Hughes
d377e8b4f2 Use picture elements to render some more graphics as SVG 2015-09-13 22:42:12 +01:00
Holger Jeromin
a0aa5a1741 Removed bogus filter:url(#filter6591-2); from sprite
The SVG file had a buggy filter in it, which prevented chrome
fro loading most icons from it.
2015-09-13 19:09:23 +01:00
Holger Jeromin
ecc4b64a23 Use HTML5 picture element to prefer SVG logo 2015-09-13 10:50:12 +01:00
Tom Hughes
037585db39 Merge remote-tracking branch 'openstreetmap/pull/903' 2015-08-27 21:44:44 +01:00
Tom Hughes
db7374f2bb Merge remote-tracking branch 'openstreetmap/pull/1040' 2015-08-27 21:30:50 +01:00
Tom Hughes
dca0be1886 Merge remote-tracking branch 'openstreetmap/pull/1045' 2015-08-27 21:21:45 +01:00
Tom Hughes
d0998f3a63 Merge remote-tracking branch 'openstreetmap/pull/1043' 2015-08-27 21:18:05 +01:00
Tom Hughes
e479a8297c Mark some flash messages as html safe 2015-08-27 20:43:50 +01:00
Simon Legner
91bd0b4b12 Display number of comments in changeset list 2015-08-27 21:26:31 +02:00
Simon Legner
2520bdb9eb Close layers panel on double-clicking a layer
Relates to #465.
2015-08-26 23:31:36 +02:00
Simon Legner
6d511fbd34 Directions, read "to" location in URL - fixes #998 2015-08-26 21:38:39 +02:00
Tom Hughes
618526ba62 Don't treat flash messages as raw
This will likely break some things, but we should fix them
properly so that the rails auto-escaping can work.

Fixes #1027
2015-08-24 10:49:04 +01:00
Tom Hughes
036519a448 Add missing parenthesis
Fixes #1037
2015-08-19 08:25:41 +01:00
Tom Hughes
c9d35839be Fix new rubocopy warnings 2015-08-18 20:57:14 +01:00
Tom Hughes
4f31859c4a Make button on OAuth authorization screen translatable
Fixes #1025
2015-08-18 19:19:35 +01:00
Tom Hughes
ad3ba427b7 Fix double XML declaration on trace RSS feeds
Fixes #1034
2015-08-18 19:09:11 +01:00
Tom Hughes
6910434fe0 Apply a timeout to most changeset API calls 2015-08-14 19:55:11 +01:00
Tom Hughes
5dc3e5b48a Don't show hidden notes to non-moderators in the user notes list
Fixes #921
2015-08-12 17:42:14 +01:00
Tom Hughes
caa1a0128a Hide hidden notes and comments correctly in the data browser 2015-08-12 17:20:30 +01:00
Markus Heidelberg
166dc76ae9 Make notes GPX valid and add useful official elements
The "creator" attribute is required and "extensions" is the correct
name of this element.

Validated with SAXCount from the xerces-c package:

$ SAXCount -v=always -n -s -f notes.gpx

Original error messages:

    Error at file /home/markus/notes.gpx, line 2, char 171
      Message: no declaration found for element 'gpx'

    Error at file /home/markus/notes.gpx, line 2, char 171
      Message: attribute 'version' is not declared for element 'gpx'

After adding the "xmlns" attribute:

    Error at file /home/markus/notes.gpx, line 2, char 213
      Message: missing required attribute 'creator'

    Error at file /home/markus/notes.gpx, line 18, char 14
      Message: no declaration found for element 'extension'

    Error at file /home/markus/notes.gpx, line 26, char 7
      Message: element 'extension' is not allowed for content model '(ele?,time?,magvar?,geoidheight?,name?,cmt?,desc?,src?,link*,sym?,type?,fix?,sat?,hdop?,vdop?,pdop?,ageofdgpsdata?,dgpsid?,extensions?)'

The current errors now are caused by the missing XML schema for the
extensions.

Also add the time, name and link elements.
2015-08-10 19:11:18 +01:00
Dan Stowell
81d79f5e16 Simplify new-note marker placement - always in the centre
(This removes a tweak added in 40b3c82, which we believe is
no longer relevant now the new-note dialogue is sidebar
rather than bubble.)
2015-08-09 10:56:22 +01:00
Tom Hughes
af0ae25e6a Revert e04cab86 and add explicit small screen rules for overlay sidebar 2015-07-28 19:17:02 +01:00
Tom Hughes
098d1fc235 Allow customer URL schemas for OAuth callback URLs
Fixes #1019
2015-07-28 12:13:18 +01:00
Tom Hughes
93a617fec9 Error if geocoder#search is called with no arguments 2015-07-26 22:58:41 +01:00
Mateusz Konieczny
adb083dbc8 remove completely outdated entries from map key for default layer 2015-07-26 13:04:07 +02:00
Tom Hughes
e04cab862b Remove height specification for sidebar in small screen mode 2015-07-25 12:49:53 +01:00
Tom Hughes
45b70dea84 Fix small screen CSS rules that match on a body class 2015-07-23 18:36:16 +01:00
Tom Hughes
a34935df9b Fix a missing translation 2015-07-23 14:23:23 +01:00
Tom Hughes
6886a149b2 Use correct translation for new notes in RSS feed 2015-07-23 13:50:28 +01:00
Tom Hughes
4dceacdeba Make switch to compact and small modes dynamic
The point where we need to switch between normal mode, compact mode
and small mode varies due to different string lengths in different
languages, but that can't be expressed by a media query, so use some
javascript to update as the window size changes.

Fixes #1014
2015-07-22 22:48:22 +01:00
Tom Hughes
e68b5db140 Add missing ::before to archaeological_site CSS rule
Fixes #1013
2015-07-22 11:56:33 +01:00
Tom Hughes
629ae62b73 Require a valid session token to resend a confirmation
Make user#confirm_resend require a valid token in the session
that matches the requested user, and ensure trying to login as
an unconfirmed user sets such a token.

Fixes #1010
2015-07-20 21:32:34 +01:00
Tom Hughes
9fdea1c739 Temporary fix to avoid showing emails 2015-07-20 15:07:18 +01:00
Tom Hughes
67e77fd20e Use correct URL for problem report control 2015-07-17 22:36:57 +01:00
Tom Hughes
899891fe8a Simplify "report a problem" control
Defer to the standard attribution control methods as much as
possible instead of duplicating them.
2015-07-17 22:19:49 +01:00
Simon Poole
6ede8ca045 Add report a problem link to attribution, code nicked from osm.ch 2015-07-17 21:21:12 +01:00
Tom Hughes
996d5413d8 Remove donation drive banner
Fixes #1003
2015-07-11 11:40:14 +01:00
Tom Hughes
d28ae2ad0a Change direction string ids to force retranslation 2015-07-08 20:38:28 +01:00
Tom Hughes
1729a680ac Improve formatting of OSRM directions
Fixes #904
2015-07-01 21:03:54 +01:00
Tom Hughes
9e2db4513e Change donation drive panel to a thank you
Closes #1001
2015-06-30 22:01:44 +01:00