Commit Graph

48 Commits

Author SHA1 Message Date
Bradley Eaton 54b6d4015c Enable browser detection on UWP WebView 2. 2025-06-30 16:37:47 +01:00
dmitrylyzo 248d88a584 Backport pull request #6661 from jellyfin-web/release-10.10.z
Fix parsing minor version of Tizen

Original-merge: 78a8642d4a27166788a3ad637bc61f61e3af00b1

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
2025-04-02 01:27:13 -04:00
Bill Thornton 4730a30c3d Fix lint errors 2025-02-20 12:51:59 -05:00
Bill Thornton fdccb5c915 Fix inconsistent naming formats 2024-10-17 01:23:38 -04:00
Dmitry Lyzo 393db341a6 Discard chrome and safari on Tizen and webOS 2024-09-17 13:08:44 +03:00
scampower3 da80ba85ee Backport pull request #5612 from jellyfin-web/release-10.9.z
Fix user agent detection

Original-merge: 788ce37c43449d62a133035fcdc69dbb8c14d064

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:42:02 -04:00
Álvaro Fernández Rojas f04d7e6af0 Enable DTS on webOS 23
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-12-13 19:07:13 +01:00
minigt 04c3afd9e5 Fixed sonarcloud code smell 2023-08-18 22:46:34 -03:00
minigt a15af2095e Fix regex so moto edge doesn't mislead the browser(as edge) 2023-08-11 00:49:22 -03:00
Bill Thornton 1b03cd79eb Fix prefer for-of errors 2023-05-04 13:07:12 -04:00
Bill Thornton 6f3aa2f1df Fix eslint issues 2023-03-29 00:38:22 -04:00
Bill Thornton 329cf77c81 Add eslint radix rule for parseInt 2023-03-09 00:20:11 -05:00
Dmitry Lyzo 0eb393dc4b Backport pull request #4274 from jellyfin/release-10.8.z
Fix back action on Hisense TV

Original-merge: 0ff86d9ea026ece61ab07846e99ff4d23b235405

Merged-by: Joshua M. Boniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:08:05 -05:00
Bill Thornton b426b6e2bf Fix sonarjs prefer-single-boolean-return 2022-10-11 03:11:41 -04:00
Bill Thornton 1f4e65822b Fix sonarjs no-collapsible-if 2022-10-03 14:26:16 -04:00
Emil Rowland 932772e375 fix: Oculus browser is no longer marked as TV 2021-12-20 16:12:00 +01:00
Dmitry Lyzo 0f4d449545 Skip webOS version detection for built-in browser (NetCast) as unreliable 2021-10-15 22:33:46 +03:00
Dmitry Lyzo 9093a32fe0 Add version detection for webOS built-in browser (NetCast) 2021-10-15 22:33:46 +03:00
Dmitry Lyzo 95a142f8fe Add webOS version detection 2021-10-15 22:33:46 +03:00
imchasingshadows 2e66ce13e6 Apply suggestions from code review
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2021-09-16 16:13:29 +02:00
Kay Simons 104e72fc4f fix: use isWeb0s in isTv method 2021-09-04 13:10:43 +02:00
Kay Simons 6e52a53e3d fix: netcast conditional 2021-07-03 17:36:17 +02:00
Kay Simons e888ae1bf3 fix: useragent detection for new web0s browser 2021-07-03 17:13:37 +02:00
Bill Thornton be9f964c18 Remove useless escape characters 2021-03-23 11:28:20 -04:00
Patrick Georgi ce9538498e browser.js: Avoid misdetecting Chrome OS as OS X
Matching for lower-case "os x" not only finds "Mac OS X" but also
"CrOS x86_64". Mismatching Chrome OS as Apple device leads to
playback issues due to differences in supported client formats.
2021-03-01 14:19:04 +00:00
Dmitry Lyzo 9e74f15c12 Fix browser detection: Safari vs Tizen 2021-01-05 20:20:45 +03:00
Bill Thornton 04cac0c407 Fix iPad detection 2020-08-31 15:19:06 -04:00
dkanada 6159eca8f8 prevent the use of confusing globals 2020-08-25 10:12:35 +09:00
Cameron da5eb9ccc4 Migration of browser to ES6 module 2020-07-29 10:04:55 +01:00
nyanmisaka 7e5be8e05e add initial support for Edge chromium 2020-07-27 21:11:12 +08:00
MrTimscampi 5e1b6acffe Disallow block padding 2020-07-27 08:06:46 +02:00
MrTimscampi a09a9e9a3a Remove some more things 2020-07-26 12:32:36 +02:00
MrTimscampi a179291f4f Fix linting 2020-07-26 12:30:53 +02:00
MrTimscampi dfbb7dfc16 Remove dead code 2020-07-26 12:30:50 +02:00
MrTimscampi d2bd631cbe Fix more sonarqube bugs 2020-05-14 23:25:22 +02:00
Dmitry Lyzo 7952511691 Remove flex support checking - should be supported anyway 2020-05-08 15:45:55 +03:00
MrTimscampi 9e3ca706c4 Force the use of single quotes 2020-05-04 12:44:12 +02:00
Vasily fbaed0310a Fix webos detection 2020-04-27 18:49:11 +03:00
Dmitry Lyzo 0910e6cf4e Fix reference to undefined variable 2020-04-17 22:53:12 +03:00
MrTimscampi 0c2cdfe741 Add polyfills to fix errors and ignore conditional lines 2020-04-04 21:29:53 +02:00
MrTimscampi 20481f72b3 Fix maxTouchPoints 2020-04-03 21:32:19 +02:00
MrTimscampi 511b151d71 Remove deprecated touch detection 2020-04-02 20:25:42 +02:00
Dmitry Lyzo d6ab058661 Add Tizen version check 2020-03-22 20:25:51 +03:00
h1nk 598402d953 Add missing final newlines
Used this one-liner: https://unix.stackexchange.com/a/161853
2020-02-22 11:47:03 -05:00
dkanada 3739741786 Add some linting rules for the CI (#587)
* enable one-var rule

* enable indent rule

* enable no-multiple-empty-lines rule

* enable no-empty rule

* enable no-trailing-spaces rule

* enable no-extra-semi rule

* add eslint rules to fix block spacing

* enable max-statements-per-line rule

* enable brace-style rule

* fix some spacing issues and add future rules

* add code suggestions
2019-11-22 18:29:38 +03:00
Dmitry Lyzo 11b6e83d69 Apply suggestions from code review 2019-11-14 16:29:33 +03:00
Dmitry Lyzo cdfa115ec0 Fix iOS platform detection #572 2019-11-13 22:00:27 +03:00
dkanada a260e33182 sort through the define statements 2019-10-03 02:33:21 +09:00