Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-29Fix regression introduced in 3afb7a5ebdb64dcd3da1c0b5b110dc6a6c50aa6dHannah von Reth
2022-05-17Remove version checks for < 10.0Hannah von Reth
2022-05-11Cleanup namespaceHannah von Reth
2022-03-24Merge remote-tracking branch 'origin/2.10'Hannah von Reth
2022-03-24Fix basic auth logoutHannah von Reth
Fixes: #9545
2022-02-21Remove Account dependency from OAuth (#9426)Fabian Müller
* Integrate Hannah's new DetermineAuthTypeJob2 * Allow use of OAuth class without account This commit extracts the account-specific code (for use during normal runtime, i.e., after the wizard has succeeded). Using a derived class instead of a factory (job) saves some boilerplate code in this scenario. * Move DetermineUserJobFactory into creds * Emphasize purpose of class * Fix file name * Rename methods * Split declaration and definition * Add missing docstrings * Give core job class a better name * Document difference between core and other jobs
2021-12-15Merge remote-tracking branch 'origin/2.10'Hannah von Reth
2021-12-15Restart oauth on errorHannah von Reth
Fixes: #9196
2021-11-25Use std::chrono with QTimer::singleShotHannah von Reth
2021-08-05Update httpcredentialsgui.cppHannah von Reth
2021-08-05Fix the 'Re-open Browser' button becoming unresponsiveHannah von Reth
2021-08-05Remove support for client side certificatesHannah von Reth
2021-08-02If we know we are using oauth, don't try to redetermineHannah von Reth
2021-05-05Fix ouath credential loadingHannah von Reth
Issue was introduced in 3d878bae27ba22ecdf07313725b085b84c62af1a
2020-12-21Properly display parent Window when displaying a dialogHannah von Reth
Fixes: #8313
2020-09-07Fix crash when reopen browser button is pressed directly after a...Hannah von Reth
successful authentication Fixes: #8041
2020-07-15Fix assert overload, not supported by msvcHannah von Reth
warning C4002: too many arguments for function-like macro invocation 'ENFORCE_1'
2020-06-29Make the password dialog modalHannah von Reth
Fixes: #7833
2020-06-25OAuth: correctly initialise the auth typeHannah von Reth
2020-06-23OAuth: Fix reopening the browser from the account pageHannah von Reth
Issue: #7888
2020-02-10Run clang-tidy check for modernize-use-nullptrOlivier Goffart
2020-02-10Run clang-tidy with modernize-use-overrideOlivier Goffart
And also replace all remaining Q_DECL_OVERRIDE to just override
2020-02-10[OAuth] Fix namingHannah von Reth
2020-01-24[Oauth] move oauth refresh to oauth.cppHannah von Reth
2020-01-24Oauth: CleanupHannah von Reth
2020-01-24Move oauth from ui -> libsyncHannah von Reth
2019-12-16[OAuth] Improve error handling and detect token_type independent of its casingHannah von Reth
2019-12-16[OAuth] Add state parameter to negotiationHannah von Reth
2019-11-25Fix build with Qt<5.13Hannah von Reth
2019-11-22Revert "Add a noPreFlight branding option"Hannah von Reth
This reverts commit c47af368328e0cbacde7d6abeda4b6f4291cc86f. It turned out to be a dead end.
2019-11-20OAuth: fix review comment from #7509Olivier Goffart
2019-11-20Support for openid connectOlivier Goffart
2019-06-12Merge remote-tracking branch 'origin/2.5' into 2.6Christian Kamm
2019-05-15OAuth2: Better error loggingMarkus Goetz
This does not fix a bug, just was found while spotting a bug that was no bug. For https://github.com/owncloud/enterprise/issues/2951
2019-03-14Client certs: Store pkcs12 in config, password in keychainChristian Kamm
It still reads and writes the old format too, but all newly stored client certs will be in the new form. For #6776 because Windows limits credential data to 512 bytes in older versions.
2019-02-08Merge remote-tracking branch 'origin/2.5'Olivier Goffart
Conflicts: VERSION.cmake src/common/syncjournaldb.cpp src/libsync/propagatedownload.cpp
2019-02-01Add a noPreFlight branding optionOlivier Goffart
For https://github.com/owncloud/enterprise/issues/2951
2019-01-10Merge remote-tracking branch 'origin/2.5'Christian Kamm
2018-12-17HttpCredentials: Do not re-enter the event loopOlivier Goffart
https://sentry.io/owncloud/desktop-win-and-mac/issues/777907931/ mention a crash in OCC::HttpCredentialsGui::showDialog One possible explaination is that this is caused by re-entring the event loop. So don't do that.
2018-11-27Remove Shibboleth supportOlivier Goffart
Issue #6451
2018-10-12OAuth2: Store 'Account::davUser' in the config, and use that user for connectingOlivier Goffart
We need to use the user id to check if we are connected to the right account. These might be different from the HTTP Basic Auth login. (LDAP setups) When the account was configured as an oauth2 account form the wisard, the http_user was already set correctly to the user id. But when the server is upgrading from basic auth to oauth2, we need to pick the right login. Note that Account::davUser() already defaults to the HTTP user when none is set, so this means the upgrade will be fine if this is not set in the config. Issues: https://github.com/owncloud/oauth2/issues/109 https://github.com/owncloud/enterprise/issues/2781
2018-06-27OAuth: Remove the timeoutOlivier Goffart
There is no real reason to have a timeout. The connection can stay open as long as we are not authenticated. The User can still re-open a browser from the UI at any time. Issue #6612
2018-06-19Wizard + OAuth: Make opening a new browser after clicking back works againOlivier Goffart
Issue #6574 When there is an error in the advanced page, OwncloudAdvancedSetupPage::updateStatus (and others) call completeChanged(), which is connected to QWizardPrivate::_q_updateButtonStates which will re-enable the back button from the last page. When the user click "back" and re-open the browser, the account's credentials already have a oauth token set. So the call to the API to get a new token fails because we use the previous token instead of using the client's secret_id. Fix this with the HttpCredentials::DontAddCredentialsAttribute. Now, this is still not working because the session cookies are confusing the server. So we'll clear the cookies when re-opening the browser
2017-12-08Utility: use QUrlQueryOlivier Goffart
For QUrl::setQuery is deprecated in Qt5
2017-12-04Shibboleth: Upgrade to OAuth2 When the server supports itOlivier Goffart
If the server support both Shibboleth and OAuth2, upgrades to OAuth2 Issue #6198
2017-11-14DetermineAuth: Remove concept of Unknown #6148Christian Kamm
This restores 2.3 behavior. Some servers reply 404 to GETs and PROPFINDs to the remote.php/webdav/ url and used to work. Being more picky would break them.
2017-11-06DetermineAuthType: Adjustments for tight firewalls #6135Christian Kamm
With some firewalls we can't GET /remote.php/webdav/. Here we keep the GET request to detect shibboleth through the redirect pattern but then use PROPFIND to figure out the http auth method. Currently we prefer OAuth to Shibboleth to Basic auth. This also restores the fallback behavior of assuming basic auth when no auth type can be determined.
2017-10-19Use qEnvironmentVariable* instead of qgetenv when appropriateOlivier Goffart
Now that we use Qt5, we should do that. It is slightly more efficient and declares the intent. (Modified using clazy)
2017-10-13HttpCreds: Fix retry after wrong password #5989Christian Kamm
This is an ugly solution.
2017-09-28Test OAuth2Olivier Goffart
Include a test for PR #6057