rails.git
18 months agoUpdate for final linear-gradient syntax
Tom Hughes [Sun, 27 May 2018 19:48:30 +0000 (20:48 +0100)]
Update for final linear-gradient syntax

18 months agoRemove include of Mixin.Events
Tom Hughes [Sun, 27 May 2018 19:33:54 +0000 (20:33 +0100)]
Remove include of Mixin.Events

The Events mixin has been replaced by inherting from Evented and
the Layer class already inherits from that.

18 months agoUpdate bundle
Tom Hughes [Sun, 27 May 2018 14:51:47 +0000 (15:51 +0100)]
Update bundle

18 months agoChange language immediately after updating settings
J Guthrie [Sun, 27 May 2018 14:12:34 +0000 (15:12 +0100)]
Change language immediately after updating settings

Closes #1883

18 months agoQuote translations to stop them looking like numbers
Tom Hughes [Mon, 7 May 2018 14:21:50 +0000 (15:21 +0100)]
Quote translations to stop them looking like numbers

18 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Fri, 25 May 2018 09:57:39 +0000 (11:57 +0200)]
Localisation updates from https://translatewiki.net.

18 months agoImprove HOT layer attribution
Benoît [Fri, 25 May 2018 08:39:19 +0000 (10:39 +0200)]
Improve HOT layer attribution

The style is by HOT and the server is provided by OpenStreetMap France.

Closes #1882

18 months agoMerge remote-tracking branch 'upstream/pull/1880'
Tom Hughes [Thu, 24 May 2018 18:06:31 +0000 (19:06 +0100)]
Merge remote-tracking branch 'upstream/pull/1880'

18 months agoWrap the permission label with a <label> tag
Edward Betts [Thu, 24 May 2018 11:49:12 +0000 (12:49 +0100)]
Wrap the permission label with a <label> tag

Gives the user a larger target to toggle a permission.

18 months agoupdate New Zealand copyright based on current attribution instructions from LINZ
Andrew Harvey [Thu, 24 May 2018 09:45:05 +0000 (19:45 +1000)]
update New Zealand copyright based on current attribution instructions from LINZ

18 months agoMerge pull request #1871 from hikemaniac/browse-icon-typo
Andy Allan [Thu, 24 May 2018 03:39:22 +0000 (11:39 +0800)]
Merge pull request #1871 from hikemaniac/browse-icon-typo

Fix a browse icon typo

18 months agoDon't override non-existent policy
Tom Hughes [Wed, 23 May 2018 11:50:10 +0000 (12:50 +0100)]
Don't override non-existent policy

18 months agoUse an empty array for ruby 2.3 compatibility
Tom Hughes [Wed, 23 May 2018 11:21:24 +0000 (12:21 +0100)]
Use an empty array for ruby 2.3 compatibility

Apparently `false.dup` throws in ruby 2.3 and not in 2.5...

18 months agoCompletely remove form-action restrictions for OAuth callbacks
Tom Hughes [Wed, 23 May 2018 11:09:21 +0000 (12:09 +0100)]
Completely remove form-action restrictions for OAuth callbacks

The CSP3 draft only allows a * rule match network schemes and
mobile devices often use callbacks to custom URL schemes.

18 months agoQuote translations to stop them looking like numbers
Tom Hughes [Mon, 7 May 2018 14:21:50 +0000 (15:21 +0100)]
Quote translations to stop them looking like numbers

18 months agoAllow CSP to be put in enforcing mode
Tom Hughes [Tue, 22 May 2018 07:41:13 +0000 (08:41 +0100)]
Allow CSP to be put in enforcing mode

18 months agoUpdate swfobject to use uncompressed source
Tom Hughes [Tue, 22 May 2018 07:40:41 +0000 (08:40 +0100)]
Update swfobject to use uncompressed source

18 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 21 May 2018 14:16:17 +0000 (16:16 +0200)]
Localisation updates from https://translatewiki.net.

18 months agoAdd missing dependencies
Tom Hughes [Sat, 19 May 2018 10:15:56 +0000 (11:15 +0100)]
Add missing dependencies

18 months agoAllow inline styles in iD
Tom Hughes [Fri, 18 May 2018 19:28:09 +0000 (20:28 +0100)]
Allow inline styles in iD

