-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Add UI for {imap,smtp}_certificate_checks options #1076
Conversation
Waiting for #1082 to be merged first. Also, |
Blocked by deltachat/deltachat-node#388 now |
src/renderer/components/Login.js
Outdated
@@ -206,6 +211,17 @@ export default class Login extends React.Component { | |||
<option value='starttls'>STARTTLS</option> | |||
<option value='plain'>{tx('off')}</option> | |||
</DeltaSelect> | |||
<DeltaSelect | |||
id='imap_certificate_checks' | |||
label={tx('login_imap_certificate_checks')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the entry for login_imap_certificate_checks is missing in the sources, or?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup seems like the translations (at least experimental/untranslated) are missing.
@link2xt can you update the package.json to use the current deltachat-node git master? This way we can test master a couple of days without having a new -node release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add translations to the untranslated/experimental_en.json file.
src/renderer/components/Login.js
Outdated
@@ -206,6 +211,17 @@ export default class Login extends React.Component { | |||
<option value='starttls'>STARTTLS</option> | |||
<option value='plain'>{tx('off')}</option> | |||
</DeltaSelect> | |||
<DeltaSelect | |||
id='imap_certificate_checks' | |||
label={tx('login_imap_certificate_checks')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup seems like the translations (at least experimental/untranslated) are missing.
i think there should be only one option for the certificate checks, there is no good reason to be strict on the one but not on the other; i think this was the consens on irc together with @hpk42 @adbenitez and others. on android, @cyBerta just did a thing at deltachat/deltachat-android#1096 technically, the option sets both core options, the current state is driven by |
Ok, I'll change the interface, add translations and mark it as ready for review once it works. |
I have merged two options into one similarly to Android and added strings to |
looks like we could do a transifex pull again. |
// Change to certificate_checks updates certificate checks configuration | ||
// for all protocols. | ||
updatedCredentials = { | ||
['imap_certificate_checks']: { $set: value }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The [] aren't needed in this case i think.
This PR is to solve #1036 issue