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 f0e951dcce fix: stop caching raw Eloquent models to prevent incomplete-object 500s
Caching an Eloquent model in a Cache::remember closure could deserialize
into a __PHP_Incomplete_Class on read, throwing 'attempt to access a
property on an incomplete object' and returning a 500. This surfaced on
guest profile pages (ProfileController::buildProfile reading
$user->user->settings) and affected several other latent call sites.

Changes:
- ProfileController: cache a plain settings array instead of the
  UserSetting model; fall back to defaults when the settings row is missing
- StoryService::getById: fetch a live model instead of caching it
- InstanceService::getByDomain, CustomEmoji::scan: cache arrays
- Site/MobileController: cache Page data as an array via a shared
  ManagesCachedPages trait; update blade views to array access
- Add public-route smoke/regression tests covering the cache-read path
4 weeks ago
..
Account Lint 9 months ago
Federation refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Groups fix: resolve larastan class.notFound errors 4 weeks ago
Internal refactor: replace deprecated laravel/helpers with native alternatives 4 weeks ago
Media refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
Status refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AccountService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ActivityPubDeliveryService.php refactor: extract shared ActivityPub pool delivery into ActivityPubDeliveryService 4 weeks ago
ActivityPubFetchService.php polish 4 weeks ago
AdminSettingsService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AdminShadowFilterService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AdminStatsService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AutolinkService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AutospamService.php Update AutospamService.php 1 month ago
AvatarService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
BookmarkService.php Lint 9 months ago
BouncerService.php Pint app/ 4 weeks ago
CollectionService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ConfigCacheService.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
CustomEmojiService.php Pint app/ 4 weeks ago
DiscoverService.php Lint 9 months ago
DomainService.php Update AP fetch service and domain service 2 years ago
EmailService.php ban more tempmail domains 3 months ago
FetchCacheService.php Pint app/ 4 weeks ago
FilesystemService.php Update FilesystemService.php 1 month ago
FollowerService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
FractalService.php refactor: extract duplicate patterns into shared methods 4 weeks ago
GroupFeedService.php Add groups models, controllers and services 2 years ago
GroupPostService.php refactor: extract duplicate patterns into shared methods 4 weeks ago
GroupService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
HashidService.php
HashtagFollowService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
HashtagRelatedService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
HashtagService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
HomeTimelineService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ImportService.php refactor: replace short facade aliases with fully-qualified imports 4 weeks 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\ 4 weeks ago
LikeService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
LiveStreamService.php Lint 9 months ago
MarkerService.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
MediaBlocklistService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
MediaPathService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
MediaService.php refactor: extract duplicate patterns into shared methods 4 weeks ago
MediaStorageService.php Merge pull request #6892 from pixelfed/refactor/move-models-to-namespace 4 weeks ago
MediaTagService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ModLogService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
NetworkTimelineService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
NodeinfoService.php Update NodeinfoService.php 7 months ago
NotificationAppGatewayService.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
NotificationService.php refactor: extract duplicate patterns into shared methods 4 weeks ago
PlaceService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
PollService.php fix: use query methods instead of collection methods (phpstan noUnnecessaryCollectionCall) 4 weeks ago
ProfileService.php Lint 9 months ago
ProfileStatusService.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
PronounService.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
PublicTimelineService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
PushNotificationService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ReblogService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
RelationshipService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ResilientMediaStorageService.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
SanitizeService.php Update SanitizeService, improve tag coverage 1 year ago
SearchApiV2Service.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
SnowflakeService.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
StatusHashtagService.php refactor: extract duplicate patterns into shared methods 4 weeks ago
StatusMentionService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
StatusService.php refactor: extract duplicate patterns into shared methods 4 weeks ago
StoryIndexService.php Pint app/ 4 weeks 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\ 4 weeks ago
TrendingHashtagService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
UserAgentService.php Replace jenssegers/agent with matomo/device-detector 4 weeks ago
UserFilterService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks 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\ 4 weeks ago
WebfingerService.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago