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

Wizard: Show if server asks for client certificate #2799 #69 #5261

Merged
merged 1 commit into from
Nov 23, 2016

Conversation

guruz
Copy link
Contributor

@guruz guruz commented Oct 19, 2016

This also nicely displays the 'Untrusted domain' message of oC.
The link to add a trusted domain (via web browser) is clickable.

@guruz guruz added this to the 2.3.0 milestone Oct 19, 2016
@mention-bot
Copy link

@guruz, thanks for your PR! By analyzing the history of the files in this pull request, we identified @dragotin, @danimo and @krnowak to be potential reviewers.

@guruz
Copy link
Contributor Author

guruz commented Nov 22, 2016

@ogoffart Please re-evaluate. I extract the message now early so reply is not deleted before.
I also think the sync dialog is ok for now as some lines below we already do a sync dialog too.

Copy link
Contributor

@ogoffart ogoffart left a comment

Choose a reason for hiding this comment

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

Why do you show a messagebox instead of displaying the error within the wizard?

@@ -447,7 +447,7 @@ bool CheckServerJob::finished()
}

bool success = false;
QByteArray body = reply()->readAll();
QByteArray body = reply()->peek(1024);
Copy link
Contributor

Choose a reason for hiding this comment

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

1024 bytes should be enough for every status.php replies?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure. Right now we're at around 110 bytes. Shall I increase it or not?

@guruz
Copy link
Contributor Author

guruz commented Nov 23, 2016

Why do you show a messagebox instead of displaying the error within the wizard?

No need to mess with the old wizard logic until @danimo has given us his code for the new wizard.

This also nicely displays the 'Untrusted domain' message of oC.
The link to add a trusted domain (via web browser) is clickable.
@guruz guruz merged commit 679ac0d into master Nov 23, 2016
@guruz guruz deleted the sslWarning branch November 23, 2016 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants