advplyr
4d8e2a1279
Update:Max filename to 255 bytes in utf-16 #1261
2022-12-13 17:46:18 -06:00
advplyr
41e192c6a5
Update more vars
2022-12-12 17:52:20 -06:00
advplyr
2d9035d90b
Update get tags route and revert podcast/books search route
2022-12-12 17:45:51 -06:00
advplyr
0ae853c119
Update library items batch get route
2022-12-12 17:36:53 -06:00
advplyr
eede2bbd46
Update for filesystem and libraries api update and revert personalized shelves route
2022-12-12 17:29:56 -06:00
advplyr
5c31687a0f
Merge branch 'master' into server/respond-with-objects
2022-12-12 17:20:14 -06:00
advplyr
6b654d3c2d
Update:Starting session for finished item sets the user start time back to 0
2022-12-12 17:18:56 -06:00
advplyr
67db41a525
Update:Get item cover API endpoint to allow for returning the raw cover image
2022-12-04 16:23:15 -06:00
advplyr
0e292c64c4
Update:Only emit library socket events to users with access to lib
2022-11-30 17:32:59 -06:00
advplyr
7ed5b1744f
Var cleanup
2022-11-29 18:03:50 -06:00
Paul Nettleton
c9ab2a242d
Update MiscController.js to respond with objects
...
Changes:
- `getAllTags` (GET /api/tags)
2022-11-29 12:26:59 -06:00
Paul Nettleton
13532cba14
Update SearchController.js to respond with objects
...
Changes:
- `findCovers` (GET /api/search/covers)
- `findBooks` (GET /api/search/books)
- `findPodcasts` (GET /api/search/podcast)
2022-11-29 12:23:02 -06:00
Paul Nettleton
3fb2bd3362
Update SeriesController.js to respond with objects
...
Changes:
- `search` (GET /api/series/search)
2022-11-29 12:08:40 -06:00
Paul Nettleton
e80c3a1c5a
Update AuthorController.js to respond with objects
...
Changes:
- `search` (GET /api/authors/search)
2022-11-29 12:04:45 -06:00
Paul Nettleton
e04d26307e
Update FileSystemController.js to respond with objects
...
Changes:
- `getPaths` (GET /api/filesystem)
2022-11-29 11:55:22 -06:00
Paul Nettleton
b8f74e1c98
Update CollectionController.js to respond with objects
...
Changes:
- `findAll` (GET /api/collections)
2022-11-29 11:48:21 -06:00
Paul Nettleton
0851050392
Update UserController.js to respond with objects
...
Changes:
- `findAll` (GET /api/users)
2022-11-29 11:43:39 -06:00
Paul Nettleton
b84882d9d1
Update LibraryItemController.js to respond with objects
...
Changes:
- `batchGet` (POST /api/items/batch/get)
2022-11-29 11:37:45 -06:00
Paul Nettleton
cd37a7618e
Update LibraryController.js to respond with objects
...
Changes:
- `findAll` (GET /api/libraries)
- `getLibraryUserPersonalizedOptimal` (GET /api/libraries/<ID>/personalized)
- `getAuthors` (GET /api/libraries/<ID>/authors)
- `reorder` (POST /api/libraries/order)
2022-11-29 11:30:25 -06:00
advplyr
d41366a417
Fix:Playlist API endpoint permissions
2022-11-28 16:29:04 -06:00
advplyr
4541e9ddc3
Fix:Library filters when using other language #1166
2022-11-27 17:54:40 -06:00
advplyr
972271a1a9
Add:Library filter for single & multi-track audiobooks #1213
2022-11-27 17:42:02 -06:00
advplyr
08f09f81fa
Fix:Updating authors image
2022-11-27 15:35:47 -06:00
advplyr
eb2ea9950a
Remove playlists for user when removing user
2022-11-27 14:54:17 -06:00
advplyr
e307ded192
Remove item from playlist when removing item, update PlaylistController socket events to emit to playlist userId
2022-11-27 14:49:21 -06:00
advplyr
083f8faa46
Update:Fetch library API to return numUserPlaylists, only display playlists in siderail if user has playlists
2022-11-27 14:34:27 -06:00
advplyr
0fcf978ffe
Add /playlist/:id to dynamic routes
2022-11-27 14:23:28 -06:00
advplyr
531f947754
Update:Remove playlist if all items are removed
2022-11-27 12:04:49 -06:00
advplyr
7e171576e0
Update:Add libraries playlists API endpoint, add lazy playlists card
2022-11-26 17:24:46 -06:00
advplyr
0979b3e03d
Update:Playlist cover & json expanded
2022-11-26 16:45:54 -06:00
advplyr
f9b87b94bf
Add:Playlist API endpoints
2022-11-26 15:14:45 -06:00
advplyr
7aa0ddb71f
Merge branch 'master' into playlists
2022-11-25 08:09:46 -06:00
advplyr
df7e331605
Update server/objects/FeedEpisode.js
2022-11-25 06:21:50 -06:00
Spenser Bushey
8c23704e17
Merge branch 'advplyr:master' into master
2022-11-24 23:12:55 -08:00
Spenser Bushey
12abb1731c
Single file audiobook rss feed naming logic moved to FeedEpisode.js
2022-11-24 23:10:20 -08:00
advplyr
180293ebc1
Update:Cleanup socket usage & add func for emitting events to admin users
2022-11-24 16:35:26 -06:00
advplyr
e2af33e136
Update:Refactor socket connection management into SocketAuthority
2022-11-24 15:53:58 -06:00
advplyr
47e732c213
Merge branch 'master' of https://github.com/advplyr/audiobookshelf
2022-11-24 13:51:53 -06:00
advplyr
77a86d92f4
Update:Socket event for getting online users & test event for messaging all online users
2022-11-24 13:51:41 -06:00
advplyr
64a8a046c1
Update:Backups API endpoints, add get all backups route, update socket init event payload
2022-11-24 13:14:29 -06:00
Spenser Bushey
1f02cbddd3
Merge branch 'advplyr:master' into master
2022-11-23 22:37:02 -08:00
Spenser Bushey
5e7bca02b3
RSS feeds for single file audiobooks now use book title
2022-11-23 22:36:07 -08:00
Lars Kiesow
45434b16e0
Fix startedAt in progress API
...
If no progress had been set before, setting `startedAt` did not work and
it would always been set to `finishedAt` or `Date.now()`. Settings this
if any progress had already been recorded did work.
This fixes the problem so that setting `startedAt` it properly works in
both cases.
2022-11-24 00:16:20 +01:00
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
98c4045a71
Setting up Playlist model
2022-11-22 18:08:11 -06: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