Compare commits

...

7 Commits

Author SHA1 Message Date
4b7e4204bb Merge branch 'main' into patch 2024-10-17 10:50:52 +02:00
Cardo
a7729b29b0 Updated Cardo URL
Some checks failed
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (sqlite, 8.1, stable28) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (sqlite, 8.1, stable29) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (sqlite, 8.1, stable27) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (sqlite, 8.1, stable30) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (sqlite, 8.2, stable27) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (sqlite, 8.2, stable28) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (sqlite, 8.2, stable29) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (sqlite, 8.2, stable30) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (mysql, 8.1, stable27) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (mysql, 8.1, stable28) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (mysql, 8.1, stable29) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (mysql, 8.1, stable30) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (mysql, 8.2, stable27) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (mysql, 8.2, stable28) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (mysql, 8.2, stable29) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (mysql, 8.2, stable30) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (pgsql, 8.1, stable27) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (pgsql, 8.1, stable28) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (pgsql, 8.1, stable29) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (pgsql, 8.1, stable30) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (pgsql, 8.2, stable27) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (pgsql, 8.2, stable28) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (pgsql, 8.2, stable29) (push) Has been cancelled
PHPUnit / php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} (pgsql, 8.2, stable30) (push) Has been cancelled
2024-09-23 16:54:36 +01:00
n0vella
1d430ba279 Added new Cardo podcast player to compatible clients 2024-09-23 16:54:36 +01:00
JonOfUs
009b592990 Prepare release of 3.10.0 2024-09-23 17:34:25 +02:00
JonOfUs
e8611c6e99 Remove usage of safe-library for compability 2024-09-23 17:26:24 +02:00
JonOfUs
df17366e0f Add stable30 to CI tests 2024-09-23 17:26:24 +02:00
fyksen
09d7225bd0 Update info.xml to support Nextcloud 30
Have had it run on Nextcloud 30 for some days now, without any problems.

From the changelog on Nextcloud 30 it doesn't look like any changes are needed for this app?

https://nextcloud.com/changelog/
2024-09-23 17:26:24 +02:00
5 changed files with 45 additions and 36 deletions

View File

@ -5,7 +5,7 @@ on:
push: push:
branches: branches:
- main - main
- 'ci-*' - "ci-*"
env: env:
APP_NAME: gpoddersync APP_NAME: gpoddersync
@ -18,9 +18,9 @@ jobs:
# do not stop on another job's failure # do not stop on another job's failure
fail-fast: false fail-fast: false
matrix: matrix:
php-versions: ['8.1', '8.2'] php-versions: ["8.1", "8.2"]
databases: ['sqlite'] databases: ["sqlite"]
server-versions: ['stable27', 'stable28', 'stable29'] server-versions: ["stable27", "stable28", "stable29", "stable30"]
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
@ -75,9 +75,9 @@ jobs:
# do not stop on another job's failure # do not stop on another job's failure
fail-fast: false fail-fast: false
matrix: matrix:
php-versions: ['8.1', '8.2'] php-versions: ["8.1", "8.2"]
databases: ['mysql'] databases: ["mysql"]
server-versions: ['stable27', 'stable28', 'stable29'] server-versions: ["stable27", "stable28", "stable29", "stable30"]
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
@ -141,9 +141,9 @@ jobs:
# do not stop on another job's failure # do not stop on another job's failure
fail-fast: false fail-fast: false
matrix: matrix:
php-versions: ['8.1', '8.2'] php-versions: ["8.1", "8.2"]
databases: ['pgsql'] databases: ["pgsql"]
server-versions: ['stable27', 'stable28', 'stable29'] server-versions: ["stable27", "stable28", "stable29", "stable30"]
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }} name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}

View File

