You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Services
Your Name b52c3d7659 perf: fix N+1 queries; fix ComposeController lint and test namespace
Performance:
- TrendingHashtagService: batch-load hashtags with whereIn/keyBy instead
  of Hashtag::find() per trending row.
- DirectMessageController: eager-load status.media and read the in-memory
  collection instead of firstMedia() issuing a query per DM message.
- GroupsSearchController: batch Profile/Follower/GroupInvitation lookups
  with whereIn instead of per-invitee queries.

Lint/tests:
- ComposeController: whitespace formatting (Pint).
- ComposeControllerTest: correct App\User to App\Models\User, fixing the
  larastan class.notFound error and import ordering.

Full suite: 547 passed. Pint and PHPStan clean.
4 weeks ago
..
Account Refactor profile count reconciliation into shared AccountStatService methods 4 weeks ago
Federation refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Groups fix: resolve larastan class.notFound errors 1 month ago
Internal refactor: replace deprecated laravel/helpers with native alternatives 1 month ago
Media refactor: replace short facade aliases with fully-qualified imports 1 month ago
Status refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
AccountService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ActivityPubDeliveryService.php refactor: extract shared ActivityPub pool delivery into ActivityPubDeliveryService 1 month ago
ActivityPubFetchService.php polish 1 month ago
AdminSettingsService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
AdminShadowFilterService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
AdminStatsService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
AutolinkService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
AutospamService.php Update AutospamService.php 2 months ago
AvatarService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
BookmarkService.php Lint 9 months ago
BouncerService.php Pint app/ 1 month ago
CollectionService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ConfigCacheService.php refactor: replace short facade aliases with fully-qualified imports 1 month ago
CustomEmojiService.php revert: remove emoji local-to-cloud storage changes 4 weeks ago
DiscoverService.php Lint 9 months ago
DomainService.php
…
EmailService.php ban more tempmail domains 3 months ago
FetchCacheService.php Fix unauthenticated SSRF in remote media/avatar fetch (variant of CVE-2026-71246) 4 weeks ago
FilesystemService.php Update FilesystemService.php 2 months ago
FollowerService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
FractalService.php refactor: extract duplicate patterns into shared methods 1 month ago
GroupFeedService.php
…
GroupPostService.php refactor: extract duplicate patterns into shared methods 1 month ago
GroupService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
HashidService.php
…
HashtagFollowService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
HashtagRelatedService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
HashtagService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
HomeTimelineService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ImportService.php refactor: replace short facade aliases with fully-qualified imports 1 month ago
InstanceService.php fix: stop caching raw Eloquent models to prevent incomplete-object 500s 4 weeks ago
LandingService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
LikeService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
LiveStreamService.php Lint 9 months ago
MarkerService.php refactor: replace short facade aliases with fully-qualified imports 1 month ago
MediaBlocklistService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
MediaPathService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
MediaService.php refactor: extract duplicate patterns into shared methods 1 month ago
MediaStorageService.php fix: prevent remcache temp file leaks and add GC command 4 weeks ago
MediaTagService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ModLogService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
NetworkTimelineService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
NodeinfoService.php Update NodeinfoService.php 7 months ago
NotificationAppGatewayService.php refactor: replace short facade aliases with fully-qualified imports 1 month ago
NotificationService.php refactor: extract duplicate patterns into shared methods 1 month ago
PlaceService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
PollService.php fix: use query methods instead of collection methods (phpstan noUnnecessaryCollectionCall) 1 month ago
ProfileService.php Lint 9 months ago
ProfileStatusService.php refactor: replace short facade aliases with fully-qualified imports 1 month ago
PronounService.php refactor: replace short facade aliases with fully-qualified imports 1 month ago
PublicTimelineService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
PushNotificationService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ReblogService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
RelationshipService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ResilientMediaStorageService.php refactor: replace short facade aliases with fully-qualified imports 1 month ago
SanitizeService.php
…
SearchApiV2Service.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
SecureMediaFetchService.php Apply Pint formatting to SecureMediaFetchService 4 weeks ago
SnowflakeService.php refactor: replace short facade aliases with fully-qualified imports 1 month ago
StatusHashtagService.php refactor: extract duplicate patterns into shared methods 1 month ago
StatusMentionService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
StatusService.php feat: add admin:fixPostCounts to resync post like/boost/comment counts 4 weeks ago
StoryIndexService.php Pint app/ 1 month ago
StoryService.php fix: stop caching raw Eloquent models to prevent incomplete-object 500s 4 weeks ago
SuggestionService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
TrendingHashtagService.php perf: fix N+1 queries; fix ComposeController lint and test namespace 4 weeks ago
UserAgentService.php Replace jenssegers/agent with matomo/device-detector 1 month ago
UserFilterService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
UserOidcService.php Lint 9 months ago
UserRoleService.php Lint 9 months ago
UserStorageService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
WebfingerService.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago