Commit Graph

3044 Commits (bb6093c3153f092736e2f25959e3dcdceeb7bce1)

Author SHA1 Message Date
Matt Jankowski 3146109b08
Add `MediaAttachment.combined_media_file_size` method (#35570) 4 months ago
Matt Jankowski 7e6b134222
Extract `User::Activity` concern (#35581) 4 months ago
Matt Jankowski 6dc55a2f4e
Extract `User::Confirmation` concern (#35582) 4 months ago
Matt Jankowski ba9fa54f9c
Add coverage for more admin/domain_blocks scenarios (#35590) 4 months ago
Eugen Rochko 20bbd20ef1
Add ability to block words in usernames (#35407) 4 months ago
Eugen Rochko 8cf7a77808
Fix async refresh never being finished when status cannot be fetched (#35500) 4 months ago
Matt Jankowski c587c44975
Fix `Lint/NonLocalExitFromIterator` cop in JSON-LD helper (#34948) 4 months ago
Matt Jankowski 040a638ab9
Fix `Style/GuardClause` in `Tag` (#35522) 4 months ago
Matt Jankowski 038de44110
Fix `Style/GuardClause` in `Webfinger` lib (#35532) 4 months ago
Matt Jankowski 7cd3738c19
Add `with_list_account` scope to `List` model (#35539) 4 months ago
Matt Jankowski 9d0d6f011c
Add coverage for `AnnouncementReaction` model (#35543) 4 months ago
Claire 5a88b7f683
Add experimental basic quote post authoring (#35355) 4 months ago
Matt Jankowski 2e35defeec
Update rubocop to version 1.79.0 (#35502) 4 months ago
Matt Jankowski 960f693219
Use `field` partial in admin account show view (#35503) 4 months ago
Claire a863e68d17
Add restrictions on which quote posts can trend (#35507) 4 months ago
Matt Jankowski e54e96d61f
Extract params hash for `api/v1/push/subscriptions#create` (#35475) 4 months ago
Matt Jankowski 290e36d7e8
Finish migration of `api/web/push_subscriptions` controller->request spec (#35482) 4 months ago
Eugen Rochko 14a781fa24
Add button to load new replies in web UI (#35210) 4 months ago
Matt Jankowski fab95b8dae
Add coverage for api/v1/invites scenarios (#35389) 4 months ago
Claire d36bf3b6fb
Fix support for quote verification in implicit status updates (#35384) 4 months ago
Claire 594976a538
Refactor `ActivityPub::Activity::Accept` and `ActivityPub::Activity::Reject` specs (#35382) 4 months ago
Matt Jankowski 0efb889a9c
Extract constant for attribution domains limit in account (#35350) 4 months ago
Matt Jankowski 30344d6abf
Confirm `User#login_activities` in auth/sessions spec (#35372) 4 months ago
Matt Jankowski 1637297085
Add coverage for `CustomFilterStatus` model (#35374) 4 months ago
Matt Jankowski dec1fb71f4
Add coverage for `FollowRecommendationMute` model (#35376) 4 months ago
Matt Jankowski 7273f6c03c
Move shared params to common method in admin/reports/actions (#35353) 4 months ago
Matt Jankowski a3ffd2edf8
Use sequence for unique names on webauthn cred fabricator (#35356) 4 months ago
Matt Jankowski 1496488771
Add `Status#not_replying_to_account` scope for annual report classes (#35257) 5 months ago
Matt Jankowski f9beecb343
Improve Accounts CLI `prune` spec (#35302) 5 months ago
Matt Jankowski 4ecfbd3920
Add `Status.only_polls` (and without polls) scope (#35330) 5 months ago
Claire 8bd2c87399
Fix support for special characters in various environment variables (#35314)
Co-authored-by: Matt Jankowski <matt@jankowski.online>
5 months ago
David Roetzel 8ee6cee36e
Better error response to malformed headers (#35278) 5 months ago
Matt Jankowski bdffdcb12f
Remove unused scopes in `Account` model (#35276) 5 months ago
David Roetzel 1fa72d6c44
Raise better exception on FASP error responses (#35262) 5 months ago
Matt Jankowski e8d2432e6a
Fix intermittent failure of TOS model spec from effective date collision (#35244) 5 months ago
Claire e97f43399b
Fix error handling for blank actions in account moderation action form (#35246) 5 months ago
Matt Jankowski 1ae3510ede
Add coverage for TOS interstitial interruption flow of web app controller concern (#35235) 5 months ago
Matt Jankowski c047014214
Add coverage for `valid_locale_or_nil` languages helper method (#34866) 5 months ago
David Roetzel c357a7f8d6
Add optional bulk mailer settings (#35203) 5 months ago
David Roetzel bae258925c
Persist follow recommendations from FASP (#35218) 5 months ago
Claire 153af19f55
Add specs for PublicFileServer middleware (#35219) 5 months ago
Matt Jankowski 964916c71b
Add coverage for `TermsOfService` scopes/validations (#35204) 5 months ago
David Roetzel ac4b735c67
Add FASP account search support (#34033) 5 months ago
David Roetzel 48451b782d
Move email env var reading to yml files (#35191) 5 months ago
Claire 2e0a00ab46
Fix search operators sometimes getting lost (#35190) 5 months ago
Matt Jankowski 8285194451
Move `layout` setup for OAuth views to controllers (#35176) 5 months ago
Emelia Smith 72f2f35bfb
Implement Instance Moderation Notes (#31529) 5 months ago
Matt Jankowski 47fda2df2c
Update `OAuth` inflection to match spec (#35160) 5 months ago
Matt Jankowski 377289c961
Add coverage for doorkeeper model extensions (#35161) 5 months ago
Matt Jankowski f852da50f6
Add `User#email_domain` method to extract domain from email address (#35159) 5 months ago
Matt Jankowski fd902c04f7
Use `config_for` for omniauth enabled values (#35015) 5 months ago
Matt Jankowski 0338733531
Add model coverage and scopes to `RuleTranslation` class (#35098) 5 months ago
Matt Jankowski 0d7f1584bc
Move remaining `_map` method specs from account to mappings spec (#35142) 5 months ago
Matt Jankowski 36f01af6c4
Add `Status#only_reblogs` scope for annual report classes (#35141) 5 months ago
Matt Jankowski c023ebc87a
Limit count to pending&trending on admin/trends/tags page (#35120) 5 months ago
Matt Jankowski b08ccaa5b3
Extract `Account::Mappings` concern from "interactions" (#35119) 5 months ago
David Roetzel adf812efb3
Fix missing terms of services link (#35115) 5 months ago
Matt Jankowski 54f9a1b43b
Extract secret size constants in `Webhook` model (#35104) 5 months ago
Matt Jankowski e9b1c1edfe
Simplify `WebauthnCredential` constant limit math (#35107) 5 months ago
David Roetzel 0ec6c26af3
Fix error when RFC9421 signatures are used (#35109) 5 months ago
Matt Jankowski ca3cc36549
Allow more flexible host/port treatment with LOCAL_DOMAIN values in tests (#35040) 5 months ago
David Roetzel b2506478ba
Add FASP follow recommendation support (#34964) 5 months ago
Matt Jankowski 6f2aba989f
Move "limited federation mode" config to `x.mastodon` area (#35041) 5 months ago
Matt Jankowski ab7f50ce4e
Reduce hard coding of `LOCAL_DOMAIN` env value throughout tests (#35025) 6 months ago
David Roetzel 319fbbbfac
Experimental Async Refreshes API (#34918) 6 months ago
Echo 825312d4b0
Fix theme name requirement regression with efficient lookup by name (#35007)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
6 months ago
Matt Jankowski 1200f70ae7
Simplify QR/OTP generation in 2FA/confirmations spec (#35019) 6 months ago
Matt Jankowski 3509064801
Reduce hard coding of instance hostname in `AdminMailer` specs (#35020) 6 months ago
Eugen Rochko f53bb4cd7d
Add "More" to the sidebar menu with links to mutes, blocks, and so on (#34987) 6 months ago
Matt Jankowski 629bb74451
Replace selenium-webdriver with playwright (#34867) 6 months ago
Claire 7a7e0ba4cd
Add basic support for remote attachments with multiple media types (#34996) 6 months ago
Matt Jankowski dc2cfd50a0
Fix `Style/OptionalBooleanParameter` cop (#34968) 6 months ago
Claire d0c6f30378
Add `fasp` queue to sidekiq queue system check (#34965) 6 months ago
Claire 989ca63b59
Remove `inbound_quotes` feature flag (#34958) 6 months ago
Claire 86627624f1
Fix quote post streaming edge cases (#34957) 6 months ago
Matt Jankowski 1d152d2181
Replace local vars with `let` in JS-enabled system specs (#34905) 6 months ago
David Roetzel 9c80b16401
Accept HTTP Message Signatures (RFC9421) (#34814) 6 months ago
Claire 00b56932de
Fix handling of featured tag removal (#34887) 6 months ago
Claire 32b521b7f4
Fix multiple issues in quoted posts hydration (#34864) 6 months ago
Claire 4b39bced3e
Increase capybara default timeout to reduce test flakiness (#34859) 6 months ago
Matt Jankowski c025824f98
Use `config_for` for cache buster values (#34851) 6 months ago
Matt Jankowski f7a3dd0e38
Use `config_for` for VAPID key storage (#34845) 6 months ago
Matt Jankowski 38e0a360ca
Add coverage for "default" stylesheet theme helper path (#34732) 6 months ago
David Roetzel b195956ecb
Encapsulate redis key usage (#34840) 6 months ago
Emelia Smith a73ade526a
Assert usage of client credentials for account registration (#34828) 6 months ago
Matt Jankowski 37c82a3003
Update sidekiq to version 7 (#34745) 6 months ago
Claire 304c0417ed
Fix handling of inlined `featured` collections in ActivityPub actor objects (#34789) 6 months ago
David Roetzel 3acd87419c
Update to linzer 0.7 (#34765) 6 months ago
Claire 6ab96ba647
Use more generic locale as fallback for rules (#34756) 6 months ago
Matt Jankowski f1a6f4333a
Remove `redis-namespace` gem (#34742) 6 months ago
Claire 8c51a8ba94
Add ability to translate server rules (#34494) 6 months ago
Matt Jankowski 4709121f72
Remove Legacy OTP Secret code (#34743) 6 months ago
Claire 6d6263ce07
Drop redis namespace code (except for Rails cache) (#34665) 6 months ago
Claire d7cb6068b1
Add ability to reorder server rules from admin interface (#34737) 6 months ago
Claire 8cc5084ca1
Add interstitial for Terms of Service updates (#34527) 6 months ago
Echo c4f47adb49
Convert from Webpack to Vite (#34450)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
6 months ago
David Roetzel a5a2c6dc7e
Add support for FASP data sharing (#34415) 6 months ago
Claire 3ea1f074ab
Fix sidekiq JSON serialization warning in `ActivityPub::FetchAllRepliesWorker` (#34702) 6 months ago
Claire aa04efb92a
Move server rule creation form to its own page (#34637) 7 months ago
Jonny Saunders b709ef8ac3
Add: Update root status when fetching replies (#34615) 7 months ago
Claire 4e2aa78a56
Fix `tootctl accounts create` failing because of date-of-birth check (#34663) 7 months ago
Claire 22e2e7f02b
Fix crash when `likes` or `shares` collections are not inlined, for real (#34619) 7 months ago
Claire 3e5d78cc5b
Fix crash when `likes` or `shares` collections are not inlined (#34618) 7 months ago
Claire cbaba54e9d
Add support for importing embedded self-quotes (#34584) 7 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>
7 months ago
Claire 9ed6a14d45
Add support for ingesting quote policies (#34479) 7 months ago
Claire ae3b7dd28d
Reject incoming `QuoteRequest` activities (#34480) 7 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>
7 months ago
Matt Jankowski 6463415e06
Update `rubocop-rspec` to version 3.6.0 (#34497) 7 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>
7 months ago
Claire dee744c793
Fix quote serializer (#34510) 7 months ago
Matt Jankowski 8dea1c422a
Combine examples to reduce factories in `BulkImportWorker` spec (#34499) 7 months ago
Claire 8489f6c8fc
Fix namespace of `QuoteAuthorization` type in specs (#34481) 7 months ago
Claire df2611a10f
Add initial support for ingesting and verifying remote quote posts (#34370) 7 months ago
Eugen Rochko ff0990ec9f
Add REST API for fetching an account's endorsed accounts (#34421) 7 months ago
Matt Jankowski 2eaef09166
Use enum validation instead of `ArgumentError` rescue for `List` replies policy check (#34452) 7 months ago
Matt Jankowski aadff24099
Enable `validate: true` on `CustomFilter#action` (#34434) 8 months ago
Matt Jankowski de19af3650
Extract `frontend_translations` helper to support module (#34400) 8 months ago
Matt Jankowski 4c2f64907b
Remove deprecated `Import` model (#34371) 8 months ago
Matt Jankowski 6deadd596d
Remove deprecated single-argument variation of `UnfilterNotificationsWorker` (#33353) 8 months ago
Claire dd23ba9c83
Refactor local-URI-to-account resolving (#34349) 8 months ago
Matt Jankowski d315a90db7
Convert `settings/pictures` spec controller->request (#34340) 8 months ago
Matt Jankowski 501ced4239
Add coverage for extra attributes scenario in `Admin::Trends::StatusesHelper#one_line_preview` method (#34353) 8 months ago
David Roetzel e2ef173b82
Refactoring: Move `SignatureVerificationError` into `Mastodon` namespace (#34342) 8 months ago
David Roetzel 97b9994743
Basic FASP support (#34031) 8 months ago
Matt Jankowski dfa4a97dd8
Fix intermittent account note failure by removing disappearing content check (#34296) 8 months ago
Claire c2defe0e4c
Change account suspensions to be federated to recently-followed accounts as well (#34294) 8 months ago
Matt Jankowski 0479efdbb6
Fix intermittent failure on account note system spec (#34295) 8 months ago
Matt Jankowski ef879a532f
Convert `activitypub/*` controller specs to request specs (#33992) 8 months ago
Matt Jankowski 445aa4ac72
Convert `activitypub/inboxes` spec controller->request (#34292) 8 months ago
David Roetzel 02db065571
Use fixed order in flaky spec (#34279) 8 months ago
Claire 59e189ad3c
Add support for paginating partial collections in `SynchronizeFollowersService` (#34277) 8 months ago
Matt Jankowski 2a181f56e3
Convert `settings/deletes` spec controller->request/system (#34274) 8 months ago
Matt Jankowski e1dbbf6c9d
Isolate assertions in v2/notifications intermittent failure cases (#34271) 8 months ago
Claire 3edac14f02
Fix follower synchronization mechanism erroneously removing followers from multi-page collections (#34272) 8 months ago
Claire 38f5e74122
Add `Deprecation` headers on deprecated endpoints (#34262)
Co-authored-by: Damien Mathieu <42@dmathieu.com>
8 months ago
Matt Jankowski 9bba2aab33
Convert `intents` spec controller->request (#34261) 8 months ago
Claire 225b18e742
Add system spec for account notes (#34206) 8 months ago
Claire ef870007e9
Fix `CacheBuster` being queued for missing media attachments (#34253) 8 months ago
Matt Jankowski 9d3daa847a
Convert `filters/statuses` spec controller->system/request (#34232) 8 months ago
Matt Jankowski a2981a0997
Convert `admin/users/two_factor_authentications` spec controller->system (#34216) 8 months ago
Matt Jankowski 469cfc5430
Convert `admin/change_emails` spec controller->system (#34215) 8 months ago
Matt Jankowski 0284e77e5f
Convert `admin/action_logs` spec controller->system (#34214) 8 months ago
Matt Jankowski f7b1769e8a
Convert `admin/dashboard` spec controller->system (#34208) 8 months ago
Matt Jankowski 539a06f189
Convert `admin/account_actions` spec controller->system (#34207) 8 months ago
Matt Jankowski 795d465f8d
Convert `disputes/strikes` spec controller->request/system (#34191) 8 months ago
Matt Jankowski 8ef546fe6b
Convert `oauth/tokens#revoke` spec controller->request (#34174) 8 months ago
Claire e30001bc80
Fix incorrect URL being used when cache busting (#34189) 8 months ago
Eugen Rochko d213c585ff
Add age verification on sign-up (#34150) 9 months ago
David Roetzel 4a6cf67c46
Add middleware to record queue time (#34172) 9 months ago