Commit graph

407 commits

Author SHA1 Message Date
Matt Jankowski
c97b611b6b
Fix RSpec/InferredSpecType cop () 2023-05-04 05:49:53 +02:00
Matt Jankowski
710745e16b
Fix RSpec/ContextWording cop () 2023-05-04 05:49:08 +02:00
Claire
1e75eb690d
Fix own posts not getting delivered to own lists () 2023-05-03 19:17:40 +02:00
Matt Jankowski
3df665fd23
Fix Lint/ConstantDefinitionInBlock cop () 2023-05-03 10:32:30 +02:00
Matt Jankowski
a0c9f2447e
Fix Performance/MethodObjectAsBlock cop () 2023-05-03 10:30:54 +02:00
Matt Jankowski
570079f8ce
Fix Performance/TimesMap cop () 2023-05-02 18:07:16 +02:00
Claire
6693a4fe7c
Change lists to be able to include accounts with pending follow requests () 2023-05-02 14:40:36 +02:00
Claire
32a030dd74
Rewrite import feature () 2023-05-02 12:08:48 +02:00
Matt Jankowski
274d561430
Enable local account key generation spec () 2023-04-30 02:28:52 +02:00
Matt Jankowski
4cfe52635c
Add pending spec for User.those_who_can () 2023-04-29 22:03:36 +02:00
Nick Schonning
5841f1af8c
Autofix Rubocop RSpec/MatchArray () 2023-04-26 21:29:36 +02:00
Nick Schonning
a3393d0d07
Autofix Rubocop RSpec/MatchArray () 2023-04-26 20:21:54 +02:00
Heitor de Melo Cardozo
bc75e62ca6
Change moderation search an account using the username with @ () 2023-04-17 14:16:36 +02:00
Christian Schmidt
b4f38edf74
Wrong type for user setting when default is defined by lambda () 2023-03-31 07:33:17 +02:00
Eugen Rochko
a9b5598c97
Change user settings to be stored in a more optimal way ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-03-30 14:44:00 +02:00
Christian Schmidt
bd047acc35
Replace Status#translatable? with language matrix in separate endpoint () 2023-03-16 11:07:24 +01:00
Matt Jankowski
688287c59d
Coverage improvement round-out following up previous work () 2023-03-10 13:33:30 +01:00
Matt Jankowski
506b16cf59
Pending example models minimal coverage () 2023-03-04 17:16:45 +01:00
Matt Jankowski
cd99fa8ceb
Fabricator specs () 2023-03-04 17:12:09 +01:00
Matt Jankowski
c40d5e5a8f
Misc coverage improvements for validators () 2023-03-04 17:00:00 +01:00
Matt Jankowski
f9c2213ae5
Models specs coverage () 2023-03-04 16:43:47 +01:00
Christian Schmidt
5a8c651e8f
Only offer translation for supported languages () 2023-03-03 21:06:31 +01:00
Matt Jankowski
af578e8ce0
Fix deprecation warning about merging conditions () 2023-03-02 16:21:04 +01:00
Matt Jankowski
4bb39ac3c3
Fix single-record invalid condition on PollVote () 2023-02-27 09:31:15 +01:00
Nick Schonning
84cc805cae
Enable Style/FrozenStringLiteralComment for specs () 2023-02-22 09:55:31 +09:00
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
Nick Schonning
5116347eb7
Autofix Rubocop RSpec/BeEq () 2023-02-20 06:14:50 +01:00
Nick Schonning
bf785df9fe
Audofix Rubocop Style/WordArray () 2023-02-20 06:14:10 +01:00
Nick Schonning
4552685f6b
Autofix Rubocop RSpec/LeadingSubject () 2023-02-20 13:24:14 +09:00
Nick Schonning
38a1d8bb85
Autofix Rubocop RSpec/ImplicitSubject () 2023-02-20 05:00:48 +01:00
Nick Schonning
bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject () 2023-02-20 02:46:00 +01:00
Nick Schonning
65ba0d92ef
Enable Rubocop RSpec/NotToNot () 2023-02-20 02:33:27 +01:00
Nick Schonning
81ad6c2e39
Autofix Rubocop Style/StringLiterals () 2023-02-19 07:38:14 +09:00
Nick Schonning
ac3561098e
Autofix Rubocop RSpec/LetBeforeExamples () 2023-02-19 07:17:59 +09:00
Nick Schonning
3680e032b4
Autofix Rubocop RSpec/EmptyLineAfterFinalLet () 2023-02-19 07:10:19 +09:00
Nick Schonning
b4cbfff3eb
Autofix Rubocop RSpec/ExcessiveDocstringSpacing () 2023-02-18 12:47:37 +01:00
Nick Schonning
a7db0b41cd
Autofix Rubocop Lint/ParenthesesAsGroupedExpression () 2023-02-18 04:00:05 +01:00
Nick Schonning
c0a645f647
Autofix Rubocop RSpec/ExampleWording () 2023-02-18 03:26:20 +01:00
Nick Schonning
54318dcd6d
Autofix Rubocop RSpec/ClassCheck () 2023-02-18 03:24:16 +01:00
Nick Schonning
6d42820e5d
Autofix Rubocop Lint/AmbiguousOperator () 2023-02-18 03:22:01 +01:00
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length () 2023-02-18 06:56:20 +09:00
Nick Schonning
68b1071f86
Autofix Rubocop RSpec/BeNil () 2023-02-17 21:45:27 +09:00
Nick Schonning
0592937264
Apply Rubocop Rails/WhereNot ()
* Apply Rubocop Rails/WhereNot

* Update spec for where.not
2023-02-08 10:39:57 +01:00
Nick Schonning
ed570050c6
Autofix Rails/EagerEvaluationLogMessage ()
* Autofix Rails/EagerEvaluationLogMessage

* Update spec for debug block syntax
2023-02-07 03:44:36 +01:00
Claire
6883fddb19
Fix account activation being triggered before email confirmation ()
* Add tests

* Fix account activation being triggered before email confirmation

Fixes 
2023-01-24 19:40:21 +01:00
Partho Ghosh
115ab2869b
Fix ・ detection in hashtag regex to construct hashtag correctly ()
* Fix ・ detection in hashtag regex to construct hashtag correctly

* Fixed rubocop liniting issues

* More rubocop linting fix
2023-01-04 02:12:48 +01:00
Claire
70415714f1
Add follow request banner on account header ()
* Add requested_by to relationship maps

* Display whether an account has requested to follow you on their profile
2022-12-15 18:50:11 +01:00
Jeong Arm
d412147d02
Save avatar or header correctly even if other one fails ()
* Save avatar or header correctly if other one fails

* Fix test
2022-12-15 17:11:14 +01:00
Claire
b59fb28e90
Fix 500 error when trying to migrate to an invalid address ()
* Fix 500 error when trying to migrate to an invalid address

* Add tests
2022-12-07 02:35:39 +01:00
David Leadbeater
69378eac99
Don't allow URLs that contain non-normalized paths to be verified ()
* Don't allow URLs that contain non-normalized paths to be verified

This stops things like https://example.com/otheruser/../realuser where
"/otheruser" appears to be the verified URL, but the actual URL being
verified is "/realuser" due to the "/../".

Also fix a test to use 'https', so it is testing the right thing, now
that since  https is required.

* missing do
2022-11-20 19:28:13 +01:00