Claire
4fb4721072
Merge pull request from GHSA-58x8-3qxw-6hm7
...
* Fix insufficient permission checking for public timeline endpoints
Note that this changes unauthenticated access failure code from 401 to 422
* Add more tests for public timelines
* Require user token in `/api/v1/statuses/:id/translate` and `/api/v1/scheduled_statuses`
2 years ago
Claire
6cd9bd6ae1
fix: Return HTTP 422 when scheduled status time is less than 5 minutes ( #30584 )
2 years ago
Matt Jankowski
0143c9d3e1
Fix results/query in `api/v1/featured_tags/suggestions` ( #29597 )
2 years ago
Claire
c0a9db3611
Fix potential redirection loop of streaming endpoint ( #28665 )
2 years ago
Claire
bece853e3c
Fix error and incorrect URLs in `/api/v1/accounts/:id/featured_tags` for remote accounts ( #27459 )
2 years ago
Claire
81caafbe84
Fix performances of profile directory ( #26842 )
3 years ago
Claire
355e3fb529
Simplify `Account.by_recent_status` and `Account.by_recent_sign_in` scopes ( #26840 )
3 years ago
Daniel M Brasil
ccca542db1
Fix `/api/v1/timelines/tag/:hashtag` allowing for unauthenticated access when public preview is disabled ( #26237 )
3 years ago
Nick Schonning
b970ed6098
Update rubocop and rubocop-rspec ( #26329 )
3 years ago
Daniel M Brasil
812a84ff5f
Migrate to request specs in `/api/v2/filters` ( #25721 )
3 years ago
Christian Schmidt
4c18928a93
Wrong count in response when removing favourite/reblog ( #24365 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Daniel M Brasil
59b38f9ee4
Migrate to request specs in `/api/v1/mutes` ( #25622 )
3 years ago
Daniel M Brasil
58bfe8c43a
Migrate to request specs in `/api/v1/bookmarks` ( #25520 )
3 years ago
Daniel M Brasil
5a7c6c6597
Migrate to request specs in `/api/v1/timelines/public` ( #25746 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Daniel M Brasil
19208aa422
Migrate to request specs in `/api/v1/statuses/:status_id/favourite` ( #25626 )
3 years ago
Daniel M Brasil
6fb4a756ff
Migrate to request specs in `/api/v1/statuses/:status_id/bookmark` ( #25624 )
3 years ago
Daniel M Brasil
4859958a0c
Migrate to request specs in `/api/v1/polls` ( #25596 )
3 years ago
Daniel M Brasil
1aea938d3d
Migrate to request specs in `/api/v1/statuses/:status_id/pin` ( #25635 )
3 years ago
Daniel M Brasil
6cdc8408a9
Migrate to request specs in `/api/v1/emails/confirmations` ( #25686 )
3 years ago
Daniel M Brasil
8a1aabaac1
Migrate to request specs in `/api/v1/timelines/home` ( #25743 )
3 years ago
Claire
41f65edb21
Fix embed dropdown menu item for unauthenticated users ( #25964 )
3 years ago
Matt Jankowski
6c5a2233a8
Fix `RSpec/StubbedMock` cop ( #25552 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Matt Jankowski
cf33028f35
Admin mailer parameterization ( #25759 )
3 years ago
Daniel M Brasil
383c00819c
Fix `/api/v2/search` not working with following query param ( #25681 )
3 years ago
Daniel M Brasil
4fe2d7cb59
Fix HTTP 500 in `/api/v1/emails/check_confirmation` ( #25595 )
3 years ago
Matt Jankowski
683ba5ecb1
Fix rails `rewhere` deprecation warning in directories api controller ( #25625 )
3 years ago
Claire
a5b6f6da80
Change /api/v1/statuses/:id/history to always return at least one item ( #25510 )
3 years ago
Matt Jankowski
05f9e39b32
Fix `RSpec/VerifiedDoubles` cop ( #25469 )
3 years ago
Daniel M Brasil
6ac271c2a0
Migrate to request specs in `/api/v1/suggestions` ( #25540 )
3 years ago
Claire
ebfeaebedb
Fix /api/v1/conversations sometimes returning empty accounts ( #25499 )
3 years ago
Daniel M Brasil
e53eb38a8d
Migrate to request specs in `/api/v1/admin/account_actions` ( #25514 )
3 years ago
Matt Jankowski
e835198b26
Combine assertions in api/v1/notifications spec ( #25486 )
3 years ago
Daniel M Brasil
b9bc9d0bda
Fix incorrect pagination headers in `/api/v2/admin/accounts` ( #25477 )
3 years ago
Daniel M Brasil
0a0a1f1495
Migrate to request specs in `/api/v1/tags` ( #25439 )
3 years ago
Daniel M Brasil
b10c05e702
Migrate to request specs in `/api/v1/lists` ( #25443 )
3 years ago
Daniel M Brasil
24015ef0cc
Migrate to request specs in `/api/v1/domain_blocks` ( #25414 )
3 years ago
Daniel M Brasil
87aff5aad8
Migrate to request specs in `/api/v1/follow_requests` ( #25411 )
3 years ago
Daniel M Brasil
a5b62e56d0
Migrate to request specs in `/api/v1/apps/verify_credentials` ( #25404 )
3 years ago
Daniel M Brasil
a6407aa662
Migrate to request specs in `/api/v1/apps` ( #25401 )
3 years ago
Matt Jankowski
4c5f62de99
Extract shared examples from api specs ( #25387 )
3 years ago
Claire
ec59166844
Fix ArgumentError when loading newer Private Mentions ( #25399 )
3 years ago
Matt Jankowski
62c996b52d
Reduce `RSpec/MultipleExpectations` cop max to 8 ( #25313 )
3 years ago
fusagiko / takayamaki
b19a695608
migrate test for `GET /api/v1/accounts/{account_id}` to request spec ( #25322 )
3 years ago
Daniel M Brasil
99216e34e5
Migrate to request specs in `/api/v1/admin/canonical_email_blocks` ( #25330 )
3 years ago
Daniel M Brasil
b4e19f9610
Migrate to request specs in `/api/v1/admin/ip_blocks` ( #25331 )
3 years ago
Daniel M Brasil
4301d8cbb3
Migrate to request specs in `/api/v1/admin/domain_allows` ( #25333 )
3 years ago
Daniel M Brasil
841c220c40
Migrate to request specs in `/api/v1/admin/domain_blocks` ( #25335 )
3 years ago
Daniel M Brasil
0e200d4e2f
Migrate to request specs in `/api/v1/admin/reports` ( #25355 )
3 years ago
Daniel M Brasil
4aff1d2974
Migrate to request specs in `/api/v1/admin/email_domain_blocks` ( #25337 )
3 years ago
Matt Jankowski
6c0e3f490a
Fix RSpec/MissingExampleGroupArgument cop ( #25310 )
3 years ago