Commit Graph

964 Commits (renovate/eslint-plugin-jsdoc-51.x)

Author SHA1 Message Date
Matt Jankowski 0d397db5dd
Consolidate system specs into single directory, use rspec tags for configuration (#30206) 1 year ago
Claire 996292cd55
Fix `db:encryption:init` requiring ActiveRecord encryption variables to be set (#30202) 1 year ago
Claire 33368e3e79
Change ActiveRecordEncryption variable to be more explicit (#30151) 1 year ago
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 (#28325)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Shlee 40d7a553d2
Minor phrasing on tootcli statuses remove (#30122) 1 year ago
Matt Jankowski f1a4b4e228
Disable `Style/SignalException` cop (#30064) 1 year ago
renovate[bot] 483fabf48a
Update dependency http to '~> 5.2.0' (#30027)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Tim Rogers 1ca6ff8ca5
Fixed crash when supplying FFMPEG_BINARY environment variable (#30022) 1 year ago
Matt Jankowski 2ec9bff36e
Fix Rubocop `Rails/UniqueValidationWithoutIndex` cop (#27461)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 828299e71c
Enable AR Encryption (#29831) 1 year ago
Matt Jankowski 9ae2594726
Add reusable duplicate ID finder methods in maintenance CLI (#28910) 1 year ago
Matt Jankowski 0d9ad96d3f
Rename `PremailerWebpackStrategy` -> `PremailerBundledAssetStrategy` (#29934) 1 year ago
Matt Jankowski bf5d948237
Fix `Style/SingleArgumentDig` cop in webpacker/manifest_extensions (#29929) 1 year ago
Matt Jankowski 4565015615
Fix `Style/MapIntoArray` cop in cli progress helper (#29884) 1 year ago
Matt Jankowski 4948a063d2
Use `tt` extension for form scaffold template (#29676) 1 year ago
Matt Jankowski edde54e991
Update stoplight to version 4.1.0 (#28366) 1 year ago
Claire d71d26a3c9
Reattribute notification-related records if possible when merging accounts (#29694) 1 year ago
Claire 70a8fcf07d
Fix notification policy migration not preserving `filter_private_mentions` correctly (#29699) 1 year ago
Matt Jankowski 718ee72c80
Use `db_table_exists?` method in new cli/maintenance area (#29677) 1 year ago
Matt Jankowski cdd168f5d3
Update `enum` away from deprecated (#29678) 1 year ago
Claire 44bf7b8128
Add notifications of severed relationships (#27511) 1 year ago
Matt Jankowski 4f4132f1a1
Add diagnostic message for failure during CLI search deploy (#29462) 1 year ago
Matt Jankowski df6086d402
Extract file size sql calc from media storage cli (#29577) 1 year ago
Matt Jankowski 14aa7f1e15
Use `Account.activitypub` generated scope (#28157) 1 year ago
Matt Jankowski 19cbadfbd6
Use enum-generated scope for `IpBlock` in CLI (#28144) 1 year ago
Matt Jankowski a38e424185
Use unchanging github links in docs/comments (#29545) 1 year ago
Claire cfa71a4d16
Fix admin account created by `mastodon:setup` not being auto-approved (#29379) 1 year ago
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 1 year ago
Claire 5f21a1f5a3
Bump version to v4.3.0-alpha.3 (#29241) 1 year ago
Claire 8e8e0f104f
Bump version to v4.3.0-alpha.2 (#29200) 1 year ago
Claire 554e2a019e
Add `sidekiq_unique_jobs:delete_all_locks` task and disable `sidekiq-unique-jobs` UI by default (#29199) 1 year ago
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
1 year ago
Matt Jankowski adcd693b71
Use existing `MediaAttachment.remote` scope in media CLI (#28912) 1 year ago
Matt Jankowski 0e0a94f483
Handle CLI failure exit status at the top-level script (#28322) 2 years ago
Matt Jankowski 4cdf62e576
Extract `rebuild_index` method in maintenance CLI (#28911) 2 years ago
Matt Jankowski 274a48a9f4
Extract helper methods for db connection and table existence check in `CLI::Maintenance` task (#28281) 2 years ago
Matt Jankowski ca7053f19c
Consolidate db test prep steps to rake task (#28886) 2 years ago
Matt Jankowski 7a1f087659
Add `created_before` and `updated_before` scopes to `MediaAttachment` (#28869) 2 years ago
Matt Jankowski d03fe2bdee
N+1 fixes for CLI maintenance command (#28847) 2 years ago
Matt Jankowski defe5f4076
Fix `Rails/WhereExists` cop in lib/tasks (#28852) 2 years ago
Claire 93957daa50
Fix error when processing remote files with unusually long names (#28823) 2 years ago
Matt Jankowski 6a5d70e146
Update pre_migration_check postgres version requirement (#28800) 2 years ago
Matt Jankowski 2115bc52e4
Order by sql in `CLI::Maintenance` task (#28289) 2 years ago
Matt Jankowski 81e4e65610
Update links to upstream migration helpers, remove unused methods (#28781) 2 years ago
Matt Jankowski 127503eb2c
Fix `Rails/RakeEnvironment` cop (#28782) 2 years ago
Renaud Chaput 01b6c83c36
Add a new `@/` alias for the root frontend directory and use it where possible (#28753) 2 years ago
Claire 98b5f85f10
Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` (#28735) 2 years ago
Claire 6bbcd9348e
Switch from 48px weight 600 material symbol icons to 24px weight 400 icons (#28064) 2 years ago
Matt Jankowski df9e220364
Add JS console errors check (#28682) 2 years ago
Essem b6e353537b
Add new emojis from `jdecked/twemoji` 15.0 (#28404) 2 years ago
Matt Jankowski ea1c0feb86
Remove `add_column_with_default` migration helper (#28654) 2 years ago
gunchleoc 173953c23e
Fix ISO code for Canadian French (#26015)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski 202951e6d9
Use Arel `in_order_of` method to generate CASE for `DomainBlock.by_severity` (#28617) 2 years ago
Jean Boussier 5a6d533c53
Enable Rails 7.1 Marshalling format (#28609) 2 years ago
Matt Jankowski 1af5c37701
Use heredoc on federation CLI warning strings (#28578) 2 years ago
Matt Jankowski f92d8c654d
Standardize on Thor methods in CLI classes (#28566) 2 years ago
Matt Jankowski 5c769de096
Add spec coverage for `CLI::Media#remove_orphans` command (#28267) 2 years ago
Matt Jankowski 2463b53363
More duplicates in cli maintenance spec, misc bug fixes (#28449) 2 years ago
Matt Jankowski c7c727994a
Add spec for `CLI::Maintenance#fix_duplicates` (#28326) 2 years ago
Matt Jankowski 1c3b5f4a78
Fix reference to non-existent var in CLI maintenance command (#28363) 2 years ago
Matt Jankowski 8a3d8c6c14
Remove the `stub_stdout` wrapper around CLI specs (#28340) 2 years ago
Matt Jankowski 4a7395d989
Add `migrator_version` method to CLI maintenance script (#28323) 2 years ago
Matt Jankowski 253393f3a8
Only attempt to remove indexes that exist in `CLI::Maintenance` script (#28286) 2 years ago
Matt Jankowski 490e4969a1
Correct section naming in maintenance cli script (#28279) 2 years ago
Matt Jankowski 8de86eabbf
Add spec for `CLI::Domains#crawl` command (#28271) 2 years ago
Matt Jankowski 1d7b8234c9
Remove useless `reorder(nil)` call in `tootctl statuses` (#28141) 2 years ago
Matt Jankowski af66d3d836
Use `following` and `followers` scopes in CLI (#28154) 2 years ago
Matt Jankowski b3b009e6aa
Add spec coverage for `CLI::EmailDomainBlocks` commands (#28181) 2 years ago
Matt Jankowski 3bc437b99a
Fix `Style/RedundantParentheses` cop (#28176) 2 years ago
Matt Jankowski a98fccf84e
Fix `Style/SelfAssignment` cop (#28171) 2 years ago
Matt Jankowski 1564799952
Add spec coverage for media CLI `refresh` command (#28166) 2 years ago
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces (#28149) 2 years ago
Matt Jankowski b696ca6b1a
Move self destruct CLI command definition code to module (#28131) 2 years ago
Matt Jankowski a1636fce7f
Move lib/devise/* to lib/devise/strategies/* (#27638) 2 years ago
Matt Jankowski 31bef99b9e
Move lib/mastodon/premailer_webpack_strategy to lib/ (#27636) 2 years ago
Matt Jankowski e892efbc40
Configure elastic search integration with rspec tag (#27882) 2 years ago
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status (#27312) 2 years ago
Matt Jankowski c9204b792c
Fix `Rails/I18nLocaleTexts` cop (#27779) 2 years ago
Renaud Chaput 757d7c73c0
Upgrade to Yarn 4, remove support for Node 16 (#27073) 2 years ago
Matt Jankowski 370802ce48
Add coverage for `CLI::Maintenance#fix_duplicates` command (#25252) 2 years ago
Matt Jankowski 45770c9306
Fix `Performance/MapMethodChain` cop (#27744) 2 years ago
Matt Jankowski 2d39268bc5
Fix `Lint/OrAssignmentToConstant` cop (#27750) 2 years ago
Matt Jankowski 7ef56d6e50
Move json_ld context loaders to `config/initializers` (#27590) 2 years ago
Matt Jankowski 4aa05d45fc
Capture minimum postgres version 12 (#27528) 2 years ago
Claire fa65c8244f
Fix cache store pool config deprecation warnings (#27551) 2 years ago
Matt Jankowski e93a75f1a1
Rails 7.1 update (#25963) 2 years ago
Claire 379115e601
Add SELF_DESTRUCT env variable to process self-destructions in the background (#26439) 2 years ago
Claire 79a63201a9
Fix Layout/EmptyLineAfterGuardClause issues caused by merging an old PR (#27512) 2 years ago
Claire 44edf3aa91
Improve error handling in mastodon:setup task (#21464) 2 years ago
Matt Jankowski 65cd0700e4
Refactor domains cli to remove model call from regex (#25878) 2 years ago
Nick Schonning 8bb4706e11
Move migration_helpers Rubocop ignore to config (#24236) 2 years ago
Matt Jankowski 937dc42f10
Extract methods for file movement in `CLI::Upgrade` (#25120) 2 years ago
Claire f0c720cfc9
Bump version to v4.3.0-alpha.0 (#27022) 2 years ago
Claire 82eaa26d87
Update `tootctl maintenance fix-duplicates` to Mastodon v4.2.0 (#27147) 2 years ago
Claire 06444c86c7
Fix division by zero in video in bitrate computation code (#27129) 2 years ago
Claire 4fcc026f0f
Bump version to v4.2.0 (#27017) 2 years ago
Claire 890e334703
Add migration tests for negative settings (#27012) 2 years ago
Claire abcc0b38fa
Fix incorrect PostgreSQL version check (#26979) 2 years ago
Claire f4b780ba22
Bump version to v4.2.0-rc2 (#26974) 2 years ago
Eugen Rochko 0f3f9b611f
Change video bitrate to always fit within size limit (#26970) 2 years ago
Claire b90383d073
Bump version to v4.2.0-rc1 (#26916) 2 years ago
Jeong Arm 59af3c1310
Add PublicStatuses to tootctl search deploy --only option (#26896) 2 years ago
jsgoldstein 4d9186a48c
Add search tests (#26703) 2 years ago
Eugen Rochko 3a679844e4
Fix `account_id`, `max_id` and `min_id` params not working in search (#26847) 2 years ago
Claire ec48bc3610
Do not truncate backtrace when the `BACKTRACE` env variable is set (#26794) 2 years ago
Claire f80f426c57
Bump version to v4.2.0-beta3 (#26753) 2 years ago
Claire cddef4c485
Fix language settings for users having selected the `kmr` language (#26787) 2 years ago
Claire 16681e0f20
Add admin notifications for new Mastodon versions (#26582) 2 years ago
Eugen Rochko 01b87a1632
Change video compression parameters (#26631) 2 years ago
Claire f39847476c
Change the pre-release versioning scheme and associated environment variables (#26653) 2 years ago
jsgoldstein 30c191aaa0
Add new public status index (#26344)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Jaehong Kang 2dbbeedc94
Fix: Workaround to load MASTODON_VERSION_* in Docker. (#26591)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
yufushiro 3aac12981c
Fix unexpected audio stream transcoding when uploaded video is eligible to passthrough (#26608)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Nick Schonning b970ed6098
Update rubocop and rubocop-rspec (#26329) 2 years ago
Claire facfec1ba3
Bump version to v4.2.0-beta2 (#26579) 2 years ago
Claire e7bea8f004
Fix already initialized constant warning (#26542) 2 years ago
Renaud Chaput b95867ad1f
Allow setting a custom HTTP method in CacheBuster (#26528)
Co-authored-by: Jorijn Schrijvershof <jorijn@jorijn.com>
2 years ago
Claire dd049fc37a
Fix ES_PRESET not being applied to Chewy's internal index (#26489) 2 years ago
Claire 3a8370e1f4
Fix `repo:changelog` task matching strings that are not Pull Request identifiers (#26280) 2 years ago
Claire f5778caa3a
Add `ES_PRESET` option to customize numbers of shards and replicas (#26483)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Jeong Arm 496eb6f7a4
Add missing instances option to tootctl search deploy (#26461) 2 years ago
Claire dab54ccbba
Prepare v4.2.0-beta1 (#26339) 2 years ago
Eugen Rochko 0e2a4d3897
Fix adding column with default value taking longer on Postgres >= 11 (#26375) 2 years ago
Claire 6b896b20cc
Add primary key to preview_cards_statuses join table (includes deduplication migration) (#25243) 2 years ago
Claire 425d77f812
Fix crash in `tootctl status remove` and some old migrations (#26210) 2 years ago
Christian Schmidt f2257069b2
Fix AVIF attachments (#26264) 2 years ago
Claire 51768de16e
Bump version to v4.1.6 (#26272) 2 years ago
Christian Schmidt d76f79f647
Remove obsolete backport from Rails 7 (#26254) 2 years ago
Matt Jankowski 30f5ec7303
Rubocop fix: `Perfomance/UnfreezeString` (#26217) 2 years ago
Renaud Chaput 4d1b67f664
Add end-to-end (system) tests (#25461) 2 years ago
Misty De Méo 12a6cf569e
Storage: add :azure to remaining callers (#26080) 2 years ago
Claire b4e739ff0f
Change interaction modal in web UI (#26075)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Claire f2c683336b
Bump version to v4.1.5 (#26108) 2 years ago
Renaud Chaput 42698b4c5c
Fix the crossorigin attribute (#26096) 2 years ago
Matt Jankowski f831452037
Refactor `Snowflake` to avoid brakeman sql injection warnings (#25879) 2 years ago
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop (#25923) 2 years ago
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment (#23793) 2 years 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
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way (#23630)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire 0d70deee53
Add migration tests for user mail notification settings (#24277) 2 years ago
Matt Jankowski b9e34ef098
Migration warning helper, and only run in production env (#24253) 2 years ago
Claire 7f8e1bede4
Bump version to v4.1.1 (#24201) 2 years ago
Claire bdeb6ff180
Fix crash in `tootctl` commands making use of parallelization when Elasticsearch is enabled (#24182) 2 years ago
Nick Schonning aa947a143b
Regen rubocop-todo without Max shadowing (#24076) 2 years ago
Eugen Rochko f0e727f958
Add cache headers to static files served through Rails (#24120) 2 years ago
Nick Schonning 25d36b6edd
Autofix Rubocop Style/RedundantArgument (#23798) 2 years ago
Claire 1d0ad558ff
Change sidekiq-bulk's batch size from 10,000 to 1,000 jobs in one Redis call (#24034) 2 years ago
Nick Schonning e762a14c0a
Enable Rubocop Performance/DeleteSuffix (#24077) 2 years ago
Claire f432db7b9f
Fix sidekiq jobs not triggering Elasticsearch index updates (#24046) 2 years ago
9p4 b715bd8e53
Add refreshing many accounts at once with "tootctl accounts refresh" (#23304) 2 years ago
Jean byroot Boussier 922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations (#23616)
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2 years ago
Claire 8784498ebf
Fix tootctl accounts migrate error due to typo (#23567) 2 years ago
Claire 3a6451c867
Add support for incoming rich text (#23913) 2 years ago
Nick Schonning 8fd3fc404d
Autofix Rubocop Rails/RootPathnameMethods (#23760) 2 years ago