Skip to content

Add back authentication checkbox for mailer settings - #36785

Merged
blizzz merged 1 commit into
masterfrom
bug/bring-back-auth-checkbox
Mar 1, 2023
Merged

Add back authentication checkbox for mailer settings#36785
blizzz merged 1 commit into
masterfrom
bug/bring-back-auth-checkbox

Conversation

@miaulalala

@miaulalalamiaulalala commented Feb 20, 2023

Copy link
Copy Markdown
Contributor

Summary

The symfony mailer refactor removed the authentication checkbox and caused the save for the authentication data to be buggy.

TODO

  • Check if Symfony supports authenticationless sending in the first place (tested by Julius)

Checklist

@miaulalala
miaulalala requested review from a team, come-nc and nickvergessenFebruary 20, 2023 17:08
@miaulalalamiaulalala self-assigned this Feb 20, 2023
@miaulalalamiaulalala added this to the Nextcloud 26 milestone Feb 20, 2023
@miaulalala
miaulalala requested review from a team, ArtificialOwl and icewind1991 and removed request for a teamFebruary 20, 2023 17:24
Comment threadapps/settings/templates/settings/admin/additional-mail.php Outdated
Comment threadapps/settings/templates/settings/admin/additional-mail.php Outdated
@szaimen

This comment was marked as resolved.

@miaulalala

This comment was marked as resolved.

@szaimen

This comment was marked as resolved.

@miaulalala
miaulalalaforce-pushed the bug/bring-back-auth-checkbox branch from 96bba83 to 1d05efcCompareFebruary 21, 2023 11:07
@szaimen

szaimen commented Feb 21, 2023

Copy link
Copy Markdown
Contributor

smtphost seems to be doubled for me now?
image

@miaulalala
miaulalalaforce-pushed the bug/bring-back-auth-checkbox branch from 1d05efc to 214b910CompareFebruary 21, 2023 13:33
@miaulalala

Copy link
Copy Markdown
ContributorAuthor

@szaimen should be good now, apologies!

Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala
miaulalalaforce-pushed the bug/bring-back-auth-checkbox branch from 214b910 to f0ffa91CompareFebruary 22, 2023 08:47

@szaimenszaimen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works in my testing (did test with ssl on port 465 and authentication enabled) but didnt review the code.

@skjnldsvskjnldsv mentioned this pull request Feb 23, 2023

@mejo-mejo- left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me 👍

@blizzz
blizzz merged commit 86c102e into masterMar 1, 2023
@blizzz
blizzz deleted the bug/bring-back-auth-checkbox branch March 1, 2023 20:35
@blizzzblizzz mentioned this pull request Mar 2, 2023
<select name="mail_smtpauthtype" id="mail_smtpauthtype" disabled="disabled">
<?php foreach ($mail_smtpauthtype as $authtype => $name):
$selected = '';
if ($authtype == $_['mail_smtpauthtype']):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[PHP] Undefined array key "mail_smtpauthtype" at /var/www/cloud.nextcloud.com/nextcloud/apps/settings/templates/settings/admin/additional-mail.php#132https://nextcloud-gmbh.sentry.io/issues/3973302224

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: mail_smptauth option is not set when changing mailer config options in admin settings

6 participants

@miaulalala@szaimen@ChristophWurst@mejo-@come-nc@blizzz