Commit Graph

483 Commits (2bcbeed95143448625eccbbf3a3245a1eec26dce)

Author SHA1 Message Date
Claire 2bcbeed951
Add some error handling to OTP secret migration (#30344) 8 months ago
Claire 1959365c2f
Add missing `on_delete: :cascade` on `notification_policies` (#30251) 8 months ago
Claire 96fb6e491f
Revert "Migrate paperclip `_file_size` columns to bigint (#29263)" (#30203) 8 months ago
Matt Jankowski b152f936c1
Migrate paperclip `_file_size` columns to bigint (#29263)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
8 months ago
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 (#28325)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
9 months ago
Matt Jankowski d9eee9bf9a
Remove column defaults for `status_pins` timestamp columns (#29261) 9 months ago
Matt Jankowski 2ec9bff36e
Fix Rubocop `Rails/UniqueValidationWithoutIndex` cop (#27461)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
9 months ago
Claire 5915bd7f45
Fix development environment admin account not being auto-approved (#29958) 9 months ago
Claire de740dfb9c
Use `upsert_all` and `insert_all` to reduce back-and-forth in costly migrations (#29752) 10 months ago
Claire 58376eedda
Remove obsolete `admin` and `moderator` columns from `users` table (#29718) 10 months ago
Claire dfa43707eb
Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately (#29714) 10 months ago
Claire 70a8fcf07d
Fix notification policy migration not preserving `filter_private_mentions` correctly (#29699) 10 months ago
Claire 954b470fbc
Fix error when attempting to delete posts that triggered a notification request (#29666) 10 months ago
Claire d4449cc682
Fix account_relationship_severance_events unique indexes (#29665) 10 months ago
Claire 44bf7b8128
Add notifications of severed relationships (#27511) 10 months ago
Eugen Rochko 5b3a8737d6
Add hints for rules (#29539) 10 months ago
Eugen Rochko e85a2aa18d
Fix interaction settings migration error when encountering no settings (#29529) 10 months ago
Eugen Rochko 50b17f7e10
Add notification policies and notification requests (#29366) 10 months ago
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 11 months ago
Matt Jankowski 1e0b0a3486
Use SQL heredoc on long statement lines in migrations (#29112) 11 months ago
Matt Jankowski dedefdc303
Move length value mapping to constant in ids to bigints migration (#29048) 11 months ago
Matt Jankowski 0bec5c0755
Remove migration base class switcher from `RailsSettingsMigration` (#29047) 11 months ago
Eugen Rochko fa0ba67753
Change materialized views to be refreshed concurrently to avoid locks (#29015) 12 months ago
Eugen Rochko 5b1eb09d54
Add annual reports for accounts (#28693) 12 months ago
Matt Jankowski f0b93ab02f
Use AR `database_version` in PG version checks in migrations (#28804) 1 year ago
Matt Jankowski ea1c0feb86
Remove `add_column_with_default` migration helper (#28654) 1 year ago
gunchleoc 173953c23e
Fix ISO code for Canadian French (#26015)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski ae39bed95b
Solve remaining `db/*migrate*` cops (#28579) 1 year ago
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 1 year ago
Matt Jankowski 51d2b80ff7
Solve `Abc/*` metrics for `db/*migrate*` files (#28568) 1 year ago
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations (#28314)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 3e336fe706
Opt out of `Rails/SkipsModelValidations` cop in db/migrate (#28371) 1 year ago
Matt Jankowski 469ee2ae36
Fix `Style/HashEachMethods` cop (#28173) 1 year ago
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status (#27312) 1 year ago
Matt Jankowski c501d626e8
Fix `Rails/BulkChangeTable` cop (#26890) 1 year ago
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop (#27472) 1 year ago
Matt Jankowski a1b27d8b61
Fix `Naming/VariableNumber` cop (#27447) 1 year ago
Claire 890e334703
Add migration tests for negative settings (#27012) 1 year ago
Claire abcc0b38fa
Fix incorrect PostgreSQL version check (#26979) 1 year ago
Claire 81caafbe84
Fix performances of profile directory (#26842) 1 year ago
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings (#26793) 1 year ago
Claire cddef4c485
Fix language settings for users having selected the `kmr` language (#26787) 1 year ago
Claire 16681e0f20
Add admin notifications for new Mastodon versions (#26582) 1 year ago
Claire 1471be8225
Fix `AddUniqueIndexOnPreviewCardsStatuses` migration requiring PostgreSQL 12+ in some cases (#26737) 1 year ago
Claire ee702e36e5
Change follow recommendation materialized view to be faster in most cases (#26545)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
1 year ago
Claire 90ec88d58b
Add support for `indexable` attribute on remote actors (#26485)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
1 year ago
Claire 8c7f3c5332
Remove old non-unique index on preview_cards statuses join table (#26447) 1 year ago
Matt Jankowski 271d384fd0
Use migration classes in migrations where current definition conflicts with older (#26390) 1 year ago
Claire 4773d7b9aa
Fix `preview_cards_statuses_pkey` not being reindexed concurrently (#26384) 1 year ago
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails (#26184) 1 year ago