-
Notifications
You must be signed in to change notification settings - Fork 671
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
Use new TLSErrorDialog #9667
Use new TLSErrorDialog #9667
Conversation
5919704
to
64a9eb0
Compare
Results for GUI-tests https://drone.owncloud.com/owncloud/client/11749/6/1 💥 The GUI tests failed. GUI Logs: https://cache.owncloud.com/public/owncloud/client/11749/guiReportUpload/index.html |
e9aa602
to
000ff7f
Compare
000ff7f
to
a06fd8e
Compare
src/gui/connectionvalidator.cpp
Outdated
@@ -98,6 +99,8 @@ void ConnectionValidator::systemProxyLookupDone(const QNetworkProxy &proxy) | |||
// The actual check | |||
void ConnectionValidator::slotCheckServerAndAuth() | |||
{ | |||
// ensure we receive ssl errors |
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.
Not sure how to read that comment. Is that a referral to clearing the connection cache by resetting the access manager?
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.
Yes its about the qnam reset.
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 this is very relevant in this context. Mind to adjust the comment to include this really important bit of information?
1051769
to
e018fde
Compare
Kudos, SonarCloud Quality Gate passed! |
e018fde
to
f88a7fb
Compare
f88a7fb
to
8392d1d
Compare
That way we can use it to check for ssl errors
The job needs to run on an independent QNAM
34cbfd2
to
075e0f0
Compare
// Note: Why would this happen on a status.php request? | ||
_errors.append(tr("Authentication error: Either username or password are wrong.")); | ||
} else { | ||
//_errors.append(tr("Unable to connect to %1").arg(_account->url().toString())); |
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.
Still needed?
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 didn't see that one
@@ -223,18 +245,18 @@ void ConnectionValidator::slotAuthFailed(QNetworkReply *reply) | |||
void ConnectionValidator::slotAuthSuccess() | |||
{ | |||
_errors.clear(); | |||
if (!_updateConfig) { | |||
reportResult(Connected); | |||
if (_mode != ConnectionValidator::ValidationMode::ValidateAuth) { |
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.
Maybe Q_ASSERT
you're not in ValidateServer
? I assume the use of !=
rather than >
implies this.
AccessManager *accessManager(); | ||
QSharedPointer<AccessManager> sharedAccessManager(); | ||
[[deprecated]] QSharedPointer<AccessManager> sharedAccessManager(); |
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.
Long time overdue.
5bcb6f4
to
b0b513d
Compare
No description provided.