Commit graph

106 commits

Author SHA1 Message Date
Nicolas Werner
45ecb71444
Qt6.6 compatibility 2023-10-13 23:29:32 +02:00
Nicolas Werner
f145c2a41a
Fix notification images 2023-06-08 22:32:14 +02:00
Nicolas Werner
4c71f6f23f
Remove QtMac header 2023-06-08 22:32:13 +02:00
Nicolas Werner
1212e5b317
Copy arguments for notification 2023-05-29 20:15:47 +02:00
Nicolas Werner
0b9bbd3936
Enable sending notifications via the systemNotification signal on macOS 2023-05-29 20:15:43 +02:00
Nicolas Werner
43df8f3501
Fix duplicate notification category identifier 2023-05-29 03:11:58 +02:00
LcsTen
7e85e9b12b Do not display reply action in the recap notif on Mac 2023-04-14 19:57:35 +02:00
LcsTen
818e205134 Don't send desktop notifications if there are too many of them at once 2023-04-14 19:57:33 +02:00
Ryan Schmidt
7018d05f4d
Fix build on case-sensitive filesystems 2023-03-30 11:53:37 -05:00
Klemens Nanni
f13543c272
fix build/clear notifications on exit on OpenBSD
CMake builds ManagerLinux.cpp on `!MAC && !WIN`, that is BSD and Linux.
Fix the Linux-only assumption in the shared header.

Qt's `Q_OS_UNIX` is defined on Linux, BSDs and macOS alike.
2023-02-23 08:11:01 +04:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
0ab566dc4b
lint and avoid copy 2023-02-02 01:26:42 +01:00
ShootingStarDragons
919ec2a5e3 feat: clean all notifications if exit on linux 2023-01-29 13:46:00 +08:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Joseph Donofry
802ba78fea
Only play macOS notification sounds when pushrules dictate it 2022-11-15 19:04:38 -05:00
Joe Donofry
07e8f64903 Add ability to respond to notifications on macOS 2022-11-04 16:42:09 +00:00
Nicolas Werner
8a4bb32b4a
Add toggle to disable decrypting notifications 2022-10-13 18:19:46 +02:00
Nicolas Werner
37009906bb
Evaluate push rules locally 2022-10-13 17:55:07 +02:00
Nicolas Werner
af699eb83e
Mark classes as final where possible 2022-10-10 14:38:45 +02:00
Nicolas Werner
851333a50d
Switch to clang-format14 2022-09-25 20:05:08 +02:00
Joseph Donofry
213a28eee3
Add notification authorization for badges on macOS 2022-08-04 17:57:43 -04:00
Nicolas Werner
a1968110d5
Fix notification format on windows
fixes #1137
2022-08-01 23:43:20 +02:00
Nicolas Werner
90da39313f
Use right linter 2022-05-10 03:53:35 +02:00
Nicolas Werner
a6b2be112b
More image dialog fixes 2022-05-10 03:20:09 +02:00
Loren Burkholder
686ebfdbec
Add D-Bus API (#916)
This adds functionality for viewing joined rooms and activating rooms.
2022-04-14 15:02:55 +00:00
Nicolas Werner
9a2e07cbce
Fix gray scale images breaking notifications on dunst
Fixes #907
2022-01-26 21:43:55 +01:00
Nicolas Werner
f51188df15
Add profile to notifications on KDE 2022-01-12 19:09:19 +01:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
19dc6cadea
Reserve size of some containers we are filling 2021-12-29 06:01:38 +01:00
Nicolas Werner
d8ead9573b
Reduce allocations using QStringLiteral 2021-12-29 04:52:52 +01:00
Nicolas Werner
5743a6de04
Cleanup remaining clazy issues 2021-12-28 23:22:01 +01:00
Nicolas Werner
eb1e54c8df
Make edits replace the previous notification on Linux 2021-12-22 00:18:56 +01:00
Nicolas Werner
9b25ef3c0d
Set notification category 2021-12-19 09:36:00 +01:00
Nicolas Werner
c03e4c1261
Make Nheko show up in system notification settings on Linux
relates to #845
2021-12-19 09:35:59 +01:00
Nicolas Werner
a13f492e7d
Make clang-format <13 and clang-format >=13 behave the same
I think old clang-format is just buggy in those cases, so we should
reenable those blocks, once everyone has 13 or up.
2021-11-22 00:33:43 +01:00
Joe Donofry
e3002f7993 Fix macOS m.image notif crash 2021-11-03 02:42:19 +00:00
Joseph Donofry
912df2920e
Update macOS notifications to use UserNotifications framework 2021-11-01 20:48:51 -04:00
Nicolas Werner
2981f71d22
lint using clang11 2021-10-17 17:33:59 +02:00
Nicolas Werner
6793bdf3fd
lint 2021-10-17 17:20:51 +02:00
Loren Burkholder
a6c3e3562c Fix some strings and translation stuff 2021-10-01 12:29:54 -04:00
Nicolas Werner
cfca7157b9
Change indentation to 4 spaces 2021-09-18 00:45:50 +02:00
Nicolas Werner
e8e48305c8
Remove version checks for unsupported Qt versions 2021-07-26 18:59:20 +02:00
Nicolas Werner
1408b1a97d
Make CI happy 2021-03-17 22:13:12 +01:00
Nicolas Werner
f6d2fa5ec1
Fix licenses 2021-03-17 19:18:46 +01:00
Nicolas Werner
e5d75c814b
Clean up notification code a bit 2021-03-17 19:18:07 +01:00
Loren Burkholder
41737ac22c
Simplify image loading 2021-03-17 19:18:07 +01:00
Loren Burkholder
95a26edad2
Don't create a QImage every time 2021-03-17 19:18:07 +01:00
Loren Burkholder
716c598f4a
Simplify macOS checks for a null image 2021-03-17 19:18:07 +01:00
Loren Burkholder
5da6ab0aec
make lint 2021-03-17 19:18:07 +01:00
Loren Burkholder
98b2fee71b
Block notifications until the image has been downloaded 2021-03-17 19:18:07 +01:00