Commit Graph

556 Commits (hacks/mailer-cutoff)

Author SHA1 Message Date
David Roetzel 319fbbbfac
Experimental Async Refreshes API (#34918) 1 month ago
Emelia Smith a73ade526a
Assert usage of client credentials for account registration (#34828) 2 months ago
Claire 8c51a8ba94
Add ability to translate server rules (#34494) 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
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 36afb4557a
Fix incorrect deprecation warning for `DELETE /api/v1/suggestions/:id` (#34397) 4 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
Jonny Saunders 46e13dd81c
Add Fetch All Replies Part 1: Backend (#32615)
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Co-authored-by: jonny <j@nny.fyi>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Kouhai <66407198+kouhaidev@users.noreply.github.com>
5 months ago
Claire 420ffdfb62
Add delay to profile updates to debounce them (#34137) 5 months ago
Eugen Rochko cadda2f957
Add effective date to terms of service (#33993) 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
S1m 4a2813158d
Add support for standard webpush (#33528)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
6 months ago
Matt Jankowski f35de1ed0d
Remove un-needed `Poll.attached` scope (#33368) 7 months ago
Eugen Rochko 30aa0df88c
Add terms of service (#33055) 8 months ago
Eugen Rochko 48ea7552dd
Change hashtag trends to be stored in the database instead of redis (#32837)
Co-authored-by: David Roetzel <david@roetzel.de>
8 months ago
Eugen Rochko 2b5faa2ba3
Change lists to reflect added and removed users retroactively (#32930) 8 months ago
Matt Jankowski 477412d62a
Use hash arguments to `select` when possible (Rails 7.2) (#32917) 8 months ago
Matt Jankowski c511cbcd6c
Extract constants for controller `LIMIT` queries (#32921) 8 months ago
Eugen Rochko d6349c0e9a
Add year in review feature to web UI (#32709) 9 months ago
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 9 months ago
Christian Schmidt 227d46883f
Translate to regional language variant (e.g. pt-BR) (#32428) 9 months ago
Claire d9fbb071da
Fix notification requests from suspended accounts still being listed (#32354) 10 months ago
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account (#31910) 10 months ago
Eugen Rochko 3426ea2912
Add preview of followers removed in domain block modal in web UI (#32032) 10 months ago
Matt Jankowski c922af2737
Add `LIMIT` constant for `api/v1/peers/search` endpoint (#31989) 10 months ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 10 months ago
Claire 98237207e6
Fix unnecessary “next” link when API returns fewer notification requests than requested (#31541) 11 months ago
Claire 53c183f899
Reload notifications when accepted notifications are merged (streaming only) (#31419) 11 months ago
Claire cbdd8edf68
Revamp notification policy options (#31343) 12 months ago
Claire 670e4655d1
Change dismissing a notification to clear existing filtered notifications for that account (#31329) 12 months ago
Emelia Smith f55099fea3
Increase maximum page size for Admin Domain Management APIs (#31253) 12 months ago
Claire da5b45a573
Add endpoints to accept and dismiss multiple notification requests at once (#31242) 12 months ago
Claire 598ae4f2da
Add endpoints for unread notifications count (#31191) 1 year ago
Matt Jankowski 0397df9bef
Resolve `TODO` in `api/v1/admin/domain_*` controllers (#31067) 1 year ago
Emelia Smith aa88aca0ad
Add optional OAuth application to reports (#30539) 1 year ago
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed (#31008) 1 year ago
Daniel M Brasil 3875bd138d
Fix HTTP 500 in `/api/v1/polls/:id/votes` (#25598) 1 year ago
Claire 502cf75b16
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`
1 year ago
Matt Jankowski 978601a0ae
Extract permitted params constant in v1/admin/tags (#30652) 1 year ago
Eugen Rochko a2505e8611
Add timeline of public posts about a trending link to REST API (#30381) 1 year ago
Emelia Smith e02d23b549
Change `read:me` scope to `profile` scope (#30357)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 469de923aa
Update `current_user` override mode description in controllers (#30515) 1 year ago
Matt Jankowski 85d9053b36
Move `pagination_params` into `API::BaseController` (#28845) 1 year ago
Claire 36fe8f8566
Change `ids` param to `id` in `/api/v1/statuses` and `/api/v1/accounts` for consistency (#30465) 1 year ago