Commit graph

23 commits

Author SHA1 Message Date
Loren Burkholder
8b33b1f08b
Simplify regex 2021-03-17 19:18:06 +01:00
Loren Burkholder
3748d7853e
Simplify formatting on Windows 2021-03-17 19:18:06 +01:00
Loren Burkholder
2192e8bea8
Better handle encrypted notifications 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
37acdad928
Add regex to remove replies in notifications 2021-03-17 19:17:15 +01:00
Loren Burkholder
df998ef671
Get event text in event parser function 2021-03-17 19:17:15 +01:00
Loren Burkholder
01bbec88dd
Don't run markdownToHtml on messages 2021-03-17 19:17:14 +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
Loren Burkholder
8d3e463fa6
Use plaintext for Windows notifications 2021-03-17 19:17:13 +01:00
Loren Burkholder
029ae18a07
Format markdown as HTML in notifications 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
9f9c499cb2 Fix typo 2021-02-13 13:01:04 -05:00
Loren Burkholder
299c486a2b Display notifications for emote messages properly 2021-02-13 13:01:04 -05:00
Nicolas Werner
4e6df2edcb Fix notification reply build on other platforms 2021-01-07 11:21:10 +01:00
Nicolas Werner
3ae4e49b5f Remove unused paramters 2020-04-13 17:01:57 +02:00
Nicolas Werner
dcddea6fb8 Fix reply not closing
fixes #124
2020-04-13 16:22:30 +02:00
Nicolas Werner
2022775dd0 Clear notifications when event is read 2020-04-11 01:09:47 +02:00
Konstantinos Sideris
c4613b210e Fix Windows build 2018-07-14 16:27:51 +03:00
Max Sandholm
80ebe3f29d Working D-Bus desktop notifications (#361)
* Working D-Bus desktop notifications

* Remove return type on constructor

* Fix the Windows placeholder class

* Fix wrong variable name

* Fix windows and macOS versions of notificationsmanager
2018-07-11 17:33:02 +03:00
Konstantinos Sideris
95ce2ef920 Implement dekstop notifications on Windows (#290) 2018-07-01 00:23:16 +03:00
Konstantinos Sideris
506cf68072 Implement desktop notification for mac 2018-05-05 22:40:24 +03:00