Commit bc629e03 authored by echel0n's avatar echel0n
Browse files

Merge branch 'release/10.0.45'

parents ac8abc60 97ef0979
......@@ -2,8 +2,14 @@
 
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
 
#### [10.0.45](https://git.sickrage.ca/SiCKRAGE/sickrage/compare/10.0.44...10.0.45)
- fixed issue with show language now displaying correcting in edit show view [`8a33201`](https://git.sickrage.ca/SiCKRAGE/sickrage/commit/8a3320101005be49a83e9203a306180e91a128af)
#### [10.0.44](https://git.sickrage.ca/SiCKRAGE/sickrage/compare/10.0.43...10.0.44)
 
> 4 October 2021
#### [10.0.43](https://git.sickrage.ca/SiCKRAGE/sickrage/compare/10.0.42...10.0.43)
 
> 3 October 2021
......
{
"name": "sickrage",
"version": "10.0.44",
"version": "10.0.45",
"private": true,
"repository": {
"type": "git",
......
[bumpversion]
current_version = 10.0.44
current_version = 10.0.45
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
......
......@@ -19,7 +19,7 @@
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
# ##############################################################################
__version__ = "10.0.44"
__version__ = "10.0.45"
__install_type__ = ""
import argparse
......
sickrage/version.txt = 79e72a7eb113bc39288e8cb35a7d0ed6
sickrage/version.txt = c2f9a55da73812fca0985b9f311f1762
sickrage/checksums.md5 = d41d8cd98f00b204e9800998ecf8427e
sickrage/__init__.py = fa385f6a7671810e2f8b6e305f862653
sickrage/__init__.py = e6509f919a2b4462b89e311a83703255
sickrage/autoProcessTV/mediaToSiCKRAGE.py = f88a6679a211b1f97126c116e2c33b9c
sickrage/autoProcessTV/hellaToSiCKRAGE.py = 9bc477abfd456aaba8d6bf46f2c59b1f
sickrage/autoProcessTV/__init__.py = bfa892dee586740a3a618d3c1955156c
......@@ -343,7 +343,7 @@ sickrage/core/webserver/static/fonts/fa-brands-400.eot = 0fabb6606be4c45acfeedd1
sickrage/core/webserver/static/fonts/fa-solid-900.svg = 03ba7cb710104df27f1c9c46d64bee4e
sickrage/core/webserver/static/css/core.min.css = cb7b1d9bbd30ae087976c1eff3c5926f
sickrage/core/webserver/static/js/core.js.map = f7a228ef8848d79c5353da8759697089
sickrage/core/webserver/static/js/core.min.js = 3a2128891e2bd2a9b601af80f8eb2c97
sickrage/core/webserver/static/js/core.min.js = 5297b60c9abe59e10968b0a92c940122
sickrage/core/webserver/views/schedule.mako = 1492940accef5afe80d9cbd14be1c078
sickrage/core/webserver/views/history.mako = a90a54341918b398eb652d186a636952
sickrage/core/webserver/views/generic_message.mako = 20ba53fc129c1b69d5b8ccc960233757
......@@ -376,7 +376,7 @@ sickrage/core/webserver/views/home/index.mako = cd079065ad7d77c9eb6dfb7d26d4daba
sickrage/core/webserver/views/home/trakt_shows.mako = 09a95e4badea76e427946773a6cfa650
sickrage/core/webserver/views/home/mass_add_table.mako = f5ddb3d4d96a536f5f58fc5c4daeb104
sickrage/core/webserver/views/home/add_shows.mako = 388debd9471602a25e302a6fb202f587
sickrage/core/webserver/views/home/edit_show.mako = 8ed280deb6365863e0df651fe9625f24
sickrage/core/webserver/views/home/edit_show.mako = d523e7a405adcaee43cf77609c552af2
sickrage/core/webserver/views/home/restart.mako = 2cb040bd0c69b9a971c7d36f62dd9609
sickrage/core/webserver/views/home/imdb_shows.mako = 46f8df797cf0c4dd03d9d61a55ad5bf0
sickrage/core/webserver/views/home/display_show.mako = 586f8316f7d818de5346a5b74e2b7ccf
......@@ -469,7 +469,7 @@ sickrage/core/databases/main/migrations/env.py = 5cdd195b4adf08a9eda769316ffcc57
sickrage/core/databases/main/migrations/versions/003_Add_Last_Proper_Search_Column_To_TVShow_Table.py = e803eff26895483a07d0926614e32eac
sickrage/core/databases/main/migrations/versions/012_Add_Search_Format_Column_To_TVShow_Table.py = 1dcfe8e2df80e134eecb6be25844c8ff
sickrage/core/databases/main/migrations/versions/002_Add_Last_Backlog_Search_Column_To_TVShow_Table.py = 130fca353214b471cc09748dee685951
sickrage/core/databases/main/migrations/versions/022_Convert_Language_Codes_To_ISO6393_On_TVShow_Table.py = f839686f40669c8564312cd72c9cd6a9
sickrage/core/databases/main/migrations/versions/022_Convert_Language_Codes_To_ISO6393_On_TVShow_Table.py = ed9eed9138a010004ed44f8470de583b
sickrage/core/databases/main/migrations/versions/021_Upgrade_To_SiCKRAGE_v10.py = 085cf77d626353e391400eaa54d837ac
sickrage/core/databases/main/migrations/versions/011_Add_Scene_Exceptions_Column_To_TVShow_Table.py = e51bd8a97d4ada356b615c0a5c24e77e
sickrage/core/databases/main/migrations/versions/007_Convert_Airdate_Column_To_Date_Type_On_TVEpisode_Table.py = 8a7c62ae9e802474c01d9db38c964bb7
......@@ -493,8 +493,9 @@ sickrage/core/databases/config/__init__.py = 6c49d7f57b071683dd92f5534d3ad41f
sickrage/core/databases/config/migrations/script.py.mako = 55bff267625bd1f0799d24848df6c3e8
sickrage/core/databases/config/migrations/env.py = 5cdd195b4adf08a9eda769316ffcc57d
sickrage/core/databases/config/migrations/versions/003_Remove_Search_Providers_Newznab_Key_Column.py = dabd4dfa4f8f8deea32633da0139732d
sickrage/core/databases/config/migrations/versions/004_Add_SSO_API_Key_Column_To_Config_General_Table.py = 0c3d2ac9f38cd91f716a471dcd45ec51
sickrage/core/databases/config/migrations/versions/002_Remove_Web_Host_Column.py = 7d13d30620ad949f94320af0ae2625c6
sickrage/core/databases/config/migrations/versions/004_Add_SSO_API_Key_Column_To_General_Table.py = 0c3d2ac9f38cd91f716a471dcd45ec51
sickrage/core/databases/config/migrations/versions/005_Convert_Default_Series_Provider_Language_Code_To_ISO6393_In_General_Table.py = 97ef1485dc2b39fb74524dc0a38b35bb
sickrage/core/databases/config/migrations/versions/001_Add_Initial_Tables.py = 6416c418e06ad47834a3f6bdfe8ca4f1
sickrage/core/databases/cache/__init__.py = da37d3eb7d09c694e3f2d1a2aa9772f6
sickrage/core/databases/cache/migrations/script.py.mako = 55bff267625bd1f0799d24848df6c3e8
......
"""Initial migration
Revision ID: 4
Revises:
Create Date: 2017-12-29 14:39:27.854291
"""
import babelfish
from alembic import op
# revision identifiers, used by Alembic.
revision = '5'
down_revision = '4'
def upgrade():
conn = op.get_bind()
row = conn.execute(f"SELECT series_provider_default_language FROM general").first()
if len(row.series_provider_default_language) == 2:
lang = babelfish.Language.fromalpha2(row.series_provider_default_language)
conn.execute(f'UPDATE general SET series_provider_default_language = "{lang.alpha3}"')
def downgrade():
pass
......@@ -22,8 +22,9 @@ def upgrade():
with op.get_context().begin_transaction():
for row in conn.execute(tv_shows.select()):
lang = babelfish.Language.fromalpha2(row.lang)
conn.execute(f'UPDATE tv_shows SET lang = "{lang.alpha3}" WHERE tv_shows.series_id = {row.series_id}')
if len(row.lang) == 2:
lang = babelfish.Language.fromalpha2(row.lang)
conn.execute(f'UPDATE tv_shows SET lang = "{lang.alpha3}" WHERE tv_shows.series_id = {row.series_id}')
def downgrade():
......
......@@ -81729,7 +81729,7 @@ var debugs = {};
var debugEnviron;
exports.debuglog = function(set) {
if (isUndefined(debugEnviron))
debugEnviron = Object({"SENTRY_DSN":'https://[email protected]/2',"PACKAGE_VERSION":"10.0.44"}).NODE_DEBUG || '';
debugEnviron = Object({"SENTRY_DSN":'https://[email protected]/2',"PACKAGE_VERSION":"10.0.45"}).NODE_DEBUG || '';
set = set.toUpperCase();
if (!debugs[set]) {
if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
......@@ -82538,7 +82538,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
 
Sentry.init({
dsn: 'https://[email protected]/2',
release: "10.0.44",
release: "10.0.45",
beforeSend: function beforeSend(event, hint) {
if (event.exception) {
event.exception.values[0].stacktrace.frames.forEach(function (frame) {
......@@ -117,7 +117,7 @@
<select name="seriesProviderLanguage" id="seriesProviderLangSelect" class="form-control"
title="${_('Choose language')}">
% for language in show.series_provider.languages():
<option value="${language['id']}" ${('', 'selected')[sickrage.app.config.general.series_provider_default_language == language['id']]}>
<option value="${language['id']}" ${('', 'selected')[show.lang == language['id']]}>
${language['name']}
</option>
% endfor
......
10.0.44
\ No newline at end of file
10.0.45
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment