Merge commit from fork

* Fix GHSA-7jvv-fhmg-wpfw

* Fix GHSA-hx34-2pfw-2qfj

* Fix GHSA-vwhj-3g83-v276

* Bump version to v4.6.4
This commit is contained in:
Claire authored and Tarrien committed 2026-08-14 07:27:50 -04:00
1 parent 90553a2f33
commit 5d7e3bbd17
11 files changed
+67 -19

No files matched your search

@@ -20,6 +20,8 @@ RSpec.describe 'Admin Measures' do
domain: 'mastodon.social',
include_subdomains: true,
},
start_at: '2026-01-01',
end_at: '2026-07-01',
}
end
+2 -2
View File
@@ -10,7 +10,7 @@ RSpec.describe 'Admin Retention' do
describe 'GET /api/v1/admin/retention' do
context 'when not authorized' do
it 'returns http forbidden' do
post '/api/v1/admin/retention', params: { account_id: account.id, limit: 2 }
post '/api/v1/admin/retention', params: { start_at: '2025-01-04', end_at: '2025-07-05', frequency: 'month' }
expect(response)
.to have_http_status(403)
@@ -23,7 +23,7 @@ RSpec.describe 'Admin Retention' do
let(:scopes) { 'admin:read' }
it 'returns http success and status json' do
post '/api/v1/admin/retention', params: { account_id: account.id, limit: 2 }, headers: headers
post '/api/v1/admin/retention', params: { start_at: '2025-01-04', end_at: '2025-07-05', frequency: 'month' }, headers: headers
expect(response)
.to have_http_status(200)