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 667f6e2fc9 Extract following-ids lookup into FollowerService::getFollowingIds
The Cache::remember('profile:following:'.$pid, ...) block that plucks
following_id and appends the caller's own id was copy-pasted across four
call sites, with inconsistent TTLs (1440 minutes vs 1209600 seconds).

Add FollowerService::getFollowingIds($pid), which owns the cache key that
add()/remove() already invalidate, and use it from InternalApiController,
PublicApiController, ApiV1Controller and HashtagUnfollowPipeline. Removes
the now-unused Follower/Cache imports left behind.

Adds a test covering the followed-ids-plus-self result and the
follows-nobody case.
3 weeks ago
..
Admin Add success message for profile update action 3 weeks ago
Api Extract following-ids lookup into FollowerService::getFollowingIds 3 weeks ago
Auth refactor: rename PixelfedUsername rule to ValidUsername 4 weeks ago
Concerns fix: stop caching raw Eloquent models to prevent incomplete-object 500s 4 weeks ago
Groups Drop the no-op pf_type assignment in the group topic feed 3 weeks ago
Import refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
OAuth Pint app/ 4 weeks ago
Settings refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Stories refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AccountController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AccountInterstitialController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AdminController.php Extract duplicated blocked-id and duplicate-shortcode query patterns 3 weeks ago
AdminCuratedRegisterController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
AdminInviteController.php refactor: rename PixelfedUsername rule to ValidUsername 4 weeks ago
AdminShadowFilterController.php Update ASF 3 weeks ago
ApiController.php refactor: add return type declarations to controller methods 4 weeks ago
AppRegisterController.php refactor: rename PixelfedUsername rule to ValidUsername 4 weeks ago
AuthorizeInteractionController.php refactor: add return type declarations to controller methods 4 weeks ago
AvatarController.php Fix silent failure in avatar upload endpoints 3 weeks ago
BookmarkController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
CircleController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
CircleProfileController.php Lint 9 months ago
CollectionController.php Remove dead debug methods that echoed the raw request 3 weeks ago
CollectionItemController.php Lint 9 months ago
CommentController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ComposeController.php Extract duplicated blocked-id and duplicate-shortcode query patterns 3 weeks ago
ContactController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
Controller.php Apply fixes from StyleCI 8 years ago
CuratedRegisterController.php refactor: rename PixelfedUsername rule to ValidUsername 4 weeks ago
CustomFilterController.php refactor: add return type declarations to controller methods 4 weeks ago
CustomFilterKeywordController.php Lint 9 months ago
CustomFilterStatusController.php Lint 9 months ago
DeckController.php fix: resolve 6 Larastan errors in controller return types 4 weeks ago
DirectMessageController.php Extract duplicated blocked-id and duplicate-shortcode query patterns 3 weeks ago
DiscoverCategoryController.php Lint 9 months ago
DiscoverCategoryHashtagController.php Lint 9 months ago
DiscoverController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
FederationController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
FollowerController.php refactor: add return type declarations to controller methods 4 weeks ago
GroupController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
GroupFederationController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
GroupPostController.php Lint 9 months ago
HashtagController.php Apply fixes from StyleCI 8 years ago
HashtagFollowController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
HealthCheckController.php refactor: add return type declarations to controller methods 4 weeks ago
ImportController.php Lint 9 months ago
ImportPostController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
InstallController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
InstanceActorController.php refactor: add return type declarations to controller methods 4 weeks ago
InternalApiController.php Extract following-ids lookup into FollowerService::getFollowingIds 3 weeks ago
LandingController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
LikeController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
LiveStreamController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
MediaBlocklistController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
MediaController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
MediaTagController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
MicroController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
MobileController.php fix: stop caching raw Eloquent models to prevent incomplete-object 500s 4 weeks ago
NewsroomController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
NotificationController.php Apply fixes from StyleCI 8 years ago
PageController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ParentalControlsController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
PersonalAccessTokenController.php refactor: add return type declarations to controller methods 4 weeks ago
PixelfedDirectoryController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
PlaceController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
PollController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
PortfolioController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
ProfileAliasController.php refactor: add return type declarations to controller methods 4 weeks ago
ProfileController.php fix: stop caching raw Eloquent models to prevent incomplete-object 500s 4 weeks ago
ProfileMigrationController.php refactor: add return type declarations to controller methods 4 weeks ago
ProfileSponsorController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
PublicApiController.php Extract following-ids lookup into FollowerService::getFollowingIds 3 weeks ago
RemoteAuthController.php Add timeout, retry and error handling to remote auth HTTP calls 3 weeks ago
RemoteOidcController.php polish 4 weeks ago
ReportController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
SearchController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
SeasonalController.php Compute Year-in-Review averages in SQL instead of in PHP 3 weeks ago
SettingsController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
SiteController.php fix: stop caching raw Eloquent models to prevent incomplete-object 500s 4 weeks ago
SoftwareUpdateController.php Lint 9 months ago
SpaController.php refactor: add return type declarations to controller methods 4 weeks ago
StatusController.php refactor: extract duplicate patterns into shared methods 4 weeks ago
StatusEditController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
StoryComposeController.php Remove dead debug methods that echoed the raw request 3 weeks ago
StoryController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
TimelineController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
UIKitController.php Lint 9 months ago
UserAppSettingsController.php Lint 9 months ago
UserEmailForgotController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
UserInviteController.php refactor: move 52 legacy models from App\ to App\Models\ 4 weeks ago
UserRolesController.php Lint 9 months ago