Commit graph

6964 commits

Author SHA1 Message Date
Dan Stowell
35fbcf2815 Move contextmenu callbacks to separate file 2015-08-19 22:58:20 +01:00
Dan Stowell
0fa051fb40 Move leaflet.contextmenu 3rd party code to "vendor" folder 2015-08-17 08:55:48 +01:00
Dan Stowell
e5b5faad72 tidier code 2015-08-09 19:29:37 +01:00
Dan Stowell
a2cf9b5b9f Enable/disable some context-menu options conditional on zoom 2015-08-09 19:11:36 +01:00
Dan Stowell
8d0472f2ca Allow users to get default contextmenu on shift-click 2015-08-09 12:11:07 +01:00
Dan Stowell
6e12650a45 Add "Query features" to context menu 2015-08-07 21:15:05 +01:00
Dan Stowell
cd61c8e065 Implement context menu with: directions, add note, describe, centre. 2015-08-05 22:30:41 +01:00
Dan Stowell
9ef85e42ba Import leaflet.contextmenu source files
From https://github.com/aratcliffe/Leaflet.contextmenu
latest commit 52a542da4f
2015-08-05 19:49:07 +01:00
Tom Hughes
63dbfc15a6 Validate page numbers in URLs 2015-07-29 00:39:09 +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
Siebrand Mazeland
fb2ea69d08 Localisation updates from https://translatewiki.net. 2015-07-23 19:06:03 +02:00
Tom Hughes
a34935df9b Fix a missing translation 2015-07-23 14:23:23 +01:00
Tom Hughes
619db2e89c Raise an exception for missing translations in test mode 2015-07-23 14:23:01 +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
82cefb5929 Add support for generating logstash friendly logs 2015-07-19 19:24:20 +01:00
Tom Hughes
29e364d585 Update bundle 2015-07-19 19:17:35 +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
Siebrand Mazeland
3de1163a2f Localisation updates from https://translatewiki.net. 2015-07-14 16:26:58 +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
674aef0d3f Update Potlatch 2 to 2.4-4-g37a0924 build 2015-07-05 13:17:24 +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
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
785bf2bfe1 Update mailmap 2015-06-28 00:14:07 +01:00
Michael Glanznig
601f1609ab Add browse symbols for openstreetmap-carto 2.31.0 2015-06-28 00:11:34 +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
tilmanb
0678ab6067 typofix (bupported -> supported) 2015-06-25 10:07:29 +02:00
Tom Hughes
a22c3525e4 Add HTML version of friend notification email
Fixes #995
2015-06-25 00:16:15 +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
fa4bc2e623 Update to rails 4.2.2 2015-06-16 20:20:37 +01: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
Simon Poole
cf8a20962b Add a paragraph on the rules in OSM or the lack of them 2015-06-16 18:41:43 +01:00
Tom Hughes
876d5614da Add advert for donation drive 2015-06-16 10:38:29 +01:00
Tom Hughes
e2eb8c9186 Remove unused images 2015-06-16 10:37:11 +01:00