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

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-29Replace find_if with none_of where appropriate.Harald Eilertsen
We're not interested in any found element in these cases, just to check that none of the elements matches. Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
2020-09-29gui/accountmanager: Make isAccountIdAvailable a bit clearer.Harald Eilertsen
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
2020-09-29gui/accountmanager: Replace foreach/Q_FOREACH (#2219)Harald Eilertsen
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
2020-05-20Use auto to avoiding repeating type namesKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2019-10-17Once client gets 401/403 from the server, check if remote wipe was requested.Camila San
- When the the users logs because of 401 or 403 errors, it checks if the server requested the remote wipe. If yes, locally deletes account and folders connected to the account and notify the server. If no, proceeds to ask the user to login again. - The app password is restored in the keychain. - WIP: The change also includes a test class for RemoteWipe. Signed-off-by: Camila San <hello@camila.codes>
2019-05-09Added a nice UI for the E2E-enabled account first connectIvan Čukić
Instead of immediately popping up the mnemonic dialogue, only show a notification bar on the account setup page. For the cases where the user does not want to use E2E, this is significantly less intrusive than the old approach.
2018-11-17Fixed typorakekniven
Reported at Transifex. Signed-off-by: Mark Ziegler <mark.ziegler@rakekniven.de>
2018-11-09l10n. Added space for correct grammar.rakekniven
Signed-off-by: Mark Ziegler <mark.ziegler@rakekniven.de>
2018-11-03Migrate http auth to webflowRoeland Jago Douma
This moves all the basic http auth over to the webflow mechanism. This thus also makes sure that if the password changes a webflow page pops up. And thus will directly move them over to apptokens then. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-13Update accountmanager.cppstorca
Fixed syntax error Possible fix for issue #720
2018-10-13Update accountmanager.cppstorca
Fixed issue #720 by adding the isWrittable method
2018-06-22Use custom mnemonic dialogJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-02-02Better explanation for encryption passphraseDaniel Nicoletti
FIXES: #149
2018-01-21[CSE] Move code to display minemonic out of the libsyncTomaz Canabrava
The libsync should not contain Qt Widget related code.
2017-12-28Prepend "nextcloud" for all logging categoriesDaniel Nicoletti
Thus making easier to exclude logging from kio, qt and only enable "nextcloud.*"
2017-12-20Forget key + cert + mnemonic on account removalRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-10-05Use 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-10-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.
2017-01-03Fixup broken authType on load #5408Christian Kamm
2017-01-02Fix up SSL client certificates #5213 #69 (#5289)Markus Goetz
The re-enables the UI, uses Qt API for importing and stores the certificate/key in the system keychain. People who had set up client certs need to re-setup the account. This is ok since it was an undocumented feature anyway.
2016-11-18Merge pull request #5272 from owncloud/licensefix-pendingckamm
License: Adjust license of GPLv2 source files to GPLv2+
2016-10-25Move concatUrl and settingsWithGroup to UtilityChristian Kamm
There was little reason to keep them cluttering Account.
2016-10-25Account: Remove wasMigrated/setMigratedChristian Kamm
It was unused since early in the multi-account work: a932eac832b442cca763197240f036905dd284da
2016-10-25License: Adjust license of GPLv2 source files to GPLv2+Christian Kamm
See #5180
2016-10-11AccountManager: do not load invalid accountOlivier Goffart
Some tests (such as FolderManTest) can polute the config file with invalid accounts. (That's because most of the code, (even in libsync) always instentiate a ConfigFile)
2016-06-28AccountManager: Don't force the server URL while loading the config.Olivier Goffart
While loading the account, only override the server url if Theme::forceConfigAuthType is set. This restore the behavior from the client 2.1 for theme that did not use Theme::forceConfigAuthType. Issue: owncloud/enterprise#1418
2016-04-15AccountManager: take theURL from the Theme rather than from the config if ↵Olivier Goffart
the theme specify it (#4591) That way an upgrade of the client can actually change the URL Issue https://github.com/owncloud/enterprise/issues/1113 https://github.com/owncloud/enterprise/issues/1126 In addition to restoring commit 7e5d89293d7bd52ac42d026d34a8154fbbdf33bb, this add a way to override the auth type
2016-03-02Add warnings for old server versions #4523Christian Kamm
* A tray message on every start up * Red message in account settings * Folders are paused when the server version switches to an unsupported one
2016-03-01AccountState: Allow storing state in settingsChristian Kamm
This will be useful if we ever want to store account-level gui state. I built this originally because I thought a paused account would be this kind of state.
2016-02-25Revert "AccountManager: take theURL from the Theme rather than from the ↵Olivier Goffart
config if the theme specify it" The URL may change from shiboleth to normal authentication method. Also some people were changing the config file manually to test stuff Issue https://github.com/owncloud/enterprise/issues/1113 This reverts commit 7e5d89293d7bd52ac42d026d34a8154fbbdf33bb.
2016-02-23AccountManager: take theURL from the Theme rather than from the config if ↵Olivier Goffart
the theme specify it That way an upgrade of the client can actually change the URL Issue https://github.com/owncloud/enterprise/issues/1113
2015-11-12AccountManager: new method to return AccountStatePtr from the name.Klaas Freitag
It uses the Account displayName to destinguish.
2015-09-17Settings: Add debug output #3820Christian Kamm
2015-09-04AccountSettings: Restore from legacy only once #3565Christian Kamm
And also introduce a Accounts/version int at the same time. That may make future account settings migrations easier to manage.
2015-08-14Account: Additional on top fix for #3617Markus Goetz
2015-08-14Account: Save accepted SSL certs immediatly #3617Markus Goetz
2015-08-061.8 Migration: Fix password overwrite #3539Markus Goetz
2015-07-17System proxy: Ask for credentials if needed.Christian Kamm
The proxyAuthenticationRequired() signal now goes to the ProxyAuthHandler class. That class will try to read the proxy settings from the keychain or ask the user about them. We won't ask the user for credentials for explicitly configured proxies. It also does not change how the credentials for explicitly configured proxies are stored. (see #261)
2015-07-03TrayMenu: Ensure it updates when accounts are added or removed.Christian Kamm
2015-06-15Move Account::settings to AccountState::settingsOlivier Goffart
It is only used by the GUI. Also return a unique_ptr to make the ownership clearer
2015-05-12AccountManager: remove unused variableOlivier Goffart
2015-05-12AccountManager: save the config after removing an accountOlivier Goffart