Commit Graph

450 Commits (9c68741f464b7cffa8b70a6be38cd333a795672b)

Author SHA1 Message Date
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status () 2023-11-13 09:58:28 +00:00
Matt Jankowski c501d626e8
Fix `Rails/BulkChangeTable` cop () 2023-11-06 16:15:48 +00:00
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop () 2023-10-19 16:55:06 +02:00
Matt Jankowski a1b27d8b61
Fix `Naming/VariableNumber` cop () 2023-10-18 14:26:22 +02:00
Claire 890e334703
Add migration tests for negative settings () 2023-09-21 12:33:30 +02:00
Claire abcc0b38fa
Fix incorrect PostgreSQL version check () 2023-09-19 17:31:58 +02:00
Claire 81caafbe84
Fix performances of profile directory () 2023-09-07 18:55:25 +02:00
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings () 2023-09-05 15:37:23 +02:00
Claire cddef4c485
Fix language settings for users having selected the `kmr` language () 2023-09-04 17:56:31 +02:00
Claire 16681e0f20
Add admin notifications for new Mastodon versions () 2023-09-01 17:47:07 +02:00
Claire 1471be8225
Fix `AddUniqueIndexOnPreviewCardsStatuses` migration requiring PostgreSQL 12+ in some cases () 2023-08-31 15:47:30 +02:00
Claire ee702e36e5
Change follow recommendation materialized view to be faster in most cases ()
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-08-18 18:20:55 +02:00
Claire 90ec88d58b
Add support for `indexable` attribute on remote actors ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-08-14 18:54:51 +02:00
Claire 8c7f3c5332
Remove old non-unique index on preview_cards statuses join table () 2023-08-14 09:38:08 +02:00
Matt Jankowski 271d384fd0
Use migration classes in migrations where current definition conflicts with older () 2023-08-09 11:26:42 +02:00
Claire 4773d7b9aa
Fix `preview_cards_statuses_pkey` not being reindexed concurrently () 2023-08-08 11:41:53 +02:00
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails () 2023-08-03 15:41:51 +02:00
Claire 6b896b20cc
Add primary key to preview_cards_statuses join table (includes deduplication migration) () 2023-08-03 11:12:52 +02:00
Claire 425d77f812
Fix crash in `tootctl status remove` and some old migrations () 2023-08-02 20:54:56 +02:00
Matt Jankowski a2dca50ef3
Use heredoc SQL blocks in `AddFromAccountIdToNotifications` migration () 2023-07-26 09:49:15 +02:00
Eugen Rochko 7bd8ef355c
Add `published_at` attribute to preview cards () 2023-07-25 13:40:35 +02:00
Christian Schmidt 3abe0fc5c8
Use valid email address for first account () 2023-07-23 15:58:19 +02:00
Matt Jankowski ce43ed144c
Rails 7.0 update () 2023-07-13 09:36:07 +02:00
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop () 2023-07-12 10:03:06 +02:00
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment () 2023-07-12 09:47:08 +02:00
Claire 12fa24a885
Fix forgotten unconfirmed_email migration file () 2023-07-04 11:25:29 +02:00
Claire e6a8faae81
Add users index on unconfirmed_email () 2023-07-02 19:41:35 +02:00
Claire 933ba1a3eb
Add superapp index on `oauth_applications` () 2023-07-02 16:56:16 +02:00
Eugen Rochko ba06a2f104
Revert "Rails 7 update" () 2023-07-02 11:14:22 +02:00
Matt Jankowski 50c2a03695
Rails 7 update () 2023-07-02 10:38:53 +02:00
Matt Jankowski c47cdf6e17
Add index to backups on `user_id` column () 2023-06-30 19:09:03 +02:00
Eugen Rochko 4c9406bdb0
Add time zone preference () 2023-06-10 03:29:37 +02:00
Claire f378f10404
Fix compatibility of recent migration with PostgreSQL 10 () 2023-06-07 01:53:50 +02:00
Eugen Rochko 4eda233e09
Add webhook templating ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-06-06 10:42:47 +02:00
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>
2023-06-05 09:37:02 +02:00
Claire fe84f7e323
Add missing primary keys to `accounts_tags` and `statuses_tags` () 2023-06-01 09:49:06 +02:00
Claire 1d588d58f1
Improve various queries against account domains () 2023-05-25 09:27:16 +02:00
Matt Jankowski 9f5deb310b
Fix Performance/MapCompact cop ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-05-23 10:49:12 +02:00
Claire 6693a4fe7c
Change lists to be able to include accounts with pending follow requests () 2023-05-02 14:40:36 +02:00
Claire 32a030dd74
Rewrite import feature () 2023-05-02 12:08:48 +02:00
Eugen Rochko 0ad2413b35
Fix n+1 query in settings migration () 2023-05-02 10:26:39 +02:00
Eugen Rochko f1c1fa1411
Fix transaction around settings migration () 2023-05-01 17:45:18 +02:00
Matt Jankowski 60ac9e8634
Fix Rails/SquishedSQLHeredocs cop () 2023-04-30 06:43:50 +02:00
Nick Schonning 49fad26eca
Drop EOL Ruby 2.7 () 2023-04-27 01:46:18 +02:00
Claire 369f239f7b
Fix user settings migration script failing in some cases () 2023-04-07 11:55:15 +02:00
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-03-30 14:44:00 +02:00
Robert R George 782669a042
Wrap db:setup with Chewy.strategy(:mastodon) () 2023-03-29 09:58:27 +02:00
Claire c0e87ad8ed
Update strong-migrations-enabled migrations from 5.0 and 5.1 to 5.2 () 2023-03-27 16:09:10 +02:00
Matt Jankowski 3557a65bb2
Reset model in migration after removing column () 2023-03-26 00:40:36 +01:00
Matt Jankowski b9e34ef098
Migration warning helper, and only run in production env () 2023-03-26 00:39:24 +01:00