Commit Graph

79 Commits (stable-4.4)

Author SHA1 Message Date
Matt Jankowski 47fda2df2c
Update `OAuth` inflection to match spec (#35160) 4 weeks ago
Claire b7e967817b
Fix unnecessary requirement for deprecated OTP_SECRET environment variable (#34810) 2 months ago
Matt Jankowski 4709121f72
Remove Legacy OTP Secret code (#34743) 2 months ago
Claire b1c9cff71b
Add `language` column to public timelines index (#33779) 6 months ago
Claire 85792cc375
Fix incorrect notification settings migration for non-followers (#33348) 7 months ago
Jesse Karmani db749c7d2b
Fix down clause for notification policy v2 migrations (#33340) 7 months ago
Matt Jankowski 708919ee93
Update deprecated `enum` style in older migrations (#32925) 7 months ago
Claire fbcd14ff7e
Always remove setting keys in legacy user settings migrations (#33196) 8 months ago
Eugen Rochko d29eddc401
Fix tag trend migration failing due to duplicate rows (#33189) 8 months ago
Matt Jankowski 17c02c9210
Remove `thing_type` and `thing_id` columns from settings table (#31971) 8 months ago
Eugen Rochko 48ea7552dd
Change hashtag trends to be stored in the database instead of redis (#32837)
Co-authored-by: David Roetzel <david@roetzel.de>
8 months ago
Matt Jankowski f180880f65
Remove postgres version support check for `REINDEX` in migration (#32744) 9 months ago
Claire 62a39d60ce
Fix rolling updates by moving DropEndToEndMessageTables to post-deployment migrations (#31963) 10 months ago
Claire cbdd8edf68
Revamp notification policy options (#31343) 12 months ago
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed (#31008) 1 year ago
Emelia Smith e02d23b549
Change `read:me` scope to `profile` scope (#30357)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire 2bcbeed951
Add some error handling to OTP secret migration (#30344) 1 year ago
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 (#28325)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire de740dfb9c
Use `upsert_all` and `insert_all` to reduce back-and-forth in costly migrations (#29752) 1 year ago
Claire 58376eedda
Remove obsolete `admin` and `moderator` columns from `users` table (#29718) 1 year ago
Claire dfa43707eb
Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately (#29714) 1 year ago
Claire 70a8fcf07d
Fix notification policy migration not preserving `filter_private_mentions` correctly (#29699) 1 year ago
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 1 year ago
Eugen Rochko fa0ba67753
Change materialized views to be refreshed concurrently to avoid locks (#29015) 1 year ago
Matt Jankowski f0b93ab02f
Use AR `database_version` in PG version checks in migrations (#28804) 2 years ago
Matt Jankowski ea1c0feb86
Remove `add_column_with_default` migration helper (#28654) 2 years ago
Matt Jankowski ae39bed95b
Solve remaining `db/*migrate*` cops (#28579) 2 years ago
Matt Jankowski 51d2b80ff7
Solve `Abc/*` metrics for `db/*migrate*` files (#28568) 2 years ago
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop (#27472) 2 years ago
Claire abcc0b38fa
Fix incorrect PostgreSQL version check (#26979) 2 years ago
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings (#26793) 2 years ago
Claire cddef4c485
Fix language settings for users having selected the `kmr` language (#26787) 2 years ago
Claire 1471be8225
Fix `AddUniqueIndexOnPreviewCardsStatuses` migration requiring PostgreSQL 12+ in some cases (#26737) 2 years ago
Claire ee702e36e5
Change follow recommendation materialized view to be faster in most cases (#26545)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2 years ago
Claire 8c7f3c5332
Remove old non-unique index on preview_cards statuses join table (#26447) 2 years ago
Matt Jankowski 271d384fd0
Use migration classes in migrations where current definition conflicts with older (#26390) 2 years ago
Claire 4773d7b9aa
Fix `preview_cards_statuses_pkey` not being reindexed concurrently (#26384) 2 years ago
Claire 6b896b20cc
Add primary key to preview_cards_statuses join table (includes deduplication migration) (#25243) 2 years ago
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment (#23793) 2 years ago
Matt Jankowski 60ac9e8634
Fix Rails/SquishedSQLHeredocs cop (#24694) 2 years ago
Claire c0e87ad8ed
Update strong-migrations-enabled migrations from 5.0 and 5.1 to 5.2 (#24275) 2 years ago
Matt Jankowski 3557a65bb2
Reset model in migration after removing column (#24250) 2 years ago
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules (#23679) 2 years ago
Nick Schonning 597767a9f7
Autofix Rubocop Rails/RedundantForeignKey (#23731) 2 years ago
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length (#23632) 2 years ago
Claire 66a70ebb6e
Fix pre-4.0 admin action logs (#22091)
* Fix BackfillAdminActionLogs post-deployment migration

* Improve migration tests

* Backfill admin action logs again
3 years ago
Claire 1dca08b76f
Fix admin action logs page (#19649)
* Add tests

* Fix crash when trying to display orphaned action logs

* Add migration for older admin action logs
3 years ago
Claire cb27d89997
Change migration to migrate admins to Owner role rather than Admin role (#19671) 3 years ago
Claire ff19dad5a0
Fix crash when adding a new filter (#18894)
Fixes #18742
3 years ago
Eugen Rochko 0396acf39e
Add audit log entries for user roles (#19040)
* Refactor audit log schema

* Add audit log entries for user roles
3 years ago