]> git.openstreetmap.org Git - rails.git/log
rails.git
3 years agoFix new rubocop warnings
Tom Hughes [Tue, 20 Apr 2021 17:26:37 +0000 (18:26 +0100)]
Fix new rubocop warnings

3 years agoUpdate bundle
Tom Hughes [Tue, 20 Apr 2021 17:23:13 +0000 (18:23 +0100)]
Update bundle

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 19 Apr 2021 10:54:05 +0000 (12:54 +0200)]
Localisation updates from https://translatewiki.net.

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 15 Apr 2021 11:12:33 +0000 (13:12 +0200)]
Localisation updates from https://translatewiki.net.

3 years agoMerge branch 'pull/3164'
Andy Allan [Wed, 14 Apr 2021 15:13:29 +0000 (16:13 +0100)]
Merge branch 'pull/3164'

3 years agoAdd tests for routing and to ensure output format
Andy Allan [Wed, 14 Apr 2021 15:11:57 +0000 (16:11 +0100)]
Add tests for routing and to ensure output format

This avoids the tests passing if the json output is an array of kv pairs,
instead of the desired hash of attributes.

3 years agoUpdate bundle
Tom Hughes [Tue, 13 Apr 2021 18:19:25 +0000 (19:19 +0100)]
Update bundle

3 years agoMerge remote-tracking branch 'upstream/pull/3174'
Tom Hughes [Tue, 13 Apr 2021 07:10:58 +0000 (08:10 +0100)]
Merge remote-tracking branch 'upstream/pull/3174'

3 years agoBump actions/cache from v2.1.4 to v2.1.5
dependabot[bot] [Tue, 13 Apr 2021 06:37:33 +0000 (06:37 +0000)]
Bump actions/cache from v2.1.4 to v2.1.5

Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge remote-tracking branch 'upstream/pull/3172'
Tom Hughes [Mon, 12 Apr 2021 17:34:10 +0000 (18:34 +0100)]
Merge remote-tracking branch 'upstream/pull/3172'

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 12 Apr 2021 13:54:04 +0000 (15:54 +0200)]
Localisation updates from https://translatewiki.net.

3 years agoBump eslint from 7.23.0 to 7.24.0
dependabot[bot] [Mon, 12 Apr 2021 05:01:27 +0000 (05:01 +0000)]
Bump eslint from 7.23.0 to 7.24.0

Bumps [eslint](https://github.com/eslint/eslint) from 7.23.0 to 7.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.23.0...v7.24.0)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoDisplay no diary comments message when empty
Harry Wood [Fri, 9 Apr 2021 17:06:05 +0000 (18:06 +0100)]
Display no diary comments message when empty

Display a 'No diary comments' message when there are no diary comments to display, rather than an empty table.

3 years agoAdded test for user prefs JSON response
Michal Migurski [Fri, 9 Apr 2021 21:06:53 +0000 (14:06 -0700)]
Added test for user prefs JSON response

3 years agoDisplay no notes message when empty
Harry Wood [Fri, 9 Apr 2021 02:53:53 +0000 (03:53 +0100)]
Display no notes message when empty

Display a 'No notes' message when there are no notes to display, rather than an empty table with pagination features.

3 years agoUpdate bundle
Tom Hughes [Thu, 8 Apr 2021 18:27:47 +0000 (19:27 +0100)]
Update bundle

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 8 Apr 2021 14:35:58 +0000 (16:35 +0200)]
Localisation updates from https://translatewiki.net.

3 years agoMerge pull request #1558 from plarus/master
Andy Allan [Thu, 8 Apr 2021 13:01:08 +0000 (14:01 +0100)]
Merge pull request #1558 from plarus/master

Add start url and indicate minimal-ui is sufficient when added as a PWA.

3 years agoAdded root elements and dict support for preferences response
Michal Migurski [Thu, 8 Apr 2021 00:41:44 +0000 (17:41 -0700)]
Added root elements and dict support for preferences response

3 years agoUpdate manifest.json.erb
plarus [Wed, 7 Apr 2021 17:45:58 +0000 (19:45 +0200)]
Update manifest.json.erb

Change for minimal-ui

3 years agoMerge remote-tracking branch 'upstream/pull/3166'
Tom Hughes [Wed, 7 Apr 2021 15:44:06 +0000 (16:44 +0100)]
Merge remote-tracking branch 'upstream/pull/3166'

