Commit Graph

853 Commits (3dc4ddc6631585813c1c5bce9e8679f101a03a56)

Author SHA1 Message Date
Matt Jankowski 0d9ad96d3f
Rename `PremailerWebpackStrategy` -> `PremailerBundledAssetStrategy` ()
Matt Jankowski bf5d948237
Fix `Style/SingleArgumentDig` cop in webpacker/manifest_extensions ()
Matt Jankowski 4565015615
Fix `Style/MapIntoArray` cop in cli progress helper ()
Matt Jankowski 4948a063d2
Use `tt` extension for form scaffold template ()
Matt Jankowski edde54e991
Update stoplight to version 4.1.0 ()
Claire d71d26a3c9
Reattribute notification-related records if possible when merging accounts ()
Claire 70a8fcf07d
Fix notification policy migration not preserving `filter_private_mentions` correctly ()
Matt Jankowski 718ee72c80
Use `db_table_exists?` method in new cli/maintenance area ()
Matt Jankowski cdd168f5d3
Update `enum` away from deprecated ()
Claire 44bf7b8128
Add notifications of severed relationships ()
Matt Jankowski 4f4132f1a1
Add diagnostic message for failure during CLI search deploy ()
Matt Jankowski df6086d402
Extract file size sql calc from media storage cli ()
Matt Jankowski 14aa7f1e15
Use `Account.activitypub` generated scope ()
Matt Jankowski 19cbadfbd6
Use enum-generated scope for `IpBlock` in CLI ()
Matt Jankowski a38e424185
Use unchanging github links in docs/comments ()
Claire cfa71a4d16
Fix admin account created by `mastodon:setup` not being auto-approved ()
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants ()
Claire 5f21a1f5a3
Bump version to v4.3.0-alpha.3 ()
Claire 8e8e0f104f
Bump version to v4.3.0-alpha.2 ()
Claire 554e2a019e
Add `sidekiq_unique_jobs:delete_all_locks` task and disable `sidekiq-unique-jobs` UI by default ()
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
Matt Jankowski adcd693b71
Use existing `MediaAttachment.remote` scope in media CLI ()
Matt Jankowski 0e0a94f483
Handle CLI failure exit status at the top-level script ()
Matt Jankowski 4cdf62e576
Extract `rebuild_index` method in maintenance CLI ()
Matt Jankowski 274a48a9f4
Extract helper methods for db connection and table existence check in `CLI::Maintenance` task ()
Matt Jankowski ca7053f19c
Consolidate db test prep steps to rake task ()
Matt Jankowski 7a1f087659
Add `created_before` and `updated_before` scopes to `MediaAttachment` ()
Matt Jankowski d03fe2bdee
N+1 fixes for CLI maintenance command ()
Matt Jankowski defe5f4076
Fix `Rails/WhereExists` cop in lib/tasks ()
Claire 93957daa50
Fix error when processing remote files with unusually long names ()
Matt Jankowski 6a5d70e146
Update pre_migration_check postgres version requirement ()
Matt Jankowski 2115bc52e4
Order by sql in `CLI::Maintenance` task ()
Matt Jankowski 81e4e65610
Update links to upstream migration helpers, remove unused methods ()
Matt Jankowski 127503eb2c
Fix `Rails/RakeEnvironment` cop ()
Renaud Chaput 01b6c83c36
Add a new `@/` alias for the root frontend directory and use it where possible ()
Claire 98b5f85f10
Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` ()
Claire 6bbcd9348e
Switch from 48px weight 600 material symbol icons to 24px weight 400 icons ()
Matt Jankowski df9e220364
Add JS console errors check ()
Essem b6e353537b
Add new emojis from `jdecked/twemoji` 15.0 ()
Matt Jankowski ea1c0feb86
Remove `add_column_with_default` migration helper ()
gunchleoc 173953c23e
Fix ISO code for Canadian French ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 202951e6d9
Use Arel `in_order_of` method to generate CASE for `DomainBlock.by_severity` ()
Jean Boussier 5a6d533c53
Enable Rails 7.1 Marshalling format ()
Matt Jankowski 1af5c37701
Use heredoc on federation CLI warning strings ()
Matt Jankowski f92d8c654d
Standardize on Thor methods in CLI classes ()
Matt Jankowski 5c769de096
Add spec coverage for `CLI::Media#remove_orphans` command ()
Matt Jankowski 2463b53363
More duplicates in cli maintenance spec, misc bug fixes ()
Matt Jankowski c7c727994a
Add spec for `CLI::Maintenance#fix_duplicates` ()
Matt Jankowski 1c3b5f4a78
Fix reference to non-existent var in CLI maintenance command ()
Matt Jankowski 8a3d8c6c14
Remove the `stub_stdout` wrapper around CLI specs ()
Matt Jankowski 4a7395d989
Add `migrator_version` method to CLI maintenance script ()
Matt Jankowski 253393f3a8
Only attempt to remove indexes that exist in `CLI::Maintenance` script ()
Matt Jankowski 490e4969a1
Correct section naming in maintenance cli script ()
Matt Jankowski 8de86eabbf
Add spec for `CLI::Domains#crawl` command ()
Matt Jankowski 1d7b8234c9
Remove useless `reorder(nil)` call in `tootctl statuses` ()
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>