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-05-17Ignore all ssl errors once a certificate is acceptedHannah von Reth
This matches the old behaviour
2022-05-13Allow to use the ConnectionValidator without checking the authHannah von Reth
That way we can use it to check for ssl errors
2022-05-13Use new TLSErrorDialogHannah von Reth
2022-05-11Remove Account:sslConfigurationHannah von Reth
2022-05-06Expose AccessManager from accountFabian Müller
Needed to be able to access planned TLS certificate handling related methods.
2022-04-13Add display name to foldersHannah von Reth
2022-04-13Fix connectivity checkHannah 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-03-15Merge remote-tracking branch 'origin/2.10'Hannah von Reth
2022-03-08CheckServerJob: clear cookies under more circumstancesHannah von Reth
2022-02-16Move initialization into named constructorFabian Müller
Not only does that make using the class easier by fixing the DRY problem, but it also makes sure the dialogs look the same no matter how they are initialized. Another such named constructor will be added later for the new wizard.
2022-02-16Extract "Update URL dialog" into separate classFabian Müller
Using inheritance here instead of a factory saves some boilerplate code, and apparently it's the Qt way of life.
2022-01-17Merge remote-tracking branch 'origin/2.10'Hannah von Reth
2022-01-14Improve the log message when renewing the credentialsHannah von Reth
2021-12-03Use the refcounted AccountStatePtr as much as possibleErik Verbruggen
The AccountManager creates AccountState objects, and stores them in a shared pointer. Previously, the raw pointer was given out, and stored in other objects. That made removal very tricky: when an account gets removed, the underlying object gets deleted, and then all classes that listen get notified of the deletion. Those classes would sometimes put a nullptr into the AccountState pointer they stored, and in each usage would (hopefully) check for a nullptr. The problem was that a number of checks were missing, which the clang static analyser pointed out. This patch changes nearly all uses of a raw pointer into the shared pointer, thereby making sure all usages have a valid reference, even when account deletion happens. The two places where a raw pointer is still used, now put it into a refcounted pointer as soon as possible.
2021-12-03Prevent AccountState leakErik Verbruggen
This happened when an URL is updated (e.g. due to a redirect), and the user does not accept it.
2021-11-25Update src/gui/accountstate.cppHannah von Reth
Co-authored-by: Dominik Schmidt <dschmidt@owncloud.com>
2021-11-25Use some more std::chronoHannah von Reth
2021-11-25Use std::chrono with QTimer::singleShotHannah von Reth
2021-11-17Merge remote-tracking branch 'origin/2.9'Hannah von Reth
2021-11-17Fix re-authenticating at startup when logged out beforeErik Verbruggen
Fixes #8924
2021-11-10Ensure we only update the clients url after the sync was stopped (#9202)Hannah von Reth
When the client detects a change of the url we ask the user to accept the change or if it was only representational change we directly accept the change. Due to a bug the we aborted the sync only after we updated the url. This caused the client to idle for one minute.
2021-10-27Fix warnings for using deprecated Qt APIErik Verbruggen
This patch only fixes those warnings that we can still build against Qt 5.12.
2021-08-18Correctly handle credential invalidation on start upHannah von Reth
Fixes: #8901
2021-08-16Poll interval from capabilities (#8777)Klaas Freitag
* Add remotePollInterval capability. * Use public const int rather than define for default value. * Honour pollinterval from account capabilities for poll frequency. With this, admins can change the remote poll interval of desktop clients with the capability settings. * Use more efficient invocation of the etag job slot. * Consider capability value to be in milliseconds. * Make format check happy. * Add a ElapsedTimer to measure time since last Etag check. Also, do the check if one of the folders is due to sync every second. That way we get a more accurate sync frequency. The check is very lightweight. * Extend remotePollInterval config method to accept default value. With that it is possible to read the value for the remotepollinterval from the capabilities. * Add changelog entry for #8777. * Changes from clang-format * Fix changelog entry, punctuation at end. * do not go for assumptions how long the request takes. No magic number. * Change some method interfaces to seconds rather than microseconds. Feedback from review. * Again considering more review feedback * Remove additional 5s check already performed in ConfigFile::remotePollInterval Co-authored-by: Hannah von Reth <hannah.vonreth@owncloud.com>
2021-08-05Remove support for client side certificatesHannah von Reth
2021-06-14Ensure that a mandatory verification is started when a timed validation...Hannah von Reth
is already running
2021-05-26Fix url compare on redirectsHannah von Reth
Fixes: #8645
2021-05-26Ensure we only get one url update dialog.Hannah von Reth
Fixes: #8645
2021-05-26Ensure cookies are cleared right before the server checkHannah von Reth
2021-05-07Fix url migration with non root pathsHannah von Reth
2021-04-19Clear job queue when server is unreachableHannah von Reth
2021-04-19Clear cookies before we validate the server stateHannah von Reth
This fixes issues with some middleware
2021-01-13Ensure we don't call block multiple times in the same contextHannah von Reth
2021-01-13Reliably block and unblock the queueHannah von Reth
2021-01-13Implement dedicated JobQueueHannah von Reth
2020-12-09Always check the server when we where triggered by a redirectHannah von Reth
2020-12-09Handle url rediredcts with changed trailing slashesHannah von Reth
2020-12-09Implement url update on redirectHannah von Reth
2020-12-09Execute propfind on validationHannah von Reth
2020-12-09Seperate server check from auth checkHannah von Reth
2020-12-09Don't follow redirects besides in the connection validatorHannah von Reth
2020-12-07Use time the request was send,..Hannah von Reth
not when it was processed by the client, to determine the quality of the connection.
2020-09-17Clear cookies on logoutHannah von Reth
2020-02-10Run clang-tidy check for modernize-use-nullptrOlivier Goffart
2019-04-26Fix logic for duration that an etag reply indicates connectivityChristian Kamm
This got inverted accidentally when std::chrono was introduced. For #7160
2018-06-14OAuth2: Try to refresh the token even if the credentials weren't ready.Olivier Goffart
This can happen when the client is started and the internet connection was not enabled. Then we would fetch the credentials, but we would no do the refresh token step (because network is down). So next time we try to connect, we would also not refresh the token because the credentials are not marked as 'ready' Reported in https://github.com/owncloud/client/issues/6522#issuecomment-396845167
2018-02-26ConnectionValidator::Status use Q_ENUMOlivier Goffart
So no need to have a manual conversion to QString This is only used in debug message anyway.
2018-01-25Use std::chrono::milliseconds to represent millisecondsOlivier Goffart