3 years agoMerge remote-tracking branch 'upstream/pull/3165'
Tom Hughes [Wed, 7 Apr 2021 15:42:14 +0000 (16:42 +0100)]
Merge remote-tracking branch 'upstream/pull/3165'

3 years agoAdd missing root attributes to User#show and User#index json responses
Andy Allan [Wed, 7 Apr 2021 15:30:08 +0000 (16:30 +0100)]
Add missing root attributes to User#show and User#index json responses

3 years agoMove confirmation methods into ConfirmationsController
Andy Allan [Wed, 7 Apr 2021 15:04:59 +0000 (16:04 +0100)]
Move confirmation methods into ConfirmationsController

3 years agoSplit password reset functionality into PasswordsController
Andy Allan [Wed, 7 Apr 2021 13:39:12 +0000 (14:39 +0100)]
Split password reset functionality into PasswordsController

3 years agoUpdated JSON response format per feedback
Michal Migurski [Wed, 7 Apr 2021 04:44:38 +0000 (21:44 -0700)]
Updated JSON response format per feedback

3 years agoAdded JSON support to user preferences
Michal Migurski [Wed, 7 Apr 2021 02:20:02 +0000 (19:20 -0700)]
Added JSON support to user preferences

3 years agoUpdate bundle
Tom Hughes [Tue, 6 Apr 2021 18:45:55 +0000 (19:45 +0100)]
Update bundle

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 5 Apr 2021 13:33:55 +0000 (15:33 +0200)]
Localisation updates from https://translatewiki.net.

3 years agoDon't allow deleted users to be confirmed
Tom Hughes [Thu, 1 Apr 2021 16:23:43 +0000 (17:23 +0100)]
Don't allow deleted users to be confirmed

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 1 Apr 2021 11:48:14 +0000 (13:48 +0200)]
Localisation updates from https://translatewiki.net.

3 years agoAdd additional limits on sending messages
Tom Hughes [Wed, 31 Mar 2021 21:29:31 +0000 (22:29 +0100)]
Add additional limits on sending messages

Additional limits apply to new accounts and accounts with
unresolved issues reported against them.

Fixes #3135

3 years agoMerge remote-tracking branch 'upstream/pull/3157'
Tom Hughes [Wed, 31 Mar 2021 15:45:24 +0000 (16:45 +0100)]
Merge remote-tracking branch 'upstream/pull/3157'

3 years agoSwitch GPX MIME type detection to use marcel
Tom Hughes [Tue, 30 Mar 2021 17:26:23 +0000 (18:26 +0100)]
Switch GPX MIME type detection to use marcel

3 years agoUpdate to rails 6.0.3.6
Tom Hughes [Tue, 30 Mar 2021 17:14:51 +0000 (18:14 +0100)]
Update to rails 6.0.3.6

3 years agoAdd missing callbacks to session controller
Tom Hughes [Mon, 29 Mar 2021 19:31:24 +0000 (20:31 +0100)]
Add missing callbacks to session controller

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 29 Mar 2021 16:02:25 +0000 (18:02 +0200)]
Localisation updates from https://translatewiki.net.

3 years agoAdd test case to ensure clicking on the registration link takes you to the right...
Andy Allan [Mon, 29 Mar 2021 14:51:07 +0000 (15:51 +0100)]
Add test case to ensure clicking on the registration link takes you to the right page

3 years agoMerge remote-tracking branch 'upstream/pull/3157'
Tom Hughes [Mon, 29 Mar 2021 14:15:48 +0000 (15:15 +0100)]
Merge remote-tracking branch 'upstream/pull/3157'

3 years agoFix registration link
Andy Allan [Mon, 29 Mar 2021 13:57:03 +0000 (14:57 +0100)]
Fix registration link

Fixes #3156

3 years agoMerge remote-tracking branch 'upstream/pull/3155'
Tom Hughes [Mon, 29 Mar 2021 11:48:26 +0000 (12:48 +0100)]
Merge remote-tracking branch 'upstream/pull/3155'

3 years agoBump eslint from 7.22.0 to 7.23.0
dependabot[bot] [Mon, 29 Mar 2021 05:01:40 +0000 (05:01 +0000)]
Bump eslint from 7.22.0 to 7.23.0

Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.23.0)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoUpdate bundle
Tom Hughes [Thu, 25 Mar 2021 22:27:45 +0000 (22:27 +0000)]
Update bundle

