Commit graph

3076 commits

Author SHA1 Message Date
Noah Davis
9ccef9f9b3 Update CMakeLists.txt with new file names 2020-04-02 20:39:56 -04:00
Noah Davis
da5c52a47a Replace 32px status icons with 16 and 22px icons 2020-04-02 20:39:30 -04:00
Noah Davis
beb293d8c2 Optimize SVGs 2020-04-02 20:36:59 -04:00
Noah Davis
404a2a3e1d Rename 22px kdeconnectindicator icons 2020-04-02 20:36:08 -04:00
Noah Davis
5ac1ac9abc Convert sc-apps-kdeconnect.svgz to svg 2020-04-02 19:47:19 -04:00
Noah Davis
c974877e0e Optimize SVGs 2020-04-02 19:47:19 -04:00
Noah Davis
5210d1aec3 Remove PNG icons 2020-04-02 19:47:19 -04:00
Albert Vaca Cintora
4eb61ec66a Exception doesn't have strerr
Fix crash when crashing when translation not found
2020-04-02 12:38:44 +02:00
Albert Vaca Cintora
14cdd8e2b5 Exception doesn't have strerr
Fix crash when crashing when translation not found
2020-04-02 12:38:09 +02:00
l10n daemon script
a702c0bd4d GIT_SILENT made messages (after extraction) 2020-04-01 09:22:44 +02:00
l10n daemon script
e2d175f2a0 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"
2020-04-01 06:36:16 +02:00
Kai Uwe Broulik
e48e34d776 Merge branch 'release/20.04' 2020-03-31 15:19:26 +02:00
Kai Uwe Broulik
310b0517ed Check for null notification
When starting a phone call on the phone, we enter "talking" state without having created a notification first leading to a crash.
2020-03-31 15:18:29 +02:00
l10n daemon script
d8029897d5 GIT_SILENT made messages (after extraction) 2020-03-31 03:24:43 +02:00
Aniket Kumar
520d2a5695 Move ConversationsSortFilterProxyModel class from conversationlistmodel files to its own files
## Summary

Currently `OurSortFilterProxyModel` class is implemented in the same file with `ConversationListModel` class, which would likely grow in the future.

This MR separates `OurSortFilterProxyModel` class into its own separate file renaming it to `ConversationsSortFilterProxyModel`

https://invent.kde.org/kde/kdeconnect-kde/-/merge_requests/229
2020-03-29 18:25:07 +00:00
Arjun Thekoot Harisankar
77e08ec70a Update README.txt in Plugins to include the current method to build a skeleton for a Plugin 2020-03-27 21:02:16 +05:30
Nicolas Fella
468bc4151d Merge branch 'release/20.04' 2020-03-23 17:23:57 +01:00
Nicolas Fella
cae69fe10e [fileitemactionplugin] Use async DBus call
Otherwise the call will block and freeze the calling process, e.g. dolphin or plasmashell

BUG: 419133
2020-03-23 17:22:47 +01:00
Jiří Wolker
365791dc59 Show remaining character count in SMS app
## Summary

This adds character counter below the “Send” button in SMS conversation. It
uses format XXX/Y where XXX is number of characters that can be added
without splitting the SMS into multiple messages (see article
Concatenated SMS on Wikipedia). Y is number of messages in in current
concatenated SMS. The counter is not visible when insertion of 10 7-bit
or 16-bit (depends on SMS encoding) does not create concatenated SMS.

SMS encoding is automatically guessed. 8-bit encodings are not
supported. If the message contains characters that are not supported by GSM 7-bit
encoding, counter automatically switches to UCS-2.

## Test Plan

Try entering some text that is longer than 150 characters in [GSM 03.38 encoding][1] or 60 characters in UCS-2. Number of remaining characters should be visible below the “Send” button. The character counter should show `0` at exactly 160 or 70 characters. Inserting one character should switch the counter to [Concatenated SMS][2] mode when number of messages is shown.

It should show exactly same number as SMS app in Android.

## Screenshots

These images are in APNG.

![grab.apng](/uploads/21ae23f2fa75c7aca487e61ddce94644/grab.apng)
![grab-cz.apng](/uploads/785e670a8598c5a65a4209f17e75f578/grab-cz.apng)

[1]: https://en.wikipedia.org/w/index.php?oldid=932080074#GSM_7-bit_default_alphabet_and_extension_table_of_3GPP_TS_23.038_/_GSM_03.38
[2]: https://en.wikipedia.org/w/index.php?oldid=943185255#Message_size
2020-03-22 18:47:12 +00:00
Aniket Kumar
f211d7e401 Add feature to start new conversation with existing contacts
## Summary

Start a conversation with contacts having no previous conversation with.

It is currently only possible to use the messaging app to send a message to a conversation which already exists.

