Matthias Gutjahr
48c4bb779e
Remove unit tests
2021-11-03 13:51:26 +01:00
Matthias Gutjahr
bac196e0b5
Throw exception if client sends invalid request data
2021-11-03 13:51:26 +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
93bfcecf15
Revert removal of UniqueConstraintViolationException
2021-11-03 13:51:26 +01:00
Matthias Gutjahr
3e94305d0c
Add integration test for create action
2021-11-03 13:51:26 +01:00
Matthias Gutjahr
cba5bd97c3
Fix typo
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
956bac26aa
release 3.1.0
2021-10-18 12:22:39 +02:00
Jonathan Flueren
52b6d8e8a2
Add timestamp to subscription change response
2021-10-17 19:48:13 +02:00
Jonathan Flueren
12a33ac002
Add info about availability in AntennaPod
2021-10-14 20:56:07 +02:00
Jonathan Flueren
d414f59537
Add useful links to app store page
2021-10-14 20:56:07 +02:00
thrillfall
76ee383ea4
remove unused VersionController
2021-10-13 22:54:15 +02:00
thrillfall
5887e8b10b
release 3.0.1
2021-10-13 22:52:35 +02:00
thrillfall
4062efa430
run github actions for any branch with prefix 'ci-'
2021-10-13 22:36:30 +02:00
thrillfall
f686348c22
add another episode action to test that converted timestamps are set to correct entites
2021-10-13 22:32:06 +02: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
thrillfall
001a333367
run github actions for any branch with prefix 'ci'
2021-10-13 22:28:39 +02:00
sunjam
8a0c3dc3c1
updated info.xml
...
added multimedia category also. couldn't find it when looking under multimedia, then tools... Cheers.
2021-10-13 14:52:25 +02:00
Jonathan Flueren
dd9c089d1b
Release 3.0.0 ( #34 )
...
* release 3.0.0
2021-10-06 22:06:13 +02:00
thrillfall
b074fc6637
The g is for global
2021-10-06 19:57:50 +02:00
thrillfall
137e367c2d
also catch oracle exception message
2021-10-06 19:40:52 +02:00
Jonathan Flueren
77571feb40
Update tests to new upload format
2021-10-06 19:40:52 +02:00
Jonathan Flueren
792704d07a
Update API documentation
2021-10-06 19:40:52 +02:00
Jonathan Flueren
c6ee19a929
Ensure uppercase action in EpisodeAction upload
...
Background: action is lowercase in gpodder api description - gpoddersync always worked with uppercase action.
2021-10-06 19:40:52 +02:00
Jonathan Flueren
d131b59348
Align episode upload format to gpodder-api
...
'started', 'position' and 'total' are optional and 'timestamp' is in 'Y-m-d\TH:i:s' format
2021-10-06 19:40:52 +02:00
Jonathan Flueren
d6c81e7f83
Update API documentation - add examples & differences between gpodder
2021-10-06 19:40:52 +02:00
Jonathan Flueren
3534c43976
Adjust expected DateTime format to gpodder - UTC ISO 8601
2021-10-06 19:40:52 +02:00
Jonathan Flueren
795a9253d2
Adjust EpisodeAction upload to gpodder api, remove String upload
...
Remove 3rd dimension of POST data by directly accessing request data - a simple EpisodeActions array has to be posted now. This way the api is closer to gpodder.
Additionally, removed EpisodeAction upload as String, so it's now incompatible with older versions
2021-10-06 19:40:52 +02:00
Jonathan Flueren
91c2dccd3c
Test array parsing without guid
2021-10-06 19:40:52 +02:00
Jonathan Flueren
7813339a95
Allow EpisodeAction upload as array
...
Parsing EpisodeActions from String can lead to problems if the String is changed by only a little bits.
Additionally, the gpodder api describes the upload as Array.
Uploading EpisodeActions as String is still possible.
2021-10-06 19:40:52 +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
414ad1a024
do not show internal id in response
2021-10-06 14:08:33 +02:00
thrillfall
499d11d209
query episode actions by unix timestamp (instead of datetime object)
2021-10-06 14:06:45 +02:00
thrillfall
2a988e91a6
test only with new episode_action.datetime_epoch field
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
a11850e995
dont run test that fails on mysql or 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
39e094e812
make test independent of test system timezone
2021-10-06 14:06:45 +02:00
thrillfall
aa09c8d0a3
expect also sqlite exception message in test
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
2e8ba1b0ad
adapt tests to new dbal exception class in nc >=21
2021-10-06 14:06:45 +02:00
thrillfall
00ee647c2b
also test nextcloud v21
2021-10-06 14:06:45 +02:00
thrillfall
201bde60de
add minimal composer.json
2021-10-06 14:06:45 +02:00