Commit graph

27 commits

Author SHA1 Message Date
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
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
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +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
Joseph Donofry
912df2920e
Update macOS notifications to use UserNotifications framework 2021-11-01 20:48:51 -04:00
Nicolas Werner
cfca7157b9
Change indentation to 4 spaces 2021-09-18 00:45:50 +02: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
716c598f4a
Simplify macOS checks for a null image 2021-03-17 19:18:07 +01:00
Loren Burkholder
3748d7853e
Simplify formatting on Windows 2021-03-17 19:18:06 +01:00
Nicolas Werner
f578272a0d
Rewrite notification posting logic
This does away with the nice abstraction layers in order to easily get the best-looking notifications for each platform.
2021-03-17 19:17:57 +01:00
Loren Burkholder
df998ef671
Get event text in event parser function 2021-03-17 19:17:15 +01:00
Loren Burkholder
648844089c
Move data parsing into a dedicated function
Actually posting the notification is now the responsibility of a private function
2021-03-17 19:17:13 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Loren Burkholder
8c62df1bab Include notifications header instead of responses header 2021-02-13 13:40:30 -05:00
Loren Burkholder
567b2d05ef Move notification parsing into postNotification 2021-02-13 13:40:26 -05:00
Loren Burkholder
299c486a2b Display notifications for emote messages properly 2021-02-13 13:01:04 -05:00
Alexander von Gluck IV
e8ff6c9486 notifications/mananger: Follow Linux code paths on Haiku as well 2021-02-03 14:40:14 -06:00
Loren Burkholder
b04a7fbef6 Remove showNotification function 2021-01-19 18:47:18 -05:00
Nicolas Werner
4b4c321397 Allow inline replies from notifications on linux 2021-01-07 10:44:59 +01:00
Nicolas Werner
82ec022f9c Fix notification not being cleared, when read event didn't cause a notification 2020-04-11 23:28:34 +02:00
Nicolas Werner
2022775dd0 Clear notifications when event is read 2020-04-11 01:09:47 +02:00
Colin Lord
bcd92c0604 Enable compilation on FreeBSD (#403) 2018-08-12 09:33:36 +03:00
Konstantinos Sideris
0e814da91c Move all files under src/ 2018-07-17 16:37:25 +03:00
Renamed from include/notifications/Manager.h (Browse further)