fix: remove exit function from podcast:import command to allow for episodes:compute-downloads to run

- update CI4 to v4.5.7
- update php and js dependencies to latest
- reconfigure lint-staged
This commit is contained in:
Yassine Doghri 2025-01-08 11:11:19 +00:00
commit 3359abf3fc
132 changed files with 2426 additions and 2259 deletions

View file

@ -21,7 +21,6 @@ use CodeIgniter\Exceptions\PageNotFoundException;
use CodeIgniter\HTTP\Response;
use CodeIgniter\HTTP\ResponseInterface;
use Config\Embed;
use Config\Services;
use Modules\Analytics\AnalyticsTrait;
use Modules\Fediverse\Objects\OrderedCollectionObject;
use Modules\Fediverse\Objects\OrderedCollectionPage;
@ -293,7 +292,7 @@ class EpisodeController extends BaseController
$this->registerPodcastWebpageHit($this->episode->podcast_id);
}
$session = Services::session();
$session = service('session');
if (service('superglobals')->server('HTTP_REFERER') !== null) {
$session->set('embed_domain', parse_url(service('superglobals')->server('HTTP_REFERER'), PHP_URL_HOST));