Claire
3445bdfa45
Merge pull request from GHSA-9928-3cp5-93fm
...
* Fix attachments getting processed despite failing content-type validation
* Add a restrictive ImageMagick security policy tailored for Mastodon
* Fix misdetection of MP3 files with large cover art
* Reject unprocessable audio/video files instead of keeping them unchanged
2023-07-06 15:05:05 +02:00
Matt Jankowski
011006c01b
Fix RSpec/VerifiedDoubles
cop ( #25469 )
2023-06-22 14:55:22 +02:00
Claire
ecf17008e8
Fix user settings not getting validated ( #25508 )
2023-06-19 14:06:06 +01:00
Matt Jankowski
eb1f69c2d4
Update rubocop-rspec to version 2.22.0, fix RSpec/IndexedLet
cop ( #24698 )
2023-06-14 16:44:37 +02:00
Daniel M Brasil
4a994e5b50
Fix ArgumentError
in /api/v1/admin/accounts/:id/action
( #25386 )
2023-06-14 15:21:36 +02:00
Matt Jankowski
b47741bb29
Reduce factory data created in spec/models/trends/statuses spec ( #25410 )
2023-06-14 09:57:06 +02:00
Matt Jankowski
a3c439de66
Reduce RSpec/MultipleExpectations
cop max to 8 ( #25313 )
2023-06-10 18:38:22 +02:00
Matt Jankowski
c4eba4b0d9
Disable paperclip processing in specs ( #25359 )
2023-06-10 18:27:35 +02:00
Matt Jankowski
23d64073d0
Fix RSpec/MissingExampleGroupArgument cop ( #25310 )
2023-06-06 15:51:42 +02:00
Matt Jankowski
8e745a234c
Fix RSpec/DescribedClass
cop ( #25104 )
2023-06-06 13:58:33 +02:00
Matt Jankowski
0aebcd4761
Add coverage for DomainBlock#public_domain
method ( #25283 )
2023-06-06 13:34:04 +02:00
Claire
572086c8ad
Add support for importing lists ( #25203 )
2023-06-01 14:47:31 +02:00
Matt Jankowski
bc1dae0bc4
Fix RSpec/ExpectChange cop ( #25101 )
2023-05-24 11:23:40 +02:00
Matt Jankowski
3e747f0863
Fix RSpec/PredicateMatcher cop ( #25102 )
2023-05-23 16:49:11 +02:00
Emelia Smith
8b4d7b22ed
Allow reports with long comments from remote instances, but truncate ( #25028 )
2023-05-22 13:15:21 +02:00
Nick Schonning
c4f2b1e86a
Fix minor typos in comments and spec names ( #21831 )
2023-05-19 17:13:29 +02:00
Claire
99f1302cc3
Fix reports not being closed when performing batch suspensions ( #24988 )
2023-05-16 14:56:49 +02:00
Matt Jankowski
cf86cc68b7
Fix RSpec/InferredSpecType cop ( #24736 )
2023-05-04 05:49:53 +02:00
Matt Jankowski
8dec215a57
Fix RSpec/ContextWording cop ( #24739 )
2023-05-04 05:49:08 +02:00
Claire
f89b5c08b6
Fix own posts not getting delivered to own lists ( #24810 )
2023-05-03 19:17:40 +02:00
Matt Jankowski
916f204ec1
Fix Lint/ConstantDefinitionInBlock cop ( #24763 )
2023-05-03 10:32:30 +02:00
Matt Jankowski
b7e49e1a70
Fix Performance/MethodObjectAsBlock cop ( #24798 )
2023-05-03 10:30:54 +02:00
Matt Jankowski
3030a8b458
Fix Performance/TimesMap cop ( #24789 )
2023-05-02 18:07:16 +02:00
Claire
a247f77162
Change lists to be able to include accounts with pending follow requests ( #19727 )
2023-05-02 14:40:36 +02:00
Claire
abce7cf2b9
Rewrite import feature ( #21054 )
2023-05-02 12:08:48 +02:00
Matt Jankowski
7a395989b7
Enable local account key generation spec ( #24728 )
2023-04-30 02:28:52 +02:00
Matt Jankowski
f9fcde8205
Add pending spec for User.those_who_can ( #24724 )
2023-04-29 22:03:36 +02:00
Nick Schonning
b36ccb2fac
Autofix Rubocop RSpec/MatchArray ( #24675 )
2023-04-26 21:29:36 +02:00
Nick Schonning
16cc6bc400
Autofix Rubocop RSpec/MatchArray ( #24050 )
2023-04-26 20:21:54 +02:00
Heitor de Melo Cardozo
a34c422490
Change moderation search an account using the username with @ ( #24242 )
2023-04-17 14:16:36 +02:00
Christian Schmidt
41190c8172
Wrong type for user setting when default is defined by lambda ( #24321 )
2023-03-31 07:33:17 +02:00
Eugen Rochko
c75fccf033
Change user settings to be stored in a more optimal way ( #23630 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-03-30 14:44:00 +02:00
Christian Schmidt
7583523bf0
Replace Status#translatable?
with language matrix in separate endpoint ( #24037 )
2023-03-16 11:07:24 +01:00
Matt Jankowski
7a8257b638
Coverage improvement round-out following up previous work ( #23987 )
2023-03-10 13:33:30 +01:00
Matt Jankowski
db41d60d04
Pending example models minimal coverage ( #23912 )
2023-03-04 17:16:45 +01:00
Matt Jankowski
5676537303
Fabricator specs ( #23925 )
2023-03-04 17:12:09 +01:00
Matt Jankowski
c48dd42fa8
Misc coverage improvements for validators ( #23928 )
2023-03-04 17:00:00 +01:00
Matt Jankowski
bf674337d9
Models specs coverage ( #23940 )
2023-03-04 16:43:47 +01:00
Christian Schmidt
cc0c37cd69
Only offer translation for supported languages ( #23879 )
2023-03-03 21:06:31 +01:00
Matt Jankowski
35cbd0685d
Fix deprecation warning about merging conditions ( #23618 )
2023-03-02 16:21:04 +01:00
Matt Jankowski
385ae6681d
Fix single-record invalid condition on PollVote ( #23810 )
2023-02-27 09:31:15 +01:00
Nick Schonning
dd46810e8a
Enable Style/FrozenStringLiteralComment for specs ( #23790 )
2023-02-22 09:55:31 +09:00
Nick Schonning
e6312104c7
Autofix Rubocop remaining Layout rules ( #23679 )
2023-02-20 06:58:28 +01:00
Nick Schonning
a4cbfac4d9
Autofix Rubocop RSpec/BeEq ( #23740 )
2023-02-20 06:14:50 +01:00
Nick Schonning
c0f0c42326
Audofix Rubocop Style/WordArray ( #23739 )
2023-02-20 06:14:10 +01:00
Nick Schonning
754c417e29
Autofix Rubocop RSpec/LeadingSubject ( #23670 )
2023-02-20 13:24:14 +09:00
Nick Schonning
ac56c3971b
Autofix Rubocop RSpec/ImplicitSubject ( #23721 )
2023-02-20 05:00:48 +01:00
Nick Schonning
f6c4699d73
Autofix Rubocop RSpec/EmptyLineAfterSubject ( #23719 )
2023-02-20 02:46:00 +01:00
Nick Schonning
a25f6522da
Enable Rubocop RSpec/NotToNot ( #23723 )
2023-02-20 02:33:27 +01:00
Nick Schonning
be1ec56c6d
Autofix Rubocop Style/StringLiterals ( #23695 )
2023-02-19 07:38:14 +09:00