Commit Graph

798 Commits (961bb84e4c87555bbce930a87291938a988a483a)

Author SHA1 Message Date
Matt Jankowski af66d3d836
Use `following` and `followers` scopes in CLI ()
Matt Jankowski b3b009e6aa
Add spec coverage for `CLI::EmailDomainBlocks` commands ()
Matt Jankowski 3bc437b99a
Fix `Style/RedundantParentheses` cop ()
Matt Jankowski a98fccf84e
Fix `Style/SelfAssignment` cop ()
Matt Jankowski 1564799952
Add spec coverage for media CLI `refresh` command ()
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces ()
Matt Jankowski b696ca6b1a
Move self destruct CLI command definition code to module ()
Matt Jankowski a1636fce7f
Move lib/devise/* to lib/devise/strategies/* ()
Matt Jankowski 31bef99b9e
Move lib/mastodon/premailer_webpack_strategy to lib/ ()
Matt Jankowski e892efbc40
Configure elastic search integration with rspec tag ()
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status ()
Matt Jankowski c9204b792c
Fix `Rails/I18nLocaleTexts` cop ()
Renaud Chaput 757d7c73c0
Upgrade to Yarn 4, remove support for Node 16 ()
Matt Jankowski 370802ce48
Add coverage for `CLI::Maintenance#fix_duplicates` command ()
Matt Jankowski 45770c9306
Fix `Performance/MapMethodChain` cop ()
Matt Jankowski 2d39268bc5
Fix `Lint/OrAssignmentToConstant` cop ()
Matt Jankowski 7ef56d6e50
Move json_ld context loaders to `config/initializers` ()
Matt Jankowski 4aa05d45fc
Capture minimum postgres version 12 ()
Claire fa65c8244f
Fix cache store pool config deprecation warnings ()
Matt Jankowski e93a75f1a1
Rails 7.1 update ()
Claire 379115e601
Add SELF_DESTRUCT env variable to process self-destructions in the background ()
Claire 79a63201a9
Fix Layout/EmptyLineAfterGuardClause issues caused by merging an old PR ()
Claire 44edf3aa91
Improve error handling in mastodon:setup task ()
Matt Jankowski 65cd0700e4
Refactor domains cli to remove model call from regex ()
Nick Schonning 8bb4706e11
Move migration_helpers Rubocop ignore to config ()
Matt Jankowski 937dc42f10
Extract methods for file movement in `CLI::Upgrade` ()
Claire f0c720cfc9
Bump version to v4.3.0-alpha.0 ()
Claire 82eaa26d87
Update `tootctl maintenance fix-duplicates` to Mastodon v4.2.0 ()
Claire 06444c86c7
Fix division by zero in video in bitrate computation code ()
Claire 4fcc026f0f
Bump version to v4.2.0 ()
Claire 890e334703
Add migration tests for negative settings ()
Claire abcc0b38fa
Fix incorrect PostgreSQL version check ()
Claire f4b780ba22
Bump version to v4.2.0-rc2 ()
Eugen Rochko 0f3f9b611f
Change video bitrate to always fit within size limit ()
Claire b90383d073
Bump version to v4.2.0-rc1 ()
Jeong Arm 59af3c1310
Add PublicStatuses to tootctl search deploy --only option ()
jsgoldstein 4d9186a48c
Add search tests ()
Eugen Rochko 3a679844e4
Fix `account_id`, `max_id` and `min_id` params not working in search ()
Claire ec48bc3610
Do not truncate backtrace when the `BACKTRACE` env variable is set ()
Claire f80f426c57
Bump version to v4.2.0-beta3 ()
Claire cddef4c485
Fix language settings for users having selected the `kmr` language ()
Claire 16681e0f20
Add admin notifications for new Mastodon versions ()
Eugen Rochko 01b87a1632
Change video compression parameters ()
Claire f39847476c
Change the pre-release versioning scheme and associated environment variables ()
jsgoldstein 30c191aaa0
Add new public status index ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Jaehong Kang 2dbbeedc94
Fix: Workaround to load MASTODON_VERSION_* in Docker. ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
yufushiro 3aac12981c
Fix unexpected audio stream transcoding when uploaded video is eligible to passthrough ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Nick Schonning b970ed6098
Update rubocop and rubocop-rspec ()
Claire facfec1ba3
Bump version to v4.2.0-beta2 ()
Claire e7bea8f004
Fix already initialized constant warning ()
Renaud Chaput b95867ad1f
Allow setting a custom HTTP method in CacheBuster ()
Co-authored-by: Jorijn Schrijvershof <jorijn@jorijn.com>
Claire dd049fc37a
Fix ES_PRESET not being applied to Chewy's internal index ()
Claire 3a8370e1f4
Fix `repo:changelog` task matching strings that are not Pull Request identifiers ()
Claire f5778caa3a
Add `ES_PRESET` option to customize numbers of shards and replicas ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Jeong Arm 496eb6f7a4
Add missing instances option to tootctl search deploy ()
Claire dab54ccbba
Prepare v4.2.0-beta1 ()
Eugen Rochko 0e2a4d3897
Fix adding column with default value taking longer on Postgres >= 11 ()
Claire 6b896b20cc
Add primary key to preview_cards_statuses join table (includes deduplication migration) ()
Claire 425d77f812
Fix crash in `tootctl status remove` and some old migrations ()
Christian Schmidt f2257069b2
Fix AVIF attachments ()
Claire 51768de16e
Bump version to v4.1.6 ()
Christian Schmidt d76f79f647
Remove obsolete backport from Rails 7 ()
Matt Jankowski 30f5ec7303
Rubocop fix: `Perfomance/UnfreezeString` ()
Renaud Chaput 4d1b67f664
Add end-to-end (system) tests ()
Misty De Méo 12a6cf569e
Storage: add :azure to remaining callers ()
Claire b4e739ff0f
Change interaction modal in web UI ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Claire f2c683336b
Bump version to v4.1.5 ()
Renaud Chaput 42698b4c5c
Fix the crossorigin attribute ()
Matt Jankowski f831452037
Refactor `Snowflake` to avoid brakeman sql injection warnings ()
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop ()
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment ()
Claire 0051128387
Bump version to v4.1.4 ()
Claire 71d44949bf
Fix branding:generate_app_icons failing because of disallowed ICO coder ()
Claire 5e1752ce3f
Bump version to v4.1.3 ()
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
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
Claire fed9cbfd2b
Add hardened headers to user-uploaded files ()
Claire c78280a8ce
Add translate="no" to outgoing mentions and links ()
Matt Jankowski b5675e265e
Add coverage for `CLI::Feeds` command ()
Matt Jankowski 07933db788
Add coverage for `CLI::Cache` command ()
Nick Schonning c66250abf1
Autofix Rubocop Regex Style rules ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Jed Fox 768b00c4d0
Consistently use middle dot (·) instead of bullet (•) to separate items ()
Matt Jankowski cd4f0feab8
Extract verify options method in search cli ()
Matt Jankowski 35c1c3e57a
Add CLI area progress bar helper ()
Matt Jankowski dc26140d54
Use thor methods instead of tty prompt in maintenance cli ()
Matt Jankowski 1baf40077b
Fix FormatStringToken cop in CLI ()
Matt Jankowski 80c7de9984
Fix Rails/WhereExists cop in CLI ()
Matt Jankowski b7b96efd17
Extract helper method for error report in cli/accounts command ()
Matt Jankowski 2cecb2dc9e
Increment index which was previously not used in maintenance CLI loop ()
Matt Jankowski ec9bc7e604
Consistent usage of CLI `dry_run?` method ()
Matt Jankowski 55785b1603
Extract methods for user de-duping in maintenance CLI ()
Claire 1d588d58f1
Improve various queries against account domains ()
Matt Jankowski 384345b0de
Add CLI Base class for command line code ()
Matt Jankowski b6b4ea4ca5
Move the mastodon/*_cli files to mastodon/cli/* ()
Nick Schonning 99e2e9b81f
Fix minor typos in comments and spec names ()
Daniel M Brasil 536dd046d4
Add ability to block sign-ups from IP using the CLI ()
Daniel M Brasil ffb3fef7db
Fix uncaught `ActiveRecord::StatementInvalid` in Mastodon::IpBlocksCLI ()
Renaud Chaput 830e6cefae
Add version suffixes to nightly & edge image builds ()
Nick Schonning 569b39256b
Bump rubocop-rails 2.19.1 with update .rubocop_todo.yml ()
Nick Schonning da3bd913ae
Autofix Rubocop Style/HashSyntax ()