Commit Graph

18 Commits

Author SHA1 Message Date
JonOfUs
e8611c6e99 Remove usage of safe-library for compability 2024-09-23 17:26:24 +02:00
JonOfUs
9242def504 Add separate migration so that all systems have the same schema after hotfix 2022-11-11 12:42:18 +01:00
JonOfUs
60b51e8c96 Fix broken migration, lead to errors with too large db keys 2022-11-11 12:42:18 +01:00
JonOfUs
3c2f229b76 Add migration + test for long podcast feed URLs 2022-11-08 20:51:38 +01:00
Jonathan Flueren
dae9f2a9ec Change return value of migration to number of affected rows 2021-10-13 22:32:06 +02:00
Jonathan Flueren
6dd54198f6 Store epoch to correct entry, fix uninitialized variable 2021-10-13 22:32:06 +02:00
Jonathan Flueren
896943ae67 Adjust RepairStep name to other RepairSteps in Nextcloud
All of them begin uppercase
2021-10-06 17:41:38 +02:00
Jonathan Flueren
d1513883d7 Use correct SQL syntax in repair step
One space was missing
2021-10-06 17:41:38 +02:00
thrillfall
1243a7144a since we dont know from which version the update is being executed we always fix timestamps 2021-10-06 14:53:13 +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
850dfd5eb4 add guid to episode action and make it findable by it 2021-08-29 13:14:40 +02:00
thrillfall
029c010e2f adapt table column length limit to episode actions like DOWNLOAD 2021-08-22 23:19:38 +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
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