1
0
Fork 0
forked from fedi/mastodon
Commit graph

425 commits

Author SHA1 Message Date
Claire 12fa24a885
Fix forgotten unconfirmed_email migration file () 2023-07-04 11:25:29 +02:00
Claire e6a8faae81
Add users index on unconfirmed_email () 2023-07-02 19:41:35 +02:00
Claire 933ba1a3eb
Add superapp index on oauth_applications () 2023-07-02 16:56:16 +02:00
Eugen Rochko ba06a2f104
Revert "Rails 7 update" () 2023-07-02 11:14:22 +02:00
Matt Jankowski 50c2a03695
Rails 7 update () 2023-07-02 10:38:53 +02:00
Matt Jankowski c47cdf6e17
Add index to backups on user_id column () 2023-06-30 19:09:03 +02:00
Eugen Rochko 4c9406bdb0
Add time zone preference () 2023-06-10 03:29:37 +02:00
Claire f378f10404
Fix compatibility of recent migration with PostgreSQL 10 () 2023-06-07 01:53:50 +02:00
Eugen Rochko 4eda233e09
Add webhook templating ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-06-06 10:42:47 +02:00
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>
2023-06-05 09:37:02 +02:00
Claire fe84f7e323
Add missing primary keys to accounts_tags and statuses_tags () 2023-06-01 09:49:06 +02:00
Claire 1d588d58f1
Improve various queries against account domains () 2023-05-25 09:27:16 +02:00
Matt Jankowski 9f5deb310b
Fix Performance/MapCompact cop ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-05-23 10:49:12 +02:00
Claire 6693a4fe7c
Change lists to be able to include accounts with pending follow requests () 2023-05-02 14:40:36 +02:00
Claire 32a030dd74
Rewrite import feature () 2023-05-02 12:08:48 +02:00
Eugen Rochko 0ad2413b35
Fix n+1 query in settings migration () 2023-05-02 10:26:39 +02:00
Eugen Rochko f1c1fa1411
Fix transaction around settings migration () 2023-05-01 17:45:18 +02:00
Matt Jankowski 60ac9e8634
Fix Rails/SquishedSQLHeredocs cop () 2023-04-30 06:43:50 +02:00
Nick Schonning 49fad26eca
Drop EOL Ruby 2.7 () 2023-04-27 01:46:18 +02:00
Claire 369f239f7b
Fix user settings migration script failing in some cases () 2023-04-07 11:55:15 +02:00
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-03-30 14:44:00 +02:00
Robert R George 782669a042
Wrap db:setup with Chewy.strategy(:mastodon) () 2023-03-29 09:58:27 +02:00
Claire c0e87ad8ed
Update strong-migrations-enabled migrations from 5.0 and 5.1 to 5.2 () 2023-03-27 16:09:10 +02:00
Matt Jankowski 3557a65bb2
Reset model in migration after removing column () 2023-03-26 00:40:36 +01:00
Matt Jankowski b9e34ef098
Migration warning helper, and only run in production env () 2023-03-26 00:39:24 +01:00
Jean byroot Boussier 922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations ()
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2023-03-04 16:38:28 +01:00
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules () 2023-02-20 06:58:28 +01:00
Nick Schonning bf785df9fe
Audofix Rubocop Style/WordArray () 2023-02-20 06:14:10 +01:00
Nick Schonning 597767a9f7
Autofix Rubocop Rails/RedundantForeignKey () 2023-02-20 02:19:40 +01:00
Nick Schonning 8ef09813a2
Autofix Rubocop Style/EmptyMethod () 2023-02-20 02:18:54 +01:00
Nick Schonning 81ad6c2e39
Autofix Rubocop Style/StringLiterals () 2023-02-19 07:38:14 +09:00
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin () 2023-02-19 07:09:40 +09:00
Nick Schonning 167709f6b0
Autofix Rubocop Style/BlockDelimiters () 2023-02-19 07:00:17 +09:00
Nick Schonning ac59d6f19f
Enable Rubocop Style/NumericLiterals () 2023-02-18 11:05:57 +09:00
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length () 2023-02-18 06:56:20 +09:00
Nick Schonning 593bb8ce99
Autofix Rubocop Style/RaiseArgs () 2023-02-17 22:47:23 +09:00
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
2023-01-18 16:33:03 +01:00
Claire 66a70ebb6e
Fix pre-4.0 admin action logs ()
* Fix BackfillAdminActionLogs post-deployment migration

* Improve migration tests

* Backfill admin action logs again
2022-12-06 23:38:03 +01:00
Eugen Rochko b1a219552e
Fix featured tags not saving preferred casing () 2022-11-04 16:08:29 +01:00
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
2022-11-03 16:06:42 +01:00
Claire cb27d89997
Change migration to migrate admins to Owner role rather than Admin role () 2022-11-02 16:34:47 +01:00
Eugen Rochko 487d81fb92
Fix IP blocks not having a unique index () 2022-10-25 21:43:44 +02:00
Takeshi Umeda 53e86747e4
Fix duplicate featured tags ()
* Fix duplicate featured tags

* Add unique tag name validator

* Fix error message
2022-10-22 14:30:59 +02:00
Eugen Rochko b04633a961
Add image processing and generate blurhash for server thumbnail ()
Remove separate server hero setting
2022-10-13 11:29:19 +02:00
Jeremy Kescher 5f79200a5e
Remove/update old "tootsuite" references, except those needed for Docker () 2022-10-10 00:33:38 +02:00
Eugen Rochko 45ebdb72ca
Add support for language preferences for trending statuses and links () 2022-10-08 16:45:40 +02:00
Eugen Rochko 50948b46aa
Add ability to filter followed accounts' posts by language () 2022-09-20 23:51:21 +02:00
Eugen Rochko c556c3a0d1
Add admin API for managing canonical e-mail blocks () 2022-08-28 03:31:54 +02:00
Claire ff19dad5a0
Fix crash when adding a new filter ()
Fixes 
2022-08-27 17:41:20 +02:00
Eugen Rochko 0396acf39e
Add audit log entries for user roles ()
* Refactor audit log schema

* Add audit log entries for user roles
2022-08-25 20:39:40 +02:00