mirror of https://github.com/pixelfed/pixelfed
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.
Replace Auth::user() with $request->user() and Auth::check() with $request->user() !== null (or ! $request->user()) across all controllers and middleware that have access to the request object. This resolves 99 larastan.noAuthFacadeInRequestScope errors and improves Octane compatibility. For protected helper methods without $request in scope, uses the request() helper instead. Methods that previously lacked a Request parameter but used Auth facade now accept Request $request via Laravel's auto-injection. |
3 months ago | |
|---|---|---|
| .. | ||
| Auth | 3 months ago | |
| Console/Commands | 3 months ago | |
| Events | 3 months ago | |
| Http | 3 months ago | |
| Jobs | 3 months ago | |
| Listeners | 3 months ago | |
| 3 months ago | ||
| Models | 3 months ago | |
| Observers | 3 months ago | |
| Passport | 5 months ago | |
| Policies | ||
| Providers | 3 months ago | |
| Rules | 3 months ago | |
| Services | 3 months ago | |
| Transformer | 3 months ago | |
| Util | 3 months ago | |
| AccountInterstitial.php | 3 months ago | |
| AccountLog.php | ||
| Activity.php | 9 months ago | |
| Avatar.php | 9 months ago | |
| Bookmark.php | ||
| Circle.php | ||
| CircleProfile.php | ||
| Collection.php | ||
| CollectionItem.php | ||
| Contact.php | 9 months ago | |
| DirectMessage.php | 3 months ago | |
| DiscoverCategory.php | ||
| DiscoverCategoryHashtag.php | ||
| EmailVerification.php | ||
| FailedJob.php | ||
| FollowRequest.php | 9 months ago | |
| Follower.php | ||
| HasSnowflakePrimary.php | ||
| Hashtag.php | 3 months ago | |
| HashtagFollow.php | 3 months ago | |
| ImportData.php | ||
| ImportJob.php | ||
| Instance.php | 9 months ago | |
| Like.php | 3 months ago | |
| Media.php | 3 months ago | |
| MediaBlocklist.php | ||
| MediaTag.php | ||
| Mention.php | 9 months ago | |
| ModLog.php | ||
| Newsroom.php | 9 months ago | |
| Notification.php | 3 months ago | |
| OauthClient.php | 3 months ago | |
| Page.php | ||
| Place.php | ||
| Profile.php | 3 months ago | |
| ProfileSponsor.php | ||
| Report.php | 3 months ago | |
| ReportComment.php | ||
| ReportLog.php | ||
| Status.php | 3 months ago | |
| StatusArchived.php | ||
| StatusHashtag.php | 3 months ago | |
| StatusView.php | ||
| Story.php | 3 months ago | |
| StoryItem.php | 3 months ago | |
| StoryReaction.php | ||
| StoryView.php | ||
| UIKit.php | ||
| User.php | 3 months ago | |
| UserDevice.php | 3 months ago | |
| UserFilter.php | 3 months ago | |
| UserInvite.php | ||
| UserSetting.php | 9 months ago | |
| helpers.php | ||