This patch implements this feature by integrating all contacts having no prior conversation with the recent conversations in the recent conversation list and at the bottom in a sorted manner, something like this,

The contacts are stored in the recent conversation list model as a conversation but with INVALID conversation ID and INVALID conversation DATE.

## Testing

Testing just needs kdeconnect daemon to be recompiled and executed.
2020-03-21 22:57:28 +00:00
Simon Redman
2a2481fb6a Fix build 2020-03-21 15:44:13 -07:00
Simon Redman
b7643ecbad Delete flakey tests 2020-03-21 22:25:01 +00:00
Nicolas Fella
2725de9170 Improve call notification handling
Simplify the code, close the notification when talking.
2020-03-21 22:18:34 +01:00
Nicolas Fella
c807d84a44 Read payload size as qint64 2020-03-21 21:49:11 +01:00
Nicolas Fella
2e15294caf Merge branch 'release/20.04' 2020-03-21 21:27:28 +01:00
Nicolas Fella
9f1101c9c1 Use kdeconnect-settings for command configuration
Instead of relying on kde-cli-tools being installed.
2020-03-21 21:26:51 +01:00
Nicolas Fella
28e7e99100 Merge branch 'release/20.04' 2020-03-21 21:21:02 +01:00
Nicolas Fella
eac1e07e29 Revert "Make default name and device type customizable"
This causes a crash described in https://invent.kde.org/kde/kdeconnect-kde/-/merge_requests/206#note_37534

This reverts commit a39a2d562d.
2020-03-21 21:13:41 +01:00
l10n daemon script
08df418cc9 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"
2020-03-21 09:48:57 +01:00
l10n daemon script
9673dbe6a5 GIT_SILENT made messages (after extraction) 2020-03-21 08:36:30 +01:00
l10n daemon script
782f2ffe72 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"
2020-03-21 05:50:32 +01:00
Albert Vaca Cintora
9feb4e5510 Merge branch 'strace/kdeconnect-kde-seamless_playback' 2020-03-21 00:24:49 +01:00
Nicolas Fella
2c8cf96a6c Read payload size as qint64 2020-03-20 19:54:47 +00:00
l10n daemon script
b75a74abcc GIT_SILENT made messages (after extraction) 2020-03-20 03:15:49 +01:00
Nicolas Fella
3a1d08c322 Merge branch 'release/20.04' 2020-03-17 17:16:41 +01:00
Nicolas Fella
483047f590 Mark QtQuick.Particles as runtime dependency
BUG: 417340
2020-03-17 17:13:12 +01:00
l10n daemon script
87d58643a2 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"
2020-03-17 10:05:04 +01:00
l10n daemon script
201be5d898 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"
2020-03-16 10:21:09 +01:00
l10n daemon script
c5caedee60 GIT_SILENT made messages (after extraction) 2020-03-16 09:04:41 +01:00
l10n daemon script
102779fe29 GIT_SILENT made messages (after extraction) 2020-03-16 03:22:20 +01:00
Matthijs Tijink
04d2f51b24 Adds an MPRIS server for controlling other device's MPRIS services
By creating a DBus connection per player, we are able to support
multiple remote players.

The album art is not yet supported.
2020-03-15 23:46:56 +01:00
Matthijs Tijink
f7b7cdbfd5 Adds an MPRIS server for controlling other device's MPRIS services
By creating a DBus connection per player, we are able to support
multiple remote players.

The album art is not yet supported.
2020-03-15 22:38:03 +00:00
Abdel-Rahman Abdel-Rahman
0240c43bb5 Make incoming call notification persistent
Accomplishes task T11851
2020-03-15 23:34:52 +02:00
Nicolas Fella
5931de875e [app/volume] Elide sink name label 2020-03-15 22:09:31 +01:00
Nate Graham
8e0cfd3899 [applet] Standardize presentation on the "devices unavailable" view
Summary:
This patch makes the "devilces unavailable" page follow the general style used in other
similar views throughout Plasma and other KDE software. It also improves the wording
of various buttons and headers to make them more context-sensitive and thus more relevant
to what the user needs to do to solve the problem.

Test Plan:
{F8149680}

{F8149679}

Reviewers:
#VDG, #kde-connect

Subscribers:
2020-03-15 19:53:53 +00:00
Nicolas Fella
4436536a6a Register interface factories as Singletons instead of context properties 2020-03-14 17:35:58 +01:00
Nicolas Fella
af94100952 Move QAbstractItemModel QML workaround to declarativeplugin 2020-03-14 16:44:24 +01:00
l10n daemon script
81a2be7670 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"
2020-03-11 06:07:22 +01:00
Richard Liebscher
e066ef9236 Vergotten include in !190 2020-03-10 19:49:41 +00:00
l10n daemon script
877d8950a2 GIT_SILENT made messages (after extraction) 2020-03-09 03:13:50 +01:00