advplyr
34ff7efa27
Merge pull request #1205 from lkiesow/api-start-end-date
...
Allow specifying start and end of progress via API
2022-11-23 16:07:53 -06:00
advplyr
ecefb30f3d
Merge pull request #1206 from lkiesow/400-bad-request
...
Respond with bad request to unvalid request data
2022-11-23 07:27:18 -06:00
Lars Kiesow
a8162b57ba
Respond with bad request to unvalid request data
...
This patch updates the batch progress update endpoint to respond with a
`400 Bad Request` instead of a `500 Internal Server Error` if a user
sends an invalid request with no body. This is a user error after all.
```
❯ curl -i -X PATCH \
'http://127.0.0.1:3333/api/me/progress/batch/update ' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5Q_MoRptP0oI' \
-H 'Content-Type: application/json'
HTTP/1.1 400 Bad Request
…
Missing request payload
```
2022-11-23 02:15:36 +01:00
Lars Kiesow
b0edac4234
Allow specifying start and end of progress via API
...
This patch is a minor extension to the update progress and batch update
progress API and allows you to specify `finishedAt` and `startedAt` when
updating a progress.
If not specified, both values are still automatically set to the current
time. If just `finishedAt` is specified, `startedAt` is set to the same
value.
Example API request:
```
❯ curl -i -X PATCH \
'http://127.0.0.1:3333/api/me/progress/li_ywupqxw5d22adcadpa ' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJyb290IiwidXNlcm5hbWUiOiJyb290IiwiaWF0IjoxNjY4OTYxNjAxfQ._NbilCoFy_hfoqy7uvbV4E_0X6qgLYapQ_MoRptP0oI' \
-H 'Content-Type: application/json' \
--data-raw '{"isFinished":true, "finishedAt": 1668556852000, "startedAt": 1668056852000}'
```
2022-11-23 01:32:52 +01:00
advplyr
0aa2723063
Update:API status codes and update server settings response payload
2022-11-21 07:52:33 -06:00
advplyr
e33104fa2b
Merge pull request #1193 from lkiesow/no-feed-no-error
...
No feed log level
2022-11-21 06:40:38 -06:00
advplyr
a2f1723642
Update log level for RSS feed requests
2022-11-21 06:39:32 -06:00
Lars Kiesow
c307b1e6fb
No feed log level
...
This patch drops the log level for logging requests to non-existing
feeds from error to debug. The reasoning behind this is that this is a
client error and a client error is returned and can be handled by the
client.
Otherwise anyone can easily spam the logs with error messages by just
requesting non-existing feeds.
2022-11-21 01:54:25 +01:00
advplyr
c285dd666d
Fix:Australian audible TLD #1191
2022-11-20 17:17:25 -06:00
advplyr
70d887bada
Update:API status codes and default provider for findCovers route
2022-11-20 16:12:30 -06:00
advplyr
e3ba739db5
Update:Encode & embed metadata API endpoints, separate cache & search endpoints into controllers
2022-11-19 13:28:06 -06:00
advplyr
7485cf1a26
Add:Batch select audiobook play button, item page mobile screen size cleanup
2022-11-19 10:20:10 -06:00
advplyr
892fb6410c
Update:Add client ip address in server log for failed auth attempts #1172
2022-11-17 18:04:11 -06:00
advplyr
7008267e42
Fix:Mobile series books sortBy filter #1152
2022-11-17 17:09:27 -06:00
advplyr
2e5e02472c
Update:Playback session sync local status codes
2022-11-17 17:00:37 -06:00
advplyr
c7794e00f6
Update:Author image from cache API status codes
2022-11-16 15:32:32 -06:00
advplyr
3316394f5c
Add:Button on series books page to re-add series to continue listening #1159
2022-11-15 17:20:57 -06:00
advplyr
4d2bcfd167
Fix:Revert calculating total entities
2022-11-13 16:46:43 -06:00
advplyr
8f83752abc
Fix:Get library items endpoint limit & total entities count
2022-11-13 13:25:20 -06:00
advplyr
31be2ba4fb
Update:User getMostRecentItemProgress method to support podcast episode progress
2022-11-13 09:03:16 -06:00
advplyr
dc156a2eac
Update:api/users/online API endpoint unauth status code
2022-11-13 08:26:32 -06:00
advplyr
42050a5f17
Fix:User toJSONForPublic method
2022-11-13 08:25:51 -06:00
advplyr
3357ccfaf3
Add:Buttons to add/remove podcast episodes from player queue
2022-11-12 15:41:41 -06:00
advplyr
92e3e0ef6e
Update collection id prefix
2022-11-12 14:31:45 -06:00
advplyr
7d569e1e3e
Update:Some incorrect status codes returned from API
2022-11-12 09:36:00 -06:00
advplyr
28feed6ea2
Fix:Remove collections when removing library
2022-11-11 17:44:19 -06:00
advplyr
6f901defd6
Fix:Show only collections for selected library #1130
2022-11-11 17:28:05 -06:00
advplyr
4cbc8676c6
Update:Rename UserCollections to Collections
2022-11-11 17:13:10 -06:00
advplyr
fdf67e17a0
Add:API endpoint to get users online and open listening sessions #1125
2022-11-10 17:42:20 -06:00
advplyr
abb4137d4c
Fix:Set library item updatedAt when scan has updates, fixes updating an open RSS feed #1131
2022-11-10 17:25:17 -06:00
advplyr
b083f6ab96
Fix:Podcast quick match genres
2022-11-09 16:50:26 -06:00
advplyr
946e4f39cc
merge translations
2022-11-08 18:11:03 -06:00
advplyr
6e064eeafb
Add:Server setting for default language #1103
2022-11-08 18:09:07 -06:00
advplyr
400e34a4c7
Update:More localization strings #1103
2022-11-08 17:10:08 -06:00
Scott Ruoti
0643116e9b
Fixing range generation in series labels
2022-11-07 09:24:48 -05:00
advplyr
3282ac67e4
Fix:Podcast pubDate parsing #1116
2022-11-06 15:43:17 -06:00
Scott Ruoti
b1111912f7
Added sorting by sequence for series and collapsing series in series view
2022-11-05 20:30:13 -04:00
Scott Ruoti
c1035d97e8
Show book sequences for collapsed series when filtering by series
2022-11-05 20:01:01 -04:00
Scott Ruoti
b322d0207b
Fixed sorting to be more consistent for multiple series (and generally)
2022-11-05 20:01:01 -04:00
Scott Ruoti
d64932dad7
Fixes bug when titles are in multiple series being collapsed
2022-11-05 20:01:01 -04:00
advplyr
9627f58541
Merge pull request #1110 from keaganhilliard/tone-json
...
Added tone json file support
2022-11-05 13:13:49 -05:00
advplyr
1118b8b782
Metadata embed and m4b merge fixes and cleanup
2022-11-05 13:13:52 -05:00
Keagan Hilliard
3824154c15
Forgot to update the merge
2022-11-03 10:20:32 -06:00
Keagan Hilliard
586c8a550a
Removed a noisy log and limit chapter embedding to items with only 1 audiofile
2022-11-03 10:09:49 -06:00
Keagan Hilliard
d57effe97c
Fixed a couple of issues, should be working well now
2022-11-03 09:32:50 -06:00
Scott Ruoti
473257f65e
Makes it so the when sorting and ignoring prefixes, they are actually ignored
2022-11-03 00:14:07 -04:00
Keagan Hilliard
c1938f78c2
Added json file support
2022-11-02 19:40:50 -06:00
advplyr
765a11f135
Update:Increase db lockfile stale time to 2 mins #1095
2022-10-29 17:37:56 -05:00
advplyr
fbbcbb4af1
Add:Series filters #712
2022-10-29 15:33:38 -05:00
advplyr
ce133cd6f2
Add:Series sort #712
2022-10-29 11:17:51 -05:00