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.
3 months ago
..
AccountTest.php Lint 3 months ago
AvatarUpdateTest.php Fix silent failure in avatar upload endpoints 3 months ago
CollectionTest.php refactor: move 52 legacy models from App\ to App\Models\ 3 months ago
DirectMessageReadTest.php Mark direct messages read with a single bulk update 3 months ago
NotificationTest.php refactor: move 52 legacy models from App\ to App\Models\ 3 months ago
ScopeTest.php refactor: move 52 legacy models from App\ to App\Models\ 3 months ago
SearchTest.php refactor: move 52 legacy models from App\ to App\Models\ 3 months ago
StatusTest.php refactor: move 52 legacy models from App\ to App\Models\ 3 months ago
TimelineTest.php refactor: move 52 legacy models from App\ to App\Models\ 3 months ago