18 months agoRebase to current master
hikemaniac [Fri, 18 May 2018 11:59:59 +0000 (13:59 +0200)]
Rebase to current master

Merge openstreetmap/openstreetmap-website into hikemaniac/openstreetmap-website

18 months agoUse XHR instead of jsonp for GraphHopper
Peter Karich [Thu, 17 May 2018 19:47:58 +0000 (20:47 +0100)]
Use XHR instead of jsonp for GraphHopper

Closes #1872

18 months agoUpdate for rubocop 0.54.0
Tom Hughes [Thu, 17 May 2018 18:39:25 +0000 (19:39 +0100)]
Update for rubocop 0.54.0

18 months agoUpdate bundle
Tom Hughes [Thu, 17 May 2018 18:25:58 +0000 (19:25 +0100)]
Update bundle

18 months agoConfigure manifest-src and worker-src in security policy
Tom Hughes [Thu, 17 May 2018 18:10:39 +0000 (19:10 +0100)]
Configure manifest-src and worker-src in security policy

18 months agoPreserve schemes in security policy
Tom Hughes [Thu, 17 May 2018 18:10:23 +0000 (19:10 +0100)]
Preserve schemes in security policy

18 months agoQuote translations to stop them looking like numbers
Tom Hughes [Thu, 17 May 2018 17:37:52 +0000 (18:37 +0100)]
Quote translations to stop them looking like numbers

18 months agoQuote translations to stop them looking like numbers
Tom Hughes [Mon, 7 May 2018 14:21:50 +0000 (15:21 +0100)]
Quote translations to stop them looking like numbers

18 months agoConvert note view to use server side conditions
Tom Hughes [Thu, 17 May 2018 10:29:28 +0000 (11:29 +0100)]
Convert note view to use server side conditions

Fixes #1869

18 months agoAdd piwik to allowed URIs in connect-src
Tom Hughes [Thu, 17 May 2018 10:29:06 +0000 (11:29 +0100)]
Add piwik to allowed URIs in connect-src

18 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 17 May 2018 06:36:19 +0000 (08:36 +0200)]
Localisation updates from https://translatewiki.net.

18 months agoRemove unsafe-inline form default style policy
Tom Hughes [Wed, 16 May 2018 19:40:55 +0000 (20:40 +0100)]
Remove unsafe-inline form default style policy

18 months agoRemove some inline styles
Tom Hughes [Wed, 16 May 2018 19:27:35 +0000 (20:27 +0100)]
Remove some inline styles

18 months agoMerge remote-tracking branch 'upstream/pull/1866'
Tom Hughes [Wed, 16 May 2018 17:57:34 +0000 (18:57 +0100)]
Merge remote-tracking branch 'upstream/pull/1866'

18 months agoAllow iD to access wikidata
Tom Hughes [Wed, 16 May 2018 10:36:46 +0000 (11:36 +0100)]
Allow iD to access wikidata

18 months agoRevert "Remove unused POST method for message replies"
Tom Hughes [Wed, 16 May 2018 09:43:26 +0000 (10:43 +0100)]
Revert "Remove unused POST method for message replies"

This reverts commit 40cab845fbabb3f0aa8131c16e48cd3d58b6dcb3.

18 months agoAllow iD to access wikipedia
Tom Hughes [Wed, 16 May 2018 07:48:38 +0000 (08:48 +0100)]
Allow iD to access wikipedia

18 months agoRemove if_user and similar methods
Andy Allan [Wed, 16 May 2018 05:05:20 +0000 (13:05 +0800)]
Remove if_user and similar methods

Rather than hiding features based on CSS, just avoid including them
in the output. Fixes #1862

18 months agoFix test which was accidentally testing as the entry user twice
Andy Allan [Wed, 16 May 2018 04:59:16 +0000 (12:59 +0800)]
Fix test which was accidentally testing as the entry user twice

19 months agoFix a browse icon typo.
hikemaniac [Tue, 15 May 2018 18:05:40 +0000 (20:05 +0200)]
Fix a browse icon typo.

19 months agoMerge remote-tracking branch 'upstream/pull/1863'
Tom Hughes [Tue, 15 May 2018 17:36:55 +0000 (18:36 +0100)]
Merge remote-tracking branch 'upstream/pull/1863'

19 months agoTell jshint about bowser
Tom Hughes [Tue, 15 May 2018 13:42:05 +0000 (14:42 +0100)]
Tell jshint about bowser

19 months agoUse https to launch the remote editor except for modern browsers
Tom Hughes [Tue, 15 May 2018 13:08:57 +0000 (14:08 +0100)]
Use https to launch the remote editor except for modern browsers

Currently only Chrome 53+ and Firefox 55+ are known to support loading
of http resources from localhost for an https page.

19 months agoDefault frame-src to self
Tom Hughes [Tue, 15 May 2018 13:08:44 +0000 (14:08 +0100)]
Default frame-src to self

19 months agoAdd frame-src to allow http://127.0.0.1:8111
Tom Hughes [Tue, 15 May 2018 11:43:37 +0000 (12:43 +0100)]
Add frame-src to allow http://127.0.0.1:8111

19 months agoEnsure database is writable before destroying a message
Andy Allan [Tue, 15 May 2018 10:28:33 +0000 (18:28 +0800)]
Ensure database is writable before destroying a message

19 months agoRename messages#read to #show
Andy Allan [Tue, 15 May 2018 10:25:54 +0000 (18:25 +0800)]
Rename messages#read to #show

Also rename the named path, to align with resourceful routing

19 months agoRename messages#delete to destroy
Andy Allan [Tue, 15 May 2018 10:03:15 +0000 (18:03 +0800)]
Rename messages#delete to destroy

This is a better fit for rails controller method conventions, paving
the way to resourceful routing. Keep user-facing strings as 'delete'
since that's more commonly used.

19 months agoRemove unused POST method for message replies
Andy Allan [Tue, 15 May 2018 09:33:40 +0000 (17:33 +0800)]
Remove unused POST method for message replies

This action just shows the pre-filled form, with the target for
the form being the same as for new messages.

19 months agoUpgrade community index to 0.4.3 to fix issue with tirana polygon
Bryan Housel [Tue, 15 May 2018 00:35:29 +0000 (20:35 -0400)]
Upgrade community index to 0.4.3 to fix issue with tirana polygon

19 months agoUpdate to iD v2.8.2
Bryan Housel [Mon, 14 May 2018 21:55:32 +0000 (17:55 -0400)]
Update to iD v2.8.2

19 months agoMerge remote-tracking branch 'upstream/pull/1858'
Tom Hughes [Mon, 14 May 2018 19:14:56 +0000 (20:14 +0100)]
Merge remote-tracking branch 'upstream/pull/1858'

19 months agoMerge remote-tracking branch 'upstream/pull/1857'
Tom Hughes [Mon, 14 May 2018 19:13:41 +0000 (20:13 +0100)]
Merge remote-tracking branch 'upstream/pull/1857'

19 months agoQuote translations to stop them looking like numbers
Tom Hughes [Mon, 7 May 2018 14:21:50 +0000 (15:21 +0100)]
Quote translations to stop them looking like numbers

19 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 14 May 2018 06:24:58 +0000 (08:24 +0200)]
Localisation updates from https://translatewiki.net.

19 months agoMake CSP rule for the remote control explicitly allow http
Tom Hughes [Sun, 13 May 2018 15:01:39 +0000 (16:01 +0100)]
Make CSP rule for the remote control explicitly allow http

19 months agoMerge remote-tracking branch 'upstream/pull/1851'
Tom Hughes [Sun, 13 May 2018 14:24:44 +0000 (15:24 +0100)]
Merge remote-tracking branch 'upstream/pull/1851'

19 months agoMerge remote-tracking branch 'upstream/pull/1850'
Tom Hughes [Sun, 13 May 2018 14:23:54 +0000 (15:23 +0100)]
Merge remote-tracking branch 'upstream/pull/1850'

19 months agoQuote translations to stop them looking like numbers
Tom Hughes [Mon, 7 May 2018 14:21:50 +0000 (15:21 +0100)]
Quote translations to stop them looking like numbers

19 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 10 May 2018 08:28:45 +0000 (10:28 +0200)]
Localisation updates from https://translatewiki.net.

