Commit graph

4602 commits

Author SHA1 Message Date
Albert Vaca Cintora
02ff5bd6c5
Handle dbus errors in setWhenAvailable 2024-09-09 13:31:31 +02:00
Albert Vaca Cintora
942aa2a170
Fix warning 2024-09-09 13:29:16 +02:00
Christoph Wolk
ba5061a215 plugins/runcommand: set Dialog preferredWidth
The Add command dialog currently does not set a preferredWidth, which
seems to cause repeated binding loops and a lot of log spam until the
dialog is actually put on screen.

This change sets the preferredWidth to 20*gridUnit, which seems to be
the typical size used in small dialogs and is about the size that the
dialog has without a width explicitly set.
2024-09-08 13:19:44 +00:00
Christoph Wolk
3e7936dc08 plugins/runcommand: improve PlaceholderMessage
While the HIG is not quite clear on this, PlaceholderMessages throughout
KDE applications and kcms tend to have sentence capitalization in their
title and include a verb (e.g. "Playlist is empty", "No game controllers
found"). The runcommand plugin breaks with this; it uses title
capitalization and does not include a verb: "No Commands".

This change modifies the title to read "No commands configured".
2024-09-08 13:19:44 +00:00
Christoph Wolk
eecdc67074 plugins/runcommand: use ColumnLayout for ListView
The ListView displaying the configured actions currently directly uses a
label that is made multi-line by including a newline. As a consequence,
eliding the text does not work properly and there is a visual clash with
the included action button. It also means that there is a rather
pointlessly translatable string that is just there for UI logic.

This change modifies the delegate to use a ColumnLayout instead, which
enables correct eliding of the labels and more cleanly separates layout
and content concerns.
2024-09-08 13:19:44 +00:00
Christoph Wolk
9f34092aa9 plugins/runcommand: make config dialog HIG-compliant
The HIG recommend that buttons with an action label that require further
user input end in an ellipsis, and that dialog buttons should clearly
indicate what they do. Button labels typically do not match the given
exceptions that license sentence case. Currently, the main "Add command"
button in the configuration button does not end in an ellipsis even
though it opens a dialog, is sentence case, and the dialog has a "Save"
rather than the customary "Add" that is used for these kinds of actions,
in particular in kcms. The dialog title is also not translatable.

This change adds the ellipsis, converts the button to title case, makes
the dialog title translatable, and adds an "Add" button as an action to
the dialog.
2024-09-08 13:19:44 +00:00
Alexander Lohnau
26c9f77b2b plugins/systemvolume: Work around remaining clang-format differences between different versions 2024-09-08 08:46:53 +00:00
Alexander Lohnau
4e23978e1f smsapp: Ensure SmsCharCount has necessary headers included, remove unneeded default constructor 2024-09-08 08:46:53 +00:00
Alexander Lohnau
013ba537b5 Fix clang-format 14 being confused about comment before access modifier 2024-09-08 08:46:53 +00:00
Alexander Lohnau
213b73f1dd Small typo fixes in docstrings 2024-09-08 08:46:53 +00:00
Albert Vaca Cintora
06575d1429 Link macOS signing configuration files 2024-09-08 07:53:17 +00:00
Heiko Becker
5c1c957469 GIT_SILENT Update Appstream for new release
(cherry picked from commit 73ae1aee5c)
2024-09-07 00:39:36 +02:00
l10n daemon script
c6055ced63 GIT_SILENT Sync po/docbooks with svn 2024-09-06 01:33:29 +00:00
l10n daemon script
80cc2d2a07 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"
2024-09-04 01:20:55 +00:00
Albert Vaca Cintora
1c3d2562a1
Bump minimum Qt version to 6.7
Commit 90946829bf introduced KeyEvent which
isn't available in 6.6
2024-09-04 00:41:21 +02:00
l10n daemon script
152f30359b 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"
2024-08-29 01:20:59 +00:00
l10n daemon script
daa164bea1 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"
2024-08-28 01:25:08 +00:00
l10n daemon script
25b88f387f GIT_SILENT Sync po/docbooks with svn 2024-08-27 01:28:55 +00:00
l10n daemon script
6cc24b95a6 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"
2024-08-27 01:21:08 +00:00
Adam Liscak
a4e6e11dd6 certificate handling after 10years
Auto reconfiguration of own certificate:

currently:
if kdeconncectd loads its certificate and its expired or not effective yet
it generates a new certificate

previously:
if kdeconncectd loads its certificate and its expired or not effective yet
it continues having the same certificate
This brings forth an issue: Other devices would refuse to connect to a device with 
an expired or non-effective certificate.


Auto-delete of orphan certificates:

currently:
Devices in kdeconnectd's devicelist that have illegal ssl certificates
(expired, not effective yet, empty) get automatically deleted from the
devicelist


previously:
they would just exist forever until the user deletes them


A year does not have 356 days: 

currently: int a_year_in_seconds = 365 * 24 * 60 * 60;

previously: int a_year_in_seconds = 356 * 24 * 60 * 60;
2024-08-26 17:42:08 +00:00
l10n daemon script
0b0edbc27d GIT_SILENT Sync po/docbooks with svn 2024-08-26 01:34:27 +00:00
l10n daemon script
7c9f02f93f 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"
2024-08-25 01:21:07 +00:00
l10n daemon script
42aaeb9d79 GIT_SILENT Sync po/docbooks with svn 2024-08-22 01:29:52 +00:00
l10n daemon script
9cda9371aa 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"
2024-08-22 01:21:49 +00:00
Volker Krause
c322ba5a70 Use absolute path in D-Bus service file
That's what is done everywhere else, and it is needed to work with install
locations not in PATH from the perspective of the D-Bus daemon.
2024-08-20 17:31:32 +02:00
l10n daemon script
ededb1e169 GIT_SILENT Sync po/docbooks with svn 2024-08-20 01:36:07 +00:00
l10n daemon script
7bb9f8b3d1 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"
2024-08-20 01:23:28 +00:00
l10n daemon script
92b24bdd52 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"
2024-08-19 01:21:04 +00:00
David Redondo
45b1b27929 Generate wayland code with PRIVATE_CODE 2024-08-16 09:21:14 +00:00
l10n daemon script
5111118fad 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"
2024-08-16 01:20:26 +00:00
Heiko Becker
975911f102 GIT_SILENT Update Appstream for new release
(cherry picked from commit a316901daf)
2024-08-16 00:25:20 +02:00
l10n daemon script
7b3ca281b1 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"
2024-08-15 01:21:22 +00:00
l10n daemon script
8acfab82fe 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"
2024-08-14 01:21:16 +00:00
l10n daemon script
727364a38d 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"
2024-08-13 01:21:06 +00:00
Arjan Marku
16ccee7ac9 fix: don't send clipboard network packets on empty text
If you lock the screen in EndeavourOS, a signal KSystemClipboard:changed is emitted with empty text and clipboard mode QClipboard::Clipboard. Upon unlock the clipboard will be re-synced.

A clipboard network packet will be sent for KSystemClipboard::changed signals if:
1. the received mode is QClipboard::Clipboard
2. the new content and its type are different from the current ones.

The problem here is that, before locking the screen, current content is not empty. As of condition #2, a network packet with the empty text will be sent, which clears the current clipboard selection in GBoard but the contents stay the same. Upon re-sync in unlock, a packet will be sent again due to #2.

This commit aims to fix this by ignoring empty text updates since from the end-user it unnecessarily clears the current clipboard selection and results in many "Copied to clipboard" toasts.
2024-08-12 11:06:11 +00:00
Albert Vaca Cintora
2295f6968b Remove custom keepalive intervals 2024-08-12 11:02:13 +00:00
Alexander Lohnau
b1c3049fc1 Add custom JSON schema, extending KPluginMetaData and enforcing KDE-Connect specific keys 2024-08-12 11:01:22 +00:00
l10n daemon script
4a6babecba 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"
2024-08-12 01:20:40 +00:00
l10n daemon script
e3f2e0dc75 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"
2024-08-11 01:22:18 +00:00
l10n daemon script
a43bec738c 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"
2024-08-10 01:25:57 +00:00
l10n daemon script
5a2f1903d0 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"
2024-08-09 01:21:37 +00:00
l10n daemon script
92249d0755 GIT_SILENT Sync po/docbooks with svn 2024-08-08 01:27:17 +00:00
l10n daemon script
fb9cf10cd4 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"
2024-08-08 01:21:24 +00:00
Christoph Wolk
1a3a71ec7a smsapp: improve .desktop GenericName and Description
The KDE Connect SMS app currently has the GenericName "SMS" which is the
name of a protocol, not the name for a class of applications, and the
Comment "Text Messaging", which is correct but very short for a field
that is intended to give a short but more exhaustive description of an
application's functions.

This change sets the GenericName To "Text Messaging" and the Comment to
"Read and send SMS messages on connected devices".
2024-08-07 11:24:16 +02:00
Christoph Wolk
6168a25806 settings: improve .desktop GenericName and Comment
The .desktop file for the non-Plasma settings app currently has a
sentence as the GenericName, which is supposed to be the term of a
class of applications, and does not have a Comment field, which is
suitable for descriptions in the form of a sentence.

This change sets the GenericName to "Device Synchronization Settings",
and adds a Domment field that matches the description for the kcm.
2024-08-07 11:24:16 +02:00
Christoph Wolk
c695a0f8bc plasmoid: improve description field in json
The plasmoid currently has the decription "Show notifications from your
devices using KDE Connect. This is wordy and misleading as
the plasmoid does much more than display notifications; it's used to
show the  devices and their current state (e.g. battery) and provides
access to some of the broader KDE Connect functionality, such as the
find device function or file sharing.

This change sets the description to "Manage connected devices".
2024-08-07 11:24:16 +02:00
Christoph Wolk
9cb3352721 kcm: improve description field in json
The kcm json currently lists the description as "Connect and sync your
devices". This is hard to distinguish from the KDE Connect application
at a glance, and does not follow the general pattern in kcm descriptions
to use either a configuration-based verb or noun (e.g. configure, edit,
settings).

This change sets the description to "Configure device synchronization".

BUG: 466256
2024-08-07 11:24:16 +02:00
ivan tkachenko
21d7b4fbdc Virtual Monitor: Replace the video-monitor icon with something that exists
There is no "video-monitor" in Breeze Icons, so it inappropriately falls
back to "video" icon which looks like a file icon rather than a device.
2024-08-05 23:07:01 +00:00
Christoph Wolk
19763dbf46 plugins/runcommand: use Kirigami.Dialog
The "Add Command" dialog in the settings for the Run Command plugin
looks rather broken at the moment, as the size is not explicitly set and
the default value ends up much smaller than the contents. It uses
QQC2.Dialog, even though the plugin makes heavy use of Kirigami. Using
Kirigami.dialog here would solve the sizing issue, and generally lead to
a more consistent interface.

This change makes the plugin use Kirigami.Dialog instead of QQC2.

BUG: 487438
2024-08-05 22:06:14 +00:00
l10n daemon script
a7cf51a33b GIT_SILENT Sync po/docbooks with svn 2024-08-05 01:27:15 +00:00