Commit Graph

680 Commits (644c5fddd8d04d3f59a2e9a716614bab748796c3)

Author SHA1 Message Date
Matt Jankowski f831452037
Refactor `Snowflake` to avoid brakeman sql injection warnings (#25879) 1 year ago
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop (#25923) 1 year ago
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment (#23793) 1 year ago
Claire 0051128387
Bump version to v4.1.4 (#25805) 2 years ago
Claire 71d44949bf
Fix branding:generate_app_icons failing because of disallowed ICO coder (#25794) 2 years ago
Claire 5e1752ce3f
Bump version to v4.1.3 (#25757) 2 years ago
Claire dc8f1fbd97
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
2 years ago
Claire 6d8e0fae3e
Merge pull request from GHSA-ccm4-vgcc-73hp
* Tighten allowed HTML in oEmbed-based preview cards

* Sanitize preview cards at render time

* Add `sandbox` attribute to preview card iframes
2 years ago
Claire fed9cbfd2b
Add hardened headers to user-uploaded files (#25756) 2 years ago
Claire c78280a8ce
Add translate="no" to outgoing mentions and links (#25524) 2 years ago
Matt Jankowski b5675e265e
Add coverage for `CLI::Feeds` command (#25319) 2 years ago
Matt Jankowski 07933db788
Add coverage for `CLI::Cache` command (#25238) 2 years ago
Nick Schonning c66250abf1
Autofix Rubocop Regex Style rules (#23690)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Jed Fox 768b00c4d0
Consistently use middle dot (·) instead of bullet (•) to separate items (#25248) 2 years ago
Matt Jankowski cd4f0feab8
Extract verify options method in search cli (#25121) 2 years ago
Matt Jankowski 35c1c3e57a
Add CLI area progress bar helper (#25208) 2 years ago
Matt Jankowski dc26140d54
Use thor methods instead of tty prompt in maintenance cli (#25207) 2 years ago
Matt Jankowski 1baf40077b
Fix FormatStringToken cop in CLI (#25122) 2 years ago
Matt Jankowski 80c7de9984
Fix Rails/WhereExists cop in CLI (#25123) 2 years ago
Matt Jankowski b7b96efd17
Extract helper method for error report in cli/accounts command (#25119) 2 years ago
Matt Jankowski 2cecb2dc9e
Increment index which was previously not used in maintenance CLI loop (#25118) 2 years ago
Matt Jankowski ec9bc7e604
Consistent usage of CLI `dry_run?` method (#25116) 2 years ago
Matt Jankowski 55785b1603
Extract methods for user de-duping in maintenance CLI (#25117) 2 years ago
Claire 1d588d58f1
Improve various queries against account domains (#25126) 2 years ago
Matt Jankowski 384345b0de
Add CLI Base class for command line code (#25106) 2 years ago
Matt Jankowski b6b4ea4ca5
Move the mastodon/*_cli files to mastodon/cli/* (#24139) 2 years ago
Nick Schonning 99e2e9b81f
Fix minor typos in comments and spec names (#21831) 2 years ago
Daniel M Brasil 536dd046d4
Add ability to block sign-ups from IP using the CLI (#24870) 2 years ago
Daniel M Brasil ffb3fef7db
Fix uncaught `ActiveRecord::StatementInvalid` in Mastodon::IpBlocksCLI (#24861) 2 years ago
Renaud Chaput 830e6cefae
Add version suffixes to nightly & edge image builds (#24823) 2 years ago
Nick Schonning 569b39256b
Bump rubocop-rails 2.19.1 with update .rubocop_todo.yml (#24469) 2 years ago
Nick Schonning da3bd913ae
Autofix Rubocop Style/HashSyntax (#23754) 2 years ago
Matt Jankowski 2c6c398c60
Fix Performance/CollectionLiteralInLoop cop (#24819) 2 years ago
Matt Jankowski 24491abf6d
Fix Rails/DeprecatedActiveModelErrorsMethods cop (#24742) 2 years ago
Matt Jankowski 5e060e1f44
Fix Performance/Sum cop (#24788) 2 years ago
Claire 1ed0ff30d3
Fix `tootctl accounts cull` crashing when encountering a domain resolving to a private address (#23378) 2 years ago
Matt Jankowski 88d33f361f
Fix Lint/DuplicateBranch cop (#24766) 2 years ago
Daniel M Brasil e8fe941015
Fix `tootctl accounts approve --number N` not aproving N earliest registrations (#24605) 2 years ago
Matt Jankowski 2e43461100
Fix Rails/Output cop (#24687) 2 years ago
Matt Jankowski 60ac9e8634
Fix Rails/SquishedSQLHeredocs cop (#24694) 2 years ago
Daniel M Brasil 1d9969fadf
Fix `tootctl accounts create --reattach --force` not working with confirmed accounts (#24680) 2 years ago
Claire 528b8e7e3a
Fix crash in `tootctl accounts create --reattach --force` (#24557) 2 years ago
Daniel M Brasil faf657d709
Fix uncaught ActiveRecord::StatementInvalid exception in `Mastodon::AccountsCLI#approve` (#24590) 2 years ago
Eugen Rochko e98c86050a
Refactor `Cache-Control` and `Vary` definitions (#24347) 2 years ago
Daniel M Brasil 3afa1fda7a
Fix email confirmation skip option in `tootctl accounts modify USERNAME --email EMAIL --confirm` (#24578) 2 years ago
Daniel M Brasil b0800d602e
tootctl: add --approve option to tootctl accounts create (#24533) 2 years ago
Matt Jankowski a2a66300d9
Clean up the post deployment migration generator (#24233) 2 years ago
Claire 3d8bd093b9
Bump version to v4.1.2 (#24427) 2 years ago
Claire 5c499f54e3
Change root Chewy strategy to emit a warning instead of erroring out in production mode (#24327) 2 years ago
Alison Wheeler 2f7c3cb628
Update redis_config.rb to remove warning message (#24352) 2 years ago