Johannes Bachmann
b11f7dd8b1
Always append last message content to notifications ( #514 )
...
* always append last message content to notifications
* make "always show notification" configurable
* add unfinished translations
* Fix spacing if no sender is printed
2023-11-18 23:11:17 +01:00
Peter G
3620b8ed03
Add option to suppress notification previews ( #521 )
...
* Add Switch in Settings
* Don't set notification preview body
* Support the setting in appSettings
* fixup! Add Switch in Settings
* Just show message count
* Also show only when notifications are enabled at all
---------
Co-authored-by: nephros <nemo@pgxperiiia10>
2023-11-18 22:58:05 +01:00
Sebastian Wolf
32a55c48be
Bring notifications back to lock screen, changelog for 0.15
2022-04-27 22:06:57 +02:00
Sebastian Wolf
ebe0143a8a
SFOS 4.4 removed notification categories, fixes #486
2022-04-22 00:08:04 +02:00
Sebastian Wolf
fcbf9d65f1
TDLib 1.8.0: Headers and sender -> sender_id changes
2022-01-07 19:18:04 +01:00
Slava Monich
903cb02919
Explicitly set image-path notification hint to empty string
...
To stop home screen from using app icon as a default.
2021-02-01 02:04:35 +02:00
Slava Monich
3433ec547e
Made notification sound configurable
2021-01-31 20:46:26 +02:00
Sebastian Wolf
066037f1a5
Notifications: Avoid popup in current chat, play sound (again), fixes #233
2021-01-19 21:48:28 +01:00
Sebastian Wolf
775a31cecb
Implement delete/add chat members properly, fixes #131
2020-12-29 16:32:39 +01:00
Sebastian Wolf
63db26afc8
TDLib 1.7: Sticker IDs, message sender IDs
2020-12-07 21:43:09 +01:00
Slava Monich
3d48125371
Add MceInterface object
2020-11-23 01:38:06 +02:00
Slava Monich
162e1ca996
Take logging categories into use
...
Logging can be enabled in release build like this:
QT_LOGGING_RULES="fernschreiber.*=true" harbour-fernschreiber
See https://doc.qt.io/qt-5/qloggingcategory.html for more details.
2020-11-22 16:40:55 +02:00
Slava Monich
e68340d406
Added notificationTurnsDisplayOn option
...
It defaults to false
2020-11-21 01:43:08 +02:00
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