Commit Graph

318 Commits

Author SHA1 Message Date
Bill Thornton 5db9384c9c Fix currentApiClient return type to include undefined 2022-12-08 14:32:50 -05:00
Bill Thornton 26925d9bf6 Move castSenderApi to plugin dir 2022-10-25 14:02:14 -04:00
Aimekram bf145a602c refactor: give variables more descriptive names 2022-10-19 22:23:38 +02:00
Aimekram 8251b65399 fix: indentation 2022-10-19 22:15:25 +02:00
Aimekram 832b9eaf4d fix: eslint no-shadow errors 2022-10-16 16:04:37 +02:00
Bill Thornton 84c007fa0b Merge pull request #3743 from hadicharara/hadicharara/added-support-for-rtl-layouts
Add Initial support for RTL layouts
2022-10-15 02:50:48 -04:00
Bill Thornton 0a0e45d155 Replace apiclient event bus with local version 2022-10-14 10:58:16 -04:00
Hadi Charara 104ad71ea7 Merge branch 'master' into hadicharara/added-support-for-rtl-layouts 2022-10-12 08:29:53 -04:00
Bill Thornton b426b6e2bf Fix sonarjs prefer-single-boolean-return 2022-10-11 03:11:41 -04:00
Bill Thornton a4bcc9689b Merge remote-tracking branch 'upstream/master' into eslint-no-small-switch 2022-10-11 00:46:33 -04:00
Bill Thornton 76ed503c81 Fix sonarjs no-small-switch 2022-10-08 03:18:30 -04:00
Bill Thornton 5e4eca6ae9 Fix sonarjs no-redundant-jump 2022-10-08 02:50:20 -04:00
Dmitry Lyzo 2348f815c6 Remove resizeObserver
Leftover from 0cb54feb53
2022-10-07 15:39:01 +03:00
Bill Thornton 4972f50a06 Fix sonarjs no-identical-functions 2022-10-05 15:31:15 -04:00
Bill Thornton 554cd1210c Fix sonarjs no-duplicated-branches 2022-10-05 12:58:48 -04:00
Bill Thornton bef05ba117 Add no-useless-constructor eslint rule and fix issues 2022-10-04 13:32:55 -04:00
Bill Thornton 8d28297a02 Merge pull request #3983 from thornbill/sonar-no-collapsible-if
Fix sonarjs no-collapsible-if
2022-10-04 09:30:13 -04:00
Bill Thornton 1f4e65822b Fix sonarjs no-collapsible-if 2022-10-03 14:26:16 -04:00
Hadi Charara 32f103b852 Merge branch 'master' into hadicharara/added-support-for-rtl-layouts 2022-10-01 16:55:59 -04:00
Bill Thornton 496508ee4d Move SyncPlay code to plugin directory 2022-10-01 02:57:30 -04:00
Bill Thornton d9bb55a2a9 Move SyncPlay initialization to plugin 2022-10-01 02:39:12 -04:00
Bill Thornton a9f03f5475 Fix styling issues in book readers 2022-09-29 01:30:01 -04:00
Bill Thornton e6d09f558b Merge pull request #3942 from MinecraftPlaye/book-darktheme
Add epubjs theme support to the book player
2022-09-28 16:56:13 -04:00
Kristian K. Andreasen 9649e7e765 Update src/plugins/pdfPlayer/style.scss
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2022-09-24 08:40:26 +02:00
Kristian K. Andreasen 6b0ada9fdf changed background colorto make close button visible 2022-09-24 08:40:26 +02: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 f66f435ff9 Defer loading of swiper until used 2022-09-22 10:23:23 -04:00
meet-k-pandya f683288429 Added toggle for direction and double page view 2022-09-21 21:23:34 +05:30
Bill Thornton 1523f9dfbd Merge pull request #3856 from rourien/patch-2
Make book table of contents prettier
2022-09-16 10:49:12 -04:00
Bill Thornton 02a0aa911c Fix invalid link color value again 2022-09-16 10:18:17 -04:00
Bill Thornton fd5033a8b6 Fix link text invalid color value 2022-09-16 10:06:36 -04:00
Bill Thornton 8791d32ed2 Fix missing curly brace 2022-09-16 10:03:35 -04:00
Bill Thornton 5c97fe861a Use dynamic import for pdf.js 2022-09-16 03:06:13 -04:00
Ivan Schurawel 908c7752ea chore: enable native firefox subtitles 2022-09-12 13:38:59 -04:00
rourien a0fb4313c9 Make book table of contents prettier
Changes the way the table of contents looks. The two biggest parts are hiding the bullets in the list, making each link black and hiding the link underline. This makes them look more like buttons than web links. The #dialogToc changes resize the table of contents based on the length of the list and the length of the longest chapter name rather than have the table of contents take up most of the screen for a short and small list. The link text size was also increased from 92% to 120%.
2022-08-24 22:11:43 -06:00
taku0 3d51c68725 Respect safe area (notch) of mobile devices
This adds paddings to various containers so that buttons and contents are not
hidden by the notch or the Home indicator (the gray bar at the bottom).

