0.3.13.1
This commit is contained in:
parent
712f601e9c
commit
1a1bfdfbab
5 changed files with 12 additions and 6 deletions
|
|
@ -1,5 +1,10 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.3.13.1
|
||||||
|
|
||||||
|
- Fix mutual exclusive exception for email settings
|
||||||
|
- Temporarly set exception level for StreamDeniedException exceptions
|
||||||
|
|
||||||
## 0.3.13
|
## 0.3.13
|
||||||
|
|
||||||
- Update django to 3.2
|
- Update django to 3.2
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "newsreader",
|
"name": "newsreader",
|
||||||
"version": "0.3.13",
|
"version": "0.3.13.1",
|
||||||
"description": "Application for viewing RSS feeds",
|
"description": "Application for viewing RSS feeds",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "newsreader"
|
name = "newsreader"
|
||||||
version = "0.3.13"
|
version = "0.3.13.1"
|
||||||
description = "Webapplication for reading RSS feeds"
|
description = "Webapplication for reading RSS feeds"
|
||||||
authors = ["Sonny <sonnyba871@gmail.com>"]
|
authors = ["Sonny <sonnyba871@gmail.com>"]
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
|
|
|
||||||
|
|
@ -55,8 +55,8 @@ EMAIL_PORT = os.environ.get("EMAIL_PORT", 25)
|
||||||
EMAIL_HOST_USER = os.environ.get("EMAIL_HOST_USER", "")
|
EMAIL_HOST_USER = os.environ.get("EMAIL_HOST_USER", "")
|
||||||
EMAIL_HOST_PASSWORD = os.environ.get("EMAIL_HOST_PASSWORD", "")
|
EMAIL_HOST_PASSWORD = os.environ.get("EMAIL_HOST_PASSWORD", "")
|
||||||
|
|
||||||
EMAIL_USE_TLS = os.environ.get("EMAIL_USE_TLS", False)
|
EMAIL_USE_TLS = bool(os.environ.get("EMAIL_USE_TLS"))
|
||||||
EMAIL_USE_SSL = os.environ.get("EMAIL_USE_SSL", False)
|
EMAIL_USE_SSL = bool(os.environ.get("EMAIL_USE_SSL"))
|
||||||
|
|
||||||
# Reddit integration
|
# Reddit integration
|
||||||
REDDIT_CLIENT_ID = os.environ.get("REDDIT_CLIENT_ID", "")
|
REDDIT_CLIENT_ID = os.environ.get("REDDIT_CLIENT_ID", "")
|
||||||
|
|
|
||||||
|
|
@ -234,8 +234,9 @@ class TwitterClient(PostClient):
|
||||||
|
|
||||||
break
|
break
|
||||||
except StreamDeniedException as e:
|
except StreamDeniedException as e:
|
||||||
logger.warning(
|
logger.exception(
|
||||||
f"Access token expired for user {stream.rule.user.pk}"
|
f"Access token expired for user {stream.rule.user.pk}",
|
||||||
|
extra={"content": e.response.content} if e.response else {},
|
||||||
)
|
)
|
||||||
|
|
||||||
stream.rule.user.twitter_oauth_token = None
|
stream.rule.user.twitter_oauth_token = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue