audiobookshelf/server/models
Austin Spencer ecc30b85bc
Allow users to create ereaders (#3531)
* add create eReader permission toggle

* add english label for create EReader permission

* add ereader table to account with user specific modal

* add createEreader permission

* create api endpoint and logic for updating user eReader devices

* add translated label for createEreader permission

* handle name duplicates and remove helper func

* toast for duplicate name error caught on server

* restrict user ereader updates to devices with sole ownership

* remove label

* fix other devices logic and client socket emitter

* fix for deleting ereaders

* User create ereader endpoint validate accessibility

---------

Co-authored-by: advplyr <advplyr@protonmail.com>
2024-10-26 15:34:34 -05:00
..
Author.js retire unicode handling workaround for Author and Series title 2024-10-08 19:52:26 +00:00
Book.js Remove unused functions, jsdoc updates, auto-formatting 2024-05-28 17:24:02 -05:00
BookAuthor.js Add: migrations for authors, series, and podcast episodes 2024-10-19 10:40:17 -07:00
BookSeries.js Add: migrations for authors, series, and podcast episodes 2024-10-19 10:40:17 -07:00
Collection.js Fix:Get all collections API endpoint crashing server #3372 2024-09-05 17:15:38 -05:00
CollectionBook.js Remove unused functions, jsdoc updates, auto-formatting 2024-05-28 17:24:02 -05:00
CustomMetadataProvider.js Clean out old unused functions, Device updates for replacing DeviceInfo 2024-09-12 16:36:39 -05:00
Device.js Clean out old unused functions, Device updates for replacing DeviceInfo 2024-09-12 16:36:39 -05:00
Feed.js Remove unused functions, jsdoc updates, auto-formatting 2024-05-28 17:24:02 -05:00
FeedEpisode.js Remove unused functions, jsdoc updates, auto-formatting 2024-05-28 17:24:02 -05:00
Library.js Update:Pass mark as finished library settings to media progress update #837 2024-10-25 17:27:50 -05:00
LibraryFolder.js Updates to LibraryController to use new Library model 2024-08-24 15:38:15 -05:00
LibraryItem.js Update:Cleanup logging on library item update #3362 2024-09-06 16:58:40 -05:00
MediaItemShare.js Update:Media item share endpoints and audio player #1768 2024-06-29 15:05:35 -05:00
MediaProgress.js Update:Pass mark as finished library settings to media progress update #837 2024-10-25 17:27:50 -05:00
PlaybackSession.js Change PlaybackSession createFromOld to use upsert instead of create 2024-09-18 18:01:36 +03:00
Playlist.js Remove unused functions, jsdoc updates, auto-formatting 2024-05-28 17:24:02 -05:00
PlaylistMediaItem.js Remove unused functions, jsdoc updates, auto-formatting 2024-05-28 17:24:02 -05:00
Podcast.js Remove unused functions, jsdoc updates, auto-formatting 2024-05-28 17:24:02 -05:00
PodcastEpisode.js Fix: podcast episode index name 2024-10-19 11:38:34 -07:00
Series.js Merge pull request #3417 from nichwall/series_cleanup_2 2024-10-12 15:48:04 -05:00
Setting.js Remove unused functions, jsdoc updates, auto-formatting 2024-05-28 17:24:02 -05:00
User.js Allow users to create ereaders (#3531) 2024-10-26 15:34:34 -05:00