- `src/assets/css/librarybrowser.scss`
  - `.skinHeader`: menu bar at the top.
  - `.padded-left` and `.padded-right`: the heading of library.

- `src/assets/css/site.scss`
  - `.content-primary`, `.padded-bottom-page`, `.page`,
    `.pageWithAbsoluteTabs`, and `.pageTabContent`: settings and dashboards.

- `src/elements/emby-scroller/emby-scroller.scss`
  - `.emby-scroller`: the library items.

- `src/assets/css/videoosd.scss`
  - `.videoOsdBottom`: the video playback control buttons and the progress bar.

- `src/components/alphaPicker/style.scss`
  - `.alphaPicker-fixed` and `.alphaPicker-fixed-right`: the alphabet picker.

- `src/components/appFooter/appFooter.scss`
  - `.appfooter`: the bottom bar showing the currently playing media.

- `src/components/multiSelect/multiSelect.scss`
  - `.selectionCommandsPanel`: the top bar when selecting multiple media.
    Shown when long-pressing media.

- `src/components/remotecontrol/remotecontrol.scss`
  - `.playlistSectionButton`: the bottom bar for current playlist.
    Shown when touching `.appfooter`.

- `src/components/toast/toast.scss`
  - `.toastContainer`: the toast.  Shown when refreshing metadata.

- `src/index.html`
  - `.mainDrawerHandle`: gesture area for the drawer.
    It seems conflicting with gestures of Safari.

- `src/libraries/navdrawer/navdrawer.scss`
  - `.tmla-mask` and `.touch-menu-la`: the drawer.

- `src/plugins/htmlVideoPlayer/style.scss`
  - `.videoPlayerContainer`: the video area when not fullscreen.
  - `.videoSubtitles`: the video subtitles for some devices, not including
    iPhone.

- `src/plugins/youtubePlayer/style.scss`
  - `.youtubePlayerContainer` container for the YouTube plugin.  Not tested.
2022-08-18 17:34:57 +09:00
rourien 0fd1475d3b add space 2022-07-24 20:06:21 -06:00
rourien 26b1b88183 Make comic page not overflow horizontally
Should fix #3378 and possibly jellyfin/jellyfin-expo#382

Note: image does not get centered vertically, but stays at the top.
2022-07-24 19:30:19 -06:00
Hadi Charara 8b6894808f Fixed video player subtitles 2022-07-05 22:25:13 -04:00
Joshua M. Boniface b8ae732c98 Merge pull request #3724 from samcon/fix_resume_webos
(cherry picked from commit bc48691738591bfac698fb79b1f4997d32dc8f34)
Signed-off-by: Bill Thornton <billt2006@gmail.com>
2022-06-29 01:05:08 -04:00
Bill Thornton 8d46c7bddc Merge pull request #3716 from Orhideous/fix/mimetype
Recognize MIME for transcoded audio in streams

(cherry picked from commit 721bc54dbd75fbc21a10f53c447d4be3b53821a6)
Signed-off-by: Bill Thornton <billt2006@gmail.com>
2022-06-29 00:57:59 -04:00
Cody Robibero 1efd07ab2f Merge pull request #3667 from dmitrylyzo/release-lint-job
Enable Lint job on release branches

(cherry picked from commit f1274041ce4dcb5745ab73af277c3a7d99ba332f)
Signed-off-by: crobibero <cody@robibe.ro>
2022-05-22 09:07:02 -04:00
Joshua M. Boniface 7e0b442e38 Merge pull request #3644 from dmitrylyzo/bump-jso
(cherry picked from commit a36f515b3089058fba1fecfd87e62b57950ac869)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-05-20 23:02:06 -04:00
Bill Thornton 00c6d7e1a8 Merge pull request #3643 from dmitrylyzo/fix-tizen5
(cherry picked from commit 08951633445f151cd8396547913411961f54b6b5)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-05-20 23:02:06 -04:00
Bill Thornton 69fb418beb Merge pull request #3637 from MinecraftPlaye/add-webp
(cherry picked from commit ae32ece3468a37c6e88438678901f3593e21b4c8)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-05-20 23:02:06 -04:00
Bill Thornton 069bb6d0ae Merge pull request #3635 from dmitrylyzo/fix-ssa-font
Fix SSA/ASS missing font

(cherry picked from commit 38ef0e2bf2cc47d326314d56b0e74f210fec82dc)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-05-20 23:02:06 -04:00
Tobias Speicher e0486e49c6 Replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-21 18:42:42 +02:00
Bill Thornton 4b7f615001 Merge pull request #3560 from thornbill/refactor-transparency
Move backdrop transparency method to component
2022-04-19 23:26:12 -04: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 125d5cb015 Move backdrop transparency method to component 2022-04-12 16:22:00 -04:00