Commit Graph

240 Commits

Author SHA1 Message Date
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
Matthias Gutjahr
9b3e03c04f
Add minimum PHP version (7.4) 2021-07-09 10:20:38 +02:00
thrillfall
e7d7824dd1 release 1.0.4 2021-07-08 19:37:40 +02:00
thrillfall
ee321b4f53 release 1.0.3 2021-07-08 19:33:44 +02:00
thrillfall
932fb8cd46 allow null/false value for boolean field 2021-07-08 19:29:40 +02:00
thrillfall
5d63922e7c release 1.0.2 2021-07-08 12:37:58 +02:00
thrillfall
4af08367fc remove redundant unique modifier since we already have unique index on that column 2021-07-08 12:37:55 +02:00
thrillfall
7209171ae7 release 1.0.1 2021-07-07 20:34:15 +02:00
thrillfall
98e67d5d96 upload release tar 1.0.0 2021-07-07 20:24:22 +02:00
thrillfall
28cec51083 remove empty navigation tag 2021-07-07 20:23:53 +02:00
thrillfall
80dce46e2b upload release tar 1.0.0 2021-07-07 20:22:11 +02:00
thrillfall
2e881fabae move release files to subdirectory 2021-07-07 20:20:47 +02:00
thrillfall
aed5290130 update version number to first production ready major release 2021-07-07 20:17:09 +02:00
thrillfall
bc098ab30a remove navigation entry since there is nothing to see 2021-07-07 20:16:00 +02:00
thrillfall
6e9922b92a
upload release tar 2021-07-06 21:47:45 +02:00
thrillfall
f73f4e4887 update version number 2021-07-06 21:47:06 +02:00
thrillfall
6a39f2d814 use correct table name in models 2021-07-06 21:47:06 +02:00
thrillfall
98383ecd12
Create README.md 2021-07-06 21:01:27 +02:00
thrillfall
d3b69014f0 add release tar 2021-07-06 20:46:49 +02:00
thrillfall
8aac084fc0 update version number 2021-07-06 20:13:19 +02:00
thrillfall
a810fcc8bc shorten to long table names 2021-07-06 14:23:25 +02:00
thrillfall
c843456c0a make appinfo ready for release 2021-07-05 10:22:54 +02:00
thrillfall
92342f6d13 fixup! parse EpisodeAction message from AntennaPod 2021-07-05 10:22:29 +02:00
thrillfall
72bf365285 parse EpisodeAction message from AntennaPod
persist and list with database

create episodeAction list reponse (with mocked timestamp, started and total)

create episodeActions with received values

update existing episodeActions by unique episode link

receive and store subscription changes

deal with multiple subscription changes in single request

split database into subdirectories

only return subscription changes younger then passed parameter since

parse passed timestamp

parse passed timestamp for episode_actions listing

only return list of urls for subscription changes

align list endpoint naming schema

store userId with episode actions and subscriptions

return json object on application root route
2021-06-27 13:24:17 +02:00