Tom Hughes
|
62bc77b790
|
Update rubocop todo
|
2023-04-11 17:52:49 +01:00 |
|
Tom Hughes
|
c3cc8eb687
|
Update rubocop todo
|
2023-01-03 19:13:14 +00:00 |
|
Tom Hughes
|
6033359bd0
|
Preserve rel=me on links in rich text
Fixes #3859
|
2022-12-29 18:02:23 +00:00 |
|
Tom Hughes
|
9cb7a7b36b
|
Don't allow any abilities for inactive users
|
2022-12-23 16:37:33 +00:00 |
|
Andy Allan
|
22946d703a
|
Enable the ActionOrder cop for remaining controllers
Where actions were reordered, the rails standard actions were
also moved to the top of each controller.
|
2022-11-02 11:06:00 +00:00 |
|
Tom Hughes
|
49cde0e901
|
Fix new rubocop warnings
|
2022-11-01 18:42:24 +00:00 |
|
Tom Hughes
|
460ed0c844
|
Fix new rubocop warnings
|
2022-10-25 19:19:57 +01:00 |
|
Tom Hughes
|
09263bc4a1
|
Cancel running queries when a timeout occurs
|
2022-09-21 22:47:16 +01:00 |
|
Andy Allan
|
561ee71129
|
Rubocop autofix: ambiguous operator precedence
This simply adds braces to clarify which mathematical operator comes
first.
|
2022-04-06 14:55:29 +01:00 |
|
Tom Hughes
|
5d67fa3908
|
Fix some Naming/AccessorMethodName rubocop warnings
|
2022-03-08 19:10:05 +00:00 |
|
Tom Hughes
|
cfb4a70129
|
Fix Lint/DuplicateBranch rubocop warnings
|
2022-03-08 19:05:37 +00:00 |
|
Tom Hughes
|
cbcc7dc49f
|
Fix some rubocop Naming/PredicateName warnings
|
2022-03-03 22:47:55 +00:00 |
|
Andy Allan
|
45487e1ff8
|
Merge branch 'pull/3472'
|
2022-03-02 15:00:25 +00:00 |
|
Tom Hughes
|
b5f06e06c1
|
Fix rubocop Rails/TimeZone warnings
|
2022-03-01 22:55:10 +00:00 |
|
Andy Allan
|
8938ab7997
|
Remove redundant presence validation on belongs_to
There's no need for us to have it when rails does this for us.
|
2022-03-01 10:01:16 +00:00 |
|
Tom Hughes
|
03fdc6d67f
|
Add inverse_of to relationships that can't detect it automatically
|
2022-02-23 19:23:51 +00:00 |
|
Tom Hughes
|
707ebddbb5
|
Remove form_action restrictions for ouath2_authorizations#create
Fixes #3424
|
2022-01-17 09:33:28 +00:00 |
|
Tom Hughes
|
8dc91ce6a6
|
Re-enable the Performance/StringIdentifierArgument cop
|
2022-01-04 19:10:16 +00:00 |
|
Tom Hughes
|
fea1b5b88d
|
Fix new rubocop warnings
|
2021-12-28 19:47:51 +00:00 |
|
Andy Allan
|
a8e8ba1a64
|
Refactor the account edit/update pages out into a separate accounts controller
|
2021-12-08 15:17:50 +00:00 |
|
Tom Hughes
|
c6b9f5af59
|
Drop customisation for Rails/ContentTag
|
2021-09-15 18:35:00 +01:00 |
|
Tom Hughes
|
8a9dbc94c8
|
Update rubocop todo and fix new warnings
|
2021-09-14 20:40:36 +01:00 |
|
Tom Hughes
|
a32b751fed
|
Remove some references to webmaster
|
2021-06-29 19:22:31 +01:00 |
|
Tom Hughes
|
e97eaed276
|
Fix new erblint warnings
|
2021-06-29 18:42:34 +01:00 |
|
Tom Hughes
|
d3c800fdb4
|
Fix new rubocop warnings
|
2021-06-29 18:29:00 +01:00 |
|
Tom Hughes
|
8d76be71bb
|
Merge remote-tracking branch 'upstream/pull/3177'
|
2021-06-24 08:43:18 +01:00 |
|
Tom Hughes
|
4a45092e27
|
Remove the Yahoo OpenID link as they no longer support OpenID
|
2021-06-17 22:33:05 +01:00 |
|
Tom Hughes
|
e222329d04
|
Add support for OAuth2 using doorkeeper
|
2021-05-18 12:05:32 +01:00 |
|
Tom Hughes
|
6db5b2e6f3
|
Fix rubocop Rake/MethodDefinitionInTask warnings
|
2021-05-13 19:28:26 +01:00 |
|
Andy Allan
|
8c1d561b94
|
Add rubocop-rake
This checks the coding standards in our rake files.
|
2021-05-12 11:19:21 +01:00 |
|
Andy Allan
|
f18baae22e
|
Refactor login/logout into sessions controller
Certain controller methods are shared with oauth-based logins, and these have been
moved to a concern.
|
2021-03-24 11:32:46 +00:00 |
|
Tom Hughes
|
4c2e4de5c0
|
Handle errors checking for gravatars
|
2021-03-21 10:24:53 +00:00 |
|
Andy Allan
|
38ad8fbc36
|
Use login_path instead of explicit controller and actions
This makes future refactoring easier.
|
2021-03-10 14:31:55 +00:00 |
|
Tom Hughes
|
5912a8011b
|
Update to Omniauth 2.x
This requires converting all use of the /auth endpoints
to use the POST method as GET is no longer supported.
|
2021-02-02 19:49:03 +00:00 |
|
Tom Hughes
|
812f5b44e8
|
Redirect after saving settings in case the username has changed
Fixes #3059
|
2021-01-19 18:57:34 +00:00 |
|
Tom Hughes
|
0654be27f9
|
Fix new rubocop warnings
|
2021-01-11 19:17:31 +00:00 |
|
Tom Hughes
|
0ff89c31e4
|
Remove both Potlatch versions
Fixes #2622
|
2021-01-05 21:18:45 +00:00 |
|
Andy Allan
|
4f304e2301
|
Remove SystemTimer and use stdlib Timeout directly
SystemTimer was only needed on ruby 1.8, and we dropped support for
that a long time ago.
|
2020-12-23 14:25:58 +00:00 |
|
Tom Hughes
|
99e537859a
|
Fix HTML escaping issues with user role icons
|
2020-11-13 15:13:37 +00:00 |
|
Tom Hughes
|
bfffe7ed96
|
Prefer string interpolation to concatenation
|
2020-11-13 11:32:28 +00:00 |
|
Tom Hughes
|
4347d9d3b0
|
Merge remote-tracking branch 'upstream/pull/2921' into master
|
2020-11-13 10:49:35 +00:00 |
|
Tom Hughes
|
582402ba8f
|
Prefer keyword arguments when method has optional boolean arguments
|
2020-11-13 10:22:55 +00:00 |
|
Andy Allan
|
78b9d92207
|
Prefer keyword arguments when method has optional boolean arguments
|
2020-11-12 11:24:44 +00:00 |
|
Andy Allan
|
1f242978af
|
Prefer keyword arguments when method has optional boolean arguments
|
2020-11-12 11:24:44 +00:00 |
|
Andy Allan
|
52c688f55a
|
Prefer string interpolation to concatenation
|
2020-10-28 17:15:14 +01:00 |
|
Tom Hughes
|
9690ef737c
|
Merge remote-tracking branch 'upstream/pull/2919' into master
|
2020-10-28 14:07:55 +00:00 |
|
Andy Allan
|
847536c80d
|
Avoid some uses of html_safe
We can use `html_safe` on non-interpolated strings, since that's trusted content.
|
2020-10-28 14:45:20 +01:00 |
|
Tom Hughes
|
93e49daee2
|
Merge remote-tracking branch 'upstream/pull/2918' into master
|
2020-10-28 11:29:57 +00:00 |
|
Andy Allan
|
da2277505f
|
Ensure that test utility methods are marked as private
This allows us to enable the check for test method names.
|
2020-10-28 11:49:01 +01:00 |
|
Andy Allan
|
c04d05686f
|
Resolve some extra-long lines
|
2020-10-28 11:07:34 +01:00 |
|