Loading .gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -177,6 +177,7 @@ modules/Admin/Language/*/PersonsTaxonomy.php mariadb phpmyadmin sessions data # Castopod bundle & packages castopod/ Loading app/Config/App.php +0 −20 Original line number Diff line number Diff line Loading @@ -26,18 +26,6 @@ class App extends BaseConfig */ public string $baseURL = 'http://localhost:8080/'; /** * -------------------------------------------------------------------------- * Media Base URL * -------------------------------------------------------------------------- * * URL to your media root. Typically this will be your base URL, * WITH a trailing slash: * * http://cdn.example.com/ */ public string $mediaBaseURL = 'http://localhost:8080/'; /** * -------------------------------------------------------------------------- * Index File Loading Loading @@ -420,14 +408,6 @@ class App extends BaseConfig */ public bool $CSPEnabled = false; /** * -------------------------------------------------------------------------- * Media root folder * -------------------------------------------------------------------------- * Defines the root folder for media files storage */ public string $mediaRoot = 'media'; /** * -------------------------------------------------------------------------- * Instance / Site Config Loading app/Config/Autoload.php +1 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ class Autoload extends AutoloadConfig 'Modules\Install' => ROOTPATH . 'modules/Install/', 'Modules\Update' => ROOTPATH . 'modules/Update/', 'Modules\Fediverse' => ROOTPATH . 'modules/Fediverse/', 'Modules\Media' => ROOTPATH . 'modules/Media/', 'Modules\WebSub' => ROOTPATH . 'modules/WebSub/', 'Modules\Api\Rest\V1' => ROOTPATH . 'modules/Api/Rest/V1', 'Modules\PremiumPodcasts' => ROOTPATH . 'modules/PremiumPodcasts/', Loading app/Config/Mimes.php +1 −1 Original line number Diff line number Diff line Loading @@ -211,7 +211,7 @@ class Mimes 'word' => ['application/msword', 'application/octet-stream'], 'xl' => 'application/excel', 'eml' => 'message/rfc822', 'json' => ['application/json', 'text/json'], 'json' => ['application/json', 'text/json', 'text/plain'], 'pem' => ['application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'], 'p10' => ['application/x-pkcs10', 'application/pkcs10'], 'p12' => 'application/x-pkcs12', Loading app/Database/Seeds/FakeSinglePodcastApiSeeder.php +4 −4 Original line number Diff line number Diff line Loading @@ -9,13 +9,13 @@ use CodeIgniter\Database\Seeder; class FakeSinglePodcastApiSeeder extends Seeder { /** * @return array{id: int, file_path: string, file_size: int, file_mimetype: string, file_metadata: string, type: string, description: null, language_code: null, uploaded_by: int, updated_by: int, uploaded_at: string, updated_at: string} * @return array{id: int, file_key: string, file_size: int, file_mimetype: string, file_metadata: string, type: string, description: null, language_code: null, uploaded_by: int, updated_by: int, uploaded_at: string, updated_at: string} */ public static function cover(): array { return [ 'id' => 1, 'file_path' => 'podcasts/Handle/cover.jpg', 'file_key' => 'podcasts/Handle/cover.jpg', 'file_size' => 400000, 'file_mimetype' => 'image/jpeg', 'file_metadata' => '{"FILE":{"FileName":"cover.jpg","FileDateTime":1654861723,"FileSize":468541,"FileType":2,"MimeType":"image\/jpeg","SectionsFound":"COMMENT"},"COMPUTED":{"html":"width=\"1400\" height=\"1400\"","Height":1400,"Width":1400,"IsColor":1},"COMMENT":["CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90\n"],"sizes":{"tiny":{"width":40,"height":40,"mimetype":"image\/webp","extension":"webp"},"thumbnail":{"width":150,"height":150,"mimetype":"image\/webp","extension":"webp"},"medium":{"width":320,"height":320,"mimetype":"image\/webp","extension":"webp"},"large":{"width":1024,"height":1024,"mimetype":"image\/webp","extension":"webp"},"feed":{"width":1400,"height":1400},"id3":{"width":500,"height":500},"og":{"width":1200,"height":1200},"federation":{"width":400,"height":400},"webmanifest192":{"width":192,"height":192,"mimetype":"image\/png","extension":"png"},"webmanifest512":{"width":512,"height":512,"mimetype":"image\/png","extension":"png"}}}', Loading @@ -30,13 +30,13 @@ class FakeSinglePodcastApiSeeder extends Seeder } /** * @return array{id: int, file_path: string, file_size: int, file_mimetype: string, file_metadata: string, type: string, description: null, language_code: null, uploaded_by: int, updated_by: int, uploaded_at: string, updated_at: string} * @return array{id: int, file_key: string, file_size: int, file_mimetype: string, file_metadata: string, type: string, description: null, language_code: null, uploaded_by: int, updated_by: int, uploaded_at: string, updated_at: string} */ public static function banner(): array { return [ 'id' => 2, 'file_path' => 'podcasts/Handle/banner.jpg', 'file_key' => 'podcasts/Handle/banner.jpg', 'file_size' => 400000, 'file_mimetype' => 'image/jpeg', 'file_metadata' => '{"FILE":{"FileName":"banner.jpg","FileDateTime":1654861724,"FileSize":98209,"FileType":2,"MimeType":"image\/jpeg","SectionsFound":""},"COMPUTED":{"html":"width=\"1500\" height=\"500\"","Height":500,"Width":1500,"IsColor":1},"sizes":{"small":{"width":320,"height":128,"mimetype":"image\/webp","extension":"webp"},"medium":{"width":960,"height":320,"mimetype":"image\/webp","extension":"webp"},"federation":{"width":1500,"height":500}}}', Loading Loading
.gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -177,6 +177,7 @@ modules/Admin/Language/*/PersonsTaxonomy.php mariadb phpmyadmin sessions data # Castopod bundle & packages castopod/ Loading
app/Config/App.php +0 −20 Original line number Diff line number Diff line Loading @@ -26,18 +26,6 @@ class App extends BaseConfig */ public string $baseURL = 'http://localhost:8080/'; /** * -------------------------------------------------------------------------- * Media Base URL * -------------------------------------------------------------------------- * * URL to your media root. Typically this will be your base URL, * WITH a trailing slash: * * http://cdn.example.com/ */ public string $mediaBaseURL = 'http://localhost:8080/'; /** * -------------------------------------------------------------------------- * Index File Loading Loading @@ -420,14 +408,6 @@ class App extends BaseConfig */ public bool $CSPEnabled = false; /** * -------------------------------------------------------------------------- * Media root folder * -------------------------------------------------------------------------- * Defines the root folder for media files storage */ public string $mediaRoot = 'media'; /** * -------------------------------------------------------------------------- * Instance / Site Config Loading
app/Config/Autoload.php +1 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ class Autoload extends AutoloadConfig 'Modules\Install' => ROOTPATH . 'modules/Install/', 'Modules\Update' => ROOTPATH . 'modules/Update/', 'Modules\Fediverse' => ROOTPATH . 'modules/Fediverse/', 'Modules\Media' => ROOTPATH . 'modules/Media/', 'Modules\WebSub' => ROOTPATH . 'modules/WebSub/', 'Modules\Api\Rest\V1' => ROOTPATH . 'modules/Api/Rest/V1', 'Modules\PremiumPodcasts' => ROOTPATH . 'modules/PremiumPodcasts/', Loading
app/Config/Mimes.php +1 −1 Original line number Diff line number Diff line Loading @@ -211,7 +211,7 @@ class Mimes 'word' => ['application/msword', 'application/octet-stream'], 'xl' => 'application/excel', 'eml' => 'message/rfc822', 'json' => ['application/json', 'text/json'], 'json' => ['application/json', 'text/json', 'text/plain'], 'pem' => ['application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'], 'p10' => ['application/x-pkcs10', 'application/pkcs10'], 'p12' => 'application/x-pkcs12', Loading
app/Database/Seeds/FakeSinglePodcastApiSeeder.php +4 −4 Original line number Diff line number Diff line Loading @@ -9,13 +9,13 @@ use CodeIgniter\Database\Seeder; class FakeSinglePodcastApiSeeder extends Seeder { /** * @return array{id: int, file_path: string, file_size: int, file_mimetype: string, file_metadata: string, type: string, description: null, language_code: null, uploaded_by: int, updated_by: int, uploaded_at: string, updated_at: string} * @return array{id: int, file_key: string, file_size: int, file_mimetype: string, file_metadata: string, type: string, description: null, language_code: null, uploaded_by: int, updated_by: int, uploaded_at: string, updated_at: string} */ public static function cover(): array { return [ 'id' => 1, 'file_path' => 'podcasts/Handle/cover.jpg', 'file_key' => 'podcasts/Handle/cover.jpg', 'file_size' => 400000, 'file_mimetype' => 'image/jpeg', 'file_metadata' => '{"FILE":{"FileName":"cover.jpg","FileDateTime":1654861723,"FileSize":468541,"FileType":2,"MimeType":"image\/jpeg","SectionsFound":"COMMENT"},"COMPUTED":{"html":"width=\"1400\" height=\"1400\"","Height":1400,"Width":1400,"IsColor":1},"COMMENT":["CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90\n"],"sizes":{"tiny":{"width":40,"height":40,"mimetype":"image\/webp","extension":"webp"},"thumbnail":{"width":150,"height":150,"mimetype":"image\/webp","extension":"webp"},"medium":{"width":320,"height":320,"mimetype":"image\/webp","extension":"webp"},"large":{"width":1024,"height":1024,"mimetype":"image\/webp","extension":"webp"},"feed":{"width":1400,"height":1400},"id3":{"width":500,"height":500},"og":{"width":1200,"height":1200},"federation":{"width":400,"height":400},"webmanifest192":{"width":192,"height":192,"mimetype":"image\/png","extension":"png"},"webmanifest512":{"width":512,"height":512,"mimetype":"image\/png","extension":"png"}}}', Loading @@ -30,13 +30,13 @@ class FakeSinglePodcastApiSeeder extends Seeder } /** * @return array{id: int, file_path: string, file_size: int, file_mimetype: string, file_metadata: string, type: string, description: null, language_code: null, uploaded_by: int, updated_by: int, uploaded_at: string, updated_at: string} * @return array{id: int, file_key: string, file_size: int, file_mimetype: string, file_metadata: string, type: string, description: null, language_code: null, uploaded_by: int, updated_by: int, uploaded_at: string, updated_at: string} */ public static function banner(): array { return [ 'id' => 2, 'file_path' => 'podcasts/Handle/banner.jpg', 'file_key' => 'podcasts/Handle/banner.jpg', 'file_size' => 400000, 'file_mimetype' => 'image/jpeg', 'file_metadata' => '{"FILE":{"FileName":"banner.jpg","FileDateTime":1654861724,"FileSize":98209,"FileType":2,"MimeType":"image\/jpeg","SectionsFound":""},"COMPUTED":{"html":"width=\"1500\" height=\"500\"","Height":500,"Width":1500,"IsColor":1},"sizes":{"small":{"width":320,"height":128,"mimetype":"image\/webp","extension":"webp"},"medium":{"width":960,"height":320,"mimetype":"image\/webp","extension":"webp"},"federation":{"width":1500,"height":500}}}', Loading