You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/tests/Feature/Api
Your Name fbfd26d775 Mark direct messages read with a single bulk update
DirectMessageController@read fetched every matching DirectMessage and
saved each one individually in a loop, issuing one UPDATE per row. On an
active thread this is N queries.

Pluck the matching ids and perform a single bulk update, preserving the
existing response (the list of affected message ids) and updated_at
behaviour.

Adds regression tests covering the marked-read ids, the status_id lower
bound, and sender isolation.
4 weeks ago
..
AccountTest.php Lint 4 weeks ago
AvatarUpdateTest.php Fix silent failure in avatar upload endpoints 4 weeks ago
CollectionTest.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
DirectMessageReadTest.php Mark direct messages read with a single bulk update 4 weeks ago
NotificationTest.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ScopeTest.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
SearchTest.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
StatusTest.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
TimelineTest.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago