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/Http/Controllers
Your Name 97929f0876 fix: resolve str_ends_with TypeError in RegisterController
PHP's str_ends_with() only accepts a string needle, not an array.
The username validation was passing an array of extensions which
caused a TypeError on every registration attempt.

Replace with a loop over a configurable array of disallowed extensions,
making it easy to add new entries.

Also updates RegisterTest to properly test the registration flow
including the RT anti-bot token and age verification fields.
3 months ago
..
Admin fix: resolve undefined variable bugs (phpstan variable.undefined) 3 months ago
Api Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
Auth fix: resolve str_ends_with TypeError in RegisterController 3 months ago
Groups fix: resolve undefined $status variable in GroupsPostController::deletePost 3 months ago
Import Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
OAuth Prevent deletion of personal access OAuth client 3 months ago
Settings Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
Stories fix: replace backslash-prefixed facade calls with imported references 3 months ago
AccountController.php feat: add critical path test suite and fix auth/config issues 3 months ago
AccountInterstitialController.php
…
AdminController.php fix: add missing use imports to resolve phpstan class.notFound errors 3 months ago
AdminCuratedRegisterController.php
…
AdminInviteController.php refactor: replace deprecated laravel/helpers with native alternatives 3 months ago
AdminShadowFilterController.php Convert string references to `::class` 3 months ago
ApiController.php Remove exp.rec recommendations dead code 7 months ago
AppRegisterController.php refactor: replace deprecated laravel/helpers with native alternatives 3 months ago
AuthorizeInteractionController.php
…
AvatarController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
BookmarkController.php
…
CircleController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
CircleProfileController.php
…
CollectionController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
CollectionItemController.php
…
CommentController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
ComposeController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
ContactController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
Controller.php
…
CuratedRegisterController.php refactor: replace deprecated laravel/helpers with native alternatives 3 months ago
CustomFilterController.php
…
CustomFilterKeywordController.php
…
CustomFilterStatusController.php
…
DeckController.php
…
DirectMessageController.php refactor: replace deprecated laravel/helpers with native alternatives 3 months ago
DiscoverCategoryController.php
…
DiscoverCategoryHashtagController.php
…
DiscoverController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
FederationController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
FollowerController.php
…
GroupController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
GroupFederationController.php
…
GroupPostController.php
…
HashtagController.php
…
HashtagFollowController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
HealthCheckController.php
…
ImportController.php
…
ImportPostController.php fix: replace backslash-prefixed facade calls with imported references 3 months ago
InstallController.php
…
InstanceActorController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
InternalApiController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
LandingController.php
…
LikeController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
LiveStreamController.php
…
MediaBlocklistController.php
…
MediaController.php
…
MediaTagController.php Convert string references to `::class` 3 months ago
MicroController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
MobileController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
NewsroomController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
NotificationController.php
…
PageController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
ParentalControlsController.php refactor: replace deprecated str_random() with Str::random() 3 months ago
PersonalAccessTokenController.php Handle PAT creation gracefully when not configured 3 months ago
PixelfedDirectoryController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
PlaceController.php Update PlaceController.php 4 months ago
PollController.php
…
PortfolioController.php fix: resolve undefined variable bugs (phpstan variable.undefined) 3 months ago
ProfileAliasController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
ProfileController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
ProfileMigrationController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
ProfileSponsorController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
PublicApiController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
RemoteAuthController.php refactor: replace deprecated laravel/helpers with native alternatives 3 months ago
RemoteOidcController.php Update RemoteOidcController.php 4 months ago
ReportController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
SearchController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
SeasonalController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
SettingsController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
SiteController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
SoftwareUpdateController.php
…
SpaController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
StatusController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
StatusEditController.php Merge branch 'staging' into remove-exp-pue 3 months ago
StoryComposeController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
StoryController.php refactor: replace short facade aliases with fully-qualified imports 3 months ago
TimelineController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
UIKitController.php
…
UserAppSettingsController.php
…
UserEmailForgotController.php
…
UserInviteController.php Revert "Merge pull request #6851 from pixelfed/fix/phpstan-auth-request-scope-2" 3 months ago
UserRolesController.php
…