┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/contextmenu
AgeCommit message (Collapse)Author
2024-04-02Mark servicemenu items' KNS content as riskyNate Graham
By design, these items will run arbitrary shell scripts on the user's machine. That makes them security-sensitive and risky. Mark them accordingly so the user is informed of the risk. Depends on https://invent.kde.org/frameworks/knewstuff/-/merge_requests/309
2023-11-08Adapt to KConfigGroup name officially being a QString typeFriedrich W. H. Kossebau
GIT_SILENT
2023-11-08Master is qt6 only. Not necessary to use ${QT_MAJOR_VERSION} now.Laurent Montel
Remove qt5 specific cmake code too
2023-10-24Merge branch 'master' into kf6Nicolas Fella
2023-10-24Process correct model when applying service menu changesNicolas Fella
The listview's model is a filter model, we must iterate through the source, otherwise we get incorrect results BUG: 475547
2023-10-22Remove unused includeNicolas Fella
2023-10-21Port away from KDesktopFileActions::userDefinedServicesAlexander Lohnau
This is planned to go away since the only real user being kdesvn and that is ported to a C++ plugin
2023-09-10Merge remote-tracking branch 'origin/master' into kf6Méven Car
2023-09-10Replace qAsConst with std::as_constMéven Car
2023-09-09Add open in split view actionEric Armbruster
This action is shown only if a single folder is selected. The action opens the selected folder in the inactive split view (and opens the split view if necessary). FEATURE: 465500
2023-08-29Fix a bunch of clazy warningsMéven Car
2023-08-28Clean obsolete ifdefs since dolphin requires KF 5.101+Méven Car
2023-07-09Replace ServiceItemDelegate with standard Qt item delegateNicolas Fella
We don't need a custom delegate here Using the standard one from Qt also slightly improves margins
2023-07-09Fix usage of Qt::CheckStateRole in preview modelNicolas Fella
Qt::CheckStateRole expects an enum, not a bool Also set the flag that the item it user checkable, otherwise it can't be changed BUG: 471999
2023-07-08Fix plugin queryNicolas Fella
QT_MAJOR_VERSION is undefined, the proper thing is QT_VERSION_MAJOR This causes the plugin query to not find any plugins Since we only target KF6 we might as well hardcode that
2023-07-05Merge branch 'master' into kf6Nicolas Fella
2023-07-05Add explicit moc includes to sources for moc-covered headersFriedrich W. H. Kossebau
* speeds up incremental builds as changes to a header will not always need the full mocs_compilation.cpp for all the target's headers rebuild, while having a moc file sourced into a source file only adds minor extra costs, due to small own code and the used headers usually already covered by the source file, being for the same class/struct * seems to not slow down clean builds, due to empty mocs_compilation.cpp resulting in those quickly processed, while the minor extra cost of the sourced moc files does not outweigh that in summary. Measured times actually improved by some percent points. (ideally CMake would just skip empty mocs_compilation.cpp & its object file one day) * enables compiler to see all methods of a class in same compilation unit to do some sanity checks * potentially more inlining in general, due to more in the compilation unit * allows to keep using more forward declarations in the header, as with the moc code being sourced into the cpp file there definitions can be ensured and often are already for the needs of the normal class methods
2023-06-29Use ellipsis everywhere instead of three dotsTem PQD
Better for screen readers etc.
2023-05-12Remove deprecated, ifdef'd code for old KIO versionsJakob Petsovits
2023-05-08Merge branch 'master' into kf6Méven Car
2023-05-07Port to Qt6Méven Car
2023-04-02Context menu: allow to show copy to/move to inactive split viewMéven Car
Prevent copying/moving to same folder as origin when copying/moving to inactive split view BUG: 356436
2023-03-04Remove deprecated KServiceTypeTraderDāvis Mosāns
2023-03-04Rename KF5 to KF6Dāvis Mosāns
2023-02-14Revert "Remove deprecated KServiceTypeTrader"Méven Car
This reverts commit 648c2db6e4c6552962c20d2f9e4d3ce44e02d212.
2023-02-10Remove deprecated KServiceTypeTraderDāvis Mosāns
2023-02-05Add clang-format and format code as in FrameworksSerg Podtynnyi
2022-10-15Port away from deprecated KMessageBox Yes/NoFriedrich W. H. Kossebau
GIT_SILENT
2022-06-15Use cmakedefine01Ahmad Samir
This way we get a build time warning if the var isn't defined at all, e.g. a missing check_include_files() CMake call.
2022-06-15Use one config-dolphin.h.cmake configuration fileAhmad Samir
2022-06-11Fix install/load plugins from kf<version>Laurent Montel
2022-05-31We depend against kf5.91 => remove checkLaurent Montel
2022-05-31Fix building KF6 with PackageKit-QtAhmad Samir
2022-05-31KServiceTypeTrader has been deprecated since KService 5.90Ahmad Samir
2022-05-31Fix version macro with respect to finding "KFileItemAction/Plugin" servicesAhmad Samir
GIT_SILENT
2022-05-31Port away from deprecated KNewStuff APIAhmad Samir
2022-05-31Merge two relevant ifdef blocksAhmad Samir
GIT_SILENT
2022-05-21fix name of uninstall command (without extension)Christian Hartmann
fixing a minor typo allows using "uninstall" command (variant **without** extension) on de-installation of a service menu
2022-05-21fix: service-menu-installer ignoring symlinks on un-installChristian Hartmann
service-menu-installer ignores <package-name>.tar.gz-dir/uninstall.sh if this is actualy just a symbolic link to install.sh in the same directory (hardlinks and copies work) canonicalPath() is used to get the name of the file on disk and returns install.sh in the case of a symbolic link. install.sh without any arguments is called instead of uninstall.sh consequently and no de-installation takes place. replace canonicalPath() with absolutePath() as used in the rest of source file resolves: BUG: 452289
2022-05-20Fix QDirIterator wildcard when fallback install script is searched forAlexander Lohnau
Otherwise, we do not find scripts like "install-user.sh". BUG: 453870
2022-05-02Re-add "Open Terminal Here" featureoioi 555
This is equivalent to the "Open Terminal Here" feature that existed until Version 20.12. If the user has selected folders, replace "Open Terminal" in the context menu with "Open Terminal Here". When more than 5 folders are selected, a modal window will ask the user if they are sure they want to open all 6 or more terminal windows. In Detail View, users can also select a file, which will open a terminal at the location of that file. BUG: 452637 FIXED-IN: 22.08
2022-04-01Install servicemenus in new install locationAlexander Lohnau
Since KIO 5.85, this new file location is preferred over the KServiceTypeTrader results. With this change, single desktop files from the KDE store are installed in the correct location. If however a custom install script is used, developers need to adjust their scripts. Because the "kio/servicemenus" locations is different than the one KAuthorized allows by default, we have to mark the file as executable. Task: https://phabricator.kde.org/T14543
2022-01-14Adapt build system for building against qt6Laurent Montel
2022-01-02Load service menus for settings from new file locationAlexander Lohnau
This is a replacement for the KServiceTypeTrader loading. Because third parties still use the KServiceTypeTrader file location, we need to support both for the time being.
2022-01-02Version control plugins: Remove defunct KServiceTypeTrader query for ↵Alexander Lohnau
available plugins We do not load those plugins anymore, consequently it does not make sense to find and display them in the settings
2021-12-30Use the CDN based endpoint rather than the legacy endpoint which hits our ↵Ben Cooksley
download redirector.
2021-12-01Port away from deprecated KDesktopFileActions::userDefinedServices overloadAlexander Lohnau
2021-12-01Port away from deprecated KPluginLoaderAlexander Lohnau
2021-10-11Currently, when changing Version Control settings in Configure -> Context ↵Blaster goo
Menu, it tells you to restart to apply those settings. This commit changes that by asking you if you would like to restart now or later. FEATURE: 441192 FIXED-IN: 21.12
2021-07-03Use KNewStuff3 as group key in knsrc fileAlexander Lohnau
The other key was used during the transition from KDE4->KDE5 and makes no difference when the config file is read