Commit Graph

205 Commits (main)

Author SHA1 Message Date
Emelia Smith 4960193ed0
Add API to delete media attachments that are not in use (#33991) 10 hours ago
Claire e71fb450e0
Add optional `delete_media` parameter to `DELETE /api/v1/statuses/:id` (#33988) 10 hours ago
Jeremy Kescher 6b519cfefa
Merge commit from fork
* Fix domain blocks/rationales being visible to unapproved/unconfirmed users

* Fix domain blocks/rationales being visible to suspended users

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Allow moved users to view domain blocks

* Add authorization specs for `/api/v1/instance/domain_blocks` spec

* Fix tests

* Fix incorrect test setup

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 day ago
Claire 20531d1e07
Fix `GET /api/v2/notifications/:id` and `POST /api/v2/notifications/:id/dismiss` for ungrouped notifications (#33990) 3 days ago
Claire 2d545c5fe5
Fix flaky test in `/api/v2/notifications` tests (#33773) 1 month ago
Claire 32aa83e9d7
Fix polls not being validated on edition (#33755) 1 month ago
Matt Jankowski 607f65a0a5
Use `expect` for api/v1 and api/web push subs controllers (#33682) 1 month ago
Christian Schmidt a3baae0b99
API for updating attribution domains (#32730) 1 month ago
Matt Jankowski 72abf05269
Add "needs refresh" scenario to `api/v1/polls` request spec (#33608) 1 month ago
Wolfgang 77a44e61a8
Add enum validation to `DomainBlock#severity` (#29158) 2 months ago
Daniel M Brasil 0db7558822
Fix HTTP 500 on `POST /api/v1/admin/ip_blocks` (#29308) 2 months ago
Matt Jankowski 3c4a83fc62
Remove unused `LanguagePresenter#native_name` (#33551) 2 months ago
Claire c6c8e7e6ab
Fix last paginated notification group only including data on a single notification (#33271) 2 months ago
Matt Jankowski b3243ef41c
Refer to constant values from `api/v1/apps` request spec (#33488) 2 months ago
Matt Jankowski efcd4ea5de
Reference value constants from specs (#33479) 2 months ago
Matt Jankowski 7cbdcd7b3f
Add role-specific user fabricators (#33437) 2 months ago
Claire 1712543c68
Revert "Support animated PNGs in media attachments (#28516)" (#33334) 2 months ago
Christian Schmidt a70ae28644
Support animated PNGs in media attachments (#28516) 3 months ago
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 3 months ago
Matt Jankowski 0fcf227a92
Add media attachment description limit to instance API response (#33153) 3 months ago
Matt Jankowski 752d49eefe
Add coverage for `api/v1/push/subscriptions#show` action (#33134) 3 months ago
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 3 months ago
Emelia Smith 2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 4 months ago
Emelia Smith d94a367aeb
Add test coverage for POST /api/v2/media's max description length (#32683) 4 months ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 4 months ago
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription (#32626) 4 months ago
Matt Jankowski 0a4a73f9a6
Add coverage for `api/v1/domain_blocks/preview` endpoint (#32303) 4 months ago
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account (#31910) 5 months ago
Renaud Chaput 28966fa0a6
Remove deprecated `v2_alpha` endpoint for grouped notifications (#32089) 5 months ago
Matt Jankowski 51777fe3e2
Prefer structure checks over multi-line size/parts checks in `parsed_body` (#32063) 5 months ago
Matt Jankowski 447d0a3e88
Remove double no-records cases in `api/v1/admin` req specs (#32014) 5 months ago
Matt Jankowski 0ba3ad4a35
Remove `body_json_ids` from api/v2/admin/accounts spec (#32003) 5 months ago
Matt Jankowski e0b45b35c9
Combine repeated parsed_body assertions into single (#32002) 5 months ago
Matt Jankowski d55f4fbda1
Add content type checks to api/v2 request specs (#31983) 5 months ago
Matt Jankowski 66326065b0
Add `response.content_type` checks for JSON to `api/v1` request specs (#31981) 5 months ago
Matt Jankowski 9a03902ab6
Capture actual behavior in v2/notifications "someone else" dismiss scenario (#31985) 5 months ago
Matt Jankowski b071e618e7
Combine API request spec assertions (#31970) 5 months ago
Matt Jankowski eb16763bff
Use `have_http_link_header` matcher in `api/v1/trends/*` specs (#31940) 5 months ago
Claire e0648a916a
Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*` (#31840) 6 months ago
Matt Jankowski 6b6a80b407
Remove `body_as_json` in favor of built-in `response.parsed_body` for JSON response specs (#31749) 6 months ago
Matt Jankowski 7efe0bde9d
Add `have_http_link_header` matcher and set header values as strings (#31010) 6 months ago
Claire 1fcffa573c
Fix 500 error in `GET /api/v2_alpha/notifications` when there are no notifications to return (#31746) 6 months ago
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 6 months ago
Matt Jankowski c9ea91f868
Add coverage for `api/v1/annual_reports` area (#31730) 6 months ago
Matt Jankowski 8922786ef4
Fix `RSpec/LetSetup` cop in api/v1/timelines/tag spec (#30796) 6 months ago
Matt Jankowski ef4920c6c9
Pull out https/hostname setup for request specs to shared config (#31622) 6 months ago
Claire ea0d691e19
Add `GET /api/v2_alpha/notifications/:group_key/accounts` (#31725) 6 months ago
Matt Jankowski 24a0b20408
Use `body_as_json` directly instead of via local var assignment (#31696) 6 months ago
Matt Jankowski 40f993b3a0
Use built-in `response.parsed_body` for JSON response specs (#31674) 6 months ago
Claire ad0a28a8bf
Add `grouped_types` parameter to allow clients to restrict which notifications types get grouped (#31594) 6 months ago