Commit Graph

35 Commits

Author SHA1 Message Date
morpheus65535 0bddb5ba55 no log: pep8 fixes 2024-05-02 22:53:36 -04:00
JayZed 9ae684240b
Refactored Shutdown, Restart and exit status codes 2024-03-03 12:00:50 -05:00
morpheus65535 6ca3689f2e no log: fixed multiple PEP8 lint issues 2024-02-27 23:51:10 -05:00
JayZed d5466fff23
Added log level/filter settings to Logs page 2024-02-19 21:14:42 -05:00
morpheus65535 cb3a274894 Fixed languages profile creation issue. 2023-11-10 13:57:56 -05:00
morpheus65535 2ad7ddf5a6 Improved stability by usinf Python f-string as much as possible to prevent TypeError and improve code readability. 2023-10-17 23:24:26 -04:00
morpheus65535 2a8a4030b9 Fixed datatype issue when creating a new languages profile with PostgreSQL. 2023-10-15 16:13:27 -04:00
morpheus65535 c89da3e619
Changing from config.ini to config.yaml 2023-10-14 09:56:21 -04:00
morpheus65535 8895dd68a8 Improved responses marshalling to better deal with error messages sent to frontend. 2023-09-04 22:41:39 -04:00
morpheus65535 995ae1b5b8 Improved UI feedback on multiple search, download and upload issues. #2235 2023-08-29 17:17:30 -04:00
Samuel Bartík 42ae3af4a2
Fixed issue while saving notifications settings 2023-08-15 11:10:26 -04:00
morpheus65535 bccded275c
Replaced peewee with sqlalchemy as ORM. This is a major change, please report related issues on Discord. 2023-07-26 19:34:49 -04:00
morpheus65535 486d2f9481 Improved logging of failed attempt to authenticate to UI. Successful basic authentication attempt cannot be logged right now. 2023-07-25 16:49:04 -04: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
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
halali d5911e78b5
Added PostgreSQL as optional database engine
Wiki: https://wiki.bazarr.media/Additional-Configuration/PostgreSQL-Database/
2023-01-29 16:44:56 -05:00
morpheus65535 eb770c9faa no log: send events to update wanted and badges in ui when something's changed while saving languages profiles. 2022-11-15 15:01:10 -05:00
morpheus65535 bc32ddbc57 no log: fixed unused import 2022-09-23 14:31:34 -04:00
morpheus65535 daa7ef3fd0 no log: fixed logout API endpoint 2022-09-23 14:06:32 -04:00
morpheus65535 131b4e5cde
Added Swagger documentation for Bazarr API 2022-09-21 23:51:34 -04:00
morpheus65535 c2c0cbda0b Improved API to return better message/code on errors 2022-08-23 21:13:06 -04:00
morpheus65535 4640badd4b no log: deal with potential exception with missing time zone info. 2022-06-14 09:01:19 -04:00
morpheus65535 f2eb8f1342 Fixed uptime in System-->Status and added time zone info. 2022-06-13 23:24:32 -04:00
morpheus65535 2f01ab8523
Reworked Bazarr file structure to improve support and optimization 2022-05-01 08:00:20 -04:00
maxwillx 33a9e512ac
Added languages profile settings to prevent downloaded subtitles from being converted to srt. 2022-03-14 20:54:36 -04:00
morpheus65535 33ff7948e8 no log: pep8 fixes 2022-02-24 09:27:35 -05:00
morpheus65535 5bfaba9360
Implemented backup and restore feature for configuration file and database 2022-02-22 22:55:07 -05:00
morpheus65535 b766b0324e no log: fixed Bazarr directory issue in system-->status 2022-02-01 19:11:29 -05:00
Michiel van Baak Jansen c91597fdd5
Implemented the functions to read more info from package_info file 2022-01-27 17:52:46 -05:00
morpheus65535 722014d822
Improved readability and maintenance by splitting get_subtitle.py into multiple files 2022-01-02 22:59:30 -05:00
morpheus65535 46a8bd2909 Merge remote-tracking branch 'origin/development' into development 2021-12-18 11:39:40 -05:00
LASER-Yi 637f20450e
Fix #1642 2021-12-18 22:16:28 +08:00
morpheus65535 6192df6019 Fixed exception when creating a new languages profile. 2021-12-16 15:54:52 -05:00
morpheus65535 63b326aa2f
Implemented words/regex ban list for subtitles 2021-12-11 07:44:53 -05:00
morpheus65535 204a1c3f31 Cleaned up and split API to make it easier to maintain. 2021-12-03 22:49:20 -05:00