Commit graph

3661 commits

Author SHA1 Message Date
Simon Redman
8cfa308140 Fix some Qt and KF5 deprecation warnings
## Summary

Fixes a few warnings about deprecated fields and methods.

## Test Plan

Things still seem to be basically working 🤷
2022-10-17 21:17:49 +00:00
Yuchen Shi
b9a089344e Add config for clipboard plugin on content types to share.
## Summary

This MR adds a config dialog for the Clipboard plugin, where the user can toggle
whether to share password and/or anything else with other devices.

Implements !39

BUG: 458063

According to previous discussion at !39 (and the bug linked), some users want to
skip sending passwords to other devices while others rely on the existing behavior.
This MR addresses that by allowing users to control those two types separately and
will replace !39 if merged.

![Screenshot with new config dialog](/uploads/3dfc6c6d69b86e6512e6a8948320a839/Screenshot_1661407807.png)

Borrowing the idea from !39, the `x-kde-passwordManagerHint` MIME data hint is used
to determine whether the content is considered secret. I've tested this method with
KeepassXC which [sets this correctly](a6d3f973fa/src/gui/Clipboard.cpp (L62)). See test plan below.

In theory, MIME also can be used to test for images and another checkbox can
be easily added should we decided to support images later. For now though, the
enum and the config supports only passwords or "anything else". Both defaults to true,
thus keeping full backwards compatibility. I've been keeping both unchecked since
I only share in one direction (Android to Linux), which wasn't possible until this MR.
Others may want to make their own choices.

## Test Plan

Please reference the screenshot above for the steps.

From the indicator, right-click and select `Configure`. Select a device from the
left side (or pair one if needed). In "available plugins", make sure "Clipboard"
is checked, and verify that a "Configure" icon button is now shown on the right.

Clicking that icon should bring up the new config dialog, where the two check boxes
can be toggled as desired. Click on "OK" to save and apply the settings. Clicking on
"Defaults" should bring both back to checked (the default behavior).

Copy normal plain text from your favorite text editor and it should be sent to another
device if the "anything else" checkbox is checked. I've tested this on an Android phone
but I see no reason it won't work elsewhere given the code for sending has not been changed.
(Feel free to test on other devices.)

Open KeepassXC and select an entry, right click and select "Copy password". This sets
the MIME hint so it should be treated as a password, controlled by the "passwords" checkbox.
I've toggled the settings multiple times on and off. Once "OK" is clicked, the next clipboard
change should pick up the latest settings.

I've only tested on Linux desktops (Arch Linux) since I do not own a Mac. I don't believe any
OS X application sets `x-kde-passwordManagerHint` at all, so they may be controlled by "anything else".
2022-10-17 21:04:20 +00:00
Aleix Pol
c989be56cd virtualmonitor: Make sure we clean up m_process after deleting 2022-10-17 00:33:33 +02:00
l10n daemon script
8a5adcd111 GIT_SILENT Sync po/docbooks with svn 2022-10-16 02:11:41 +00:00
l10n daemon script
ab054f060d SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-10-16 01:56:08 +00:00
l10n daemon script
e30b59744c GIT_SILENT Sync po/docbooks with svn 2022-10-15 02:06:17 +00:00
l10n daemon script
92dc9aea1f GIT_SILENT Sync po/docbooks with svn 2022-10-13 02:02:51 +00:00
Heiko Becker
adb7948c22 GIT_SILENT Update Appstream for new release
(cherry picked from commit ab7a5c4ccd)
2022-10-10 22:31:53 +02:00
l10n daemon script
e6ad01608a GIT_SILENT Sync po/docbooks with svn 2022-10-07 02:12:25 +00:00
l10n daemon script
733eadc9bf GIT_SILENT Sync po/docbooks with svn 2022-10-05 01:58:57 +00:00
l10n daemon script
19367ce0ee GIT_SILENT Sync po/docbooks with svn 2022-10-04 02:05:03 +00:00
l10n daemon script
bf2fff7fc4 GIT_SILENT Sync po/docbooks with svn 2022-10-03 02:40:28 +00:00
l10n daemon script
7cd4326fa9 GIT_SILENT Sync po/docbooks with svn 2022-10-02 02:48:34 +00:00
l10n daemon script
f556dc721b SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-09-30 01:47:48 +00:00
l10n daemon script
93fcb5bb5f GIT_SILENT made messages (after extraction) 2022-09-30 00:43:59 +00:00
Nicolas Fella
ed3ae873a7 Port to ecm_add_qml_module
Reduces some boilerplate
2022-09-28 16:13:37 +00:00
Kareem Abduljaleel
4ecf463cd1 [plasmoid] Add Photo to Plasmoid menu
Adds a menu entry to ask the remote device to take a photo to the Plasmoid menu
2022-09-28 13:03:48 +00:00
Bharadwaj Raju
1f5fd06924 [plasmoid] Add inline reply for notifications instead of opening a dialog
Instead of opening the reply dialog when clicking Reply in the plasmoid, it opens an inline reply UI.
2022-09-26 19:51:28 +00:00
l10n daemon script
ae0815ea45 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-09-24 01:45:58 +00:00
l10n daemon script
dbf8b07cab SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-09-23 01:43:42 +00:00
l10n daemon script
6e67932058 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-09-22 01:45:45 +00:00
ivan tkachenko
4b6caf9af4
Port away from deprecated QML features 2022-09-21 01:14:37 +03:00
l10n daemon script
03a58c66a5 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-09-20 01:48:04 +00:00
ValdikSS ValdikSS
2006424e21 Prevent null pointer dereference if there's no audio devices
BUG: 454917
2022-09-17 15:54:11 +03:00
Nicolas Fella
dcf41545c2 Add .clang-format to gitignore
It's provided automatically by ECM and should not be checked in
2022-09-11 23:21:58 +00:00
Nicolas Fella
ce14a5629d Add clang-format commit hook 2022-09-11 23:21:58 +00:00
Nicolas Fella
a918ffc0cb Add and make use of ECM's clang-format integration 2022-09-11 23:21:58 +00:00
l10n daemon script
0719e4eb49 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-09-11 01:43:06 +00:00
Nicolas Fella
f53dadaffa Port to new KIO worker API 2022-09-05 12:06:39 +02:00
l10n daemon script
34da0ad9e1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-09-05 01:43:43 +00:00
l10n daemon script
4294e4a38d GIT_SILENT made messages (after extraction) 2022-09-05 00:44:07 +00:00
Heiko Becker
24b13a036a GIT_SILENT Update Appstream for new release
(cherry picked from commit 22e058469f)
2022-09-03 00:51:40 +02:00
Kareem Abduljaleel
186526c0bb [Photo Plugin] Make photo plugin use QUrl instead of a local path
This is a companion merge request for !476,

this way it can be accessed directly from QML's FileDialog
2022-09-02 17:32:01 +00:00
Nicolas Fella
5639905b8d Add 22.08.0 Windows binary to appstream data 2022-08-31 17:44:42 +02:00
Ömer Fadıl Usta
5373c03779 Sync QT_MIN_VERSION with KF's REQUIRED_QT_VERSION
In KF we already looking for 5.15.2
and looking something lower than that
is a bit meaningless
2022-08-29 00:05:01 +00:00
l10n daemon script
b25f7e07a8 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-08-27 01:49:35 +00:00
l10n daemon script
5540e49fa6 GIT_SILENT made messages (after extraction) 2022-08-27 00:46:40 +00:00
l10n daemon script
8752e67f83 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-08-26 01:44:16 +00:00
Nicolas Fella
f9b054d131 [handler] Shorten name in desktop file
This is shown e.g. in the applications KCM

Make it a bit shorter
2022-08-25 23:20:37 +02:00
l10n daemon script
b525d660bc SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-08-25 01:46:23 +00:00
l10n daemon script
3819d96ee1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-08-24 01:49:19 +00:00
l10n daemon script
46b5d6cdbc GIT_SILENT made messages (after extraction) 2022-08-24 00:46:34 +00:00
Nicolas Fella
e8526d2592 Remove Gitlab Issue template
Issues are disabled
2022-08-23 23:52:46 +02:00
Nicolas Fella
0f73a1dc52 Add missing license file 2022-08-23 23:52:11 +02:00
l10n daemon script
de5b15c2aa SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-08-21 01:47:29 +00:00
Erich Eickmeyer
9b6d3a7c3d nautilus: Update for compatibility with Nautilus 43 2022-08-17 14:10:16 +00:00
ivan tkachenko
abd088a375
Port Connections to function syntax 2022-08-16 22:58:45 +03:00
l10n daemon script
bf56ef0eb7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-08-16 01:47:35 +00:00
l10n daemon script
7f0b03f254 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-08-11 01:42:55 +00:00
Albert Astals Cid
fdb30dceb2 GIT_SILENT Update Appstream for new release
(cherry picked from commit d71dfc7a86)
2022-08-11 00:22:59 +02:00