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-29Don't hold ref to value returned from function.Harald Eilertsen
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
2020-09-29gui/accountstate: Replace foreach (#2219)Harald Eilertsen
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
2020-08-18Show the "Display mnemonic" button only when we know e2e is supportedKevin Ottens
Turns out that showing the button straight from the page ctor is a bit too early. At that point the account might not be connected yet and thus we wouldn't have proper information. Currently we were displaying that button all the time, now we wait for the account to be connected to decide to show it or not. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-08-13Enable the modernize-deprecated-headers check on clang-tidyKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-08-11Keep the E2EE info message around to allow displaying mnemonicKevin Ottens
We lost the ability to display the E2EE mnemonic during the GUI redesign and the info message wasn't displayed again on restart. So now we display it every time, it still can be dismissed and the button text is different in such a case to make the intent clearer. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-07-02Don't display quota information when the user has no quota.Camila
- The code handling the api response was not up to date with the latest api changes. - Unlimited quota display: use qint64 to avoid data loss - Change total with quota: total holds the quota total and not the storage total. Signed-off-by: Camila <hello@camila.codes>
2020-07-01Change the space character to a dotValdnet
Change the space character to a dot in the text string
2020-06-30Mark user strings for translationKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-06-30Move the encrypt folder logic in a reusable job classKevin Ottens
This way this whole logic isn't stuck into the settings dialog anymore. Also cleaned up the unused "decrypt folder" logic. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-06-30Fix typoKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-06-30Don't show the encrypt action in subfolders of encrypted foldersKevin Ottens
Since we want to move to a place where the encryption of subfolders is always enforced it makes no sense to leave it in control of the user. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-06-30Fix typoKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-06-30Capture the pointer to info by valueKevin Ottens
Using a reference capture is a disaster waiting to happen here, if for some reason we'd move from exec() to popup() for the menu below we'd be getting garbage in the lambda call. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-06-11Simplify nullptr comparisons where appropriateMichael Schuster
Make the codebase consistent, we already have a lot of implicit pointer comparisons. Exception: Stay explicit on return's, example: return _db != nullptr; Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-03Do not declare local variables without an initial value.Camila San
Signed-off-by: Camila San <hello@camila.codes>
2020-05-20Use auto to avoiding repeating type namesKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-02-14Add UserInfo class and fetch quota via API instead of PropfindJobMichael Schuster
The PropfindJob quota includes the size of shares and thus leads to confusion in regard of the real space available, as shown in the UI. This commit aims to streamline the behaviour with the Android and iOS apps, which also utilize the API. Details: - Refactor the QuotaInfo class into UserInfo - Use JsonApiJob (ocs/v1.php/cloud/user) instead of PropfindJob - Let ConnectionValidator use the new UserInfo class to fetch the user and the avatar image (to avoid code duplication) - Allow updating the avatar image upon AccountSettings visibility, using UserInfo's quota fetching Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-01-12Show activitylist on initial tray opening when logged inDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-01-12Removed old account toolboxDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-01-12Bunch of fixes and optimizations for activityListDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-01-10UserLine drafting, bugfixes, restucturesDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-01-02Fix merge conflictDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2019-12-20Fix build (missing refactoring)Michael Schuster
Signed-off-by: Michael Schuster <michael@schuster.ms>
2019-12-20Refactor ActivitySettings: Rename member variable ui to _uiMichael Schuster
Signed-off-by: Michael Schuster <michael@schuster.ms>
2019-12-20Make AccountSettings and ActivitySettings background-aware (Dark-/Light-Mode ↵Michael Schuster
switching) Signed-off-by: Michael Schuster <michael@schuster.ms>
2019-12-20Change error link colour in AccountSettings::showConnectionLabelMichael Schuster
Signed-off-by: Michael Schuster <michael@schuster.ms>
2019-12-09Make SettingsDialog background-aware (Dark-/Light-Mode switching)Michael Schuster
Use customizeStyle() to change link colours in the SettingsDialog and notify it's widgets via slots. Also modify the background colour of the errors messages in AccountSettings::showConnectionLabel to always use an appropiate colour for it's custom-defined background. Signed-off-by: Michael Schuster <michael@schuster.ms>
2019-12-09Remove submodule qtmacgoodies and the MacSettingsDialog classMichael Schuster
Reverts back to the SettingsDialog class because of bugs and glitches with more recent Qt versions (Qt 5.12) and with the macOS Dark Mode. See upstream: https://github.com/owncloud/client/pull/7492 Signed-off-by: Michael Schuster <michael@schuster.ms>
2019-12-09Merge remote-tracking branch 'origin/master' into qml-tray-menuDominique Fuchs
2019-12-04Working on account switchingDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2019-12-03Use … instead of 3 dotsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-03Fix some translationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.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-08-15Fix some typosSamir Benmendil
Signed-off-by: Samir Benmendil <me@rmz.io>
2019-08-15Add menu action to main sync folder tooSamir Benmendil
Signed-off-by: Samir Benmendil <me@rmz.io>
2019-08-15Add menu action to each subfolderSamir Benmendil
Signed-off-by: Samir Benmendil <me@rmz.io>
2019-05-18Removed ellipsis from the button textIvan Čukić
2019-05-14Changed the message to 'Enable encryption...'Ivan Čukić
2019-05-11E2E UI setup polighIvan Čukić
- Text changed to "Enable..." instead of "Setup" - The close icon follows NC style - "end-to-end" instead of "end to end" Signed-off-by: Ivan Čukić <ivan.cukic@kde.org>
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-11GUI: run clang-tidy modernize-use-nullptrJ-P Nurmi
2018-11-09Actually open the activity view on a click for more infoRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-01Fix the hiddensync state in the UI + also sync hidden in cmdTobia De Koninck
2018-07-02gui Q_UNUSEDRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-22Hide decrypt option since it does only work for empty foldersJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-22Use custom mnemonic dialogJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-21Add a button to E2E accounts to show the mnemonicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-08Fix windows buildRoeland Jago Douma
* Reorder openssl header import * not => ! Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-04Forbid to encrypt or decrypt a non-empty folder.Tomaz Canabrava
The specs forbid the encryption or decryption of a non empty folder. so... 1 - check for the sync status, if it's not synced return as there's no way that I can say that there's items on the server right now without waiting for the sync to finish 2 - verify if the folder is empty locally as the user could have send some files to the folder.
2018-03-25Return empty metadata in case of error, Display error to the user.Tomaz Canabrava