nextcloud-desktop/src/gui
Matthieu Gallien bc9b7a05f4
repay some desbt in ActivityListModel::data
only valid index are sent to QAbstractItemModel::data

we may want to do more checks in debug mode, let's do it

if we are going to show data, let's use a const variable to contain the
current activity item

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-05-17 18:16:08 +02:00
..
cloudproviders use new connect syntax 2023-02-28 09:36:27 +01:00
creds move init to default value in class declaration 2023-02-06 10:43:05 +01:00
filedetails remove scary warning that is a false alarm 2023-05-17 18:16:08 +02:00
macOS Do not initialise file provider module if not enabled in config 2023-05-12 16:02:39 +08:00
socketapi fix compilation with clazy and fully-qualified-moc-types checks enabled 2023-04-11 11:34:00 +02:00
tray repay some desbt in ActivityListModel::data 2023-05-17 18:16:08 +02:00
updater move init to default value in class declaration 2023-02-06 10:43:05 +01:00
wizard Use addLayout to insert the VFS option when setting account. 2023-05-09 15:27:24 +00:00
accountmanager.cpp Don't ask user whether to import legacy account configs if forcing legacy import 2023-05-16 21:23:43 +08:00
accountmanager.h Add forceLegacyImport property to accountmanager 2023-05-16 21:23:43 +08:00
accountsettings.cpp use a getter to query encryption status 2023-03-31 17:18:28 +02:00
accountsettings.h fix compilation with clazy and fully-qualified-moc-types checks enabled 2023-04-11 11:34:00 +02:00
accountsettings.ui Handle the warning message when unchecking folders for syncing. 2020-12-14 12:36:51 +01:00
accountsetupcommandlinemanager.cpp store in config file that we want to enable vfs when generating config 2023-03-22 10:17:28 +01:00
accountsetupcommandlinemanager.h store in config file that we want to enable vfs when generating config 2023-03-22 10:17:28 +01:00
accountsetupfromcommandlinejob.cpp Fix review comments from Claudio II. 2022-12-30 14:46:06 +01:00
accountsetupfromcommandlinejob.h fix compilation with clazy and fully-qualified-moc-types checks enabled 2023-04-11 11:34:00 +02:00
accountstate.cpp Remove unused AccountState::writeToSettings 2023-02-14 20:22:51 +01:00
accountstate.h Remove unused AccountState::writeToSettings 2023-02-14 20:22:51 +01:00
addcertificatedialog.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
addcertificatedialog.h let clang-tidy add missing override after enabling again the check 2021-08-31 08:35:56 +00:00
addcertificatedialog.ui l10n: Delete space and change capital letter 2021-04-28 11:41:06 +00:00
application.cpp Rename forcelegacyimport option to clearer forcelegacyconfigimport 2023-05-16 21:23:43 +08:00
application.h Ensure file provider class is correctly deallocated and cleanup routines are run 2023-05-12 13:21:07 +08:00
authenticationdialog.cpp Make client language gender-neutral and more clear 2022-06-24 14:36:36 +02:00
authenticationdialog.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
BasicComboBox.qml add missing copyright notices and upgrade qml module imports 2023-05-17 18:16:07 +02:00
callstatechecker.cpp Increase the call state checking interval to not overload the server 2022-07-01 14:44:46 +02:00
callstatechecker.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
caseclashfilenamedialog.cpp fix copyright notice of new files 2023-01-25 16:37:37 +01:00
caseclashfilenamedialog.h fix copyright notice of new files 2023-01-25 16:37:37 +01:00
caseclashfilenamedialog.ui l10n: Correct word 2023-01-31 12:59:01 +01:00
CMakeLists.txt model: first step 2023-05-17 08:43:54 +02:00
cocoainitializer.h Apply clang-format 2017-05-17 12:26:27 +02:00
cocoainitializer_mac.mm Remove unused app pointer in CocoaInitializer 2022-11-08 15:43:25 +01:00
configgui.h.in Use different icon for a sync folder on Windows depending on zoom level. 2021-12-07 15:48:16 +00:00
ConflictDelegate.qml define constants specific for font sizes in conflict dialog 2023-05-17 08:43:54 +02:00
conflictdialog.cpp Format some QLabels as plain text 2022-12-07 17:18:57 +01:00
conflictdialog.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
conflictdialog.ui Add a conflict dialog to help the user solve them 2020-10-22 16:40:46 +02:00
ConflictItemFileInfo.qml define constants specific for font sizes in conflict dialog 2023-05-17 08:43:54 +02:00
conflictsolver.cpp Add KeepBothVersions as a possible solution to ConflictSolver 2020-10-22 16:40:46 +02:00
conflictsolver.h solve multiple conflicts from choose resolution 2023-05-17 08:43:54 +02:00
connectionvalidator.cpp move init to default value in class declaration 2023-02-06 10:43:05 +01:00
connectionvalidator.h move init to default value in class declaration 2023-02-06 10:43:05 +01:00
editlocallyjob.cpp Allow opening a file or folder in the local sync root. 2023-05-16 12:33:34 +02:00
editlocallyjob.h Allow opening a file or folder in the local sync root. 2023-05-16 12:33:34 +02:00
editlocallymanager.cpp Remove unnecessary signalling response to start edit locally, just start it within the job 2023-04-23 22:48:41 +08:00
editlocallymanager.h Edit locally job will only sync a specific file by modifying the state of the Sync Engine. All other running syncs will get terminated. Syncing is now optimized to run faster and it checks if the file has changed on the server before syncing it. 2022-12-06 09:37:03 +01:00
elidedlabel.cpp Remove redundant initialization of ElidedLabel::_elideMode 2020-07-08 14:08:41 +02:00
elidedlabel.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
emojimodel.cpp Add dialog to set user status 2021-09-09 11:18:22 +02:00
emojimodel.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
EmojiPicker.qml Introduce EnforcedPlainTextLabel, convert all Label or Text labels to use this 2022-12-05 15:21:09 +01:00
ErrorBox.qml add missing copyright notices and upgrade qml module imports 2023-05-17 18:16:07 +02:00
fileactivitylistmodel.cpp Check for state of file record retrieval in fileactivitylistmodel 2022-10-31 18:06:09 +01:00
fileactivitylistmodel.h Use [[nodiscard]] more broadly in methods returning values, and respect it elsewhere 2022-10-31 18:06:07 +01:00
filetagmodel.cpp Add overflow tag string property to filetagmodel which stringifies omitted tags 2023-05-16 18:23:33 +08:00
filetagmodel.h Add overflow tag string property to filetagmodel which stringifies omitted tags 2023-05-16 18:23:33 +08:00
folder.cpp Allow opening a file or folder in the local sync root. 2023-05-16 12:33:34 +02:00
folder.h Unlock Office files when they are closed. 2023-04-25 12:54:37 +02:00
foldercreationdialog.cpp Notify when folder is created with full folder path in FolderCreationDialog 2023-02-14 18:27:03 +01:00
foldercreationdialog.h Notify when folder is created with full folder path in FolderCreationDialog 2023-02-14 18:27:03 +01:00
foldercreationdialog.ui Put FolderCreationDialog into the OCC namespace. 2021-02-05 16:27:25 +01:00
folderman.cpp Use canonical file paths rather than problematic relative config file paths during folder migration in FolderMan 2023-05-08 22:56:33 +08:00
folderman.h model: first step 2023-05-17 08:43:54 +02:00
folderstatusdelegate.cpp Constify elements for progress bar rect calculation in FolderStatusDelegate::paint 2023-05-08 20:04:56 +08:00
folderstatusdelegate.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
folderstatusmodel.cpp use a getter to query encryption status 2023-03-31 17:18:28 +02:00
folderstatusmodel.h use a getter to query encryption status 2023-03-31 17:18:28 +02:00
folderstatusview.cpp Use the return braced init list pattern 2020-05-27 14:36:07 +02:00
folderstatusview.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
folderwatcher.cpp Unlock Office files when they are closed. 2023-04-25 12:54:37 +02:00
folderwatcher.h Unlock Office files when they are closed. 2023-04-25 12:54:37 +02:00
folderwatcher_linux.cpp FolderWatcher: Become unreliable if test notification fails #7241 2020-11-24 16:56:49 +00:00
folderwatcher_linux.h more fixes for attributes without init value 2023-02-06 10:43:05 +01:00
folderwatcher_mac.cpp Replace now deprecated FSEventStreamScheduleWithRunLoop with FSEventStreamSetDispatchQueue 2023-01-02 18:05:54 +01:00
folderwatcher_mac.h FolderWatcher: Wait for ready before testing #7305 2020-11-24 16:56:49 +00:00
folderwatcher_win.cpp fix issues reported by compiling windows code with clang-tidy 2023-02-22 16:50:20 +01:00
folderwatcher_win.h Win: Use full Windows paths in file watcher and improve logging 2020-12-15 10:59:16 +01:00
folderwizard.cpp when local sync folder is overriden, respect this choice 2023-03-31 09:21:48 +02:00
folderwizard.h move init to default value in class declaration 2023-02-06 10:43:05 +01:00
folderwizardsourcepage.ui l10n: Triple dot to ellipsis 2020-02-05 06:50:27 +01:00
folderwizardtargetpage.ui l10n: Change case of one word 2020-02-24 11:08:56 +01:00
generalsettings.cpp Remove unused parameter in GeneralSettings slotUpdateChannelChanged 2023-05-08 19:06:58 +08:00
generalsettings.h Remove unused parameter in GeneralSettings slotUpdateChannelChanged 2023-05-08 19:06:58 +08:00
generalsettings.ui Revert "Merge pull request #5366 from nextcloud/bugfix/remove-mono-icons-setting" 2023-01-27 12:23:11 +01:00
gui.md Structure developer documentation 2015-06-29 18:43:21 +02:00
guiutility.cpp Validate sensitive URLs to onle allow http(s) schemes. 2021-02-09 15:00:35 +02:00
guiutility.h Default parameter nullptr widget for openBrowser. 2021-02-09 08:40:51 +00:00
iconutils.cpp prevent a 0 size to assert when creating icon from svg 2023-05-17 18:16:08 +02:00
iconutils.h Fix review comments. Use QImage for QML and QPixmap for rest of code. Do not cache images for QML. Fix tests. Use signal in QML. 2021-11-04 20:50:51 +00:00
ignorelisteditor.cpp l10n: Replace apostrophe with double quotation 2021-07-30 06:21:05 +00:00
ignorelisteditor.h let clang-tidy add missing override after enabling again the check 2021-08-31 08:35:56 +00:00
ignorelisteditor.ui IgnoreListEditor: increase a bit the size 2020-12-15 10:58:21 +01:00
ignorelisttablewidget.cpp l10n: Replace apostrophe with double quotation 2021-07-30 06:21:05 +00:00
ignorelisttablewidget.h let clang-tidy add missing override after enabling again the check 2021-08-31 08:35:56 +00:00
ignorelisttablewidget.ui Fixed some missing 'translatable' exclusions, added missing window titles in flow dialogs 2019-09-25 14:02:59 +02:00
invalidfilenamedialog.cpp Format some QLabels as plain text 2022-12-07 17:18:57 +01:00
invalidfilenamedialog.h Allow manual renaming of files and folders with spaces. Allow uploading invalid file name via the InvalidFileName dialog. 2022-05-16 18:07:26 +03:00
invalidfilenamedialog.ui Format some QLabels as plain text 2022-12-07 17:18:57 +01:00
legalnotice.cpp Update legal notice text 2023-01-23 15:37:56 +01:00
legalnotice.h let clang-tidy add missing override after enabling again the check 2021-08-31 08:35:56 +00:00
legalnotice.ui Fix Legal notice dialog: Correct title and header font 2020-03-09 00:41:59 +01:00
lockwatcher.cpp Test: Add test for locked file tracking and propagation 2020-12-15 10:58:17 +01:00
lockwatcher.h LockWatcher: Add chrono header 2020-12-15 10:58:20 +01:00
logbrowser.cpp Log Window: Create and open folder properly #7166 2020-12-15 10:58:50 +01:00
logbrowser.h let clang-tidy add missing override after enabling again the check 2021-08-31 08:35:56 +00:00
main.cpp basic implementation of a dialog to resolve conflicts as a batch 2023-05-17 08:43:54 +02:00
manifest-mingw.rc Add manifest file on Windows to make the application UAC aware. 2016-11-14 12:16:58 +01:00
mnemonicdialog.ui E2EE. Do not generate keypair without user request. 2022-11-01 09:18:28 +01:00
navigationpanehelper.cpp Display VFS sync folder within the navigation panel on Windows. 2021-04-16 07:18:44 +00:00
navigationpanehelper.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
networksettings.cpp fix instances of: c++11 range-loop might detach Qt container warnings 2022-11-18 16:02:21 +01:00
networksettings.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
networksettings.ui Network Settings: Show a warning that proxy settings do not apply to localhost 2020-12-15 10:59:03 +01:00
notificationconfirmjob.cpp Declare all QRegularExpressions statically 2022-12-20 18:38:24 +01:00
notificationconfirmjob.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
ocsjob.cpp initialize many attributes that could have been left without init value 2023-02-06 10:43:04 +01:00
ocsjob.h VFS Windows: Display the sharing state and lock state in the 'Status' column of Windows Explorer 2022-10-04 18:32:51 +02:00
ocsnavigationappsjob.cpp Adds function to add raw header to the request. 2018-05-07 18:03:42 +02:00
ocsnavigationappsjob.h Adds function to add raw header to the request. 2018-05-07 18:03:42 +02:00
ocsshareejob.cpp Fixed slow sharee search in the share dialog 2020-12-08 13:48:43 +00:00
ocsshareejob.h Fixed slow sharee search in the share dialog 2020-12-08 13:48:43 +00:00
ocssharejob.cpp Implement missing share settings 2023-04-27 12:54:54 +02:00
ocssharejob.h Implement missing share settings 2023-04-27 12:54:54 +02:00
openfilemanager.cpp Fix various deprecated warnings 2021-09-08 08:54:00 +00:00
openfilemanager.h License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
owncloud.exe.manifest-mingw Add manifest file on Windows to make the application UAC aware. 2016-11-14 12:16:58 +01:00
owncloud.xml.in Virtual Files Mime Type: use "vnd." prefix instead of "x-" 2020-12-15 10:58:03 +01:00
owncloudgui.cpp remove custom property and use standard sourceModel for our proxy model 2023-05-17 18:16:08 +02:00
owncloudgui.h initialize many attributes that could have been left without init value 2023-02-06 10:43:04 +01:00
owncloudsetupwizard.cpp store in config file that we want to enable vfs when generating config 2023-03-22 10:17:28 +01:00
owncloudsetupwizard.h let clang-tidy add missing override after enabling again the check 2021-08-31 08:35:56 +00:00
passwordinputdialog.cpp Fix review comments. 2022-01-12 10:36:25 +00:00
passwordinputdialog.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
passwordinputdialog.ui Fix review comments. 2022-01-12 10:36:25 +00:00
PredefinedStatusButton.qml Drop dependency on Qt Quick Controls 1 2023-01-06 17:22:56 +01:00
profilepagewidget.cpp Add profile page 2021-11-10 13:11:47 +01:00
profilepagewidget.h Add profile page 2021-11-10 13:11:47 +01:00
proxyauthdialog.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
proxyauthdialog.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
proxyauthdialog.ui Fixed some missing 'translatable' exclusions, added missing window titles in flow dialogs 2019-09-25 14:02:59 +02:00
proxyauthhandler.cpp ProxyAuthHandler Use QPointer instead of QWeakPointer 2020-12-15 10:59:05 +01:00
proxyauthhandler.h add [[nodiscard]] attribute via clang-tidy 2022-10-04 11:14:45 +02:00
remotewipe.cpp use new connect syntax 2023-02-28 09:36:27 +01:00
remotewipe.h move init to default value in class declaration 2023-02-06 10:43:05 +01:00
ResolveConflictsDialog.qml model improvements 2023-05-17 08:43:54 +02:00
selectivesyncdialog.cpp move init to default value in class declaration 2023-02-06 10:43:05 +01:00
selectivesyncdialog.h move init to default value in class declaration 2023-02-06 10:43:05 +01:00
settingsdialog.cpp Fetch account avatar info on account action construction, fixing avatar only showing up when action is clicked 2023-02-28 18:08:29 +01:00
settingsdialog.h Fix currentPage QPROPERTY missing NOTIFY in settingsdialog class 2023-01-02 17:04:30 +01:00
settingsdialog.ui Don't customize settings dialog palette 2021-03-12 11:47:16 +01:00
sharee.cpp Display 'Search globally' as the last sharees list element 2023-03-03 18:01:05 +01:00
sharee.h Display 'Search globally' as the last sharees list element 2023-03-03 18:01:05 +01:00
sharemanager.cpp Implement missing share settings 2023-04-27 12:54:54 +02:00
sharemanager.h Implement missing share settings 2023-04-27 12:54:54 +02:00
sharepermissions.h Add a suite of tests for ShareModel 2022-10-31 18:06:09 +01:00
shareuserline.ui ShareDialog: group links and users in one scrollbar. 2022-01-13 10:39:11 +00:00
shellextensionsserver.cpp Implement 'Leave this share' context menu entry. Fix incorrect sharing state for incoming and my shares in custom state icons and local database. 2022-11-22 12:14:20 +01:00
shellextensionsserver.h Implement 'Leave this share' context menu entry. Fix incorrect sharing state for incoming and my shares in custom state icons and local database. 2022-11-22 12:14:20 +01:00
sslbutton.cpp Use auto to avoiding repeating type names 2020-05-20 03:54:41 +02:00
sslbutton.h GUI: run clang-tidy modernize-use-nullptr 2018-11-11 10:56:22 +01:00
sslerrordialog.cpp move init to default value in class declaration 2023-02-06 10:43:05 +01:00
sslerrordialog.h move init to default value in class declaration 2023-02-06 10:43:05 +01:00
sslerrordialog.ui Marking unused strings as unstranslatable 2019-05-14 20:07:08 +02:00
syncconflictsmodel.cpp model improvements 2023-05-17 08:43:54 +02:00
syncconflictsmodel.h model improvements 2023-05-17 08:43:54 +02:00
syncrunfilelog.cpp Declare all QRegularExpressions statically 2022-12-20 18:38:24 +01:00
syncrunfilelog.h Remvoe now unneeded SyncRunFileLog::directionToStr 2020-12-15 10:59:11 +01:00
systray.cpp improve reliability of memeory management when creating conflicts dialog 2023-05-17 08:43:54 +02:00
systray.h replace "Sync now" button by "Solve all conflicts" for many conflicts 2023-05-17 08:43:54 +02:00
systray.mm Add Talk message type of notifications to native macOS notifications 2022-12-09 14:36:12 +01:00
thumbnailjob.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
thumbnailjob.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
tooltipupdater.cpp avoid possibly crashing static_cast 2022-10-03 10:23:24 +02:00
tooltipupdater.h GUI: search'n'replace remaining "Q_DECL_OVERRIDE" with "override" 2018-11-11 11:12:37 +01:00
userinfo.cpp move init to default value in class declaration 2023-02-06 10:43:05 +01:00
userinfo.h move init to default value in class declaration 2023-02-06 10:43:05 +01:00
UserStatusSelector.qml Drop dependency on Qt Quick Controls 1 2023-01-06 17:22:56 +01:00
UserStatusSelectorButton.qml Drop dependency on Qt Quick Controls 1 2023-01-06 17:22:56 +01:00
userstatusselectormodel.cpp Fix typo of connector 2022-11-14 09:43:36 +01:00
userstatusselectormodel.h fully qualify types in signals and slots 2022-11-15 09:57:54 +01:00
UserStatusSelectorPage.qml Make user status selector modal, show user header 2022-11-09 17:39:28 +01:00
version.rc.in Use correct values for items in version.rc 2016-02-17 14:16:29 +01:00