Commit Graph

1606 Commits (d58173e45bf0fdf5a6015d40eb88c313a3d99e5c)

Author SHA1 Message Date
Claire ad0a28a8bf
Add `grouped_types` parameter to allow clients to restrict which notifications types get grouped (#31594) 4 months ago
Claire 98237207e6
Fix unnecessary “next” link when API returns fewer notification requests than requested (#31541) 4 months ago
Claire 53c183f899
Reload notifications when accepted notifications are merged (streaming only) (#31419) 4 months ago
Renaud Chaput c3e1d86d58
Fix log out from user menu not working on Safari (#31402) 5 months ago
Claire cbdd8edf68
Revamp notification policy options (#31343) 5 months ago
Claire 670e4655d1
Change dismissing a notification to clear existing filtered notifications for that account (#31329) 5 months ago
Claire 438dac99d6
Add option to request partial accounts in grouped notifications API (#31299) 5 months ago
Claire 2ec1181ee5
Fix contrast between background and form elements on some pages (#31266) 5 months ago
Emelia Smith f55099fea3
Increase maximum page size for Admin Domain Management APIs (#31253) 5 months ago
Claire da5b45a573
Add endpoints to accept and dismiss multiple notification requests at once (#31242) 5 months ago
Claire 549ab089ee
Change grouped notifications API shape (take 2) (#31214) 5 months ago
Claire 598ae4f2da
Add endpoints for unread notifications count (#31191) 5 months ago
Emelia Smith c40e481169
Implement UI for Admin Search of Hashtags (#30880) 5 months ago
Matt Jankowski 5f5373397f
Remove duplicate `omniauth_only?` helper method (#31066) 5 months ago
Emelia Smith bb2e5a4b58
Add audit logs to Admin::InstancesController (#27386) 5 months ago
Matt Jankowski 0397df9bef
Resolve `TODO` in `api/v1/admin/domain_*` controllers (#31067) 5 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>
5 months ago
Emelia Smith aa88aca0ad
Add optional OAuth application to reports (#30539) 5 months ago
David Roetzel 35a437a03f
Destroy `NotificationRequest`s that are dismissed (#31008) 6 months ago
Daniel M Brasil 3875bd138d
Fix HTTP 500 in `/api/v1/polls/:id/votes` (#25598) 6 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`
6 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
6 months ago
Matt Jankowski 929b9fdaff
Remove exclusion for `Rails/LexicallyScopedActionFilter` cop (#30697) 6 months ago
Claire bb2d77b4a0
Change `/api/v2_alpha/notifications` to only return historical data in pages (#30781) 6 months ago
Matt Jankowski 978601a0ae
Extract permitted params constant in v1/admin/tags (#30652) 7 months ago
Matt Jankowski 410370eecd
Extract `PERMITTED_PARAMS` constant from `admin/domain_blocks` controller (#30380) 7 months ago
Eugen Rochko a2505e8611
Add timeline of public posts about a trending link to REST API (#30381) 7 months ago
Emelia Smith e02d23b549
Change `read:me` scope to `profile` scope (#30357)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
7 months ago
Claire 974335e414
Add experimental server-side notification grouping (#29889) 7 months ago
Matt Jankowski 469de923aa
Update `current_user` override mode description in controllers (#30515) 7 months ago
Matt Jankowski 85d9053b36
Move `pagination_params` into `API::BaseController` (#28845) 7 months ago
Claire 36fe8f8566
Change `ids` param to `id` in `/api/v1/statuses` and `/api/v1/accounts` for consistency (#30465) 7 months ago
Eugen Rochko 128987eded
Add support for `fediverse:creator` OpenGraph tag (#30398) 7 months ago
Matt Jankowski 9b5055d34d
Fix `Style/SuperArguments` cop (#30406) 7 months ago
Claire 89f89d738f
Revert "Allow unblocking email addresses from any matching account (#29305)" (#30385) 7 months ago
Emelia Smith 2da2a1dae9
Support multiple redirect_uris when creating OAuth 2.0 Applications (#29192) 7 months ago
Matt Jankowski 65e82211cd
Rename `cache_*` methods to `preload_*` in controller concern (#30209) 8 months ago
Emelia Smith f0d6dc4519
Fix: Mark redirect uris field in Development > Application form as required (#30311) 8 months ago
Claire 2fe1b8d169
Add API to get multiple accounts and statuses (#27871)
Co-authored-by: noellabo <noel.yoshiba@gmail.com>
8 months ago
Fawaz Farid 05126d106f
Redirect back after site upload deletion (#30141) 8 months ago
Emelia Smith 116f01ec7d
Implement RFC 8414 for OAuth 2.0 server metadata (#29191) 8 months ago
Claire 8e4fea77e3
Fix race condition in `POST /api/v1/push/subscription` (#30166) 8 months ago
Claire 253ead3aa7
Fix not being able to block a subdomain of an already-blocked domain through the API (#30119) 8 months ago
Emelia Smith 81f0002e76
Fix missing destory audit logs for Domain Allows (#30125) 8 months ago
Emelia Smith 049b159beb
Add read:me OAuth 2.0 scope, allowing more limited access to user data (#29087) 8 months ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 8 months ago
Matt Jankowski 650c548c31
Add `not_featured_by` scope to Tag (#28815) 8 months ago
Matt Jankowski 1d3ecd3fba
Add `API::Pagination` concern (#28826) 8 months ago
Matt Jankowski caad1e2628
Add scope `Status.distributable_visibility` (#29950) 9 months ago
Claire babbf6017d
Remove caching in `cache_collection` (#29862) 9 months ago
Matt Jankowski edde54e991
Update stoplight to version 4.1.0 (#28366) 9 months ago
Matt Jankowski 34f293475e
Fix results/query in `api/v1/featured_tags/suggestions` (#29597) 9 months ago
Matt Jankowski 77897cd24c
Use existing `SeveredRelationship.about_local_account` scope in more places (#29673) 9 months ago
Claire 44bf7b8128
Add notifications of severed relationships (#27511) 9 months ago
Claire 8a1423a474
Allow unblocking email addresses from any matching account (#29305) 9 months ago
Matt Jankowski b5115850bb
Move repeated `insert_pagination_headers` method to api base class (#29606) 9 months ago
Matt Jankowski 7720c684c5
Move common module inclusion in sub classes to `ActivityPub::BaseController` (#29560) 10 months ago
Matt Jankowski f9100743ec
Add `Api::ErrorHandling` concern for api/base controller (#29574) 10 months ago
Matt Jankowski c09b8a7164
Add `Account.without_internal` scope (#29559)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
10 months ago
Matt Jankowski 9754967d5f
Move `pagination_max_id` and `pagination_since_id` into api/base controller (#28844) 10 months ago
Eugen Rochko c10bbf5fe3
Add notification policies and notification requests in web UI (#29433) 10 months ago
Eugen Rochko 5b3a8737d6
Add hints for rules (#29539) 10 months ago
Eugen Rochko 50b17f7e10
Add notification policies and notification requests (#29366) 10 months ago
Matt Jankowski eb1b8f69de
Allow pagination `Link` headers on API accounts/statuses when pinned true (#29442) 10 months ago
zunda a30cdfd4d4
Specify 410 for code when responding as json while self-destruction (#29420) 10 months ago
Matt Jankowski 785e2f9399
Add scope `providing_styles` to `UserRole` (#29286) 10 months ago
Claire d4d0565b0f
Fix user creation failure handling in OAuth paths (#29207) 11 months ago
Claire b31af34c97
Merge pull request from GHSA-vm39-j3vx-pch3
* Prevent different identities from a same SSO provider from accessing a same account

* Lock auth provider changes behind `ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true`

* Rename methods to avoid confusion between OAuth and OmniAuth
11 months ago
Claire 7efc33b909
Move HTTP Signature parsing code to its own class (#28932) 11 months ago
Claire eeabf9af72
Fix compatibility with Redis <6.2 (#29123) 11 months ago
Matt Jankowski 2f19ddd1fa
Move status serializer error handling to private method (#29031) 11 months ago
Matt Jankowski 93a5b3f9df
Move status serializer chooser to private method (#29030) 11 months ago
Matt Jankowski 0877f6fda4
Remove redundant `return` in `IntentsController` (#29099) 11 months ago
Matt Jankowski 4cf07ed78c
Add missing action logging to `api/v1/admin/reports#update` (#29044) 11 months ago
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
11 months ago
Matt Jankowski 42ab855b23
Add specs for `Instance` model scopes and add `with_domain_follows` scope (#28767) 11 months ago
Matt Jankowski 17ea22671d
Fix `Style/GuardClause` cop in app/controllers (#28420) 11 months ago
Matt Jankowski 7c9c6c7f80
Fix remaining `Rails/WhereExists` cop violations, regenerate todo (#28892) 11 months ago
Claire c50274a0ac
Fix redirect confirmation for accounts (#28902) 11 months ago
Eugen Rochko b19ae521b7
Add confirmation when redirecting logged-out requests to permalink (#27792)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Eugen Rochko 5b1eb09d54
Add annual reports for accounts (#28693) 11 months ago
Matt Jankowski c0e8e457ab
Eager loading fixes for `api/` controllers (#28848) 11 months ago
Claire e2d9635074
Add notification email on invalid second authenticator (#28822) 11 months ago
Matt Jankowski 18004bf227
Add `Account.matches_uri_prefix` scope and use in activitypub/followers_synchronizations controller (#28820) 11 months ago
Matt Jankowski 7ecf7f5403
Move controller->request specs for api/v1/statuses/* (#28818) 11 months ago
Claire 3593ee2e36
Add rate-limit of TOTP authentication attempts at controller level (#28801) 11 months ago
Matt Jankowski 329911b0a3
Migrate controller->request spec for api/v1/follow* (#28811) 11 months ago
Matt Jankowski 1480573c83
Add `Account.auditable` scope, fix N+1 in admin/action_logs#index (#28812) 11 months ago
Matt Jankowski 0b853678a4
Add coverage for `api/v1/peers/search` endpoint and extract controller query to Instance scope (#28796) 11 months ago
Claire 98b5f85f10
Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` (#28735) 12 months ago
Matt Jankowski e72676e83a
Improve `api/v1/markers#create` performance against simultaneous requests (#28718) 12 months ago
Matt Jankowski 7801db7ba4
Spec coverage for custom css endpoint (#28706) 12 months ago
Matt Jankowski 575ab085be
Disable `Rails/ApplicationController` for `HealthController` (#28705) 12 months ago
Claire d7e13e2483
Fix potential redirection loop of streaming endpoint (#28665) 12 months ago
Jean Boussier 5a6d533c53
Enable Rails 7.1 Marshalling format (#28609) 12 months ago
Claire 419c659bc4
Add fallback redirection when getting a webfinger query `WEB_DOMAIN@WEB_DOMAIN` (#28592) 12 months ago
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 12 months ago
Matt Jankowski e12d8893f4
Fix intermittent failure from unspecified order in `export_domain_blocks` controller spec (#28562) 12 months ago
Claire 092bb8a27a
Fix Mastodon not correctly processing HTTP Signatures with query strings (#28476) 12 months ago
Claire 1184887b01
Fix streaming API redirection ignoring the port of `streaming_api_base_url` (#28558) 1 year ago