3 years agoMerge remote-tracking branch 'upstream/pull/3152'
Tom Hughes [Wed, 24 Mar 2021 21:14:41 +0000 (21:14 +0000)]
Merge remote-tracking branch 'upstream/pull/3152'

3 years agoPrevent addition of style attributes to all elements
Andy Allan [Wed, 24 Mar 2021 20:55:30 +0000 (20:55 +0000)]
Prevent addition of style attributes to all elements

3 years agoMerge remote-tracking branch 'upstream/pull/3149'
Tom Hughes [Wed, 24 Mar 2021 19:53:41 +0000 (19:53 +0000)]
Merge remote-tracking branch 'upstream/pull/3149'

3 years agoStrip away class attributes from sanitized outputs
Andy Allan [Wed, 24 Mar 2021 19:15:21 +0000 (19:15 +0000)]
Strip away class attributes from sanitized outputs

There's a lot of shenanigans that are possible when you can apply
arbitrary classes to the rendered output.

3 years agoRework configuration to use Sanitize::Config.merge
Andy Allan [Wed, 24 Mar 2021 18:19:14 +0000 (18:19 +0000)]
Rework configuration to use Sanitize::Config.merge

This is the recommended approach, and works better when dealing with deeper attributes

3 years agoAdd tests for richtext table classes
Andy Allan [Wed, 24 Mar 2021 17:55:15 +0000 (17:55 +0000)]
Add tests for richtext table classes

3 years agoMerge remote-tracking branch 'upstream/pull/3147'
Tom Hughes [Wed, 24 Mar 2021 15:32:16 +0000 (15:32 +0000)]
Merge remote-tracking branch 'upstream/pull/3147'

3 years agoMerge remote-tracking branch 'upstream/pull/3148'
Tom Hughes [Wed, 24 Mar 2021 15:32:13 +0000 (15:32 +0000)]
Merge remote-tracking branch 'upstream/pull/3148'

3 years agoBundle update for mimemagic yankage
Andy Allan [Wed, 24 Mar 2021 13:45:18 +0000 (13:45 +0000)]
Bundle update for mimemagic yankage

3 years agoMove sessions-related tests out of UsersControllerTest
Andy Allan [Wed, 24 Mar 2021 11:40:17 +0000 (11:40 +0000)]
Move sessions-related tests out of UsersControllerTest

3 years agoRefactor login/logout into sessions controller
Andy Allan [Wed, 10 Mar 2021 14:15:14 +0000 (14:15 +0000)]
Refactor login/logout into sessions controller

Certain controller methods are shared with oauth-based logins, and these have been
moved to a concern.

3 years agoFix new rubocop warnings
Tom Hughes [Tue, 23 Mar 2021 19:48:13 +0000 (19:48 +0000)]
Fix new rubocop warnings

3 years agoUpdate bundle
Tom Hughes [Tue, 23 Mar 2021 19:34:34 +0000 (19:34 +0000)]
Update bundle

3 years agoShow the crafted duration of a block independent of the reading time
polarbearing [Tue, 23 Mar 2021 11:37:14 +0000 (12:37 +0100)]
Show the crafted duration of a block independent of the reading time

