Commit 79735d78 authored by echel0n's avatar echel0n
Browse files

Fixed issue with custom provider not being saved when using spaces for names.

Fixed parsing issue with Jackett.
Fixed issue with missing provider icons.
parent 6d8c60a0
# Changelog # Changelog
- * ba79a49 - 2018-10-14: Fixed issue with custom providers having spaces in their names that was causing settings to not save - * d0c5c9e - 2018-10-14: Fixed issue with custom provider not being saved when using spaces for names. Fixed parsing issue with Jackett. Fixed issue with missing provider icons.
- * 6d8c60a - 2018-10-14: Fixed issue with custom providers having spaces in their names that was causing settings to not save
- * 23f9684 - 2018-10-14: Fixed issues with removing custom torrent/newznab providers - * 23f9684 - 2018-10-14: Fixed issues with removing custom torrent/newznab providers
- * e2132a2 - 2018-10-14: Fixed issue#286 - added support for non-english indexer images - * e2132a2 - 2018-10-14: Fixed issue#286 - added support for non-english indexer images
- * d186f55 - 2018-10-14: Release v9.3.87 - * d186f55 - 2018-10-14: Release v9.3.87
......
...@@ -1945,6 +1945,11 @@ ...@@ -1945,6 +1945,11 @@
"integrity": "sha1-OuyFAA+mGQhdqNLkmD39Z88hFMs=", "integrity": "sha1-OuyFAA+mGQhdqNLkmD39Z88hFMs=",
"dev": true "dev": true
}, },
"bootstrap-formhelpers": {
"version": "github:winmarkltd/BootstrapFormHelpers#d6770e09f6ce674631bed10b3f3672f11edc4278",
"from": "github:winmarkltd/BootstrapFormHelpers",
"dev": true
},
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
...@@ -5400,7 +5405,7 @@ ...@@ -5400,7 +5405,7 @@
"grunt-spritesmith": { "grunt-spritesmith": {
"version": "6.6.2", "version": "6.6.2",
"resolved": "https://registry.npmjs.org/grunt-spritesmith/-/grunt-spritesmith-6.6.2.tgz", "resolved": "https://registry.npmjs.org/grunt-spritesmith/-/grunt-spritesmith-6.6.2.tgz",
"integrity": "sha1-lP1QKACADrXDxJ/qJV1lz04S9ic=", "integrity": "sha512-Wo/fxqY2e83OsjOWJxFsvZEnhMnfMBBYWeFDd5ySUDGt0q+xNyWkgwDPyZyiOe+0eWhW9Ny9mEXi8MgG67irdg==",
"dev": true, "dev": true,
"requires": { "requires": {
"async": "~1.5.0", "async": "~1.5.0",
...@@ -14622,7 +14627,7 @@ ...@@ -14622,7 +14627,7 @@
}, },
"webpack-spritesmith": { "webpack-spritesmith": {
"version": "0.4.1", "version": "0.4.1",
"resolved": "https://registry.npmjs.org/webpack-spritesmith/-/webpack-spritesmith-0.4.1.tgz", "resolved": "http://registry.npmjs.org/webpack-spritesmith/-/webpack-spritesmith-0.4.1.tgz",
"integrity": "sha512-EmXxGuLbM5VDksfw1R9W4a9hK6dq8jkeC9z2wV8CZv/4bcdP4YIY5Tw1gP4IZcrWV0ABUfFl6RVDsNw+z+0Jhg==", "integrity": "sha512-EmXxGuLbM5VDksfw1R9W4a9hK6dq8jkeC9z2wV8CZv/4bcdP4YIY5Tw1gP4IZcrWV0ABUfFl6RVDsNw+z+0Jhg==",
"dev": true, "dev": true,
"requires": { "requires": {
...@@ -14646,9 +14651,9 @@ ...@@ -14646,9 +14651,9 @@
} }
}, },
"glob": { "glob": {
"version": "7.1.2", "version": "7.1.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"fs.realpath": "^1.0.0", "fs.realpath": "^1.0.0",
......
{ {
"name": "SiCKRAGE", "name": "sickrage",
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://git.sickrage.ca/SiCKRAGE/sickrage.git" "url": "git+https://git.sickrage.ca/SiCKRAGE/sickrage.git"
}, },
"bugs": { "bugs": {
"url": "https://www.sickrage.ca/forums/" "url": "https://forums.sickrage.ca"
}, },
"homepage": "https://www.sickrage.ca", "homepage": "https://www.sickrage.ca",
"scripts": { "scripts": {
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
"babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.7.0", "babel-preset-env": "^1.7.0",
"bootstrap": "^4.1.1", "bootstrap": "^4.1.1",
"bootstrap-formhelpers": "winmarkltd/BootstrapFormHelpers", "bootstrap-formhelpers": "echel0n/BootstrapFormHelpers",
"clean-webpack-plugin": "^0.1.19", "clean-webpack-plugin": "^0.1.19",
"css-loader": "^1.0.0", "css-loader": "^1.0.0",
"eslint": "^5.1.0", "eslint": "^5.1.0",
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
"grunt-exec": "^2.0.0", "grunt-exec": "^2.0.0",
"grunt-google-fonts": "^0.3.0", "grunt-google-fonts": "^0.3.0",
"grunt-npm-install": "^0.3.1", "grunt-npm-install": "^0.3.1",
"grunt-spritesmith": "^6.4.0", "grunt-spritesmith": "^6.6.2",
"grunt-webpack": "^3.1.2", "grunt-webpack": "^3.1.2",
"imagesloaded": "^4.1.4", "imagesloaded": "^4.1.4",
"isotope-layout": "^3.0.6", "isotope-layout": "^3.0.6",
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -1211,7 +1211,10 @@ class NewznabProvider(NZBProvider): ...@@ -1211,7 +1211,10 @@ class NewznabProvider(NZBProvider):
item_size = size_regex.group() if size_regex else -1 item_size = size_regex.group() if size_regex else -1
else: else:
item_size = item.size.get_text(strip=True) if item.size else -1 item_size = item.size.get_text(strip=True) if item.size else -1
for attr in item('newznab:attr') + item('torznab:attr'):
newznab_attrs = item(re.compile('newznab:attr'))
torznab_attrs = item(re.compile('torznab:attr'))
for attr in newznab_attrs + torznab_attrs:
item_size = attr['value'] if attr['name'] == 'size' else item_size item_size = attr['value'] if attr['name'] == 'size' else item_size
seeders = try_int(attr['value']) if attr['name'] == 'seeders' else seeders seeders = try_int(attr['value']) if attr['name'] == 'seeders' else seeders
peers = try_int(attr['value']) if attr['name'] == 'peers' else None peers = try_int(attr['value']) if attr['name'] == 'peers' else None
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Supports Markdown
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