Commit graph

23 commits

Author SHA1 Message Date
Slava Monich
00483a676f Fixed release build 2020-11-21 00:33:17 +02:00
Slava Monich
d1ccf9f796 Show notification popups except for the current chat
And drop dependency on Ngf. Also, pre-initialize the chat photo when
pushing the chat page.
2020-11-20 21:42:23 +02:00
John Gibbon
8181e17fa2 remove unnecessary .arg (+warnings) 2020-11-19 11:27:10 +01:00
John Gibbon
b48ca728d2 change/enable plural handling 2020-11-19 11:27:10 +01:00
Sebastian Wolf
86ac99004d Notifications: disable previewBody/Summary for now, update README 2020-11-01 21:58:22 +01:00
Slava Monich
45180b64b4 Don't post unwanted feedback for removed notifications
Also, don't turn off PatternCommunicationIM pattern when some (but
not all) notifications are removed, don't keep empty notification
groups in notificationGroups map, reuse already posted notification
after restarting the client, handle chat title change and more...
2020-11-01 21:07:15 +02:00
Slava Monich
9504b24d5c Pre-allocate commonly used QStrings in NotificationManager
To avoid overhead (e.g. ASCII => UTF16 convertion) on each use.
2020-11-01 21:07:15 +02:00
Slava Monich
484f66f01c Don't pass primitive types by const references to NotificationManager
It makes no sense whatsoever.
2020-11-01 21:07:15 +02:00
Sebastian J. Wolf
91ae3651ef Change license header to reflect number of contributions 2020-10-19 19:34:47 +02:00
Slava Monich
f75e5a3f4b Added "Notification feedback" combo box 2020-10-18 18:02:44 +03:00
Slava Monich
6e1e100a87 Don't initialize MCE QDBusInterface on every D-Bus call
It's enough to initialize it once at startup.

Also avoided a few per-call ASCII => QString conversions and dropped
unnecessary mutex.
2020-10-18 18:02:44 +03:00
Slava Monich
65738a4ddf Shortened log statements in NotificationManager
Copy/paste is evil
2020-10-18 18:02:44 +03:00
Sebastian J. Wolf
ec9e4b2f0b Handle message short texts properly in backend 2020-10-03 22:58:45 +02:00
Sebastian J. Wolf
9eb396c9ca Fixes here and there... 2020-09-30 21:41:49 +02:00
Sebastian J. Wolf
db831f5a0a Detect channel properly for notifications 2020-09-15 21:37:24 +02:00
Sebastian J. Wolf
266a72036b Open Fernschreiber from notification 2020-09-14 23:43:21 +02:00
Sebastian J. Wolf
fdf89fd8a8 Add NGF daemon and LED control for notifications 2020-09-13 21:54:36 +02:00
Sebastian J. Wolf
c52a544e51 Better notification texts 2020-09-12 23:22:33 +02:00
Sebastian J. Wolf
7dd8e07a39 Consolidate messages belonging to the same chat 2020-09-09 23:44:02 +02:00
Sebastian J. Wolf
239af6e6e7 Sending simple text notifications, yeah! 2020-09-08 23:44:57 +02:00
Sebastian J. Wolf
8809372b67 Backend can really send notifications 2020-09-03 23:20:46 +02:00
Sebastian J. Wolf
9f708080c8 We need chat information in notification manager 2020-09-02 23:05:09 +02:00
Sebastian J. Wolf
aa3a841fee Prepare notification manager 2020-09-02 22:49:15 +02:00