]>
git.openstreetmap.org Git - rails.git/log
Tom Hughes [Thu, 13 May 2021 18:28:26 +0000 (19:28 +0100)]
Fix rubocop Rake/MethodDefinitionInTask warnings
Tom Hughes [Thu, 13 May 2021 17:21:50 +0000 (18:21 +0100)]
Add ruby 3.0 to test matrix
translatewiki.net [Thu, 13 May 2021 11:54:27 +0000 (13:54 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Thu, 13 May 2021 11:29:55 +0000 (12:29 +0100)]
Merge remote-tracking branch 'upstream/pull/3193'
Tom Hughes [Tue, 11 May 2021 19:28:20 +0000 (20:28 +0100)]
Use image_processing macros to resize images
Tom Hughes [Tue, 29 Dec 2020 22:36:26 +0000 (22:36 +0000)]
Fix deprecation warnings
Tom Hughes [Thu, 10 Dec 2020 14:44:37 +0000 (14:44 +0000)]
Update to rails 6.1.3.2
Tom Hughes [Wed, 12 May 2021 10:53:34 +0000 (11:53 +0100)]
Merge remote-tracking branch 'upstream/pull/3195'
Andy Allan [Wed, 12 May 2021 10:16:44 +0000 (11:16 +0100)]
Add rubocop-rake
This checks the coding standards in our rake files.
Tom Hughes [Wed, 12 May 2021 07:22:26 +0000 (08:22 +0100)]
Merge remote-tracking branch 'upstream/pull/3194'
dependabot[bot] [Wed, 12 May 2021 05:33:28 +0000 (05:33 +0000)]
Bump actions/setup-ruby from 1 to 1.1.3
Bumps [actions/setup-ruby](https://github.com/actions/setup-ruby) from 1 to 1.1.3.
- [Release notes](https://github.com/actions/setup-ruby/releases)
- [Commits](https://github.com/actions/setup-ruby/compare/v1...v1.1.3)
Signed-off-by: dependabot[bot] <support@github.com>
Tom Hughes [Tue, 11 May 2021 14:49:48 +0000 (15:49 +0100)]
Fix calculation of friendship rate limit
Tom Hughes [Tue, 11 May 2021 11:02:05 +0000 (12:02 +0100)]
Add rate limiting to user friendships
Tom Hughes [Mon, 10 May 2021 19:17:15 +0000 (20:17 +0100)]
Drop monkey patch that is no longer needed with rails 6
Tom Hughes [Mon, 10 May 2021 08:50:41 +0000 (09:50 +0100)]
Drop monkey patch that is no longer required
translatewiki.net [Mon, 10 May 2021 12:13:33 +0000 (14:13 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Mon, 10 May 2021 07:16:56 +0000 (08:16 +0100)]
Update bundle
Tom Hughes [Mon, 10 May 2021 07:10:48 +0000 (08:10 +0100)]
Merge remote-tracking branch 'upstream/pull/3192'
dependabot[bot] [Mon, 10 May 2021 05:02:36 +0000 (05:02 +0000)]
Bump eslint from 7.25.0 to 7.26.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.26.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.25.0...v7.26.0)
Signed-off-by: dependabot[bot] <support@github.com>
translatewiki.net [Fri, 7 May 2021 09:02:24 +0000 (11:02 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Wed, 5 May 2021 18:06:37 +0000 (19:06 +0100)]
Update to rails 6.0.3.7
Tom Hughes [Tue, 4 May 2021 19:33:32 +0000 (20:33 +0100)]
Update bundle
translatewiki.net [Mon, 3 May 2021 13:30:00 +0000 (15:30 +0200)]
Localisation updates from https://translatewiki.net.
translatewiki.net [Fri, 30 Apr 2021 07:05:27 +0000 (09:05 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Thu, 29 Apr 2021 18:42:51 +0000 (19:42 +0100)]
Merge remote-tracking branch 'upstream/pull/3029'
Tom Hughes [Wed, 28 Apr 2021 17:59:34 +0000 (18:59 +0100)]
Merge remote-tracking branch 'upstream/pull/3187'
Tom Hughes [Wed, 28 Apr 2021 17:58:59 +0000 (18:58 +0100)]
Merge remote-tracking branch 'upstream/pull/3186'
Andy Allan [Wed, 28 Apr 2021 16:28:30 +0000 (17:28 +0100)]
Refactor user blocks information to use a dl
This also standardises the labels to have the colon, in common with
oauth_clients#show.
Andy Allan [Wed, 28 Apr 2021 15:03:57 +0000 (16:03 +0100)]
Merge branch 'pull/3146'
Andy Allan [Wed, 28 Apr 2021 15:01:03 +0000 (16:01 +0100)]
Move duration to its own line, so that it can be clearly labelled
Andy Allan [Wed, 28 Apr 2021 11:05:25 +0000 (12:05 +0100)]
Use the rake extension for remaining files, for consistency
Andy Allan [Wed, 28 Apr 2021 10:58:10 +0000 (11:58 +0100)]
Merge pull request #3104 from fredrik-lindseth/patch-1
Format openstreetmap.org/stats/data_stats
Andy Allan [Wed, 28 Apr 2021 09:36:09 +0000 (10:36 +0100)]
Merge pull request #3169 from harry-wood/empty-lists
Display message when the there are no notes/comments to display
Tom Hughes [Tue, 27 Apr 2021 17:52:58 +0000 (18:52 +0100)]
Update bundle
Tom Hughes [Mon, 26 Apr 2021 21:07:37 +0000 (22:07 +0100)]
Monkey patch oauth gem to avoid use of deprecated URI.unescape
Tom Hughes [Mon, 26 Apr 2021 21:06:19 +0000 (22:06 +0100)]
Handle UTF-8 correctly in monkey patched OAuth::Helper.escape
Fixes #3185
translatewiki.net [Mon, 26 Apr 2021 13:30:10 +0000 (15:30 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Mon, 26 Apr 2021 13:11:43 +0000 (14:11 +0100)]
Merge remote-tracking branch 'upstream/pull/3183'
dependabot[bot] [Mon, 26 Apr 2021 05:01:19 +0000 (05:01 +0000)]
Bump eslint from 7.24.0 to 7.25.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.24.0 to 7.25.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.24.0...v7.25.0)
Signed-off-by: dependabot[bot] <support@github.com>
Tom Hughes [Thu, 22 Apr 2021 18:20:25 +0000 (19:20 +0100)]
Fix some ruby 3 compatibility issues
Tom Hughes [Thu, 22 Apr 2021 18:08:37 +0000 (19:08 +0100)]
Update deadlock_retry gem for ruby 3 compatibility
Tom Hughes [Thu, 22 Apr 2021 17:53:27 +0000 (18:53 +0100)]
Monkey patch oauth gem to avoid use of deprecated URI.escape
Tom Hughes [Thu, 22 Apr 2021 17:25:34 +0000 (18:25 +0100)]
Drop dynamic_form gem which is no longer required
Tom Hughes [Thu, 22 Apr 2021 13:21:55 +0000 (13:21 +0000)]
Drop version constraint for debug_inspector
translatewiki.net [Thu, 22 Apr 2021 13:09:51 +0000 (15:09 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Tue, 20 Apr 2021 17:26:37 +0000 (18:26 +0100)]
Fix new rubocop warnings
Tom Hughes [Tue, 20 Apr 2021 17:23:13 +0000 (18:23 +0100)]
Update bundle
translatewiki.net [Mon, 19 Apr 2021 10:54:05 +0000 (12:54 +0200)]
Localisation updates from https://translatewiki.net.
translatewiki.net [Thu, 15 Apr 2021 11:12:33 +0000 (13:12 +0200)]
Localisation updates from https://translatewiki.net.
Andy Allan [Wed, 14 Apr 2021 15:13:29 +0000 (16:13 +0100)]
Merge branch 'pull/3164'
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.
Tom Hughes [Tue, 13 Apr 2021 18:19:25 +0000 (19:19 +0100)]
Update bundle
Tom Hughes [Tue, 13 Apr 2021 07:10:58 +0000 (08:10 +0100)]
Merge remote-tracking branch 'upstream/pull/3174'
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>
Tom Hughes [Mon, 12 Apr 2021 17:34:10 +0000 (18:34 +0100)]
Merge remote-tracking branch 'upstream/pull/3172'
translatewiki.net [Mon, 12 Apr 2021 13:54:04 +0000 (15:54 +0200)]
Localisation updates from https://translatewiki.net.
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>
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.
Michal Migurski [Fri, 9 Apr 2021 21:06:53 +0000 (14:06 -0700)]
Added test for user prefs JSON response
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.
Tom Hughes [Thu, 8 Apr 2021 18:27:47 +0000 (19:27 +0100)]
Update bundle
translatewiki.net [Thu, 8 Apr 2021 14:35:58 +0000 (16:35 +0200)]
Localisation updates from https://translatewiki.net.
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.
Michal Migurski [Thu, 8 Apr 2021 00:41:44 +0000 (17:41 -0700)]
Added root elements and dict support for preferences response
plarus [Wed, 7 Apr 2021 17:45:58 +0000 (19:45 +0200)]
Update manifest.json.erb
Change for minimal-ui
Tom Hughes [Wed, 7 Apr 2021 15:44:06 +0000 (16:44 +0100)]
Merge remote-tracking branch 'upstream/pull/3166'
Tom Hughes [Wed, 7 Apr 2021 15:42:14 +0000 (16:42 +0100)]
Merge remote-tracking branch 'upstream/pull/3165'
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
Andy Allan [Wed, 7 Apr 2021 15:04:59 +0000 (16:04 +0100)]
Move confirmation methods into ConfirmationsController
Andy Allan [Wed, 7 Apr 2021 13:39:12 +0000 (14:39 +0100)]
Split password reset functionality into PasswordsController
Michal Migurski [Wed, 7 Apr 2021 04:44:38 +0000 (21:44 -0700)]
Updated JSON response format per feedback
Michal Migurski [Wed, 7 Apr 2021 02:20:02 +0000 (19:20 -0700)]
Added JSON support to user preferences
Tom Hughes [Tue, 6 Apr 2021 18:45:55 +0000 (19:45 +0100)]
Update bundle
translatewiki.net [Mon, 5 Apr 2021 13:33:55 +0000 (15:33 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Thu, 1 Apr 2021 16:23:43 +0000 (17:23 +0100)]
Don't allow deleted users to be confirmed
translatewiki.net [Thu, 1 Apr 2021 11:48:14 +0000 (13:48 +0200)]
Localisation updates from https://translatewiki.net.
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
Tom Hughes [Wed, 31 Mar 2021 15:45:24 +0000 (16:45 +0100)]
Merge remote-tracking branch 'upstream/pull/3157'
Tom Hughes [Tue, 30 Mar 2021 17:26:23 +0000 (18:26 +0100)]
Switch GPX MIME type detection to use marcel
Tom Hughes [Tue, 30 Mar 2021 17:14:51 +0000 (18:14 +0100)]
Update to rails 6.0.3.6
Tom Hughes [Mon, 29 Mar 2021 19:31:24 +0000 (20:31 +0100)]
Add missing callbacks to session controller
translatewiki.net [Mon, 29 Mar 2021 16:02:25 +0000 (18:02 +0200)]
Localisation updates from https://translatewiki.net.
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
Tom Hughes [Mon, 29 Mar 2021 14:15:48 +0000 (15:15 +0100)]
Merge remote-tracking branch 'upstream/pull/3157'
Andy Allan [Mon, 29 Mar 2021 13:57:03 +0000 (14:57 +0100)]
Fix registration link
Fixes #3156
Tom Hughes [Mon, 29 Mar 2021 11:48:26 +0000 (12:48 +0100)]
Merge remote-tracking branch 'upstream/pull/3155'
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>
Tom Hughes [Thu, 25 Mar 2021 22:27:45 +0000 (22:27 +0000)]
Update bundle
Tom Hughes [Wed, 24 Mar 2021 21:14:41 +0000 (21:14 +0000)]
Merge remote-tracking branch 'upstream/pull/3152'
Andy Allan [Wed, 24 Mar 2021 20:55:30 +0000 (20:55 +0000)]
Prevent addition of style attributes to all elements
Tom Hughes [Wed, 24 Mar 2021 19:53:41 +0000 (19:53 +0000)]
Merge remote-tracking branch 'upstream/pull/3149'
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.
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
Andy Allan [Wed, 24 Mar 2021 17:55:15 +0000 (17:55 +0000)]
Add tests for richtext table classes
Tom Hughes [Wed, 24 Mar 2021 15:32:16 +0000 (15:32 +0000)]
Merge remote-tracking branch 'upstream/pull/3147'
Tom Hughes [Wed, 24 Mar 2021 15:32:13 +0000 (15:32 +0000)]
Merge remote-tracking branch 'upstream/pull/3148'
Andy Allan [Wed, 24 Mar 2021 13:45:18 +0000 (13:45 +0000)]
Bundle update for mimemagic yankage
Andy Allan [Wed, 24 Mar 2021 11:40:17 +0000 (11:40 +0000)]
Move sessions-related tests out of UsersControllerTest
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.
Tom Hughes [Tue, 23 Mar 2021 19:48:13 +0000 (19:48 +0000)]
Fix new rubocop warnings