19 months agoRename message_controller to messages_controller
Andy Allan [Wed, 9 May 2018 08:38:37 +0000 (16:38 +0800)]
Rename message_controller to messages_controller

19 months agoLazy lookups for translations in message_controller.rb
Andy Allan [Wed, 9 May 2018 08:25:42 +0000 (16:25 +0800)]
Lazy lookups for translations in message_controller.rb

19 months agoRename trace_controller to traces_controller
Andy Allan [Wed, 9 May 2018 04:38:09 +0000 (12:38 +0800)]
Rename trace_controller to traces_controller

19 months agoMore lazy translation lookups for traces
Andy Allan [Wed, 9 May 2018 04:08:39 +0000 (12:08 +0800)]
More lazy translation lookups for traces

19 months agoUse named paths for messages
Andy Allan [Wed, 9 May 2018 03:24:11 +0000 (11:24 +0800)]
Use named paths for messages

19 months agoQuote translations to stop them looking like numbers
Tom Hughes [Mon, 7 May 2018 14:21:50 +0000 (15:21 +0100)]
Quote translations to stop them looking like numbers

19 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 7 May 2018 06:07:53 +0000 (08:07 +0200)]
Localisation updates from https://translatewiki.net.

19 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 3 May 2018 07:34:57 +0000 (09:34 +0200)]
Localisation updates from https://translatewiki.net.

19 months agoFix translation lookups for roundabout exits
Tom Hughes [Mon, 30 Apr 2018 22:01:08 +0000 (23:01 +0100)]
Fix translation lookups for roundabout exits

19 months agoAvoid using "one" and "two" as translation keys
Tom Hughes [Mon, 30 Apr 2018 21:38:43 +0000 (22:38 +0100)]
Avoid using "one" and "two" as translation keys

19 months agoMerge remote-tracking branch 'upstream/pull/1802'
Tom Hughes [Mon, 30 Apr 2018 17:56:09 +0000 (18:56 +0100)]
Merge remote-tracking branch 'upstream/pull/1802'

19 months agoAdd terminating semicolon to overpass query
Tom Hughes [Mon, 30 Apr 2018 17:53:52 +0000 (18:53 +0100)]
Add terminating semicolon to overpass query

Fixes #1843

19 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 30 Apr 2018 06:31:00 +0000 (08:31 +0200)]
Localisation updates from https://translatewiki.net.

19 months agoSeparated ordinal roundabout exit text from normal exit text
J Guthrie [Sun, 29 Apr 2018 20:59:54 +0000 (21:59 +0100)]
Separated ordinal roundabout exit text from normal exit text

19 months agoMerge branch 'convert_roundabout_exits' of https://github.com/jguthrie100/openstreetm...
J Guthrie [Sun, 29 Apr 2018 20:44:26 +0000 (21:44 +0100)]
Merge branch 'convert_roundabout_exits' of https://github.com/jguthrie100/openstreetmap-website into convert_roundabout_exits

19 months agoChange roundabout exit logic and remove blank string from locale file
J Guthrie [Sun, 29 Apr 2018 19:30:44 +0000 (20:30 +0100)]
Change roundabout exit logic and remove blank string from locale file

19 months agoMerge branch 'master' into convert_roundabout_exits
Jamie Guthrie [Sun, 29 Apr 2018 18:53:57 +0000 (19:53 +0100)]
Merge branch 'master' into convert_roundabout_exits

19 months agoMerge remote-tracking branch 'upstream/pull/1809'
Tom Hughes [Sun, 29 Apr 2018 18:37:50 +0000 (19:37 +0100)]
Merge remote-tracking branch 'upstream/pull/1809'

19 months agoUpdate translation keys for renaming of note to notes
Tom Hughes [Sun, 29 Apr 2018 00:09:38 +0000 (01:09 +0100)]
Update translation keys for renaming of note to notes

19 months agoFix syntax error with ruby 2.5
Tom Hughes [Sat, 28 Apr 2018 16:12:27 +0000 (17:12 +0100)]
Fix syntax error with ruby 2.5

19 months agoUpdate xid_to_int4 to use postgres version 1 calling convention
Tom Hughes [Sat, 28 Apr 2018 14:15:53 +0000 (15:15 +0100)]
Update xid_to_int4 to use postgres version 1 calling convention