@ -1,4 +1,8 @@
# Changelog # Changelog
## 3.10.0 - 2024-09-23
### Changed
- Add support for Nextcloud 30
## 3.9.0 - 2024-05-21 ## 3.9.0 - 2024-05-21
### Changed ### Changed
- Add support for Nextcloud 29 - Add support for Nextcloud 29
@ -123,4 +127,3 @@
## 1.0.7 2021-07-13 ## 1.0.7 2021-07-13
### Changed ### Changed
- accept only arrays on subscription change endpoint (thanks https://github.com/mattsches) - accept only arrays on subscription change endpoint (thanks https://github.com/mattsches)

View File

@ -8,6 +8,7 @@ Nextcloud app that replicates basic gpodder.net api to sync podcast consumer app
| [KDE Kasts](https://apps.kde.org/de/kasts/) | Supported since version 21.12 | | [KDE Kasts](https://apps.kde.org/de/kasts/) | Supported since version 21.12 |
| [Podcast Merlin](https://github.com/yoyoooooooooo/Podcast-Merlin--Nextcloud-Gpodder-Client-For-Windows) | Full sync support podcast client for Windows | | [Podcast Merlin](https://github.com/yoyoooooooooo/Podcast-Merlin--Nextcloud-Gpodder-Client-For-Windows) | Full sync support podcast client for Windows |
| [RePod](https://apps.nextcloud.com/apps/repod) | Nextcloud app for playing and managing podcasts with sync support | | [RePod](https://apps.nextcloud.com/apps/repod) | Nextcloud app for playing and managing podcasts with sync support |
| [Cardo](https://cardo-podcast.github.io/#/cardo) | Podcast client with sync support, for Windows, Mac and Linux |
| ~~[Garmin Podcasts](https://lucasasselli.github.io/garmin-podcasts/)~~ | Repository archived, app is [no longer available](https://apps.garmin.com/en-US/apps/b5b85600-0625-43b6-89e9-1245bd44532c) | | ~~[Garmin Podcasts](https://lucasasselli.github.io/garmin-podcasts/)~~ | Repository archived, app is [no longer available](https://apps.garmin.com/en-US/apps/b5b85600-0625-43b6-89e9-1245bd44532c) |
### Installation ### Installation
Either from the official Nextcloud app store ([link to app page](https://apps.nextcloud.com/apps/gpoddersync)) or by downloading the [latest release](https://github.com/thrillfall/nextcloud-gpodder/releases/latest) and extracting it into your Nextcloud apps/ directory. Either from the official Nextcloud app store ([link to app page](https://apps.nextcloud.com/apps/gpoddersync)) or by downloading the [latest release](https://github.com/thrillfall/nextcloud-gpodder/releases/latest) and extracting it into your Nextcloud apps/ directory.

View File

@ -5,7 +5,7 @@
<name>GPodder Sync</name> <name>GPodder Sync</name>
<summary>replicate basic GPodder.net API</summary> <summary>replicate basic GPodder.net API</summary>
<description><![CDATA[Expose GPodder API to sync podcast consumer apps like AntennaPod]]></description> <description><![CDATA[Expose GPodder API to sync podcast consumer apps like AntennaPod]]></description>
<version>3.9.0</version> <version>3.10.0</version>
<licence>agpl</licence> <licence>agpl</licence>
<author mail="thrillfall@disroot.org">Thrillfall</author> <author mail="thrillfall@disroot.org">Thrillfall</author>
<namespace>GPodderSync</namespace> <namespace>GPodderSync</namespace>
@ -18,7 +18,7 @@
</documentation> </documentation>
<dependencies> <dependencies>
<php min-version="8.1"/> <php min-version="8.1"/>
<nextcloud min-version="27" max-version="29"/> <nextcloud min-version="27" max-version="30"/>
</dependencies> </dependencies>
<repair-steps> <repair-steps>
<post-migration> <post-migration>

View File

@ -5,7 +5,7 @@ namespace OCA\GPodderSync\Migration;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use Safe\DateTime; use DateTime;
class TimestampMigration implements \OCP\Migration\IRepairStep class TimestampMigration implements \OCP\Migration\IRepairStep
{ {
@ -29,22 +29,27 @@ class TimestampMigration implements \OCP\Migration\IRepairStep
*/ */
public function run(IOutput $output) public function run(IOutput $output)
{ {
$queryTimestamps = 'SELECT id, timestamp FROM `*PREFIX*gpodder_episode_action` WHERE timestamp_epoch = 0'; $queryTimestamps =
"SELECT id, timestamp FROM `*PREFIX*gpodder_episode_action` WHERE timestamp_epoch = 0";
$timestamps = $this->db->executeQuery($queryTimestamps)->fetchAll(); $timestamps = $this->db->executeQuery($queryTimestamps)->fetchAll();
$result = 0; $result = 0;
foreach ($timestamps as $timestamp) { foreach ($timestamps as $timestamp) {
$timestampEpoch = (new DateTime($timestamp["timestamp"]))->format("U"); $timestampEpoch = (new DateTime($timestamp["timestamp"]))->format(
$sql = 'UPDATE `*PREFIX*gpodder_episode_action` ' "U"
. 'SET `timestamp_epoch` = ' . $timestampEpoch . ' ' );
. 'WHERE `id` = ' . $timestamp["id"]; $sql =
"UPDATE `*PREFIX*gpodder_episode_action` " .
"SET `timestamp_epoch` = " .
$timestampEpoch .
" " .
"WHERE `id` = " .
$timestamp["id"];
$result += $this->db->executeUpdate($sql); $result += $this->db->executeUpdate($sql);
} }
return $result; return $result;
} }
} }