Commit Graph

17 Commits

Author SHA1 Message Date
Jonathan Flueren
33c5a28250 Define return value of overriding jsonSerialize()
Threw DEPRECATED warnings on php8.x systems
2022-11-08 21:11:51 +01:00
Kalle Fagerberg
4771a52b63 Extracted PodcastData to its own endpoint 2022-10-28 09:50:44 +02:00
thrillfall
a9e29e269c remove redundant phpdoc 2021-11-03 13:51:48 +01:00
Matthias Gutjahr
056b12a667 Add check for EpisodeAction properties
- also add type hints and phpdocs
- add additional unit tests
- set integer types in EpisodeActionEntity
- correctly call static methods
- improve exception handling in EpisodeActionSaver
- remove unused method EpisodeActionWriter::purge()
2021-11-03 13:51:26 +01:00
Matthias Gutjahr
b41a57d3a5 Add phpdoc @method tags for setters 2021-11-03 13:51:26 +01:00
Matthias Gutjahr
1a3e385387 Remove redundant docblock 2021-11-03 13:51:26 +01:00
Matthias Gutjahr
7cc459a46d Add @method docblock tags for magic methods 2021-11-03 13:51:26 +01:00
Matthias Gutjahr
1d2056e025 Add check for EpisodeAction properties
- also add type hints and phpdocs
- add additional unit tests
- set integer types in EpisodeActionEntity
- correctly call static methods
- improve exception handling in EpisodeActionSaver
- remove unused method EpisodeActionWriter::purge()
2021-11-03 13:51:26 +01:00
thrillfall
499d11d209 query episode actions by unix timestamp (instead of datetime object) 2021-10-06 14:06:45 +02:00
thrillfall
9271a5063e ensure dbal return types for mysql and sqlite database 2021-10-06 14:06:45 +02:00
thrillfall
871257ede2 make sure we always return int for episode_action.started 2021-10-06 14:06:45 +02:00
thrillfall
ac1acf079b provide episode_action timestamps as UTC in api response 2021-10-06 14:06:45 +02:00
thrillfall
aa024e55f8 add new timestamp database field. add migration step to convert timestamps to unix epoch 2021-10-06 14:06:45 +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
6a39f2d814 use correct table name in models 2021-07-06 21:47:06 +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