Commit Graph

3162 Commits (features/api-error-code-url)

Author SHA1 Message Date
Claire 589af7a1cc
Change `GET /api/v1/statuses/:id/quotes` to allow listing quotes to other people's posts (#36291) 5 months ago
Claire 45219dbf64
Fix spurious notification of local boosters and quoters when updating quote policy (#36299) 5 months ago
Emelia Smith 5b97f25a15
Add integration tests for mastodon-streaming (#36025)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: David Roetzel <david@roetzel.de>
5 months ago
Claire 150f0fcba5
Add support for numeric-based URIs for local accounts (#32724) 5 months ago
Claire a44a3f6d40
Expand test coverage of `ActivityPub::TagManager` class (#36260) 6 months ago
Claire 28be5a199f
Fix Private Messages self-quoting private posts being changed to followers-only (#36249) 6 months ago
Claire e1f7847b64
Remove the `outgoing_quotes` feature flag, making the feature unconditional (#36130) 6 months ago
Matt Jankowski 854aaec6fe
Spec for newline in request lib initialize (#36170) 6 months ago
Claire b6bc42aaa6
Fix getting `Create` and `Update` out of order (#36176) 6 months ago
Claire 90765342a3
Fix posts when omitting quote policy and default policy is `nobody` (#36158) 6 months ago
Claire fbf093a87f
Fix CW being moved to text when posting quote posts with empty text (#36151) 6 months ago
Jeong Arm 3055afd1d2
Fix applying user's default quote policy if API parameter is not specified (#36132) 6 months ago
Claire 82b26603fe
Fix quote posts with CW and no text being rejected (#36095) 6 months ago
Claire b60ee191ac
Fix QuoteAuthorization id not being properly serialized when federating revocation (#36083) 6 months ago
Yamagishi Kazutoshi ffaa672fd6
Display Valkey version on admin dashboard (#35785) 6 months ago
Claire e1dc960219
Rework FEP-7888 implementation (#36064) 6 months ago
Jesse Karmani 65b4a0a6f1
Implement FEP 7888: Part 1 - publish conversation context (#35959) 6 months ago
Matt Jankowski 1b664cf20d
Relay reset delivery tracker model spec and callback (#36027) 6 months ago
Matt Jankowski 05a655f33e
Convert age verification controller to system specs (#36026) 6 months ago
Matt Jankowski 3efba15b3c
Use `pluck` on `DomainAllow.allowed_domains` for export (#36019) 6 months ago
Emelia Smith 4c2a2c27c1
Automatically remove invalid Web::PushSubscriptions (#35987) 6 months ago
Claire 75fca715e9
Change public self-quotes of private posts to be disallowed (#35975) 6 months ago
fiona e665cc68f4
Fix handling of edited status with new media and no text (#35970) 6 months ago
Eugen Rochko 7fc884ba00
Fix banned text being able to be circumvented via unicode (#35978) 6 months ago
Claire ab698ff521
Move posting defaults to their own preferences sub-category (#35966) 6 months ago
Matt Jankowski ee4b0a223c
Add coverage for `Relay` model (#35950) 6 months ago
Claire 4fa203e69e
Rename `unknown` quote policy value to `unsupported_policy` (#35955) 6 months ago
Matt Jankowski 5f1e6a5886
Fix failure to verify changes in api/v1/accounts/credentials spec (#35951) 6 months ago
Claire c00ed9c913
Add digest re-check before removing followers in synchronization mechanism (#34273) 7 months ago
Matt Jankowski a8166d28ed
Add coverage for "live TOS" and "no TOS" paths in tos/drafts spec (#35902) 7 months ago
Matt Jankowski 4f41b7c089
Relax hard-coded attr names in system specs (#35903) 7 months ago
Claire 496370801a
Add `quotes_count` to serializer specs (#35901) 7 months ago
Claire f3a932d8a1
Add `quoted_update` notification type (#35820) 7 months ago
Matt Jankowski 20bc34ca52
Rely on `pluck` for the SELECT in `RuleTranslation.languages` (#35826) 7 months ago
Matt Jankowski ce813ad144
Avoid method that makes tokens while checking for tokens (#35815) 7 months ago
Claire 255d8f3f8c
Fix e-mail confirmation bypassing username approval (#35806) 7 months ago
Claire 72bd1ed4b3
Fix updates to quote policy not being federated (#35804) 7 months ago
Matt Jankowski 9d15b85d3b
Include `update` in the resources args for api/web/push_subscriptions route (#35801) 7 months ago
Claire a2cddb9eac
Disallow making private posts quotable (#35780) 7 months ago
Claire b0ce1ce49d
Fix `tootctl admin create` not bypassing reserved username checks (#35779) 7 months ago
Matt Jankowski 93923a4af2
First pass coverage addition for antispam class (#35771) 7 months ago
Claire 2648bbdc51
Add `PUT /api/v1/statuses/:status_id/interaction_policy` (#35769) 7 months ago
Echo 7cf53dbf63
Redirect on success for standalone compose (#35763) 7 months ago
Claire 258e5c4938
Fix interaction policy changes in implicit updates not being saved (#35751) 7 months ago
Claire 8a7e84a475
Add test for `Delete` of inlined `QuoteAuthorization` (#35724) 7 months ago
Claire 0e99d428b2
Change serialization of `Delete` activities for `QuoteAuthorization` to inline the latter (#35725) 7 months ago
Matt Jankowski b827a0a6a8
Allow `CustomEmoji` to normalize its own domain (#35726) 7 months ago
David Roetzel 868c46bc76
Add delivery failure handling to FASP jobs (#35723) 7 months ago
Matt Jankowski a485f97d21
Replace `EmailHelper` module with `normalizes` via model concern (#35702) 7 months ago
Claire 496a5f423e
Inline `instrument` quote post in outgoing `QuoteRequest` activities (#35713) 7 months ago
Claire 836a2bfee0
Fix handling of inlined `instrument` in incoming `QuoteRequest` (#35714) 7 months ago
Claire 9ec99ffef1
Add `quote_approval_policy` parameter when posting and editing statuses (#35699) 7 months ago
Matt Jankowski 6e48322055
Add spec for `CanonicalEmailBlock.matching_email` scope (#35692) 7 months ago
Claire c8f263c419
Export interaction policies for local posts over ActivityPub (#35697) 7 months ago
Matt Jankowski 4c2ddbf2c4
Update rubocop to version 1.79.2 (#35688) 7 months ago
Claire 1fd3510b32
Change the quote revocation REST API endpoint to return updated quote post (#35677) 7 months ago
Matt Jankowski 8131268256
Replace `unprocessable_entity` -> `unprocessable_content` (#35658) 7 months ago
Claire 32791c9745
Accept remote quotes of local quotes according to set policy (#35629) 7 months ago
David Roetzel eb273f904f
Make `WorkerBatch` spec more robust (#35656) 7 months ago
Claire 80aadc55df
Add missing mailer for quote notifications (#35652) 7 months ago
David Roetzel 05cdd3f6eb
Track delivery failures to FASP (#35628) 7 months ago
Claire 591df1f205
Add support for local quote stamps (#35626) 7 months ago
Matt Jankowski 483da67204
Remove unused `obscured_counter` helper method (#35627) 7 months ago
David Roetzel fba24cc4eb
Add minute resolution to `DeliveryFailureTracker` (#35625) 7 months ago
Claire 2dfdcc7dcb
Add API endpoints to view and revoke one's quoted posts (#35578) 7 months ago
Claire 572a0e128d
Change quote verification to not bypass authorization flow for mentions (#35528) 7 months ago
Claire e5826777b6
Fix friends-of-friends recommendations suggesting already-requested accounts (#35604) 7 months ago
Matt Jankowski e8e6cf9510
Add coverage to user spec for missing `last_sign_in_at` scenario (#35587) 7 months ago
Matt Jankowski 3146109b08
Add `MediaAttachment.combined_media_file_size` method (#35570) 7 months ago
Matt Jankowski 7e6b134222
Extract `User::Activity` concern (#35581) 7 months ago
Matt Jankowski 6dc55a2f4e
Extract `User::Confirmation` concern (#35582) 7 months ago
Matt Jankowski ba9fa54f9c
Add coverage for more admin/domain_blocks scenarios (#35590) 7 months ago
Eugen Rochko 20bbd20ef1
Add ability to block words in usernames (#35407) 7 months ago
Eugen Rochko 8cf7a77808
Fix async refresh never being finished when status cannot be fetched (#35500) 7 months ago
Matt Jankowski c587c44975
Fix `Lint/NonLocalExitFromIterator` cop in JSON-LD helper (#34948) 7 months ago
Matt Jankowski 040a638ab9
Fix `Style/GuardClause` in `Tag` (#35522) 8 months ago
Matt Jankowski 038de44110
Fix `Style/GuardClause` in `Webfinger` lib (#35532) 8 months ago
Matt Jankowski 7cd3738c19
Add `with_list_account` scope to `List` model (#35539) 8 months ago
Matt Jankowski 9d0d6f011c
Add coverage for `AnnouncementReaction` model (#35543) 8 months ago
Claire 5a88b7f683
Add experimental basic quote post authoring (#35355) 8 months ago
Matt Jankowski 2e35defeec
Update rubocop to version 1.79.0 (#35502) 8 months ago
Matt Jankowski 960f693219
Use `field` partial in admin account show view (#35503) 8 months ago
Claire a863e68d17
Add restrictions on which quote posts can trend (#35507) 8 months ago
Matt Jankowski e54e96d61f
Extract params hash for `api/v1/push/subscriptions#create` (#35475) 8 months ago
Matt Jankowski 290e36d7e8
Finish migration of `api/web/push_subscriptions` controller->request spec (#35482) 8 months ago
Eugen Rochko 14a781fa24
Add button to load new replies in web UI (#35210) 8 months ago
Matt Jankowski fab95b8dae
Add coverage for api/v1/invites scenarios (#35389) 8 months ago
Claire d36bf3b6fb
Fix support for quote verification in implicit status updates (#35384) 8 months ago
Claire 594976a538
Refactor `ActivityPub::Activity::Accept` and `ActivityPub::Activity::Reject` specs (#35382) 8 months ago
Matt Jankowski 0efb889a9c
Extract constant for attribution domains limit in account (#35350) 8 months ago
Matt Jankowski 30344d6abf
Confirm `User#login_activities` in auth/sessions spec (#35372) 8 months ago
Matt Jankowski 1637297085
Add coverage for `CustomFilterStatus` model (#35374) 8 months ago
Matt Jankowski dec1fb71f4
Add coverage for `FollowRecommendationMute` model (#35376) 8 months ago
Matt Jankowski 7273f6c03c
Move shared params to common method in admin/reports/actions (#35353) 8 months ago
Matt Jankowski a3ffd2edf8
Use sequence for unique names on webauthn cred fabricator (#35356) 8 months ago
Matt Jankowski 1496488771
Add `Status#not_replying_to_account` scope for annual report classes (#35257) 8 months ago
Matt Jankowski f9beecb343
Improve Accounts CLI `prune` spec (#35302) 8 months ago
Matt Jankowski 4ecfbd3920
Add `Status.only_polls` (and without polls) scope (#35330) 8 months ago
Claire 8bd2c87399
Fix support for special characters in various environment variables (#35314)
Co-authored-by: Matt Jankowski <matt@jankowski.online>
8 months ago
David Roetzel 8ee6cee36e
Better error response to malformed headers (#35278) 8 months ago
Matt Jankowski bdffdcb12f
Remove unused scopes in `Account` model (#35276) 8 months ago
David Roetzel 1fa72d6c44
Raise better exception on FASP error responses (#35262) 8 months ago
Matt Jankowski e8d2432e6a
Fix intermittent failure of TOS model spec from effective date collision (#35244) 8 months ago
Claire e97f43399b
Fix error handling for blank actions in account moderation action form (#35246) 8 months ago
Matt Jankowski 1ae3510ede
Add coverage for TOS interstitial interruption flow of web app controller concern (#35235) 8 months ago
Matt Jankowski c047014214
Add coverage for `valid_locale_or_nil` languages helper method (#34866) 8 months ago
David Roetzel c357a7f8d6
Add optional bulk mailer settings (#35203) 8 months ago
David Roetzel bae258925c
Persist follow recommendations from FASP (#35218) 8 months ago
Claire 153af19f55
Add specs for PublicFileServer middleware (#35219) 8 months ago
Matt Jankowski 964916c71b
Add coverage for `TermsOfService` scopes/validations (#35204) 8 months ago
David Roetzel ac4b735c67
Add FASP account search support (#34033) 8 months ago
David Roetzel 48451b782d
Move email env var reading to yml files (#35191) 9 months ago
Claire 2e0a00ab46
Fix search operators sometimes getting lost (#35190) 9 months ago
Matt Jankowski 8285194451
Move `layout` setup for OAuth views to controllers (#35176) 9 months ago
Emelia Smith 72f2f35bfb
Implement Instance Moderation Notes (#31529) 9 months ago
Matt Jankowski 47fda2df2c
Update `OAuth` inflection to match spec (#35160) 9 months ago
Matt Jankowski 377289c961
Add coverage for doorkeeper model extensions (#35161) 9 months ago
Matt Jankowski f852da50f6
Add `User#email_domain` method to extract domain from email address (#35159) 9 months ago
Matt Jankowski fd902c04f7
Use `config_for` for omniauth enabled values (#35015) 9 months ago
Matt Jankowski 0338733531
Add model coverage and scopes to `RuleTranslation` class (#35098) 9 months ago
Matt Jankowski 0d7f1584bc
Move remaining `_map` method specs from account to mappings spec (#35142) 9 months ago
Matt Jankowski 36f01af6c4
Add `Status#only_reblogs` scope for annual report classes (#35141) 9 months ago
Matt Jankowski c023ebc87a
Limit count to pending&trending on admin/trends/tags page (#35120) 9 months ago
Matt Jankowski b08ccaa5b3
Extract `Account::Mappings` concern from "interactions" (#35119) 9 months ago
David Roetzel adf812efb3
Fix missing terms of services link (#35115) 9 months ago
Matt Jankowski 54f9a1b43b
Extract secret size constants in `Webhook` model (#35104) 9 months ago
Matt Jankowski e9b1c1edfe
Simplify `WebauthnCredential` constant limit math (#35107) 9 months ago
David Roetzel 0ec6c26af3
Fix error when RFC9421 signatures are used (#35109) 9 months ago
Matt Jankowski ca3cc36549
Allow more flexible host/port treatment with LOCAL_DOMAIN values in tests (#35040) 9 months ago
David Roetzel b2506478ba
Add FASP follow recommendation support (#34964) 9 months ago
Matt Jankowski 6f2aba989f
Move "limited federation mode" config to `x.mastodon` area (#35041) 9 months ago
Matt Jankowski ab7f50ce4e
Reduce hard coding of `LOCAL_DOMAIN` env value throughout tests (#35025) 9 months ago
David Roetzel 319fbbbfac
Experimental Async Refreshes API (#34918) 9 months ago
Echo 825312d4b0
Fix theme name requirement regression with efficient lookup by name (#35007)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
9 months ago
Matt Jankowski 1200f70ae7
Simplify QR/OTP generation in 2FA/confirmations spec (#35019) 9 months ago
Matt Jankowski 3509064801
Reduce hard coding of instance hostname in `AdminMailer` specs (#35020) 9 months ago
Eugen Rochko f53bb4cd7d
Add "More" to the sidebar menu with links to mutes, blocks, and so on (#34987) 9 months ago
Matt Jankowski 629bb74451
Replace selenium-webdriver with playwright (#34867) 9 months ago
Claire 7a7e0ba4cd
Add basic support for remote attachments with multiple media types (#34996) 9 months ago
Matt Jankowski dc2cfd50a0
Fix `Style/OptionalBooleanParameter` cop (#34968) 9 months ago
Claire d0c6f30378
Add `fasp` queue to sidekiq queue system check (#34965) 9 months ago
Claire 989ca63b59
Remove `inbound_quotes` feature flag (#34958) 9 months ago
Claire 86627624f1
Fix quote post streaming edge cases (#34957) 9 months ago
Matt Jankowski 1d152d2181
Replace local vars with `let` in JS-enabled system specs (#34905) 9 months ago
David Roetzel 9c80b16401
Accept HTTP Message Signatures (RFC9421) (#34814) 9 months ago
Claire 00b56932de
Fix handling of featured tag removal (#34887) 9 months ago
Claire 32b521b7f4
Fix multiple issues in quoted posts hydration (#34864) 9 months ago
Claire 4b39bced3e
Increase capybara default timeout to reduce test flakiness (#34859) 9 months ago
Matt Jankowski c025824f98
Use `config_for` for cache buster values (#34851) 9 months ago
Matt Jankowski f7a3dd0e38
Use `config_for` for VAPID key storage (#34845) 9 months ago
Matt Jankowski 38e0a360ca
Add coverage for "default" stylesheet theme helper path (#34732) 10 months ago
David Roetzel b195956ecb
Encapsulate redis key usage (#34840) 10 months ago
Emelia Smith a73ade526a
Assert usage of client credentials for account registration (#34828) 10 months ago
Matt Jankowski 37c82a3003
Update sidekiq to version 7 (#34745) 10 months ago
Claire 304c0417ed
Fix handling of inlined `featured` collections in ActivityPub actor objects (#34789) 10 months ago
David Roetzel 3acd87419c
Update to linzer 0.7 (#34765) 10 months ago
Claire 6ab96ba647
Use more generic locale as fallback for rules (#34756) 10 months ago
Matt Jankowski f1a6f4333a
Remove `redis-namespace` gem (#34742) 10 months ago
Claire 8c51a8ba94
Add ability to translate server rules (#34494) 10 months ago
Matt Jankowski 4709121f72
Remove Legacy OTP Secret code (#34743) 10 months ago
Claire 6d6263ce07
Drop redis namespace code (except for Rails cache) (#34665) 10 months ago
Claire d7cb6068b1
Add ability to reorder server rules from admin interface (#34737) 10 months ago
Claire 8cc5084ca1
Add interstitial for Terms of Service updates (#34527) 10 months ago
Echo c4f47adb49
Convert from Webpack to Vite (#34450)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
10 months ago
David Roetzel a5a2c6dc7e
Add support for FASP data sharing (#34415) 10 months ago
Claire 3ea1f074ab
Fix sidekiq JSON serialization warning in `ActivityPub::FetchAllRepliesWorker` (#34702) 10 months ago
Claire aa04efb92a
Move server rule creation form to its own page (#34637) 10 months ago
Jonny Saunders b709ef8ac3
Add: Update root status when fetching replies (#34615) 10 months ago
Claire 4e2aa78a56
Fix `tootctl accounts create` failing because of date-of-birth check (#34663) 10 months ago
Claire 22e2e7f02b
Fix crash when `likes` or `shares` collections are not inlined, for real (#34619) 10 months ago
Claire 3e5d78cc5b
Fix crash when `likes` or `shares` collections are not inlined (#34618) 10 months ago
Claire cbaba54e9d
Add support for importing embedded self-quotes (#34584) 10 months ago
Eugen Rochko 715cbee93d
Fix dashboard warning about Elasticsearch index mismatch not showing up (#34567)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Claire 9ed6a14d45
Add support for ingesting quote policies (#34479) 11 months ago
Claire ae3b7dd28d
Reject incoming `QuoteRequest` activities (#34480) 11 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>
11 months ago
Matt Jankowski 6463415e06
Update `rubocop-rspec` to version 3.6.0 (#34497) 11 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>
11 months ago
Claire dee744c793
Fix quote serializer (#34510) 11 months ago
Matt Jankowski 8dea1c422a
Combine examples to reduce factories in `BulkImportWorker` spec (#34499) 11 months ago
Claire 8489f6c8fc
Fix namespace of `QuoteAuthorization` type in specs (#34481) 11 months ago
Claire df2611a10f
Add initial support for ingesting and verifying remote quote posts (#34370) 11 months ago
Eugen Rochko ff0990ec9f
Add REST API for fetching an account's endorsed accounts (#34421) 11 months ago
Matt Jankowski 2eaef09166
Use enum validation instead of `ArgumentError` rescue for `List` replies policy check (#34452) 11 months ago
Matt Jankowski aadff24099
Enable `validate: true` on `CustomFilter#action` (#34434) 11 months ago
Matt Jankowski de19af3650
Extract `frontend_translations` helper to support module (#34400) 11 months ago
Matt Jankowski 4c2f64907b
Remove deprecated `Import` model (#34371) 11 months ago
Matt Jankowski 6deadd596d
Remove deprecated single-argument variation of `UnfilterNotificationsWorker` (#33353) 11 months ago
Claire dd23ba9c83
Refactor local-URI-to-account resolving (#34349) 11 months ago
Matt Jankowski d315a90db7
Convert `settings/pictures` spec controller->request (#34340) 11 months ago
Matt Jankowski 501ced4239
Add coverage for extra attributes scenario in `Admin::Trends::StatusesHelper#one_line_preview` method (#34353) 11 months ago
David Roetzel e2ef173b82
Refactoring: Move `SignatureVerificationError` into `Mastodon` namespace (#34342) 11 months ago
David Roetzel 97b9994743
Basic FASP support (#34031) 12 months ago
Matt Jankowski dfa4a97dd8
Fix intermittent account note failure by removing disappearing content check (#34296) 12 months ago
Claire c2defe0e4c
Change account suspensions to be federated to recently-followed accounts as well (#34294) 12 months ago
Matt Jankowski 0479efdbb6
Fix intermittent failure on account note system spec (#34295) 12 months ago
Matt Jankowski ef879a532f
Convert `activitypub/*` controller specs to request specs (#33992) 12 months ago
Matt Jankowski 445aa4ac72
Convert `activitypub/inboxes` spec controller->request (#34292) 12 months ago
David Roetzel 02db065571
Use fixed order in flaky spec (#34279) 12 months ago
Claire 59e189ad3c
Add support for paginating partial collections in `SynchronizeFollowersService` (#34277) 12 months ago