Commit Graph

73 Commits

Author SHA1 Message Date
thrillfall 9f0c06e919 test we still retrieve the correct episode action by guid when episode url changes 2021-08-29 13:14:40 +02:00
thrillfall 352802ca69 update existing episode actions with guid 2021-08-29 13:14:40 +02:00
thrillfall 850dfd5eb4 add guid to episode action and make it findable by it 2021-08-29 13:14:40 +02:00
thrillfall ae27f7cf34 test unique index constraint for episode actions 2021-08-29 13:14:40 +02:00
thrillfall ba0d4f4357 parse optional guid from EpisodeAction request 2021-08-29 13:14:40 +02:00
thrillfall 20a647906a do not pass same data twice 2021-08-27 12:51:29 +02:00
thrillfall 71c7b6e510 do not version release tarballs. we use github actions for that 2021-08-27 12:41:29 +02:00
thrillfall c7d5661ddf release 1.0.14 2021-08-24 23:41:53 +02:00
Jonathan Flueren e6637a0201 Use foreach for episode action strings, update variable names 2021-08-24 22:31:24 +02:00
Jonathan Flueren cd17ad5079 Increase code quality, use explode instead of strpos/substr
Makes code phpdoc conform and changes to a better readable EpisodeActions parsing.
2021-08-24 22:31:24 +02:00
Jonathan Flueren 48b78669e6 Enable processing of multiple EpisodeActions
EpisodeAction/create now can deal with multiple EpisodeActions inside a single EpisodeAction string, they will be processed one after another.
For this EpisodeActionReader->fromString() now returns an array of EpisodeActions.
2021-08-24 22:31:24 +02:00
thrillfall d793b59637 release 1.0.13 2021-08-22 23:24:31 +02:00
thrillfall 0f6ab73cf2 narrow catch to nextcloud dbal exceptions 2021-08-22 23:23:02 +02:00
thrillfall 029c010e2f adapt table column length limit to episode actions like DOWNLOAD 2021-08-22 23:19:38 +02:00
thrillfall ebe4757b5e drop phpdoc 2021-08-22 22:57:33 +02:00
thrillfall a29aa2ccd5 extract parsing and storing episode action to separate class 2021-08-22 22:45:34 +02:00
thrillfall 83c18ad623 narrow catch to nextcloud dbal exceptions 2021-08-22 21:59:45 +02:00
thrillfall 06f1a9a978 release 1.0.12 2021-08-21 20:21:49 +02:00
thrillfall 57f0691b4c nextcloud < v22.0 throws UniqueConstraintViolationException. This can be reverted after v21 reaches end of support 2021-08-21 20:20:24 +02:00
thrillfall ab155ca94a fix inspection warnings 2021-08-17 19:41:54 +02:00
thrillfall 52dde91ace release 1.0.11 2021-08-16 22:40:23 +02:00
thrillfall c6e21b9684 pass step input to environment variables 2021-08-16 22:37:31 +02:00
thrillfall 3a5607a198
Merge pull request #19 from JonOfUs/main
Stop creating unnecessary log file in Nextcloud root folder
2021-08-16 20:53:23 +02:00
Jonathan Flueren 20920c5d84 Stop creating unnecessary log file in Nextcloud base folder
EpisodeActionReader created (or appended to) file actionreader.log in Nextcloud base folder (with index.php & occ). This concluded in a Nextcloud warning about "additional files in Nextcloud folder" in the self-check feature.
2021-08-16 14:20:21 +02:00
thrillfall d75aed661e update github action version 2021-08-14 20:24:27 +02:00
thrillfall 1b6ef9b63d do not tag nextcloud app store release as nightly 2021-08-14 20:20:16 +02:00
thrillfall 047803815c ignore releases directory from tarball 2021-08-14 20:15:31 +02:00
thrillfall b0e0cd73da fix release tarball filename 2021-08-14 20:11:59 +02:00
thrillfall 8a215704b8 fix release tarball filename 2021-08-14 20:08:59 +02:00
thrillfall e812b350cc fix release tarball filename 2021-08-14 20:03:31 +02:00
thrillfall 2fae983746 add github workflow to automate nextcloud appstore release 2021-08-14 19:57:50 +02:00
thrillfall bb4516c59b release 1.0.10 2021-08-14 19:56:34 +02:00
thrillfall 0a62907b40
Merge pull request #18 from JonOfUs/main
Correct faulty timestamp check in episode and subscription list requests
2021-08-12 23:13:05 +02:00
Jonathan Flueren 9ac7758e87 Correct empty timestamp check in createDateTimeFromTimestamp
createDateTimeFromTimestamp interpreted 0 as timestamp as a mistake while 0 is a valid timestamp.
The fix checks if timestamp is null (not defined/initialized), so that 0 is treated as a correct timestamp.
2021-08-12 15:27:58 +02:00
thrillfall a87c010c77 release 1.0.9 2021-07-27 00:06:50 +02:00
thrillfall bf4eabc534
Merge pull request #15 from JonOfUs/main
Solve timezone problems in episode change synchronization
2021-07-27 00:02:22 +02:00
thrillfall 9bf2ba6269 actually ship 1.0.8 code in tarball 2021-07-26 00:27:45 +02:00
Jonathan Flueren e438ae94dd Revert change of timestamp format
Reverting the change of format of the timestamp that gets saved into episode_action table.
Reason: The 'T' was in there so that the timestamp format is like AntennaPod's timestamp format.
2021-07-24 20:11:42 +02:00
Jonathan Flueren 5a46233e46 Update EpisodeActionController.php
Use UTC timestamp for episode actions instead of the timezone used by the AntennaPod app.
Correct conversion should be assured because the AntennaPod timestamp includes a timezone identifier (T).

Also slightly change the output format for the DateTime-timestamp to equal other timestamp formats.
2021-07-24 19:06:14 +02:00
thrillfall df4bebf89e release 1.0.8 2021-07-22 23:52:47 +02:00
thrillfall ad3b9c107d convert timestamp from episode action request to format also mysql can process 2021-07-22 23:44:45 +02:00
thrillfall 228be0b0b8 release 1.0.7 2021-07-13 21:39:57 +02:00
thrillfall 324aecd7b8 make subscription changes endpoint comply with gpodder.net api 2021-07-13 21:36:34 +02:00
thrillfall edddecd027
Merge pull request #9 from mattsches/main
Fix compatibility with more recent versions of PHPUnit
2021-07-13 11:20:16 +02:00
Matthias Gutjahr cd5a77281e
Fix compatibility with more recent versions of PHPUnit 2021-07-13 09:43:54 +02:00
thrillfall 6466287dc0 release 1.0.6 2021-07-11 22:57:49 +02:00
thrillfall b09210655e unique key violation exception is thrown as \Exception thus we need to check the reason 2021-07-11 22:52:30 +02:00
thrillfall bb38c41b2f release 1.0.5 2021-07-09 20:34:45 +02:00
thrillfall eaf8a1b306 we are using Doctrine Types in Migrations which are only available with nc version 20+ 2021-07-09 20:33:42 +02:00
thrillfall 6b077a9353
Merge pull request #4 from mattsches/main
Add minimum PHP version (7.4)
2021-07-09 12:17:58 +02:00