Commit Graph

1883 Commits (b89d6e256bc670142f4839aa96f1137c5afc1663)

Author SHA1 Message Date
David Roetzel b89d6e256b Reject unconfirmed FASPs (#37926) 4 days ago
Claire 3920feb8bd
Merge commit from fork
* Add limit on inbox payload size

The 1MB limit is consistent with the limit we use when fetching remote resources

* Add limit to number of options from federated polls

* Add a limit to the number of federated profile fields

* Add limit on federated username length

* Add hard limits for federated display name and account bio

* Add hard limits for `alsoKnownAs` and `attributionDomains`

* Add hard limit on federated custom emoji shortcode

* Highlight most destructive limits and expand on their reasoning
1 month ago
Claire 27e06cdf20
Merge commit from fork 1 month ago
Claire 7ee99bbe81 Fix potential duplicate handling of quote accept/reject/delete (#37537) 1 month ago
Claire 2dc4552229
Merge commit from fork
* Add validation to reject quotes of reblogs

* Do not process quotes of reblogs as potentially valid quotes

* Refuse to serve quoted reblogs over REST API
4 months ago
Claire d7f4eca801
Fix streaming still being authorized for suspended accounts (#36449) 4 months ago
Claire 1631fb80e8
Merge commit from fork
* Ensure tootctl revokes sessions, access tokens and web push subscriptions

* Fix test coverage

---------

Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
4 months ago
Claire 8477bec2f2
Merge commit from fork
* Streaming: Ensure disabled users cannot connect to streaming

* Streaming: Disconnect when the user is disabled

---------

Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
4 months ago
Claire d7d6407d41 Explicitly record Tombstone quotes as deleted
This adds a `deleted` state to the internal representation, but this does
not change the API, which already included such a state.
5 months ago
Claire 70e2eb49df Add support for `has:quote` in search (#36217) 5 months ago
Claire 48f55e3224 Fix quote posts with CW and no text being rejected
Fixes #36077
5 months ago
Emelia Smith 1137a0ca3a Support displaying polls in Admin UI (#35933)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
6 months ago
Claire ea5d1f0297 Fix `tootctl admin create` not bypassing reserved username checks (#35779) 6 months ago
Emelia Smith cbb9a4dbe3 Refactor to reuse the one status partial across moderation tools (#35644) 6 months ago
Claire 208cb8276a Fix friends-of-friends recommendations suggesting already-requested accounts (#35604) 7 months ago
Claire 4ae47f4263 Change `StatusReachFinder` to consider quotes as well as reblogs (#35601) 7 months ago
Claire 8242f06eca Add restrictions on which quote posts can trend (#35507) 7 months ago
Claire ee83f3a8b9 Always give local quote of remote posts a quote request URI (#35383) 7 months ago
Matt Jankowski b4a950c2fc Remove unused scopes in `Account` model (#35276) 8 months ago
Matt Jankowski 28373a9c88 Use `ActiveModel::Attributes` in admin/status_batch_action (#35255) 8 months ago
Claire 42884d8727 Fix error handling for blank actions in account moderation action form (#35246) 8 months ago
Matt Jankowski 878e1e65eb Use `ActiveModel::Attributes` for admin/account_action boolean values (#35247) 8 months ago
Matt Jankowski 06f5f270cc Use `Account#targeted_reports` association where needed (#35249) 8 months ago
David Roetzel bae258925c
Persist follow recommendations from FASP (#35218) 8 months ago
Matt Jankowski 964916c71b
Add coverage for `TermsOfService` scopes/validations (#35204) 8 months ago
Claire 392eaf1010
Ensure consistent ordering of rule translations in admin interface (#35174) 8 months ago
Claire 0a7418e6d8
Change rule translation interface to display english name and populate empty translations (#35170) 8 months ago
Emelia Smith 72f2f35bfb
Implement Instance Moderation Notes (#31529) 8 months ago
Matt Jankowski f852da50f6
Add `User#email_domain` method to extract domain from email address (#35159) 8 months ago
Matt Jankowski 0338733531
Add model coverage and scopes to `RuleTranslation` class (#35098) 8 months ago
Matt Jankowski 36f01af6c4
Add `Status#only_reblogs` scope for annual report classes (#35141) 8 months ago
Matt Jankowski b08ccaa5b3
Extract `Account::Mappings` concern from "interactions" (#35119) 8 months ago
David Roetzel adf812efb3
Fix missing terms of services link (#35115) 8 months ago
Matt Jankowski 54f9a1b43b
Extract secret size constants in `Webhook` model (#35104) 8 months ago
Matt Jankowski e9b1c1edfe
Simplify `WebauthnCredential` constant limit math (#35107) 8 months ago
Claire c644413f8a
Fix database error instead of form validation on ToS effective date conflict (#35053) 8 months ago
David Roetzel b2506478ba
Add FASP follow recommendation support (#34964) 8 months ago
David Roetzel 319fbbbfac
Experimental Async Refreshes API (#34918) 9 months ago
Eugen Rochko 24d943fee0
Change media attachments in moderated posts to not be accessible (#34872) 9 months ago
Matt Jankowski d887790e86
Update `SafeReblogInsert` concern to match Rails 8 method (#34966) 9 months ago
Claire 3d474807bf
Change “legacy” non-fast-tracked quote posts to not be displayed as such (#34945) 9 months ago
Matt Jankowski 1297ad759e
Update rubocop to version 1.76.0 (#34926) 9 months ago
Claire d4bbe8b719
Fix blocked accounts not being automatically removed from trending statuses (#34891) 9 months ago
Claire 00b56932de
Fix handling of featured tag removal (#34887) 9 months ago
Matt Jankowski c025824f98
Use `config_for` for cache buster values (#34851) 9 months ago
David Roetzel b195956ecb
Encapsulate redis key usage (#34840) 9 months ago
Matt Jankowski 8d4ae81ab4
Remove `OTP_SECRET` env configuration (#34748) 9 months ago
Claire 6ab96ba647
Use more generic locale as fallback for rules (#34756) 9 months ago
Claire 8c51a8ba94
Add ability to translate server rules (#34494) 9 months ago
Matt Jankowski 4709121f72
Remove Legacy OTP Secret code (#34743) 9 months ago