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-07-01Fix a bunch of compiler warningsErik Verbruggen
2022-05-25Use ocis productversionHannah von Reth
2022-05-13Remove leftoversHannah von Reth
2022-05-13Remove legacy ssl error handlerHannah von Reth
2022-05-12Accounts might not have capabilities yetHannah von Reth
2022-05-12Don't persist cookies (#9668)Hannah von Reth
2022-05-05Introduce per account default folderHannah von Reth
2022-04-05Remove dead codeHannah von Reth
2022-04-05Only save fully defined accountsHannah von Reth
2022-03-24Cache capabilitiesHannah von Reth
This allows us to use them during startup or when offline.
2022-03-24Make sure settings are in a consistent stateFabian Müller
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-11-22Merge remote-tracking branch 'origin/2.9'Hannah von Reth
2021-11-18Add prefix to legacy migration log messagesFabian Müller
Makes it easier to distinguish between the regular migration code and the legacy code's logging.
2021-09-22Merge remote-tracking branch 'origin/2.9'Hannah von Reth
2021-09-22Use NtfsPermissionLookupRAII when checking for readable/writeabelHannah von Reth
2021-09-17Used make_unique instead of direct unique_ptr constructionOleksii Lysenko
2021-06-24Allow to override the server url with OWNCLOUD_OVERRIDE_SERVER_URLHannah von Reth
2021-06-16Small optimisationHannah von Reth
2021-06-16Remove possible qt containers detach (#8727)Aleksey Lysenko
* Replaced obsolete foreach-loops with for-loops * Added a copy of queries into SqlDatabase::close * Used const reference to avoid unneeded copying * Fixed Qt containers possible detach within for-loop * Removed unneeded copies before for-loops
2021-06-10Replaced while-loop with for-loopOleksii Lysenko
2021-06-10Removed obsolete Q_FOREACH macroOleksii Lysenko
2021-05-26Sort account listHannah von Reth
2021-05-05Fix ouath credential loadingHannah von Reth
Issue was introduced in 3d878bae27ba22ecdf07313725b085b84c62af1a
2021-03-24Use uuid as main identifier for accountsHannah von Reth
2021-03-12Implement a central credential managerHannah von Reth
2020-11-10Revert "Add idp username, used for oidc authentication"Hannah von Reth
This reverts commit b9a0df55ad0677c354f84c6f9d0fa01a471f4713. The issue of getting ocis internal identifier instead of the user name was fixed in ocis.
2020-10-28Add idp username, used for oidc authenticationHannah von Reth
2020-10-07Ensure that we always have a display name ready when we register a folderHannah von Reth
Fixes: #8103
2020-07-15Fix assert overload, not supported by msvcHannah von Reth
warning C4002: too many arguments for function-like macro invocation 'ENFORCE_1'
2020-07-09Log: Only print 'Saved account settings' in debug modeHannah von Reth
Don't log that there was no error...
2020-06-25OAuth: correctly initialise the auth typeHannah von Reth
2020-02-10[SSL] Properly restore user accepted certificatsHannah von Reth
2020-02-03Fix saving of cookiesHannah von Reth
Fixes: #7700
2019-03-04Merge remote-tracking branch 'origin/2.5'Christian Kamm
2019-03-04AccountManager: load the cookiesOlivier Goffart
For issue #7054
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-05-24Settings migration: Preserve future settings where possibleChristian Kamm
See discussion in #6506
2018-05-24Config: Add version flags to accounts and foldersChristian Kamm
Also, if there is too-new configuration, backup the file, show a warning message asking the user whether it's ok to discard the configuration from the future. See #6504
2017-09-21Use the Qt5 connection syntax (automated with clazy)Olivier Goffart
This is motivated by the fact that QMetaObject::noralizeSignature takes 7.35% CPU of the LargeSyncBench. (Mostly from ABstractNetworkJob::setupConnections and PropagateUploadFileV1::startNextChunk). It could be fixed by using normalized signature in the connection statement, but i tought it was a good oportunity to modernize the code. This commit only contains calls that were automatically converted with clazy.
2017-09-05Move Utility to a new common static libraryJocelyn Turcotte
Now that csync builds as C++, this will avoid having to implement functionalities needed by csync mandatorily in csync itself. This library is built as part of libocsync and symbols exported through it. This requires a relicense of Utility as LGPL. All classes moved into this library from src/libsync will need to be relicensed as well.
2017-05-22Account: forget credentials on delete #5752Christian Kamm
2017-05-17Apply clang-formatChristian Kamm
2017-05-11Upgrade some qCDebug to qCInfo or qCWarningJocelyn Turcotte
Use qCInfo for anything that has general value for support and development. Use qCWarning for any recoverable error and qCCritical for anything that could result in data loss or would identify a serious issue with the code. Issue #5647
2017-05-11Use Qt logging categories for loggingJocelyn Turcotte
This gives more insight about the logs and allow setting fine-tuned logging rules. The categories are set to only output Info by default so this allows us to provide more concise logging while keeping the ability to extract more information for a specific category when developping or debugging customer issues. Issue #5647
2017-02-08Settings: Don't migrate settings on access error #5499 (#5523)ckamm
Previously, we'd try migrating from legacy settings if reading the settings failed with an error. Now, we try again after a couple of seconds and eventually give up.
2017-02-08AccountManager: Fix small leak in the account migration codeOlivier Goffart
The QSettings object was not deleted in every possible code paths
2017-01-26Cookies: Use different DB for different accounts (#5490)Markus Goetz
This is a follow up to #5469
2017-01-11Log the auth type being used for accountsChristian Kamm
There have been hard to track down bugs related to the wrong auth type being used.