Commit Graph

448 Commits (773133befab23d5336ad3036df23c1d33975f717)

Author SHA1 Message Date
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop ()
Matt Jankowski a1b27d8b61
Fix `Naming/VariableNumber` cop ()
Claire 890e334703
Add migration tests for negative settings ()
Claire abcc0b38fa
Fix incorrect PostgreSQL version check ()
Claire 81caafbe84
Fix performances of profile directory ()
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings ()
Claire cddef4c485
Fix language settings for users having selected the `kmr` language ()
Claire 16681e0f20
Add admin notifications for new Mastodon versions ()
Claire 1471be8225
Fix `AddUniqueIndexOnPreviewCardsStatuses` migration requiring PostgreSQL 12+ in some cases ()
Claire ee702e36e5
Change follow recommendation materialized view to be faster in most cases ()
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Claire 90ec88d58b
Add support for `indexable` attribute on remote actors ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Claire 8c7f3c5332
Remove old non-unique index on preview_cards statuses join table ()
Matt Jankowski 271d384fd0
Use migration classes in migrations where current definition conflicts with older ()
Claire 4773d7b9aa
Fix `preview_cards_statuses_pkey` not being reindexed concurrently ()
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails ()
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 ()
Matt Jankowski a2dca50ef3
Use heredoc SQL blocks in `AddFromAccountIdToNotifications` migration ()
Eugen Rochko 7bd8ef355c
Add `published_at` attribute to preview cards ()
Christian Schmidt 3abe0fc5c8
Use valid email address for first account ()
Matt Jankowski ce43ed144c
Rails 7.0 update ()
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop ()
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment ()
Claire 12fa24a885
Fix forgotten unconfirmed_email migration file ()
Claire e6a8faae81
Add users index on unconfirmed_email ()
Claire 933ba1a3eb
Add superapp index on `oauth_applications` ()
Eugen Rochko ba06a2f104
Revert "Rails 7 update" ()
Matt Jankowski 50c2a03695
Rails 7 update ()
Matt Jankowski c47cdf6e17
Add index to backups on `user_id` column ()
Eugen Rochko 4c9406bdb0
Add time zone preference ()
Claire f378f10404
Fix compatibility of recent migration with PostgreSQL 10 ()
Eugen Rochko 4eda233e09
Add webhook templating ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Darius Kazemi bacb674921
Add exclusive lists ()
Co-authored-by: Liam Cooke <liam@liamcooke.com>
Co-authored-by: John Holdun <john@johnholdun.com>
Co-authored-by: Effy Elden <effy@effy.space>
Co-authored-by: Lina Reyne <git@lina.pizza>
Co-authored-by: Lina <20880695+necropolina@users.noreply.github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire fe84f7e323
Add missing primary keys to `accounts_tags` and `statuses_tags` ()
Claire 1d588d58f1
Improve various queries against account domains ()
Matt Jankowski 9f5deb310b
Fix Performance/MapCompact cop ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 6693a4fe7c
Change lists to be able to include accounts with pending follow requests ()
Claire 32a030dd74
Rewrite import feature ()
Eugen Rochko 0ad2413b35
Fix n+1 query in settings migration ()
Eugen Rochko f1c1fa1411
Fix transaction around settings migration ()
Matt Jankowski 60ac9e8634
Fix Rails/SquishedSQLHeredocs cop ()
Nick Schonning 49fad26eca
Drop EOL Ruby 2.7 ()
Claire 369f239f7b
Fix user settings migration script failing in some cases ()
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Robert R George 782669a042
Wrap db:setup with Chewy.strategy(:mastodon) ()
Claire c0e87ad8ed
Update strong-migrations-enabled migrations from 5.0 and 5.1 to 5.2 ()
Matt Jankowski 3557a65bb2
Reset model in migration after removing column ()
Matt Jankowski b9e34ef098
Migration warning helper, and only run in production env ()
Jean byroot Boussier 922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations ()
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules ()