WIP: Minds Pro (stable branch)
0/3 threads resolved
added Product::Pro Squad::Yellow scoped labels
added 2 commits
added 16 commits
- 05d2acc9...f0a2ec8a - 9 commits from branch
master
- e45b6a7c - (feat): Featured content entities
- 218a2fe9 - (feat): support filtering by hashtags
- b8d55a17 - (feat): Pro homepage content aggregator
- f62228be - (feat): Pro users to have up to 12 pinned posts
- 68c78916 - (wip): Pro standalone mode
- a045a6c7 - (feat): Pro Channel homepage categories endpoint
- 76af6b01 - Merge remote-tracking branch 'origin/master' into epic/minds-pro
Toggle commit list- 05d2acc9...f0a2ec8a - 9 commits from branch
78 80 */ 79 81 public static function pamCheck($request, $response) 80 82 { 81 if ( $request->getAttribute('oauth_user_id') 82 || Security\XSRF::validateRequest() 83 /** @var Domain $proDomain */ 84 $proDomain = Di::_()->get('Pro\Domain'); 85 86 if ( 87 $request->getAttribute('oauth_user_id') || 88 Security\XSRF::validateRequest() || 89 $proDomain->validateRequest($request) - Owner
can we move this to the next possible
elseif
block to detach from existing flow?
2 /** 3 * @author: eiennohi. 4 */ 5 6 namespace Minds\Controllers\api\v2\feeds; 7 8 use Minds\Api\Exportable; 9 use Minds\Api\Factory; 10 use Minds\Common\Repository\Response; 11 use Minds\Core; 12 use Minds\Core\Di\Di; 13 use Minds\Entities\Factory as EntitiesFactory; 14 use Minds\Entities\User; 15 use Minds\Interfaces; 16 17 class channel implements Interfaces\Api - Owner
why do we have this when we could use
api/v2/feeds/container/...
?
338 349 339 350 // 340 351 352 $esType = $opts['type']; 353 354 if ($esType === 'all') { 355 $esType = 'object:image,object:video,object:blog'; - Owner
activity?