Commit graph

3619 commits

Author SHA1 Message Date
l10n daemon script
3565dc69a6 GIT_SILENT Sync po/docbooks with svn 2022-10-23 01:53:08 +00:00
l10n daemon script
185408d367 GIT_SILENT Sync po/docbooks with svn 2022-10-22 11:22:42 +00:00
l10n daemon script
92b85452dd GIT_SILENT Sync po/docbooks with svn 2022-10-21 02:09:49 +00:00
l10n daemon script
135d2b8e4e GIT_SILENT Sync po/docbooks with svn 2022-10-20 02:56:09 +00:00
l10n daemon script
e77ba5b542 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-20 02:01:51 +00:00
l10n daemon script
35c90f72cb GIT_SILENT Sync po/docbooks with svn 2022-10-19 01:59:56 +00:00
l10n daemon script
d198b2badf GIT_SILENT Sync po/docbooks with svn 2022-10-18 01:59:34 +00:00
ValdikSS ValdikSS
390a44a901 Really set source IP for broadcast discovery packets on Windows/FreeBSD
This whole code was no-op: it enumerates network interfaces, enumerates
its IP addresses, but does not change the address of broadcast UDP
packet, sending it only via default route/interface.

Bind the socket to IP addresses of the interfaces to fix the issue.

BUG: 459171
2022-10-17 22:21:46 +00:00
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