Skip to content

Commit b8bec48

Browse files
authored
Merge pull request #11534 from pymedusa/release/release-1.0.18
Release/release 1.0.18
2 parents 3d65665 + b9c6302 commit b8bec48

34 files changed

+672
-401
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 1.0.18 (29-10-2023)
2+
3+
#### Improvements
4+
- Update some JS and Python dependencies
5+
- Add a few new logos (Thanks to @purevertigo)
6+
- Update Yggtorrent domain (Thanks to @cpainchaud)
7+
8+
#### Fixes
9+
- Don't overwrite manual post-processing delete preference
10+
- Fix color of show-header in light theme (Thanks to @cheese1)
11+
12+
-----
13+
114
## 1.0.17 (29-06-2023)
215

316
#### New Features

ext/certifi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .core import contents, where
22

33
__all__ = ["contents", "where"]
4-
__version__ = "2022.12.07"
4+
__version__ = "2023.07.22"

ext/certifi/cacert.pem

Lines changed: 247 additions & 139 deletions
Large diffs are not rendered by default.

ext/urllib3/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is protected via CODEOWNERS
2-
__version__ = "1.26.16"
2+
__version__ = "1.26.17"

ext/urllib3/request.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
from __future__ import absolute_import
22

3+
import sys
4+
35
from .filepost import encode_multipart_formdata
6+
from .packages import six
47
from .packages.six.moves.urllib.parse import urlencode
58

69
__all__ = ["RequestMethods"]
@@ -168,3 +171,21 @@ def request_encode_body(
168171
extra_kw.update(urlopen_kw)
169172

170173
return self.urlopen(method, url, **extra_kw)
174+
175+
176+
if not six.PY2:
177+
178+
class RequestModule(sys.modules[__name__].__class__):
179+
def __call__(self, *args, **kwargs):
180+
"""
181+
If user tries to call this module directly urllib3 v2.x style raise an error to the user
182+
suggesting they may need urllib3 v2
183+
"""
184+
raise TypeError(
185+
"'module' object is not callable\n"
186+
"urllib3.request() method is not supported in this release, "
187+
"upgrade to urllib3 v2 to use it\n"
188+
"see https://urllib3.readthedocs.io/en/stable/v2-migration-guide.html"
189+
)
190+
191+
sys.modules[__name__].__class__ = RequestModule

ext/urllib3/util/retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class Retry(object):
235235
RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503])
236236

237237
#: Default headers to be used for ``remove_headers_on_redirect``
238-
DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Authorization"])
238+
DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Cookie", "Authorization"])
239239

240240
#: Maximum backoff time.
241241
DEFAULT_BACKOFF_MAX = 120

medusa/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
log.logger.addHandler(logging.NullHandler())
4040

4141
INSTANCE_ID = text_type(uuid.uuid1())
42-
VERSION = '1.0.17'
42+
VERSION = '1.0.18'
4343

4444
USER_AGENT = 'Medusa/{version} ({system}; {release}; {instance})'.format(
4545
version=VERSION, system=platform.system(), release=platform.release(),

medusa/process_tv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def _clean_up(self, path, proc_type, delete=False):
448448
if self.unwanted_files:
449449
self.delete_files(path, self.unwanted_files)
450450

451-
if not app.NO_DELETE or clean_folder:
451+
if (proc_type != 'manual' and not app.NO_DELETE) or clean_folder:
452452
check_empty = False if clean_folder else True
453453
if self.delete_folder(path, check_empty=check_empty):
454454
self.log_and_output('Deleted folder: {path}', level=logging.DEBUG, **{'path': path})

medusa/providers/torrent/html/yggtorrent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self):
3636
self.password = None
3737

3838
# URLs
39-
self.url = 'https://yggtorrent.do'
39+
self.url = 'https://yggtorrent.wtf'
4040
self.urls = {
4141
'auth': urljoin(self.url, 'user/ajax_usermenu'),
4242
'login': urljoin(self.url, 'user/login'),

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ babelfish==0.6.0
33
beautifulsoup4==4.12.2
44
bencode.py==4.0.0
55
CacheControl==0.13.1
6-
certifi==2022.12.7
6+
certifi==2023.7.22
77
cloudscraper==1.2.70
88
configobj==5.0.8
99
contextlib2==21.6.0
@@ -38,5 +38,5 @@ tornado==6.1
3838
tornroutes==0.5.1
3939
ttl-cache==1.6
4040
tvdbapiv2 @ https://codeload.github.com/pymedusa/tvdbv2/tar.gz/d6d0e9d98071c2d646beb997b336edbb0e98dfb7
41-
urllib3==1.26.16
41+
urllib3==1.26.17
4242
validators==0.20.0

0 commit comments

Comments
 (0)