Commit Graph

48 Commits

Author SHA1 Message Date
Lukas Lüftinger 2fc010fe6e correctly use userSettings.theme() in bookPlayer 2023-03-14 23:38:47 +01:00
Lukas Lüftinger e9613a7131 make data variables used in bookPlayer theming const 2023-03-14 23:36:06 +01:00
Lukas Lüftinger e6171364ca fix linting 2023-03-14 23:36:06 +01:00
Lukas Lüftinger 2eb15411ba fix epub theme selection 2023-03-14 23:36:06 +01:00
Lukas Lüftinger d75dbc1b3b fix linting issues 2023-03-14 23:36:06 +01:00
Lukas Lüftinger 581f5c7bb9 add buttons to increase and decrease font sizes in book-player 2023-03-14 23:35:19 +01:00
Lukas Lüftinger 727f6e450b add button to bookplayer to rotate through dark, sepia and light themes 2023-03-14 23:35:19 +01:00
Bill Thornton 64ecc3eae7 Add plugin types 2023-03-08 11:08:19 -05:00
Bill Thornton 0a0e45d155 Replace apiclient event bus with local version 2022-10-14 10:58:16 -04:00
Bill Thornton b426b6e2bf Fix sonarjs prefer-single-boolean-return 2022-10-11 03:11:41 -04:00
Patrick Farwick cb9e7ba432 Add epubjs theme support to the book player
Add a dark theme to the book player via epubjs. The theme itself uses
the dark theme of Jellyfin and only changes the colour of the text.

For everything but the text, the dark theme from Jellyfin is retained.
Should any other theme than the dark theme be chosen by the user, epubjs
falls back to it's default theme.
2022-09-23 15:35:54 +00:00
Bill Thornton 396f4b1ed2 Merge pull request #3547 from thornbill/touching-books
Fix touch events in epub player

(cherry picked from commit 5ede3c8e47b22ce0d101896a3255ad077b3d5dc1)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-04-17 15:41:21 -04:00
Bill Thornton f286641328 Add no-duplicate-imports rule and fix issue 2022-04-01 00:46:55 -04:00
Bill Thornton ad1e8d3cd0 Merge pull request #3351 from jellyfin/fix-bookplayer-blank
Fix starting of book player with a blank page
2022-01-20 10:12:53 -05:00
Patrick Farwick d4907ac522 Remove the timer from progress saving for epubs 2022-01-19 23:11:56 +00:00
Dmitry Lyzo 9688b31de4 Fix starting of book player with a blank page 2022-01-20 01:46:13 +03:00
Patrick Farwick 22d6c99f44 Update the resume button after stopping 2022-01-19 21:26:48 +00:00
Bill Thornton 709ef906cc Fix screenfull imports 2021-11-10 13:00:29 -05:00
Nathan Mascitelli b04fff2089 Give space for buttons to sit above text 2021-09-04 10:51:56 -04:00
Nathan Mascitelli 2ab4a87f64 ESLint fixes 2021-04-28 22:01:03 -04:00
Nathan Mascitelli ff2720ebf2 Add fullscreen ability to books 2021-04-25 18:11:52 -04:00
Bill Thornton 5b86b97e63 Fix epub player height 2021-01-28 14:03:26 -05:00
Bill Thornton 464da392b9 Fix touch support in epub reader 2020-12-16 01:19:10 -05:00
Bill Thornton c4aebce2b1 Update epub player styles and force pagination 2020-11-22 02:31:48 -05:00
Bill Thornton 629a279491 Fix bookplayer issues 2020-11-22 02:08:19 -05:00
Bill Thornton 491c7962e5 Fix mobile prev/next buttons for bookplayer 2020-11-22 02:08:19 -05:00
vitorsemeano a48d466e6a fixes for lint errors
added missing packages for lint
removed unecessary babel/polyfill
2020-11-05 23:21:35 +00:00
vitorsemeano 5071aedcea extracted connectionManager from site.js
new module ServerConnections for ConnectionManager
all code adapted to this new module
removed Events and ConnectionManager from eslintrc
2020-11-05 23:12:23 +00:00
Bill Thornton a71b0314d4 Fix apiclient imports 2020-11-05 23:11:47 +00:00
MrTimscampi 7d9208e951 WIP 2020-11-05 23:09:09 +00:00
MrTimscampi bfb8c7c1f6 Make import paths ES6-compatible 2020-11-05 22:58:26 +00:00
dkanada 3f55a79d74 fix minor issues with book players 2020-10-21 16:00:33 +09:00
dkanada 6b302ed20b merge branch master into pdf-reader 2020-10-20 13:22:09 +09:00
Daniyar Itegulov 14583cf18e Add next/prev chapter buttons for mobile devices
Also removes touch events as they interfere with continuous scrolling
2020-09-14 18:51:03 +10:00
Daniyar Itegulov 270f585b26 Make book plugin render EPUBs continuously for mobile devices 2020-09-14 14:50:08 +10:00
dkanada 108ebc58a6 add basic pdf reader 2020-09-01 22:55:08 +09:00
MrTimscampi c97d7a6f59 Use connectionManager global 2020-08-30 06:06:47 +02:00
MrTimscampi 0643e29404 Fix suggestions and rebase issues 2020-08-09 15:35:48 +02:00
MrTimscampi 21152040ec Fix lint 2020-08-06 20:34:49 +02:00
MrTimscampi f16df9788a Migrate bundle, qualityOptions, appHost and appLoader 2020-08-06 19:32:29 +02:00
dkanada cefdde1848 Merge pull request #1681 from jellyfin/book-paging
Add paging in book player with touch events
2020-08-02 16:50:29 +09:00
dkanada c76f550b91 add paging in book player with touch events 2020-07-29 19:36:44 +09:00
Cameron 66ea2631b5 remove bookplayer .default 2020-07-29 11:24:30 +01:00
Cameron 3a23b6e36c Destruction of Require 2020-07-21 13:25:50 +01:00
dkanada 2c4f8d928a Merge pull request #1366 from jellyfin/refactor
Update casing for some files and add placeholder elements
2020-06-09 03:14:57 +09:00
Daniyar Itegulov d5991348c2 Make book player restore location on resume 2020-06-06 19:02:08 +10:00
dkanada 10aad88956 fix table of contents class name 2020-06-06 15:53:47 +09:00
MrTimscampi 8707de7124 Move bookPlayer to plugins folder 2020-06-03 22:17:01 +02:00