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/Models
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
..
AccountInterstitial.php refactor: extract duplicate patterns into shared methods 1 month ago
AccountLog.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Activity.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
AdminInvite.php refactor: replace $fillable with $guarded = [] across all models 1 month ago
AdminShadowFilter.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
AppRegister.php
…
AutospamCustomTokens.php
…
Avatar.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Bookmark.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Circle.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
CircleProfile.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Collection.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
CollectionItem.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ConfigCache.php Lint 9 months ago
Contact.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Conversation.php refactor: replace $fillable with $guarded = [] across all models 1 month ago
CuratedRegister.php polish 1 month ago
CuratedRegisterActivity.php fix 7 months ago
CuratedRegisterTemplate.php refactor: replace $fillable with $guarded = [] across all models 1 month ago
CustomEmoji.php fix: stop caching raw Eloquent models to prevent incomplete-object 500s 4 weeks ago
CustomFilter.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
CustomFilterKeyword.php refactor: replace $fillable with $guarded = [] across all models 1 month ago
CustomFilterStatus.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
DefaultDomainBlock.php
…
DirectMessage.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
DiscoverCategory.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
DiscoverCategoryHashtag.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
EmailVerification.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
FailedJob.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
FollowRequest.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Follower.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Group.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
GroupActivityGraph.php
…
GroupBlock.php
…
GroupCategory.php
…
GroupComment.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
GroupEvent.php
…
GroupHashtag.php
…
GroupInteraction.php fix 7 months ago
GroupInvitation.php
…
GroupLike.php
…
GroupLimit.php refactor: replace $fillable with $guarded = [] across all models 1 month ago
GroupMedia.php refactor: replace short facade aliases with fully-qualified imports 1 month ago
GroupMember.php Lint 9 months ago
GroupPost.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
GroupPostHashtag.php Lint 9 months ago
GroupReport.php
…
GroupRole.php
…
GroupStore.php
…
Hashtag.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
HashtagFollow.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
HashtagRelated.php fix 7 months ago
ImportData.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ImportJob.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ImportPost.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Instance.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
InstanceActor.php Lint 9 months ago
Like.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
LiveStream.php refactor: replace short facade aliases with fully-qualified imports 1 month ago
Media.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
MediaBlocklist.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
MediaTag.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Mention.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ModLog.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ModeratedProfile.php
…
Newsroom.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Notification.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
OAuthToken.php Fix oauth/token 7 months ago
OauthClient.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Page.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ParentalControls.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Place.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Poll.php fix 7 months ago
PollVote.php
…
Portfolio.php fix 7 months ago
Profile.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ProfileAlias.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ProfileMigration.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ProfileSponsor.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
RemoteAuth.php fix 7 months ago
RemoteAuthInstance.php
…
RemoteReport.php fix 7 months ago
Report.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ReportComment.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
ReportLog.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Status.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
StatusArchived.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
StatusEdit.php fix 7 months ago
StatusHashtag.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
StatusView.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
Story.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
StoryItem.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
StoryReaction.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
StoryView.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
UIKit.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
User.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
UserAppSettings.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
UserDevice.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
UserDomainBlock.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
UserEmailForgot.php fix 7 months ago
UserFilter.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
UserInvite.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
UserOidcMapping.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
UserPronoun.php
…
UserRoles.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago
UserSetting.php refactor: move 52 legacy models from App\ to App\Models\ 1 month ago