mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-11 16:55:46 +00:00

- authenticated pages are not cached - add AnalyticsTrait to register a podcast webpage hit across mutliple controllers - set actor_id as unique in podcasts table - fix issues with preview card not appearing - update codeigniter4-uuid
41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
<?php
|
|
|
|
/**
|
|
* @copyright 2021 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace ActivityPub\Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
class ActivityPub extends BaseConfig
|
|
{
|
|
/**
|
|
* --------------------------------------------------------------------
|
|
* ActivityPub Objects
|
|
* --------------------------------------------------------------------
|
|
*/
|
|
public $actorObject = 'ActivityPub\Objects\ActorObject';
|
|
public $noteObject = 'ActivityPub\Objects\NoteObject';
|
|
|
|
/**
|
|
* --------------------------------------------------------------------
|
|
* Default avatar and cover images
|
|
* --------------------------------------------------------------------
|
|
*/
|
|
public $defaultAvatarImagePath = 'assets/images/avatar-default.jpg';
|
|
public $defaultAvatarImageMimetype = 'image/jpeg';
|
|
|
|
public $defaultCoverImagePath = 'assets/images/cover-default.jpg';
|
|
public $defaultCoverImageMimetype = 'image/jpeg';
|
|
|
|
/**
|
|
* --------------------------------------------------------------------
|
|
* Cache options
|
|
* --------------------------------------------------------------------
|
|
*/
|
|
public $cachePrefix = 'ap_';
|
|
}
|