Commit Graph

10 Commits

Author SHA1 Message Date
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 ad3b9c107d convert timestamp from episode action request to format also mysql can process 2021-07-22 23:44:45 +02:00
thrillfall 324aecd7b8 make subscription changes endpoint comply with gpodder.net api 2021-07-13 21:36:34 +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 932fb8cd46 allow null/false value for boolean field 2021-07-08 19:29:40 +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 6a39f2d814 use correct table name in models 2021-07-06 21:47:06 +02:00
thrillfall a810fcc8bc shorten to long table names 2021-07-06 14:23:25 +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