Commit Graph

484 Commits (5b5a35cf96de51b5ef44f69dcde1e3dc2acb9dd6)

Author SHA1 Message Date
Claire 00cf8d3748
Change older Paperclip database migrations for consistency ()
Claire 2bcbeed951
Add some error handling to OTP secret migration ()
Claire 1959365c2f
Add missing `on_delete: :cascade` on `notification_policies` ()
Claire 96fb6e491f
Revert "Migrate paperclip `_file_size` columns to bigint ()" ()
Matt Jankowski b152f936c1
Migrate paperclip `_file_size` columns to bigint ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski d9eee9bf9a
Remove column defaults for `status_pins` timestamp columns ()
Matt Jankowski 2ec9bff36e
Fix Rubocop `Rails/UniqueValidationWithoutIndex` cop ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 5915bd7f45
Fix development environment admin account not being auto-approved ()
Claire de740dfb9c
Use `upsert_all` and `insert_all` to reduce back-and-forth in costly migrations ()
Claire 58376eedda
Remove obsolete `admin` and `moderator` columns from `users` table ()
Claire dfa43707eb
Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately ()
Claire 70a8fcf07d
Fix notification policy migration not preserving `filter_private_mentions` correctly ()
Claire 954b470fbc
Fix error when attempting to delete posts that triggered a notification request ()
Claire d4449cc682
Fix account_relationship_severance_events unique indexes ()
Claire 44bf7b8128
Add notifications of severed relationships ()
Eugen Rochko 5b3a8737d6
Add hints for rules ()
Eugen Rochko e85a2aa18d
Fix interaction settings migration error when encountering no settings ()
Eugen Rochko 50b17f7e10
Add notification policies and notification requests ()
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants ()
Matt Jankowski 1e0b0a3486
Use SQL heredoc on long statement lines in migrations ()
Matt Jankowski dedefdc303
Move length value mapping to constant in ids to bigints migration ()
Matt Jankowski 0bec5c0755
Remove migration base class switcher from `RailsSettingsMigration` ()
Eugen Rochko fa0ba67753
Change materialized views to be refreshed concurrently to avoid locks ()
Eugen Rochko 5b1eb09d54
Add annual reports for accounts ()
Matt Jankowski f0b93ab02f
Use AR `database_version` in PG version checks in migrations ()
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 ae39bed95b
Solve remaining `db/*migrate*` cops ()
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains ()
Matt Jankowski 51d2b80ff7
Solve `Abc/*` metrics for `db/*migrate*` files ()
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 3e336fe706
Opt out of `Rails/SkipsModelValidations` cop in db/migrate ()
Matt Jankowski 469ee2ae36
Fix `Style/HashEachMethods` cop ()
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status ()
Matt Jankowski c501d626e8
Fix `Rails/BulkChangeTable` cop ()
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 ()