Commit Graph

425 Commits (5e1752ce3f21a06287d0a0821c02835c06227441)

Author SHA1 Message Date
Claire 12fa24a885
Fix forgotten unconfirmed_email migration file ()
Claire e6a8faae81
Add users index on unconfirmed_email ()
Claire 933ba1a3eb
Add superapp index on `oauth_applications` ()
Eugen Rochko ba06a2f104
Revert "Rails 7 update" ()
Matt Jankowski 50c2a03695
Rails 7 update ()
Matt Jankowski c47cdf6e17
Add index to backups on `user_id` column ()
Eugen Rochko 4c9406bdb0
Add time zone preference ()
Claire f378f10404
Fix compatibility of recent migration with PostgreSQL 10 ()
Eugen Rochko 4eda233e09
Add webhook templating ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
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>
Claire fe84f7e323
Add missing primary keys to `accounts_tags` and `statuses_tags` ()
Claire 1d588d58f1
Improve various queries against account domains ()
Matt Jankowski 9f5deb310b
Fix Performance/MapCompact cop ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 6693a4fe7c
Change lists to be able to include accounts with pending follow requests ()
Claire 32a030dd74
Rewrite import feature ()
Eugen Rochko 0ad2413b35
Fix n+1 query in settings migration ()
Eugen Rochko f1c1fa1411
Fix transaction around settings migration ()
Matt Jankowski 60ac9e8634
Fix Rails/SquishedSQLHeredocs cop ()
Nick Schonning 49fad26eca
Drop EOL Ruby 2.7 ()
Claire 369f239f7b
Fix user settings migration script failing in some cases ()
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Robert R George 782669a042
Wrap db:setup with Chewy.strategy(:mastodon) ()
Claire c0e87ad8ed
Update strong-migrations-enabled migrations from 5.0 and 5.1 to 5.2 ()
Matt Jankowski 3557a65bb2
Reset model in migration after removing column ()
Matt Jankowski b9e34ef098
Migration warning helper, and only run in production env ()
Jean byroot Boussier 922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations ()
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules ()
Nick Schonning bf785df9fe
Audofix Rubocop Style/WordArray ()
Nick Schonning 597767a9f7
Autofix Rubocop Rails/RedundantForeignKey ()
Nick Schonning 8ef09813a2
Autofix Rubocop Style/EmptyMethod ()
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals ()
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin ()
Nick Schonning 167709f6b0
Autofix Rubocop Style/BlockDelimiters ()
Nick Schonning ac59d6f19f
Enable Rubocop Style/NumericLiterals ()
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length ()
Nick Schonning 593bb8ce99
Autofix Rubocop Style/RaiseArgs ()
Claire d1387579b9
Fix situations in which instance actor can be set to a Mastodon-incompatible name ()
* Validate internal actor

* Use “internal.actor” by default for the server actor username

* Fix instance actor username on the fly if it includes ':'

* Change actor name from internal.actor to mastodon.internal
Claire 66a70ebb6e
Fix pre-4.0 admin action logs ()
* Fix BackfillAdminActionLogs post-deployment migration

* Improve migration tests

* Backfill admin action logs again
Eugen Rochko b1a219552e
Fix featured tags not saving preferred casing ()
Claire 1dca08b76f
Fix admin action logs page ()
* Add tests

* Fix crash when trying to display orphaned action logs

* Add migration for older admin action logs
Claire cb27d89997
Change migration to migrate admins to Owner role rather than Admin role ()
Eugen Rochko 487d81fb92
Fix IP blocks not having a unique index ()
Takeshi Umeda 53e86747e4
Fix duplicate featured tags ()
* Fix duplicate featured tags

* Add unique tag name validator

* Fix error message
Eugen Rochko b04633a961
Add image processing and generate blurhash for server thumbnail ()
Remove separate server hero setting
Jeremy Kescher 5f79200a5e
Remove/update old "tootsuite" references, except those needed for Docker ()
Eugen Rochko 45ebdb72ca
Add support for language preferences for trending statuses and links ()
Eugen Rochko 50948b46aa
Add ability to filter followed accounts' posts by language ()
Eugen Rochko c556c3a0d1
Add admin API for managing canonical e-mail blocks ()
Claire ff19dad5a0
Fix crash when adding a new filter ()
Fixes 
Eugen Rochko 0396acf39e
Add audit log entries for user roles ()
* Refactor audit log schema

* Add audit log entries for user roles