Commit graph

2369 commits

Author SHA1 Message Date
Simon Poole
3bd07d12dc It's a magnifying glass, stupid... 2015-12-29 15:14:48 +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
Tom Hughes
d218d5bf7d Fix display of raw HTML in flash message
Fixes #1095
2015-11-30 08:56:26 +00:00
Tom Hughes
c96eb7d181 Update image_optim and disable cleanupIDs plugin 2015-11-19 21:29:23 +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
Siebrand Mazeland
91d22710ba Localisation updates from https://translatewiki.net. 2015-10-22 11:37:14 +02:00
Siebrand Mazeland
6078c3ea0d Localisation updates from https://translatewiki.net. 2015-10-14 13:00:07 +02:00
Tom Hughes
d1d784bcca Ensure assets are recompiled when configuration changes 2015-09-30 19:34:14 +01:00
Tom Hughes
e54eadea95 Add support for Mapzen's Valhalla routing engine 2015-09-29 15:37:04 +01:00
Tom Hughes
7dd23a4b56 Move the MapQuest API key to the configuration file 2015-09-28 13:45:01 +01:00
Siebrand Mazeland
bafadbdac5 Localisation updates from https://translatewiki.net. 2015-09-25 16:12:45 +02:00
Tom Hughes
d27eb63941 Disable jpegtran 2015-09-13 11:46:13 +01:00
Tom Hughes
284b56bee9 Use image_optim to optimize SVG assets with svgo 2015-09-13 10:48:33 +01:00
Tom Hughes
66285e2820 Fix interpolation errors 2015-09-10 10:11:39 +01:00
Siebrand Mazeland
ec9b21bf1e Localisation updates from https://translatewiki.net. 2015-09-10 10:38:58 +02:00
Tom Hughes
9a9b045372 Merge remote-tracking branch 'openstreetmap/pull/891' 2015-08-27 21:46:56 +01:00
Tom Hughes
037585db39 Merge remote-tracking branch 'openstreetmap/pull/903' 2015-08-27 21:44:44 +01:00
Tom Hughes
4f31859c4a Make button on OAuth authorization screen translatable
Fixes #1025
2015-08-18 19:19:35 +01:00
Holger Jeromin
0d01d06f22 added missing wording for note "not found" and "timeout" 2015-08-18 10:31:29 +02:00
Tom Hughes
63dbfc15a6 Validate page numbers in URLs 2015-07-29 00:39:09 +01:00
Mateusz Konieczny
adb083dbc8 remove completely outdated entries from map key for default layer 2015-07-26 13:04:07 +02:00
Siebrand Mazeland
fb2ea69d08 Localisation updates from https://translatewiki.net. 2015-07-23 19:06:03 +02:00
Tom Hughes
619db2e89c Raise an exception for missing translations in test mode 2015-07-23 14:23:01 +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
82cefb5929 Add support for generating logstash friendly logs 2015-07-19 19:24:20 +01:00
Siebrand Mazeland
3de1163a2f Localisation updates from https://translatewiki.net. 2015-07-14 16:26:58 +02:00
Emersion
38981d7549 Removes separated forest for zoom >= 12 2015-07-11 15:17:38 +02:00
Emersion
f116ecf496 Fixed max_zoom of cycleway 2015-07-11 15:14:17 +02:00
Emersion
68a3c3e5b8 Adds cycleways for zoom >= 13 2015-07-11 15:10:40 +02:00
Emersion
1199ac6605 Adds lakes 2015-07-11 15:04:17 +02:00
Emersion
4e64291839 Adds rail 2015-07-11 14:55:31 +02:00
Emersion
f2c955a96a Adds toilets 2015-07-11 14:51:40 +02:00
Emersion
e8a1ea18fc Adds bicycle shop & parking 2015-07-11 14:46:55 +02:00
Emersion
09f3cfda34 Adds footway and common 2015-07-11 14:37:39 +02:00
Emersion
5c6707ac4f Adds forest 2015-07-11 14:24:42 +02:00
Emersion
6b3c7b7dca Adds en locale for new map key entries 2015-07-11 14:18:44 +02:00
Emersion
37e48911e0 Adds cycleways and tracks 2015-07-11 14:16:28 +02:00
Emersion
56316e17ad Adds first try to add key to cyclemap 2015-07-11 12:56:20 +02: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
Siebrand Mazeland
b5b9f9972b Localisation updates from https://translatewiki.net. 2015-07-08 08:28:32 +02: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
Tom Hughes
84170254e4 Use a fixed name for the asset manifest
Because we deploy by updating an existing environment the default
sprockets strategy gives us multiple randomly named manifest files
and it will then pick one arbitrarily when starting up.
2015-06-28 10:35:44 +01:00
Tom Hughes
c4cb8286ba Update to rails 4.2.3 2015-06-26 22:57:27 +01:00
Eric Theise
6403cb9b08 Add a Geo URI link to the share panel
Fixes #799
2015-06-25 17:56:03 +01:00
Tom Hughes
4676179879 Improve display of user block timestamps
Display the creation time, as a friendly date with a tooltip for
the exact time, and add a tooltip to the expiry time.

Fixes #923 and #996
2015-06-25 17:44:20 +01:00
Siebrand Mazeland
12e22c5de3 Localisation updates from https://translatewiki.net. 2015-06-22 11:59:23 +02:00
Siebrand Mazeland
4ee63e118d Localisation updates from https://translatewiki.net. 2015-06-18 13:39:44 +02:00
Tom Hughes
445e608bae Update to latest upstream i18n-js
The issues we had before seem to be fixed now, so drop our
custom version and go back to the upstream one with some minor
monkey patching tweaks.

This also fixes the sprockets dependencies to correctly rebuild
the javascript when the translations change.
2015-06-16 19:17:37 +01:00