Fixes #3143.
Not tested by myself. Treat like pseudocode, I don't speak Ruby.

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 22 Mar 2021 14:44:07 +0000 (15:44 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoMerge remote-tracking branch 'upstream/pull/3142'
Tom Hughes [Mon, 22 Mar 2021 07:23:00 +0000 (07:23 +0000)]
Merge remote-tracking branch 'upstream/pull/3142'

3 years agoMerge remote-tracking branch 'upstream/pull/3144'
Tom Hughes [Mon, 22 Mar 2021 07:05:57 +0000 (07:05 +0000)]
Merge remote-tracking branch 'upstream/pull/3144'

3 years agoBump qs from 6.10.0 to 6.10.1
dependabot[bot] [Mon, 22 Mar 2021 05:02:44 +0000 (05:02 +0000)]
Bump qs from 6.10.0 to 6.10.1

Bumps [qs](https://github.com/ljharb/qs) from 6.10.0 to 6.10.1.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.10.0...v6.10.1)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoAdded place=archipelago to en.yml
Morten Bruhn [Sun, 21 Mar 2021 18:33:30 +0000 (19:33 +0100)]
Added place=archipelago to en.yml

3 years agoAdded natural=atoll to en.yml
Morten Bruhn [Sun, 21 Mar 2021 18:31:17 +0000 (19:31 +0100)]
Added natural=atoll to en.yml

3 years agoMerge remote-tracking branch 'upstream/pull/3141'
Tom Hughes [Sun, 21 Mar 2021 15:07:59 +0000 (15:07 +0000)]
Merge remote-tracking branch 'upstream/pull/3141'

3 years agoHandle errors checking for gravatars
Tom Hughes [Sun, 21 Mar 2021 10:21:25 +0000 (10:21 +0000)]
Handle errors checking for gravatars

3 years agoBump qs from 6.9.6 to 6.10.0
dependabot[bot] [Fri, 19 Mar 2021 05:02:29 +0000 (05:02 +0000)]
Bump qs from 6.9.6 to 6.10.0

Bumps [qs](https://github.com/ljharb/qs) from 6.9.6 to 6.10.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.9.6...v6.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 18 Mar 2021 12:49:53 +0000 (13:49 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoMerge remote-tracking branch 'upstream/pull/3140'
Tom Hughes [Wed, 17 Mar 2021 19:11:35 +0000 (19:11 +0000)]
Merge remote-tracking branch 'upstream/pull/3140'

3 years agoUse list-inline to achieve spacing between elements on a line
Andy Allan [Wed, 17 Mar 2021 18:57:36 +0000 (18:57 +0000)]
Use list-inline to achieve spacing between elements on a line

This is a better solution than spans and margins. Additionally, rework
to use mb-* instead of my-* (bootstrap advises against using margin-top)
and get rid of <br>s by using paragraphs instead.

3 years agoMerge remote-tracking branch 'upstream/pull/3124'
Tom Hughes [Wed, 17 Mar 2021 18:17:49 +0000 (18:17 +0000)]
Merge remote-tracking branch 'upstream/pull/3124'

3 years agoMerge remote-tracking branch 'upstream/pull/3138'
Tom Hughes [Wed, 17 Mar 2021 18:16:15 +0000 (18:16 +0000)]
Merge remote-tracking branch 'upstream/pull/3138'

3 years agoMerge remote-tracking branch 'upstream/pull/3139'
Tom Hughes [Wed, 17 Mar 2021 18:14:40 +0000 (18:14 +0000)]
Merge remote-tracking branch 'upstream/pull/3139'

3 years agoRefactor traces list display
Andy Allan [Wed, 17 Mar 2021 17:57:18 +0000 (17:57 +0000)]
Refactor traces list display

Ideas taken from #3036

3 years agoUse .add method for adding errors
Andy Allan [Wed, 17 Mar 2021 17:02:32 +0000 (17:02 +0000)]
Use .add method for adding errors

This avoids a deprecation warning on rails 6.1

3 years agoMerge branch 'pull/3112'
Andy Allan [Wed, 17 Mar 2021 16:07:43 +0000 (16:07 +0000)]
Merge branch 'pull/3112'

3 years agoRemove unused translations
Andy Allan [Wed, 17 Mar 2021 16:06:26 +0000 (16:06 +0000)]
Remove unused translations

3 years agoMerge remote-tracking branch 'upstream/pull/3137'
Tom Hughes [Wed, 17 Mar 2021 15:56:27 +0000 (15:56 +0000)]
Merge remote-tracking branch 'upstream/pull/3137'

3 years agoUpdate code example to follow rubocop recommendations
Andy Allan [Wed, 17 Mar 2021 15:37:55 +0000 (15:37 +0000)]
Update code example to follow rubocop recommendations

Just for consistency with what you would see elsewhere in the codebase

3 years agoUpdate bundle
Tom Hughes [Tue, 16 Mar 2021 11:56:43 +0000 (11:56 +0000)]
Update bundle

3 years agoMerge remote-tracking branch 'upstream/pull/3133'
Tom Hughes [Tue, 16 Mar 2021 11:07:47 +0000 (11:07 +0000)]
Merge remote-tracking branch 'upstream/pull/3133'

3 years agoMerge remote-tracking branch 'upstream/pull/3132'
Tom Hughes [Tue, 16 Mar 2021 11:07:45 +0000 (11:07 +0000)]
Merge remote-tracking branch 'upstream/pull/3132'

3 years agoReject referers that do not include an absolute path
Tom Hughes [Tue, 16 Mar 2021 11:06:18 +0000 (11:06 +0000)]
Reject referers that do not include an absolute path

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 15 Mar 2021 18:08:21 +0000 (19:08 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoBump eslint from 7.21.0 to 7.22.0
dependabot[bot] [Mon, 15 Mar 2021 05:02:22 +0000 (05:02 +0000)]
Bump eslint from 7.21.0 to 7.22.0

Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.22.0)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoBump leaflet.locatecontrol from 0.72.2 to 0.73.0
dependabot[bot] [Mon, 15 Mar 2021 05:02:04 +0000 (05:02 +0000)]
Bump leaflet.locatecontrol from 0.72.2 to 0.73.0

Bumps [leaflet.locatecontrol](https://github.com/domoritz/leaflet-locatecontrol) from 0.72.2 to 0.73.0.
- [Release notes](https://github.com/domoritz/leaflet-locatecontrol/releases)
- [Changelog](https://github.com/domoritz/leaflet-locatecontrol/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/domoritz/leaflet-locatecontrol/compare/v0.72.2...v0.73.0)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoAllow form submission to any location from the login page
Tom Hughes [Sun, 14 Mar 2021 10:18:32 +0000 (10:18 +0000)]
Allow form submission to any location from the login page

This allows openid login to work on browsers like chrome that enforce
the form-action rule for redirect POST requests.

Fixes #3131

3 years agoMerge remote-tracking branch 'upstream/pull/3130'
Tom Hughes [Sun, 14 Mar 2021 09:41:59 +0000 (09:41 +0000)]
Merge remote-tracking branch 'upstream/pull/3130'

3 years agoRemove GL and SH cantonal WMS servers from black list
Simon Poole [Sat, 13 Mar 2021 19:25:43 +0000 (20:25 +0100)]
Remove GL and SH cantonal WMS servers from black list

The previously restrictively licensed material is now available on relatively open terms directly from swisstopo per 1. March 2021, so these entries can be removed.

3 years agoChasing parse errors
Michal Migurski [Sat, 27 Feb 2021 05:01:57 +0000 (21:01 -0800)]
Chasing parse errors

3 years agoAdded missing translation
Michal Migurski [Sat, 27 Feb 2021 05:00:46 +0000 (21:00 -0800)]
Added missing translation

3 years agoSwitched to hash rockets syntax per erblint feedback
Michal Migurski [Sat, 27 Feb 2021 04:56:56 +0000 (20:56 -0800)]
Switched to hash rockets syntax per erblint feedback

3 years agoReplaced H2 messages header links with Bootstrap nav links
Michal Migurski [Sat, 27 Feb 2021 04:32:48 +0000 (20:32 -0800)]
Replaced H2 messages header links with Bootstrap nav links

Following suggestion from https://github.com/openstreetmap/openstreetmap-website/issues/2962#issuecomment-768985393

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Fri, 12 Mar 2021 06:06:49 +0000 (07:06 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoMerge remote-tracking branch 'upstream/pull/3125'
Tom Hughes [Wed, 10 Mar 2021 14:55:58 +0000 (14:55 +0000)]
Merge remote-tracking branch 'upstream/pull/3125'

3 years agoUse login_path instead of explicit controller and actions
Andy Allan [Wed, 10 Mar 2021 14:14:36 +0000 (14:14 +0000)]
Use login_path instead of explicit controller and actions

This makes future refactoring easier.

3 years agoUpdate bundle
Tom Hughes [Wed, 10 Mar 2021 10:38:13 +0000 (10:38 +0000)]
Update bundle

3 years agoAdded natural=peninsula
Morten Bruhn [Tue, 9 Mar 2021 19:44:21 +0000 (20:44 +0100)]
Added natural=peninsula

3 years agoAdded natural=coastline
Morten Bruhn [Tue, 9 Mar 2021 19:42:57 +0000 (20:42 +0100)]
Added natural=coastline

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 8 Mar 2021 14:57:34 +0000 (15:57 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoMerge remote-tracking branch 'upstream/pull/3118'
Tom Hughes [Fri, 5 Mar 2021 15:50:34 +0000 (15:50 +0000)]
Merge remote-tracking branch 'upstream/pull/3118'