Ilya Fedin
0fbec5eba1
Use QVersionNumber to compare version in native notifications
2020-06-03 11:31:34 +04:00
Ilya Fedin
10b169f9f6
Make not supported errors static
2020-06-01 18:19:34 +04:00
Ilya Fedin
c83b8d4043
Fix naming of static variables
2020-06-01 18:19:34 +04:00
John Preston
b7aa60bedf
Fix build for Linux.
2020-06-01 18:09:34 +04:00
John Preston
d5b3fa017b
Fix build for macOS.
2020-06-01 18:09:34 +04:00
John Preston
6f760d513e
Add a checkbox to disable taskbar flash.
...
Also add ability to set urgent flag for the window on Linux.
Fixes #223 , fixes #897 , fixes #906 .
2020-05-12 14:16:24 +04:00
Ilya Fedin
46d4b03d49
Fix freeze in notifications settings when notification daemon is unavailable
2020-05-01 12:15:01 +04:00
Ilya Fedin
99a8c93ac1
Fix build with gcc 9
2020-03-16 13:00:16 +04:00
Ilya Fedin
ba5d9eda2d
Minimize dbus requests
2020-03-11 11:43:14 +04:00
Ilya Fedin
7ac4c6e479
Add mark as read feature to linux native notifications
2020-03-06 18:39:34 +04:00
Ilya Fedin
fdf16d0aea
Fix notification daemon detection on KDE
...
Minimize usage of QDBusInterface
Log the whole notification daemon information
2020-03-06 18:39:34 +04:00
Ilya Fedin
7aadaca62e
Implement SkipAudio and SkipToast on Linux
2020-03-06 18:29:57 +04:00
Ilya Fedin
57b76e3f00
Remove usage of QDBusInterface from non-class methods in Linux native notifications
2020-03-02 11:22:36 +04:00
Ilya Fedin
7bd0598555
Unified function to detect icon name on Linux
2020-02-27 15:17:32 +04:00
Ilya Fedin
3b300f23e1
Independent check for image in Linux native notifications
2020-02-27 12:23:56 +04:00
Ilya Fedin
2b0e62dafe
Follow hidding reply setting in native notifications on Linux, use system icon
2020-02-24 21:00:25 +04:00
Kai Uwe Broulik
9e3fa2e4bc
Check action id when invoked
...
Makes it more resilient
2020-02-10 14:45:07 +04:00
Ilya Fedin
d80b3fda7d
Fix duplicate object path in SandboxAutostart and add some logging
2020-01-31 15:47:44 +03:00
Ilya Fedin
a831c1703a
Split launcher filename detection to a function
2020-01-31 15:46:39 +03:00
John Preston
74d848311b
Replace str_const with base::const_string.
2020-01-29 12:47:50 +03:00
Ilya Fedin
9536a3c98e
Use packaged build in the snap package
2020-01-28 20:38:12 +03:00
Ilya Fedin
74942cd06e
Use QDBusConnection::connect to fix signal connection on old distributions
2020-01-28 16:43:23 +03:00
Ilya Fedin
1d85416434
Remove unneeded include from QtDBus notifications
2020-01-24 18:06:58 +03:00
Vitaly Zaitsev
b94c8436eb
Added missing Qt header. Fixed clang build.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-01-24 15:35:15 +03:00
Ilya Fedin
0480611bf8
Add possibility to build without dbus
2020-01-21 23:30:47 +03:00
John Preston
48b24d12b2
Always ask for TDESKTOP_LAUNCHER_BASENAME on Linux.
2020-01-21 18:47:36 +03:00
kbroulik
b50073d281
Implement inline-reply
...
On supported notification servers (currently only KDE Plasma 5.18+) this
action will create a reply text field inside the notification.
2020-01-21 15:27:50 +03:00
Ilya Fedin
2298eed8bf
Use QStringList::contains also
2020-01-21 11:57:52 +03:00
Nicholas Guriev
8fab9167be
Use QStringList::join to print notifications capabilities
2020-01-20 14:05:00 +03:00
John Preston
afe34121af
Use MACRO_TO_STRING from lib_base.
2020-01-17 14:15:40 +03:00
Ilya Fedin
ee9336f781
Fix notification actions for Cinnamon, fix notification icon for Gnome, add support for TDESKTOP_LAUNCHER_FILENAME in notifications and fix indentation
2020-01-17 13:40:31 +03:00
ilya-fedin
3d36b4f866
Replace libnotify with QtDBus notification implementation ( #6825 )
2019-12-29 18:41:45 +03:00
John Preston
da4120bddd
Fix building without glib.
2019-11-18 10:52:32 +03:00
Christian Hesse
0c0c8f3584
libnotify: capabilities are not exclusive
...
Capabilities "actions" and "body-markup" can be available at the
same time.
Signed-off-by: Christian Hesse <mail@eworm.de>
2019-11-13 11:22:08 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
3715fa4b1e
Fix scheduled notifications on inbox read.
2019-08-30 17:06:21 +03:00
John Preston
0a4f91a53d
Notify about published scheduled messages.
2019-08-29 10:01:28 +03:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
eba2a98703
Add general StorageFileLocation abstraction.
2019-03-29 14:24:06 +04:00
Kirill Romanov
496c361bdc
Gnome notification fix ( #5215 )
...
* Set notification desktop entry hint
* Set X-GNOME-UsesNotifications flag
2018-11-08 14:58:04 +04:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
2aa477176c
Fix build for Xcode / GCC.
2018-02-08 12:20:52 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
af552fb4c0
Replace base/task_queue with crl.
2017-12-31 00:28:38 +03:00
John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +04:00
eegorov
8bfe407610
New build option: without GTK and appindicator
...
Signed-off-by: Egor Y. Egorov <egor.y.egorov@gmail.com> (github: eegorov)
2017-09-28 18:32:51 +03:00
John Preston
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +03:00
John Preston
17cef93ac0
Use gsl::finally() instead of base::scope_guard().
2017-08-30 19:15:26 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
5444b8166c
Finalize rename / move of files.
2017-04-07 18:13:18 +03:00