Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test email notification with TLS #4972

Merged
merged 2 commits into from
Aug 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- Fixed UI not loading using edge browser, when using a reverse proxy (without an alternative port) ([#4928](https://github.com/pymedusa/Medusa/pull/4928))
- Fixed episode lookup with conflicting show IDs ([#4933](https://github.com/pymedusa/Medusa/pull/4933))
- Fixed error getting season scene exceptions on show page [#4964](https://github.com/pymedusa/Medusa/pull/4964)
- Fixed testing email notification with TLS ([#4972](https://github.com/pymedusa/Medusa/pull/4972))

-----

Expand Down
2 changes: 1 addition & 1 deletion themes-default/slim/static/js/config/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ MEDUSA.config.notifications = function() { // eslint-disable-line max-lines
host = host.length > 0 ? host : null;
let port = $('#email_port').val();
port = port.length > 0 ? port : null;
const tls = $('#email_tls').attr('checked') === undefined ? 0 : 1;
const tls = $('#email_tls').is(':checked') ? 1 : 0;
let from = $('#email_from').val();
from = from.length > 0 ? from : 'root@localhost';
const user = $('#email_user').val().trim();
Expand Down
2 changes: 1 addition & 1 deletion themes/dark/assets/js/config/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ MEDUSA.config.notifications = function() { // eslint-disable-line max-lines
host = host.length > 0 ? host : null;
let port = $('#email_port').val();
port = port.length > 0 ? port : null;
const tls = $('#email_tls').attr('checked') === undefined ? 0 : 1;
const tls = $('#email_tls').is(':checked') ? 1 : 0;
let from = $('#email_from').val();
from = from.length > 0 ? from : 'root@localhost';
const user = $('#email_user').val().trim();
Expand Down
2 changes: 1 addition & 1 deletion themes/light/assets/js/config/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ MEDUSA.config.notifications = function() { // eslint-disable-line max-lines
host = host.length > 0 ? host : null;
let port = $('#email_port').val();
port = port.length > 0 ? port : null;
const tls = $('#email_tls').attr('checked') === undefined ? 0 : 1;
const tls = $('#email_tls').is(':checked') ? 1 : 0;
let from = $('#email_from').val();
from = from.length > 0 ? from : 'root@localhost';
const user = $('#email_user').val().trim();
Expand Down