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-10-12Don't use nullptr for QFlagsNicolas Fella
This fixes some deprecation warnings Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
2020-09-01Enable the bugprone-branch-clone clang-tidy checkKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-08-31Enable all the misc clang-tidy check except oneKevin Ottens
This flagged mostly unused parameters. Didn't enable the misc-non-private-member-variables-in-classes check as we got a lot of those. Hopefully we'll get to fix them at some point but that feels too early and too much work for now. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-07-23Let context menu open wizard if there are no accountsStephan Beyer
The context menu offers to open the main dialog and the settings even if no accounts are configured. In this case, the main dialog is useless and the settings are probably confusing. Hence, this commit replaces these actions in the context menu by an action to open the wizard (which also opens on left click, so this is the most natural thing to do). Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
2020-07-21Fixed copy/paste bug, resulting in a wrong signal ::pauseSync used instead ↵Dominique Fuchs
of ::resumeSync Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-07-02Fix #2085 new tray menu.Camila
Update systray behavior and context menu: - left click brings up the new QtQuick based dialogs on all latforms - right click brings up the new QtQuick based dialog on Mac OS only - right click brings up a context menu on all other platforms than Mac OS - "Quit Nextcloud" => "Exit Nextcloud" - Add "Open main dialog" option. Signed-off-by: Camila <hello@camila.codes>
2020-06-24Fix SEGV (by circular ownership) at exitStephan Beyer
Commit a12205f322d43476230881192616e47c9cf786ef (PR #1891) introduced a circular ownership: qmlRegisterSingletonType<Systray>(...) makes the QQmlEngine own the resulting singleton Systray instance, however, the QQmlEngine _trayEngine itself is owned by the Systray instance. This circular ownership results in a crash when the destructor of Systray calls the destructor of _trayEngine which attempts to call the destructor of Systray. This commit solves this problem by making ownCloudGui, which is the parent of Systray, the parent of the _trayEngine. Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
2020-06-17Bring forward the main systray dialog on second executionKevin Ottens
Previously we were showing up the settings dialog but it doesn't quite make sense anymore now that we got two dialogs. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-06-17Also show the window on right clickKevin Ottens
Note this won't work on all platforms. KDE Plasma and GNOME Shell (with systray extension) assume that right click is necessarily for a context menu exposed via D-Bus, there's not nice way to make the right click popup the main dialog on those platforms. 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-05-20Merge remote-tracking branch 'origin/master' into traywindow-listview-actionsDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-05-20Use auto to avoiding repeating type namesKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-05-20More code cleanupand style-preference adjustments.Dominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-05-20Removed publiclink param and corresponding if branch.Dominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-05-20Code cleanup and this-> removals.Dominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-04-25Implemented share functionality in tray window and changed actions / button ↵Dominique Fuchs
logic. Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-01-19Fix crash on start without any accountsDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> (cherry picked from commit 9935606c87ec4818f04c7d7c63d2f4b61187eead) Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-01-15Fetch server Apps in AccountState (moved from ownCloudGui)Michael Schuster
- Add a new class AccountApp to keep them in an AccountAppList and also save properties like ID and Icon URL. - Clear the app list upon re-fetch to avoid endlessly growing lists like in the previous implementation in ownCloudGui. 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-11Systray now a singleton with instance(), show tray on finished wizardDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-01-11Tray creation timing, account menu reinstantiating on visible changeDominique 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-05Code cleanup regarding context menu. Pause/resume logic implemented. Halfway ↵Dominique Fuchs
through remodeling account menu. Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-01-05Focus and popup improvements for macOSDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-01-04Quit/settings button in tray menu, disable context menu, font size fixesDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2020-01-03Gigantic ton of changes and deletions: ActivityListModel, tray GUI, Account ↵Dominique Fuchs
logic. 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-30Backend code separation & structure cleanupDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2019-12-30Added popup show/hide logicDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2019-12-24Add helper slots and signals to catch SettingsDialog's window activation eventsMichael Schuster
Signal the SettingsDialog's window activation event down to ownCloudGui and Application, so that other classes can hook in to get notified when the SettingsDialog is being shown again. This approach has been chosen because we otherwise would have to deal with new instance pointers of the current SettingsWindow - but Application is already there ;-) Purpose: The floating re-auth windows of the WebFlowCredentialsDialog often get hidden behind the SettingsDialog, and the users have to minimize a lot of other windows to find them again. This commit implements the preparation for the upcoming fix commit. 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-04Connected AccountWizard with new account action in tray menu, minor fixesDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2019-12-04Minor preps for c++ ActivityListModel impl. in QMLDominique 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-12-03Restructures and refactorings: New systray class, handling of current user ↵Dominique Fuchs
selection, integration of user information in tray window header
2019-12-02WIP: Extending systray class, transitioning towas independent ActivityModel ↵Dominique Fuchs
inclusion
2019-10-27Add new qml tray icon.Camila San
This is a work in progress. Signed-off-by: Camila San <hello@camila.codes>
2019-10-23Fix duplicate items in Apps menu (a bug introduced in #1477)Sergey Zolotarev
Signed-off-by: Sergey Zolotarev <sryze@protonmail.com>
2019-10-05Prevent jumping of tray menuSergey Zolotarev
Instead of adding the "Apps" menu after the apps are fetched, add it from the start (together with other actions) but in a disabled state, and enable it after the apps data is ready. Signed-off-by: Sergey Zolotarev <sryze@protonmail.com>
2019-05-28Change »Details…« to »View more activity…«ivyclare
Signed-off-by: ivyclare <ivolinengong@gmail.com>
2018-11-11GUI: run clang-tidy modernize-use-nullptrJ-P Nurmi
2018-09-09fixup: remove outdated Qt5.5 workaround codeChristian Kamm
2018-09-09fixup: use initializer for contextMenuVisibleManualChristian Kamm
2018-09-09fixup: make logging "info"Christian Kamm
2018-09-09Tray workarounds #6545Christian Kamm
* Disentangle the previous 'qdbusWorkarounds' into three different things * Make not trusting tray.isVisible() a new workaround * Introduce env vars for all workaround flags * Use the workaround flags for OSX * Determine workaround flags for KDE when the plasma integration plugin is missing
2018-08-29Rename Unpause to ResumeÓscar Nájera
Fix #192
2018-08-21Removes dynamic cast when building navigation apps.Camila San
- It checks for the menu title to know where to add the apps menu instead of trying to cast the menu pointer saved in the sender() property. - The previous solution was not working reliably - see #523 - Adds TODO. Signed-off-by: Camila San <hello@camila.codes>