19 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 26 Apr 2018 06:05:31 +0000 (08:05 +0200)]
Localisation updates from https://translatewiki.net.

19 months agoRemoved directions from roundabout exit instructions
J Guthrie [Wed, 25 Apr 2018 23:51:35 +0000 (00:51 +0100)]
Removed directions from roundabout exit instructions

19 months agoAdded exit counts as seperate keys in locale file
J Guthrie [Wed, 25 Apr 2018 23:35:41 +0000 (00:35 +0100)]
Added exit counts as seperate keys in locale file

19 months agoUse rails helpers to construct URLs
Rajdeep Mandrekar [Wed, 25 Apr 2018 19:38:41 +0000 (01:08 +0530)]
Use rails helpers to construct URLs

Fixes #1817
Closes #1840

19 months agoMerge remote-tracking branch 'upstream/pull/1833'
Tom Hughes [Wed, 25 Apr 2018 16:44:53 +0000 (17:44 +0100)]
Merge remote-tracking branch 'upstream/pull/1833'

19 months agoMerge remote-tracking branch 'upstream/pull/1839'
Tom Hughes [Wed, 25 Apr 2018 16:39:27 +0000 (17:39 +0100)]
Merge remote-tracking branch 'upstream/pull/1839'

19 months agoMerge remote-tracking branch 'upstream/pull/1838'
Tom Hughes [Wed, 25 Apr 2018 16:38:35 +0000 (17:38 +0100)]
Merge remote-tracking branch 'upstream/pull/1838'

19 months agoMerge remote-tracking branch 'upstream/pull/1837'
Tom Hughes [Wed, 25 Apr 2018 16:38:19 +0000 (17:38 +0100)]
Merge remote-tracking branch 'upstream/pull/1837'

19 months agoMerge remote-tracking branch 'upstream/pull/1836'
Tom Hughes [Wed, 25 Apr 2018 16:37:55 +0000 (17:37 +0100)]
Merge remote-tracking branch 'upstream/pull/1836'

19 months agoMerge remote-tracking branch 'upstream/pull/1835'
Tom Hughes [Wed, 25 Apr 2018 16:37:34 +0000 (17:37 +0100)]
Merge remote-tracking branch 'upstream/pull/1835'

19 months agoMerge remote-tracking branch 'upstream/pull/1834'
Tom Hughes [Wed, 25 Apr 2018 16:37:31 +0000 (17:37 +0100)]
Merge remote-tracking branch 'upstream/pull/1834'

19 months agoLazy translation lookups and key renames for help page.
Andy Allan [Wed, 25 Apr 2018 08:48:52 +0000 (16:48 +0800)]
Lazy translation lookups and key renames for help page.

19 months agoLazy translation lookup and key renames for fixthemap page.
Andy Allan [Wed, 25 Apr 2018 08:46:05 +0000 (16:46 +0800)]
Lazy translation lookup and key renames for fixthemap page.

19 months agoUse lazy lookups and rename translation keys for export
Andy Allan [Wed, 25 Apr 2018 08:40:22 +0000 (16:40 +0800)]
Use lazy lookups and rename translation keys for export

19 months agoUse lazy lookups and rename keys for the copyright page
Andy Allan [Wed, 25 Apr 2018 08:33:10 +0000 (16:33 +0800)]
Use lazy lookups and rename keys for the copyright page

19 months agoUse lazy lookups and rename keys for the welcome page.
Andy Allan [Wed, 25 Apr 2018 08:20:17 +0000 (16:20 +0800)]
Use lazy lookups and rename keys for the welcome page.

19 months agoUse lazy lookups and rename keys for the about page.
Andy Allan [Wed, 25 Apr 2018 08:19:46 +0000 (16:19 +0800)]
Use lazy lookups and rename keys for the about page.

19 months agoUse lazy lookups for site translations
Andy Allan [Wed, 25 Apr 2018 08:04:34 +0000 (16:04 +0800)]
Use lazy lookups for site translations

19 months agoRemove empty and unused view template
Andy Allan [Wed, 25 Apr 2018 07:51:48 +0000 (15:51 +0800)]
Remove empty and unused view template