Commit Graph

493 Commits (ea663cf7c792ed7caef5440203ef58fa58246c00)

Author SHA1 Message Date
Eugen Rochko 90f4ffa31d
Fix performance of percentile calculation for annual reports (#32765) 1 year ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 1 year ago
Matt Jankowski fae1de699c
Remove duplicate indexes from database (#32454) 1 year ago
Claire a59160cf01
Add missing `on_delete: :cascade` on `notification_permissions` (#32281) 1 year ago
Matt Jankowski 4cae309f6a
Fix `Rails/CreateTableWithTimestamps` cop (#30836) 1 year ago
Claire 62a39d60ce
Fix rolling updates by moving DropEndToEndMessageTables to post-deployment migrations (#31963) 1 year ago
Matt Jankowski 6f836c45aa
Remove `crypto` values from doorkeeper application/token `scopes` (#31945) 1 year ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 1 year ago
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews (#31819) 1 year ago
Matt Jankowski 4682804448
Fix `Rails/ReversibleMigration` cop for `remove_index` (#30832) 1 year ago
David Roetzel 388d5473e1
Refactor (ruby) redis configuration (#31694) 1 year ago
Claire cbdd8edf68
Revamp notification policy options (#31343) 1 year ago
Emelia Smith 693d9b03ed
Enable OAuth PKCE Extension (#31129) 1 year ago
Emelia Smith aa88aca0ad
Add optional OAuth application to reports (#30539) 1 year ago
Matt Jankowski 51f581e03e
Fix `Rails/ReversibleMigration` cop for `remove` (#30833) 1 year ago
Matt Jankowski 528a7f57fa
Fix `Rails/ReversibleMigration` cop for `change_column` (#30835) 1 year ago
Matt Jankowski 4651c0cb39
Fix `Rails/ReversibleMigrationMethodDefinition` cop (#30794) 1 year ago
Claire 9e9613b286
Fix `mentions.account_id` and `mentions.status_id` not having `NOT NULL` database constraints (#30591) 1 year ago
Claire 974335e414
Add experimental server-side notification grouping (#29889) 1 year ago
Eugen Rochko 128987eded
Add support for `fediverse:creator` OpenGraph tag (#30398) 2 years ago
Claire 00cf8d3748
Change older Paperclip database migrations for consistency (#30204) 2 years ago
Claire 1959365c2f
Add missing `on_delete: :cascade` on `notification_policies` (#30251) 2 years ago
Claire 96fb6e491f
Revert "Migrate paperclip `_file_size` columns to bigint (#29263)" (#30203) 2 years ago
Matt Jankowski b152f936c1
Migrate paperclip `_file_size` columns to bigint (#29263)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 (#28325)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski d9eee9bf9a
Remove column defaults for `status_pins` timestamp columns (#29261) 2 years ago
Matt Jankowski 2ec9bff36e
Fix Rubocop `Rails/UniqueValidationWithoutIndex` cop (#27461)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire de740dfb9c
Use `upsert_all` and `insert_all` to reduce back-and-forth in costly migrations (#29752) 2 years ago
Claire dfa43707eb
Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately (#29714) 2 years ago
Claire 70a8fcf07d
Fix notification policy migration not preserving `filter_private_mentions` correctly (#29699) 2 years ago
Claire 954b470fbc
Fix error when attempting to delete posts that triggered a notification request (#29666) 2 years ago
Claire d4449cc682
Fix account_relationship_severance_events unique indexes (#29665) 2 years ago
Claire 44bf7b8128
Add notifications of severed relationships (#27511) 2 years ago
Eugen Rochko 5b3a8737d6
Add hints for rules (#29539) 2 years ago
Eugen Rochko e85a2aa18d
Fix interaction settings migration error when encountering no settings (#29529) 2 years ago
Eugen Rochko 50b17f7e10
Add notification policies and notification requests (#29366) 2 years ago
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 2 years ago
Matt Jankowski 1e0b0a3486
Use SQL heredoc on long statement lines in migrations (#29112) 2 years ago
Matt Jankowski dedefdc303
Move length value mapping to constant in ids to bigints migration (#29048) 2 years ago
Matt Jankowski 0bec5c0755
Remove migration base class switcher from `RailsSettingsMigration` (#29047) 2 years ago
Eugen Rochko fa0ba67753
Change materialized views to be refreshed concurrently to avoid locks (#29015) 2 years ago
Eugen Rochko 5b1eb09d54
Add annual reports for accounts (#28693) 2 years 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
gunchleoc 173953c23e
Fix ISO code for Canadian French (#26015)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski ae39bed95b
Solve remaining `db/*migrate*` cops (#28579) 2 years ago
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 2 years ago
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations (#28314)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski 3e336fe706
Opt out of `Rails/SkipsModelValidations` cop in db/migrate (#28371) 2 years ago
Eugen Rochko 0d14fcebae
Change link previews to keep original URL from the status (#27312) 2 years ago
Matt Jankowski c501d626e8
Fix `Rails/BulkChangeTable` cop (#26890) 2 years ago
Matt Jankowski bcd0171e5e
Fix `Lint/UselessAssignment` cop (#27472) 2 years ago
Matt Jankowski a1b27d8b61
Fix `Naming/VariableNumber` cop (#27447) 2 years ago
Claire 890e334703
Add migration tests for negative settings (#27012) 2 years ago
Claire 81caafbe84
Fix performances of profile directory (#26842) 2 years ago
Claire 16681e0f20
Add admin notifications for new Mastodon versions (#26582) 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 90ec88d58b
Add support for `indexable` attribute on remote actors (#26485)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Matt Jankowski 271d384fd0
Use migration classes in migrations where current definition conflicts with older (#26390) 2 years ago
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails (#26184) 2 years ago
Claire 425d77f812
Fix crash in `tootctl status remove` and some old migrations (#26210) 2 years ago
Matt Jankowski a2dca50ef3
Use heredoc SQL blocks in `AddFromAccountIdToNotifications` migration (#26178) 2 years ago
Eugen Rochko 7bd8ef355c
Add `published_at` attribute to preview cards (#26153) 2 years ago
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop (#25923) 2 years ago
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment (#23793) 2 years ago
Claire 12fa24a885
Fix forgotten unconfirmed_email migration file (#25702) 2 years ago
Claire 933ba1a3eb
Add superapp index on `oauth_applications` (#25670) 2 years ago
Matt Jankowski c47cdf6e17
Add index to backups on `user_id` column (#25647) 2 years ago
Eugen Rochko 4c9406bdb0
Add time zone preference (#25342) 2 years ago
Claire f378f10404
Fix compatibility of recent migration with PostgreSQL 10 (#25324) 3 years ago
Eugen Rochko 4eda233e09
Add webhook templating (#23289)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Darius Kazemi bacb674921
Add exclusive lists (#22048)
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>
3 years ago
Claire fe84f7e323
Add missing primary keys to `accounts_tags` and `statuses_tags` (#25210) 3 years ago
Claire 1d588d58f1
Improve various queries against account domains (#25126) 3 years ago
Matt Jankowski 9f5deb310b
Fix Performance/MapCompact cop (#24797)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire 6693a4fe7c
Change lists to be able to include accounts with pending follow requests (#19727) 3 years ago
Claire 32a030dd74
Rewrite import feature (#21054) 3 years ago
Eugen Rochko 0ad2413b35
Fix n+1 query in settings migration (#24783) 3 years ago
Eugen Rochko f1c1fa1411
Fix transaction around settings migration (#24761) 3 years ago
Matt Jankowski 60ac9e8634
Fix Rails/SquishedSQLHeredocs cop (#24694) 3 years ago
Claire 369f239f7b
Fix user settings migration script failing in some cases (#24453) 3 years ago
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way (#23630)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire c0e87ad8ed
Update strong-migrations-enabled migrations from 5.0 and 5.1 to 5.2 (#24275) 3 years ago
Matt Jankowski b9e34ef098
Migration warning helper, and only run in production env (#24253) 3 years ago
Jean byroot Boussier 922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations (#23616)
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
3 years ago
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules (#23679) 3 years ago
Nick Schonning bf785df9fe
Audofix Rubocop Style/WordArray (#23739) 3 years ago
Nick Schonning 8ef09813a2
Autofix Rubocop Style/EmptyMethod (#23732) 3 years ago
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals (#23695) 3 years ago
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin (#23703) 3 years ago
Nick Schonning 167709f6b0
Autofix Rubocop Style/BlockDelimiters (#23706) 3 years ago
Nick Schonning ac59d6f19f
Enable Rubocop Style/NumericLiterals (#23647) 3 years ago
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length (#23632) 3 years ago
Nick Schonning 593bb8ce99
Autofix Rubocop Style/RaiseArgs (#23650) 3 years ago
Eugen Rochko b1a219552e
Fix featured tags not saving preferred casing (#19732) 3 years ago
Eugen Rochko 487d81fb92
Fix IP blocks not having a unique index (#19456) 3 years ago
Takeshi Umeda 53e86747e4
Fix duplicate featured tags (#19403)
* Fix duplicate featured tags

* Add unique tag name validator

* Fix error message
3 years ago
Eugen Rochko b04633a961
Add image processing and generate blurhash for server thumbnail (#19348)
Remove separate server hero setting
3 years ago
Jeremy Kescher 5f79200a5e
Remove/update old "tootsuite" references, except those needed for Docker (#19327) 3 years ago
Eugen Rochko 45ebdb72ca
Add support for language preferences for trending statuses and links (#18288) 3 years ago