Commit Graph

180 Commits (stable-4.4)

Author SHA1 Message Date
Matt Jankowski ab7f50ce4e
Reduce hard coding of `LOCAL_DOMAIN` env value throughout tests (#35025) 1 month ago
David Roetzel 319fbbbfac
Experimental Async Refreshes API (#34918) 1 month ago
Matt Jankowski f7a3dd0e38
Use `config_for` for VAPID key storage (#34845) 2 months ago
Emelia Smith a73ade526a
Assert usage of client credentials for account registration (#34828) 2 months ago
Eugen Rochko a97647158c
Add REST API for featuring and unfeaturing a hashtag (#34489)
Co-authored-by: Matt Jankowski <matt@jankowski.online>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 months ago
Claire 7bc301e184
Make `Web::PushSubscription#user` and `Web::PushSubscription#access_token` relationships non-optional (#34498)
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
3 months ago
Claire dee744c793
Fix quote serializer (#34510) 3 months ago
Eugen Rochko ff0990ec9f
Add REST API for fetching an account's endorsed accounts (#34421) 3 months ago
Matt Jankowski 2eaef09166
Use enum validation instead of `ArgumentError` rescue for `List` replies policy check (#34452) 3 months ago
Claire 38f5e74122
Add `Deprecation` headers on deprecated endpoints (#34262)
Co-authored-by: Damien Mathieu <42@dmathieu.com>
4 months ago
Eugen Rochko d213c585ff
Add age verification on sign-up (#34150) 4 months ago
Matt Jankowski f71a855e2d
Add coverage for `standard` params on push subs create (#34092) 4 months ago
Claire 420ffdfb62
Add delay to profile updates to debounce them (#34137) 5 months ago
Emelia Smith 4960193ed0
Add API to delete media attachments that are not in use (#33991) 5 months ago
Claire e71fb450e0
Add optional `delete_media` parameter to `DELETE /api/v1/statuses/:id` (#33988) 5 months 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>
5 months ago
Matt Jankowski 607f65a0a5
Use `expect` for api/v1 and api/web push subs controllers (#33682) 6 months ago
Christian Schmidt a3baae0b99
API for updating attribution domains (#32730) 6 months ago
Matt Jankowski 72abf05269
Add "needs refresh" scenario to `api/v1/polls` request spec (#33608) 6 months ago
Wolfgang 77a44e61a8
Add enum validation to `DomainBlock#severity` (#29158) 6 months ago
Daniel M Brasil 0db7558822
Fix HTTP 500 on `POST /api/v1/admin/ip_blocks` (#29308) 6 months ago
Matt Jankowski 3c4a83fc62
Remove unused `LanguagePresenter#native_name` (#33551) 6 months ago
Matt Jankowski b3243ef41c
Refer to constant values from `api/v1/apps` request spec (#33488) 7 months ago
Matt Jankowski efcd4ea5de
Reference value constants from specs (#33479) 7 months ago
Matt Jankowski 7cbdcd7b3f
Add role-specific user fabricators (#33437) 7 months ago
Claire 1712543c68
Revert "Support animated PNGs in media attachments (#28516)" (#33334) 7 months ago
Christian Schmidt a70ae28644
Support animated PNGs in media attachments (#28516) 8 months ago
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 8 months ago
Matt Jankowski 752d49eefe
Add coverage for `api/v1/push/subscriptions#show` action (#33134) 8 months ago
Eugen Rochko 48f3ed738f
Fix list error messages (#33082) 8 months ago
Emelia Smith 2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 8 months ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 9 months ago
Matt Jankowski 0a4a73f9a6
Add coverage for `api/v1/domain_blocks/preview` endpoint (#32303) 9 months ago
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account (#31910) 10 months ago
Matt Jankowski 51777fe3e2
Prefer structure checks over multi-line size/parts checks in `parsed_body` (#32063) 10 months ago
Matt Jankowski 447d0a3e88
Remove double no-records cases in `api/v1/admin` req specs (#32014) 10 months ago
Matt Jankowski e0b45b35c9
Combine repeated parsed_body assertions into single (#32002) 10 months ago
Matt Jankowski 66326065b0
Add `response.content_type` checks for JSON to `api/v1` request specs (#31981) 10 months ago
Matt Jankowski b071e618e7
Combine API request spec assertions (#31970) 10 months ago
Matt Jankowski eb16763bff
Use `have_http_link_header` matcher in `api/v1/trends/*` specs (#31940) 10 months ago
Matt Jankowski 6b6a80b407
Remove `body_as_json` in favor of built-in `response.parsed_body` for JSON response specs (#31749) 11 months ago
Matt Jankowski 7efe0bde9d
Add `have_http_link_header` matcher and set header values as strings (#31010) 11 months ago
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 11 months ago
Matt Jankowski c9ea91f868
Add coverage for `api/v1/annual_reports` area (#31730) 11 months ago
Matt Jankowski 8922786ef4
Fix `RSpec/LetSetup` cop in api/v1/timelines/tag spec (#30796) 11 months ago
Matt Jankowski ef4920c6c9
Pull out https/hostname setup for request specs to shared config (#31622) 11 months ago
Matt Jankowski 24a0b20408
Use `body_as_json` directly instead of via local var assignment (#31696) 11 months ago
Matt Jankowski 40f993b3a0
Use built-in `response.parsed_body` for JSON response specs (#31674) 11 months ago
Claire 53c183f899
Reload notifications when accepted notifications are merged (streaming only) (#31419) 11 months ago
Claire d2e4be0456
Hopefully fix notifications pagination flaky test (#31494) 11 months ago