Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • adaures/castopod
  • mkljczk/castopod-host
  • spaetz/castopod-host
  • PatrykMis/castopod
  • jonas/castopod
  • ajeremias/castopod
  • misuzu/castopod
  • KrzysztofDomanczyk/castopod
  • Behel/castopod
  • nebulon/castopod
  • ewen/castopod
  • NeoluxConsulting/castopod
  • nateritter/castopod-og
  • prcutler/castopod
14 results
Show changes
Commits on Source (2)
# [1.0.0-alpha.65](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.64...v1.0.0-alpha.65) (2021-07-22)
### Bug Fixes
- update conditions when checking for empty max_episodes and season_number
([fbad0b5](https://code.podlibre.org/podlibre/castopod-host/commit/fbad0b59f68c65eba2fdcd5a8d3b312b622e9a45))
# [1.0.0-alpha.64](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.63...v1.0.0-alpha.64) (2021-07-12) # [1.0.0-alpha.64](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.63...v1.0.0-alpha.64) (2021-07-12)
### Features ### Features
......
...@@ -11,7 +11,7 @@ declare(strict_types=1); ...@@ -11,7 +11,7 @@ declare(strict_types=1);
| |
| NOTE: this constant is updated upon release with Continuous Integration. | NOTE: this constant is updated upon release with Continuous Integration.
*/ */
defined('CP_VERSION') || define('CP_VERSION', '1.0.0-alpha.64'); defined('CP_VERSION') || define('CP_VERSION', '1.0.0-alpha.65');
/* /*
| -------------------------------------------------------------------- | --------------------------------------------------------------------
......
...@@ -288,10 +288,11 @@ class PodcastImportController extends BaseController ...@@ -288,10 +288,11 @@ class PodcastImportController extends BaseController
} }
$numberItems = $feed->channel[0]->item->count(); $numberItems = $feed->channel[0]->item->count();
$lastItem = $lastItem =
$this->request->getPost('max_episodes') !== null && $this->request->getPost('max_episodes') !== '' &&
$this->request->getPost('max_episodes') < $numberItems $this->request->getPost('max_episodes') < $numberItems
? $this->request->getPost('max_episodes') ? (int) $this->request->getPost('max_episodes')
: $numberItems; : $numberItems;
$slugs = []; $slugs = [];
...@@ -364,9 +365,9 @@ class PodcastImportController extends BaseController ...@@ -364,9 +365,9 @@ class PodcastImportController extends BaseController
? $itemNumber ? $itemNumber
: $nsItunes->episode, : $nsItunes->episode,
'season_number' => 'season_number' =>
$this->request->getPost('season_number') === null $this->request->getPost('season_number') === ''
? $nsItunes->season ? $nsItunes->season
: $this->request->getPost('season_number'), : (int) $this->request->getPost('season_number'),
'type' => property_exists($nsItunes, 'episodeType') && $nsItunes->episodeType !== null 'type' => property_exists($nsItunes, 'episodeType') && $nsItunes->episodeType !== null
? (string) $nsItunes->episodeType ? (string) $nsItunes->episodeType
: 'full', : 'full',
......
{ {
"name": "podlibre/castopod-host", "name": "podlibre/castopod-host",
"version": "1.0.0-alpha64", "version": "1.0.0-alpha65",
"type": "project", "type": "project",
"description": "Castopod Host is an open-source hosting platform made for podcasters who want engage and interact with their audience.", "description": "Castopod Host is an open-source hosting platform made for podcasters who want engage and interact with their audience.",
"homepage": "https://castopod.org", "homepage": "https://castopod.org",
......
{ {
"name": "castopod-host", "name": "castopod-host",
"version": "1.0.0-alpha.64", "version": "1.0.0-alpha.65",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"version": "1.0.0-alpha.64", "version": "1.0.0-alpha.65",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"dependencies": { "dependencies": {
"@amcharts/amcharts4": "^4.10.17", "@amcharts/amcharts4": "^4.10.17",
{ {
"name": "castopod-host", "name": "castopod-host",
"version": "1.0.0-alpha.64", "version": "1.0.0-alpha.65",
"description": "Castopod Host is an open-source hosting platform made for podcasters who want engage and interact with their audience.", "description": "Castopod Host is an open-source hosting platform made for podcasters who want engage and interact with their audience.",
"private": true, "private": true,
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
......