Commit Graph

1641 Commits (f50bd3d6d93f0a81853275feb1c6de79adb0d2fc)

Author SHA1 Message Date
Emelia Smith e1b7382ea6
Add userinfo oauth endpoint (#32548) 4 months ago
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 4 months ago
Matt Jankowski 97b18d10b4
Move hcaptcha service config to `config_for` yml (#30662) 4 months ago
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription (#32626) 4 months ago
Christian Schmidt 227d46883f
Translate to regional language variant (e.g. pt-BR) (#32428) 5 months ago
Claire d9fbb071da
Fix notification requests from suspended accounts still being listed (#32354) 5 months ago
Matt Jankowski 258dce1256
Add `OpenSSL::SSL::SSLError` to http connection errors wrapper (#32307) 5 months ago
Matt Jankowski e8ec6667bd
Extract wrapper constant for `HTTP::*` error classes (#32285) 5 months ago
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account (#31910) 5 months ago
Matt Jankowski 4fe7f213a6
Use `async_count` in more view locations (#32086) 5 months ago
Claire 49407e7623
Fix Content-Security-Policy when using sso-redirect (#32241) 5 months ago
Matt Jankowski d95f6f4410
Extract `ExportSummary` class for account object counts (#32227) 5 months ago
Christian Schmidt 33d3ca7cf1
Support /.well-known/host-meta.json (#32206) 5 months ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 5 months ago
Eugen Rochko 3426ea2912
Add preview of followers removed in domain block modal in web UI (#32032) 5 months ago
Renaud Chaput 3dc4ddc663
Fix search params being dropped when redirected to non-deck path (#31984) 5 months ago
Eugen Rochko aaab6b7adc
Add reblogs and favourites counts to statuses in ActivityPub (#32007) 5 months ago
Matt Jankowski bdf83c353f
Move default embed size knowledge into `OEmbedSerializer` (#31990)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
5 months ago
Matt Jankowski c922af2737
Add `LIMIT` constant for `api/v1/peers/search` endpoint (#31989) 5 months ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 5 months ago
Matt Jankowski a397141d78
Move non-action public method controller callback to private methods (#31933) 5 months ago
Claire e0648a916a
Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*` (#31840) 6 months ago
Matt Jankowski f3c4874522
Remove unused `statuses#embed` body class assignment (#31787) 6 months ago
Matt Jankowski 4aa600387e
Move redirect/base body class to view (#31796) 6 months ago
Claire a496aeabcb
Change form-action Content-Security-Policy directive to be more restrictive (#26897) 6 months ago
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews (#31819) 6 months ago
Matt Jankowski 7335a43b6d
Use async count in admin dashboard (#30606) 6 months ago
Matt Jankowski 0a433d08fb
Move shares/modal body class to layout (#31789) 6 months ago
Matt Jankowski 4f81ad2494
Add coverage for `media#player`, move body class to view (#31790) 6 months ago
Emelia Smith c88ba523ee
Fix sort order of moderation notes on Reports and Accounts (#31528) 6 months ago
Matt Jankowski a9d0b48b65
Set "admin" body class from `admin` nested layout (#31269) 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
Claire ea0d691e19
Add `GET /api/v2_alpha/notifications/:group_key/accounts` (#31725) 6 months ago
Claire a23b3747ac
Fix N+1s in grouped notifications (#31638) 6 months ago
Claire ad0a28a8bf
Add `grouped_types` parameter to allow clients to restrict which notifications types get grouped (#31594) 6 months ago
Claire 98237207e6
Fix unnecessary “next” link when API returns fewer notification requests than requested (#31541) 6 months ago
Claire 53c183f899
Reload notifications when accepted notifications are merged (streaming only) (#31419) 6 months ago
Renaud Chaput c3e1d86d58
Fix log out from user menu not working on Safari (#31402) 7 months ago
Claire cbdd8edf68
Revamp notification policy options (#31343) 7 months ago
Claire 670e4655d1
Change dismissing a notification to clear existing filtered notifications for that account (#31329) 7 months ago
Claire 438dac99d6
Add option to request partial accounts in grouped notifications API (#31299) 7 months ago
Claire 2ec1181ee5
Fix contrast between background and form elements on some pages (#31266) 7 months ago
Emelia Smith f55099fea3
Increase maximum page size for Admin Domain Management APIs (#31253) 7 months ago
Claire da5b45a573
Add endpoints to accept and dismiss multiple notification requests at once (#31242) 7 months ago
Claire 549ab089ee
Change grouped notifications API shape (take 2) (#31214) 7 months ago
Claire 598ae4f2da
Add endpoints for unread notifications count (#31191) 7 months ago
Emelia Smith c40e481169
Implement UI for Admin Search of Hashtags (#30880) 7 months ago
Matt Jankowski 5f5373397f
Remove duplicate `omniauth_only?` helper method (#31066) 7 months ago
Emelia Smith bb2e5a4b58
Add audit logs to Admin::InstancesController (#27386) 7 months ago
Matt Jankowski 0397df9bef
Resolve `TODO` in `api/v1/admin/domain_*` controllers (#31067) 7 months ago
Renaud Chaput f587ff643f
Grouped Notifications UI (#30440)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
8 months ago
Emelia Smith aa88aca0ad
Add optional OAuth application to reports (#30539) 8 months ago
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed (#31008) 8 months ago
Daniel M Brasil 3875bd138d
Fix HTTP 500 in `/api/v1/polls/:id/votes` (#25598) 8 months 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`
8 months ago
Claire 395f17ca17
Merge pull request from GHSA-vp5r-5pgw-jwqx
* Fix streaming sessions not being closed when revoking access to an app

* Add tests for GHSA-7w3c-p9j8-mq3x
8 months ago
Matt Jankowski 929b9fdaff
Remove exclusion for `Rails/LexicallyScopedActionFilter` cop (#30697) 8 months ago
Claire bb2d77b4a0
Change `/api/v2_alpha/notifications` to only return historical data in pages (#30781) 8 months ago
Matt Jankowski 978601a0ae
Extract permitted params constant in v1/admin/tags (#30652) 9 months ago
Matt Jankowski 410370eecd
Extract `PERMITTED_PARAMS` constant from `admin/domain_blocks` controller (#30380) 9 months ago
Eugen Rochko a2505e8611
Add timeline of public posts about a trending link to REST API (#30381) 9 months ago
Emelia Smith e02d23b549
Change `read:me` scope to `profile` scope (#30357)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
9 months ago
Claire 974335e414
Add experimental server-side notification grouping (#29889) 9 months ago
Matt Jankowski 469de923aa
Update `current_user` override mode description in controllers (#30515) 9 months ago
Matt Jankowski 85d9053b36
Move `pagination_params` into `API::BaseController` (#28845) 9 months ago
Claire 36fe8f8566
Change `ids` param to `id` in `/api/v1/statuses` and `/api/v1/accounts` for consistency (#30465) 9 months ago
Eugen Rochko 128987eded
Add support for `fediverse:creator` OpenGraph tag (#30398) 9 months ago
Matt Jankowski 9b5055d34d
Fix `Style/SuperArguments` cop (#30406) 9 months ago
Claire 89f89d738f
Revert "Allow unblocking email addresses from any matching account (#29305)" (#30385) 9 months ago
Emelia Smith 2da2a1dae9
Support multiple redirect_uris when creating OAuth 2.0 Applications (#29192) 10 months ago
Matt Jankowski 65e82211cd
Rename `cache_*` methods to `preload_*` in controller concern (#30209) 10 months ago
Emelia Smith f0d6dc4519
Fix: Mark redirect uris field in Development > Application form as required (#30311) 10 months ago
Claire 2fe1b8d169
Add API to get multiple accounts and statuses (#27871)
Co-authored-by: noellabo <noel.yoshiba@gmail.com>
10 months ago
Fawaz Farid 05126d106f
Redirect back after site upload deletion (#30141) 10 months ago
Emelia Smith 116f01ec7d
Implement RFC 8414 for OAuth 2.0 server metadata (#29191) 10 months ago
Claire 8e4fea77e3
Fix race condition in `POST /api/v1/push/subscription` (#30166) 10 months ago
Claire 253ead3aa7
Fix not being able to block a subdomain of an already-blocked domain through the API (#30119) 10 months ago
Emelia Smith 81f0002e76
Fix missing destory audit logs for Domain Allows (#30125) 10 months ago
Emelia Smith 049b159beb
Add read:me OAuth 2.0 scope, allowing more limited access to user data (#29087) 10 months ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 11 months ago
Matt Jankowski 650c548c31
Add `not_featured_by` scope to Tag (#28815) 11 months ago
Matt Jankowski 1d3ecd3fba
Add `API::Pagination` concern (#28826) 11 months ago
Matt Jankowski caad1e2628
Add scope `Status.distributable_visibility` (#29950) 11 months ago
Claire babbf6017d
Remove caching in `cache_collection` (#29862) 11 months ago
Matt Jankowski edde54e991
Update stoplight to version 4.1.0 (#28366) 11 months ago
Matt Jankowski 34f293475e
Fix results/query in `api/v1/featured_tags/suggestions` (#29597) 11 months ago
Matt Jankowski 77897cd24c
Use existing `SeveredRelationship.about_local_account` scope in more places (#29673) 12 months ago
Claire 44bf7b8128
Add notifications of severed relationships (#27511) 12 months ago
Claire 8a1423a474
Allow unblocking email addresses from any matching account (#29305) 12 months ago
Matt Jankowski b5115850bb
Move repeated `insert_pagination_headers` method to api base class (#29606) 12 months ago
Matt Jankowski 7720c684c5
Move common module inclusion in sub classes to `ActivityPub::BaseController` (#29560) 12 months ago
Matt Jankowski f9100743ec
Add `Api::ErrorHandling` concern for api/base controller (#29574) 12 months ago
Matt Jankowski c09b8a7164
Add `Account.without_internal` scope (#29559)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
12 months ago
Matt Jankowski 9754967d5f
Move `pagination_max_id` and `pagination_since_id` into api/base controller (#28844) 12 months ago
Eugen Rochko c10bbf5fe3
Add notification policies and notification requests in web UI (#29433) 12 months ago
Eugen Rochko 5b3a8737d6
Add hints for rules (#29539) 12 months ago
Eugen Rochko 50b17f7e10
Add notification policies and notification requests (#29366) 12 months ago
Matt Jankowski eb1b8f69de
Allow pagination `Link` headers on API accounts/statuses when pinned true (#29442) 1 year ago
zunda a30cdfd4d4
Specify 410 for code when responding as json while self-destruction (#29420) 1 year ago