Commit graph

7889 commits

Author SHA1 Message Date
Tom Hughes
ad3ba427b7 Fix double XML declaration on trace RSS feeds
Fixes #1034
2015-08-18 19:09:11 +01:00
Holger Jeromin
0d01d06f22 added missing wording for note "not found" and "timeout" 2015-08-18 10:31:29 +02:00
Dan Stowell
0fa051fb40 Move leaflet.contextmenu 3rd party code to "vendor" folder 2015-08-17 08:55:48 +01:00
Tom Hughes
6910434fe0 Apply a timeout to most changeset API calls 2015-08-14 19:55:11 +01:00
Tom Hughes
bd1a466f21 Update jquery.cookie 2015-08-13 17:00:44 +01:00
Tom Hughes
05fb8b3e00 Update leaflet polyline plugin 2015-08-13 16:59:27 +01:00
Tom Hughes
ea4e33efa8 Update html5shiv to 3.7.3 2015-08-13 16:56:07 +01:00
Tom Hughes
6f5acd26e8 Enable https for thunderforest layers 2015-08-13 16:55:37 +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
Tom Hughes
1b6c214ab5 Add tests for new note GPX elements 2015-08-10 19:19:23 +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
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
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
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
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