Commit Graph

475 Commits

Author SHA1 Message Date
morpheus65535 2511c310f1 Added settings to choose desired UI theme. 2023-06-15 06:32:36 -04:00
Vitiko e3c4def89a Subf2m Provider: add user-agent header configuration
This change fixes empty queries.
2023-06-12 19:36:11 -04:00
LASER-Yi 963ce21d9b
Increase width of the manually search modal 2023-06-11 21:12:49 +08:00
morpheus65535 bc40abac50 Fixed some UI issues caused by React and Mantine upgrade. #2167 2023-06-10 09:10:20 -04:00
LASER-Yi 6a9f875cbd
Downgrade Axios to fix a settings saving issue. 2023-06-05 09:32:30 +08:00
Liang Yi 933a456b03
Update all UI dependencies and update React version to 18 (#2127) 2023-06-04 23:03:59 +08:00
LASER-Yi 07f6666d46
no log: Update type definition of general.language_equals in frontend 2023-06-03 22:01:34 +08:00
Vitiko 547f8c428d
Added feature to treat couples of languages as equal when searching for subtitles
* Add 'Language-equals' support

This feature will treat couples of languages as equal for list-subtitles
operations. It's optional; its methods won't do anything if an empy list
is set. See more info at docstrings from 'subliminal_patch.core'.

For example, let's say I only want to have "Spanish (es.srt)" subtitles
and I don't care about the differences between Spain and LATAM spanish.
This feature will allow me to always get European Spanish even from
LATAM Spanish providers like Argenteam and Subdivx.

Example for config.ini:

language_equals = ['spa-MX:spa']

(Which means all Latam Spanish subtitles from every provider will be
converted to European Spanish)

* Add PT and ZH language tests

* Add HI and Forced parsing for language pairs

Format example: ["en@HI:en", "es-MX@forced:es-MX"]

* Update languages.py

* Update API definition to reflect the previous change

* Add language equals table to the UI (test only)

* Add global language selector and get language from code3 utilities

* Add unit tests for language equal feature

* Add encode function to language equal feature

* Add CRUD methods to the language equals panel

* Add equals description

* Add parsing support for alpha3 custom languages

* no log: add more tests

* Add forced and hi support to the language equal target

---------

Co-authored-by: morpheus65535 <louis_vezina@hotmail.com>
Co-authored-by: LASER-Yi <liangyi0007@gmail.com>
2023-05-27 09:38:55 -04:00
dependabot[bot] 70d1fd9049
no log: Bump socket.io-parser from 4.2.2 to 4.2.3 in /frontend (#2150)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 10:45:10 +08:00
dependabot[bot] 787a9ad531
no log: Bump @vitest/coverage-c8 from 0.25.8 to 0.28.5 in /frontend (#2130)
Bumps [@vitest/coverage-c8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-c8) from 0.25.8 to 0.28.5.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.28.5/packages/coverage-c8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-c8"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 23:23:15 +08:00
Jens Lee e2ba532cee
Fixed zimuku that now require anti-captcha 2023-04-21 06:25:09 -04:00
morpheus65535 b7e4880918 no log: trying to fix linting issues 2023-04-20 11:44:50 -04:00
morpheus65535 2c313a40a5
Fixed episodes blacklist update in webui 2023-04-20 11:35:43 -04:00
LASER-Yi 93e63246bf
Update node package to latest version, fix eslint warning 2023-04-19 16:51:45 +08:00
Alex Yancey 8b1db07e9f
Added OpenAI Whisper Provider 2023-04-05 14:43:24 -04:00
morpheus65535 7136383098 Added an option to prevent sleeping hard drives from being wake-up by video file hashing. 2023-03-20 23:13:25 -04:00
morpheus65535 e26368079c no log: indented some settings collapse box to ease reading 2023-03-20 22:39:40 -04:00
dependabot[bot] dec2f7d478
no log: Bump @vitest/ui from 0.25.8 to 0.29.1 in /frontend (#2076)
Bumps [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui) from 0.25.8 to 0.29.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.29.1/packages/ui)

---
updated-dependencies:
- dependency-name: "@vitest/ui"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 00:53:21 +08:00
LASER-Yi 051d37f96e
no log: Fix all non-camelCase variables 2023-02-28 23:38:49 +08:00
morpheus65535 ef46ab9261 Improved languages profile edit modal to clarify subtitles types. 2023-02-27 22:49:33 -05:00
morpheus65535 5dc4e782ae Added option to deeply analyze audio tracks from media files or not to determine languages. Default is to use Sonarr/Radarr provided languages instead. Should prevent API limit ban for cloud user. 2023-02-23 18:32:54 -05:00
morpheus65535 58262bc299
Added Announcements section in System to be able to inform users of Bazarr's news. 2023-02-20 16:04:09 -05:00
LASER-Yi 4bbb0971da
no log: Add warning when not writing camelCase in frontend project. We should fix those later 2023-02-20 14:36:43 +08:00
Marian Moravcik 339883cff6 Fixed UI freeze on certain notification events 2023-02-18 21:13:20 +01:00
LASER-Yi 839ce384c6 Bring back clear action to the mass editor 2023-02-11 09:12:05 +08:00
LASER-Yi 1106f78ec1 no log: Move setup file to src folder 2023-02-11 01:36:46 +08:00
LASER-Yi 85e4796e0b no log: Add unit tests to all pages 2023-02-11 01:21:09 +08:00
LASER-Yi 415a2e13d3 no log: Completely refactor testing interface 2023-02-10 23:39:06 +08:00
LASER-Yi 75a7dc8cdf no log: Refactor app structure 2023-02-10 23:31:51 +08:00
Liang Yi 0b7a1a90a1
Add Unit Tests to UI (#2015)
* Update testing framework

* Update action button test

* Add unit tests for language and authentication page

* Add unit tests for the custom selector

* Fix packages, add new testing plugin for eslint, fix issues

* Add unit tests for ChipInput

* Add coverage and test ui. Add more tests

* Fix formatting issues

* Try to fix the styling issues again

* Fix formatting issues
2023-02-10 23:10:13 +08:00
morpheus65535 3310f6aeb8 Improved audio track language detection by using our video parser instead of values provided by Sonarr/Radarr. We also added "treat as" concept for undefined languages audio and embedded subtitles tracks. #2050 2023-02-09 16:58:38 -05:00
morpheus65535 d39f41d7e2 Increased minimum subtitles search and upgrade frequencies to 6 hours instead of 3 to reduce the impact on providers' website. 2023-02-08 17:00:37 -05:00
dependabot[bot] c3406357f1
no log: Bump vite-plugin-checker from 0.5.1 to 0.5.5 in /frontend (#2052)
Bumps [vite-plugin-checker](https://github.com/fi3ework/vite-plugin-checker) from 0.5.1 to 0.5.5.
- [Release notes](https://github.com/fi3ework/vite-plugin-checker/releases)
- [Changelog](https://github.com/fi3ework/vite-plugin-checker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fi3ework/vite-plugin-checker/compare/vite-plugin-checker@0.5.1...vite-plugin-checker@0.5.5)

---
updated-dependencies:
- dependency-name: vite-plugin-checker
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 10:33:36 +08:00
LASER-Yi c7b4292100 Try to fix the unresponsive issue when notifications are showed 2023-02-08 10:25:57 +08:00
Vitiko 47aff78ab0 Subf2m Provider: add optional config for SSL verification
Temporary
2023-01-31 16:39:38 -04:00
Marian Moravcik 9f2ba673de Fix display for notification task in progress 2023-01-29 10:53:36 +01:00
Cory Metcalfe f5d7b4d321
Added configurable request timeout to Sonarr and Radarr 2023-01-25 15:26:22 -05:00
Marian Moravcik cdd9075670 no log: Don't close updatable notification at timeout 2023-01-13 11:48:39 +01:00
Marian Moravcik d2bd0c7c7e Fix task progress notification 2023-01-12 12:18:25 +01:00
morpheus65535 1c8f2bf61d no log: remove regielive broken provider label 2023-01-09 07:50:32 -05:00
morpheus65535 0970f19d96 Fixed mediainfo integration issues. #2007 2022-12-21 19:30:59 -05:00
morpheus65535 c4b8345e65 Added mediainfo as potential embedded subtitles parser. #2007 2022-12-20 23:37:52 -05:00
dependabot[bot] e503afdc2c
no log: Bump husky from 8.0.1 to 8.0.2 in /frontend (#2010)
Bumps [husky](https://github.com/typicode/husky) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.1...v8.0.2)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-17 13:43:51 +08:00
LASER-Yi 06f0fe9972 Fix Notification settings not saving after removing Discord #2005 2022-12-13 02:12:26 +08:00
LASER-Yi 1180cb702d no log: Revert "Bump axios from 0.27.2 to 1.2.1 in /frontend (#2004)"
This reverts commit eeb4b32695.
2022-12-13 02:10:55 +08:00
dependabot[bot] eeb4b32695
no log: Bump axios from 0.27.2 to 1.2.1 in /frontend (#2004)
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.2.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v1.2.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 01:48:11 +08:00
morpheus65535 920e799468 Fixed decimal value of framerate change tools from being rounded to unit. #1999 2022-12-03 09:21:04 -05:00
LASER-Yi 7a43e284ae no log: Reset values when submitted settings 2022-11-27 22:10:45 +08:00
LASER-Yi 30f04feae6 Refactor settings submit hooks, try to fix issue #1924 2022-11-27 22:08:51 +08:00
LASER-Yi 9165663cba Move pageSize in UI settings to backend 2022-11-21 00:24:09 +08:00
LASER-Yi 3a82ccf276 Fix #1987 2022-11-20 20:11:09 +08:00
morpheus65535 b8b916dc30 Added live(SignalR) feeds status for Sonarr and Radarr. 2022-11-09 09:44:47 -05:00
LASER-Yi 726afcc7f8 Add support of string value for badge in navbar 2022-11-09 22:09:17 +08:00
LASER-Yi 15f0e502a5 no log: Fix node package definitions 2022-10-30 10:11:23 +08:00
LASER-Yi aee1849ce3 Update node packages, fix issues 2022-10-28 21:38:11 +08:00
LASER-Yi f60449aad5 Add submithooks to the providers section of the settings page 2022-10-26 20:52:21 +08:00
LASER-Yi 1766ceeabc Add new hook useSubmitHookWith to dynamically inject the submit hooks #1924 2022-10-25 23:39:57 +08:00
LASER-Yi c08ba5f793 Try to fix languages profiles editor by introducing a new submit hooks source in the settings page #1924 2022-10-25 08:22:06 +08:00
LASER-Yi 1a612d12b8 Fix chip input issue 2022-10-11 23:49:59 +08:00
LASER-Yi 559ec50c92 Fix display issue in the search bar 2022-10-11 23:49:59 +08:00
morpheus65535 af70cf1fc9 Added support for series monitored status. #1964 2022-10-05 22:51:54 -04:00
morpheus65535 0309b5ce2f no log: fix favicon 2022-09-28 06:27:52 -04:00
LASER-Yi e8d3b6f0dd Fix popover width in the manual search modal 2022-09-27 22:03:46 +08:00
LASER-Yi 56fb27aab4 Fix display issue of the popover in the manual search modal 2022-09-27 03:21:59 +08:00
LASER-Yi bb8e4f31ee Refactor form validation and fix issues 2022-09-27 03:18:13 +08:00
LASER-Yi 4826cb8487 Fix validation issues of the language profile editor 2022-09-22 19:46:03 +08:00
morpheus65535 131b4e5cde
Added Swagger documentation for Bazarr API 2022-09-21 23:51:34 -04:00
LASER-Yi c3f43f0e42 no log: Update outdated packages 2022-09-21 05:54:46 +08:00
LASER-Yi 92a61e3d08 no log: Improve dev tools 2022-09-21 05:40:02 +08:00
LASER-Yi cce440a8e2 Upgrade outdated packages 2022-09-21 05:22:48 +08:00
Liang Yi a0f8d75f04
Upgrade Mantine to Version 5 (#1930)
* Upgrade Mantine to v5.2.3

* Remove react-dropzone and replace with latest @mantine/dropzone

* Fix issues
2022-09-21 04:50:18 +08:00
Victor Drijkoningen 978b378683
no log: fix language 2022-09-17 10:05:19 -04:00
morpheus65535 61f888c3df Added warnings in Settings-->Providers for broken providers. 2022-09-17 00:05:18 -04:00
LASER-Yi 34d6185346 no log: Add pattern parameter to the pretty-quick hook to limit the effective scope 2022-08-29 21:33:22 +08:00
LASER-Yi 2c8a602aa7 Improve authentication and fix #1901 2022-08-23 23:13:46 +08:00
LASER-Yi d4f211f375 Fix #1917, bring back sceneName in manual search modal 2022-08-23 22:25:55 +08:00
LASER-Yi 8eef455cc5 Add support of showing confirmation when leaving settings page with unsaved changes 2022-08-23 12:45:27 +08:00
Sander van Kasteel 0d39928a7b
Added support for CORS headers 2022-08-22 15:35:35 -04:00
morpheus65535 a36b3ce2ba Added download link for backup archives. 2022-08-21 23:14:06 -04:00
LASER-Yi bfd1af7c0c Update outdated node packages 2022-08-21 12:18:56 +08:00
LASER-Yi 8687646e9c Fix inconsistent issues when backend trying to update episodes 2022-08-21 12:12:19 +08:00
LASER-Yi ee7991b878 no log: Restore socket.io dev command for better development 2022-08-21 12:04:21 +08:00
LASER-Yi 8826b87c65 Fix #1901 temporarily 2022-07-26 21:27:01 +08:00
LASER-Yi af8a14c92b Fix display issues of the base URL 2022-07-26 21:23:51 +08:00
vitiko98 5624ae431e Embedded Subtitles provider: add support for unknown language tags 2022-07-20 02:51:30 -04:00
LASER-Yi 27d792041c Fix #1904 2022-07-15 10:14:06 +08:00
LASER-Yi 775f67b45e Allow searching when uploading subtitles #1898 2022-07-07 21:11:24 +08:00
Caleb Rascon c622e1f710
Added option to always use audio track for subtitle syncing 2022-07-06 13:05:10 -04:00
LASER-Yi 5c1399e9f2 Fix #1894 2022-07-04 21:04:14 +08:00
LASER-Yi 3958986614 Fix #1893 2022-07-04 20:59:40 +08:00
github-actions ced1736ed5 Release 1.0.5-beta.39 2022-07-01 06:20:17 +00:00
dependabot[bot] 2bd38817b0
no log: Bump eslint-plugin-react-hooks from 4.5.0 to 4.6.0 in /frontend (#1881)
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 23:36:34 +08:00
LASER-Yi d9c334d43a Fix #1872, refactor the settings builder 2022-06-30 23:35:23 +08:00
vitiko98 d2b40bd781 Add Karagarga.in provider 2022-06-29 00:07:18 -04:00
vitiko98 8086bce5c4 Embedded Subtitles Provider: major update
* fese library was updated
* mergerfs_mode support was dropped. Too much false positives
* extended codec support (two new codecs added: webvtt and mov_text)
* disable conversion to srt by default
2022-06-28 23:21:31 -04:00
LASER-Yi 34685b3d19 update outdated packages 2022-06-27 11:36:33 +08:00
LASER-Yi c45b172415 Add chips input for the provider builder 2022-06-27 11:24:06 +08:00
LASER-Yi 2b88c9f60c Fix issues when displaying Use Original Format in the language profile modal 2022-06-25 21:07:57 +08:00
LASER-Yi b724305eb4 Fix redirect issues after logging in (#1857) 2022-06-18 17:35:33 +08:00
LASER-Yi 4b71b8ae65 Fix missing images issue when serving via Flask 2022-06-18 17:25:17 +08:00