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
Select Git revision

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
Select Git revision
Show changes
# [1.0.0-alpha.75](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.74...v1.0.0-alpha.75) (2021-10-05)
### Bug Fixes
- **rss:** cast number type values to string in rss_helper
([7180ae9](https://code.podlibre.org/podlibre/castopod-host/commit/7180ae9ec700930b69c04ed91f8eceea16ad77ce)),
closes [#148](https://code.podlibre.org/podlibre/castopod-host/issues/148)
# [1.0.0-alpha.74](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.73...v1.0.0-alpha.74) (2021-09-28) # [1.0.0-alpha.74](https://code.podlibre.org/podlibre/castopod-host/compare/v1.0.0-alpha.73...v1.0.0-alpha.74) (2021-09-28)
### 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.74'); defined('CP_VERSION') || define('CP_VERSION', '1.0.0-alpha.75');
/* /*
| -------------------------------------------------------------------- | --------------------------------------------------------------------
......
...@@ -229,7 +229,7 @@ if (! function_exists('get_rss_feed')) { ...@@ -229,7 +229,7 @@ if (! function_exists('get_rss_feed')) {
} }
} }
$item->addChildWithCDATA('description', $episode->getDescriptionHtml($serviceSlug)); $item->addChildWithCDATA('description', $episode->getDescriptionHtml($serviceSlug));
$item->addChild('duration', $episode->audio_file_duration, $itunesNamespace); $item->addChild('duration', (string) $episode->audio_file_duration, $itunesNamespace);
$item->addChild('link', $episode->link); $item->addChild('link', $episode->link);
$episodeItunesImage = $item->addChild('image', null, $itunesNamespace); $episodeItunesImage = $item->addChild('image', null, $itunesNamespace);
$episodeItunesImage->addAttribute('href', $episode->image->feed_url); $episodeItunesImage->addAttribute('href', $episode->image->feed_url);
...@@ -244,9 +244,9 @@ if (! function_exists('get_rss_feed')) { ...@@ -244,9 +244,9 @@ if (! function_exists('get_rss_feed')) {
); );
$episode->number && $episode->number &&
$item->addChild('episode', $episode->number, $itunesNamespace); $item->addChild('episode', (string) $episode->number, $itunesNamespace);
$episode->season_number && $episode->season_number &&
$item->addChild('season', $episode->season_number, $itunesNamespace); $item->addChild('season', (string) $episode->season_number, $itunesNamespace);
$item->addChild('episodeType', $episode->type, $itunesNamespace); $item->addChild('episodeType', $episode->type, $itunesNamespace);
// add link to episode comments as podcast-activity format // add link to episode comments as podcast-activity format
...@@ -272,8 +272,8 @@ if (! function_exists('get_rss_feed')) { ...@@ -272,8 +272,8 @@ if (! function_exists('get_rss_feed')) {
foreach ($episode->soundbites as $soundbite) { foreach ($episode->soundbites as $soundbite) {
$soundbiteElement = $item->addChild('soundbite', $soundbite->label, $podcastNamespace); $soundbiteElement = $item->addChild('soundbite', $soundbite->label, $podcastNamespace);
$soundbiteElement->addAttribute('start_time', $soundbite->start_time); $soundbiteElement->addAttribute('start_time', (string) $soundbite->start_time);
$soundbiteElement->addAttribute('duration', $soundbite->duration); $soundbiteElement->addAttribute('duration', (string) $soundbite->duration);
} }
foreach ($episode->persons as $person) { foreach ($episode->persons as $person) {
......
{ {
"name": "podlibre/castopod-host", "name": "podlibre/castopod-host",
"version": "1.0.0-alpha74", "version": "1.0.0-alpha75",
"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.74", "version": "1.0.0-alpha.75",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "castopod-host", "name": "castopod-host",
"version": "1.0.0-alpha.74", "version": "1.0.0-alpha.75",
"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.74", "version": "1.0.0-alpha.75",
"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",
......