Commit Graph

904 Commits

Author SHA1 Message Date
Patrick von Reth cf46a9aae1 Added possebility to call settings for just one application. 2015-08-18 10:41:34 +02:00
Patrick von Reth 14a412b54f Fix windows-app-id hint detection 2015-08-17 19:53:52 +02:00
Patrick von Reth 5d21e1cc0c fix typo 2015-08-17 18:23:01 +02:00
Patrick von Reth aefbb064bf Update german translation 2015-08-17 17:27:08 +02:00
Patrick von Reth fedd5564c3 Fix string and update translation 2015-08-17 16:59:34 +02:00
Patrick von Reth b1bed3f97d Add some tooltips to the config gui 2015-08-17 16:02:24 +02:00
Patrick von Reth 3d058dbe96 Update the shipped SnoreToast.exe 2015-08-17 14:52:37 +02:00
Patrick von Reth a038f03347 Snoresend is a cmd application so mark it as non gui 2015-08-17 12:02:44 +02:00
Patrick von Reth 4fc6e33cd4 Use a different timestamp methode 2015-08-17 12:02:14 +02:00
Patrick von Reth cebd73c094 Fix flushing 2015-08-15 00:46:45 +02:00
Patrick von Reth b3531f0c39 Include timestamp in log messages 2015-08-15 00:04:51 +02:00
Patrick von Reth eed8b4e040 Remove class doc from src/plugins/backends/snarl/SnarlInterface.h to prevent it from appearing in the doc 2015-08-14 17:10:48 +02:00
Patrick von Reth 2dc5551b9f Add documentation for PluginTypes 2015-08-14 16:52:09 +02:00
Patrick von Reth b6bb93beba snore-send has been renamed to snoresend so also chnage the applications name 2015-08-12 14:10:06 +02:00
Patrick von Reth 3ed204c756 use correct macro 2015-07-30 00:35:52 +02:00
Patrick von Reth 8f49127a24 fix msvc ... 2015-07-29 21:37:57 +02:00
Patrick von Reth 5edad0fe6f style fixes 2015-07-29 16:16:21 +02:00
Patrick von Reth e555d36e56 fix sync settings call 2015-07-29 16:14:49 +02:00
Patrick von Reth 1bee396e03 only allow a limited number of notifications to be active at a time and queue the rest.
More than 100 outstatnding notifications crashed the windows backend,
this shouldn't happen to often but a crash isn't wat we ant too.
2015-07-29 16:12:30 +02:00
Patrick von Reth 7cd19cc0e0 the is no need for a meta invoke here 2015-07-29 16:11:18 +02:00
Patrick von Reth 5ed87306d9 reduce log 2015-07-29 16:10:57 +02:00
jendas 7e8a7f1157 Fixed merge conflicts 2015-07-29 01:03:06 +02:00
jendas 13a59af61c Fixed loading plugins 2015-07-29 01:00:01 +02:00
jendas 8f3b159f96 Fixed compilation on mac + added possibility to display os x notification without bundle identifier (terminal programs) 2015-07-29 01:00:00 +02:00
jendas1 4a30099480 Remove unecessary code 2015-07-28 22:17:05 +02:00
jendas 944f21f47c Fixed loading plugins 2015-07-28 21:36:36 +02:00
Patrick von Reth 26f4093f8d rename snoresned to match the rest, add icon to snoresend 2015-07-28 11:11:52 +02:00
Patrick von Reth 862a9d0362 make buildin backend optional 2015-07-28 02:14:35 +02:00
Patrick von Reth 9fe5e81533 silence warning about unused code 2015-07-28 02:06:08 +02:00
Patrick von Reth d16fb3f20b fix mac osx build 2015-07-28 02:05:46 +02:00
jendas 0b4b0b89bc Fixed compilation on mac + added possibility to display os x notification without bundle identifier (terminal programs) 2015-07-27 14:46:41 +02:00
Patrick von Reth c9270e51b4 make it possible to use different settings location 2015-07-25 15:20:48 +02:00
Patrick von Reth 55e6ee9d6b fix modules 2015-07-24 01:58:46 +02:00
Patrick von Reth 7f46e579c5 use ECMOptionalAddSubdirectory 2015-07-24 01:30:16 +02:00
Patrick von Reth 417dc0fed7 add licence header 2015-07-23 20:17:05 +02:00
Patrick von Reth 1bc23391d7 improve cli of snoresettings 2015-07-22 18:55:58 +02:00
Patrick von Reth 75d65d96f8 silence warning 2015-07-21 12:04:01 +02:00
Patrick von Reth feda2b20d5 license header 2015-07-21 11:56:52 +02:00
Patrick von Reth f896b1b661 remove unneeded files and make snore-send compile 2015-07-21 11:52:22 +02:00
Patrick von Reth 4d56926c78 merge snoresend back into Snorenotify 2015-07-21 11:38:53 +02:00
Patrick von Reth db449d03d5 improve appveyor script 2015-07-20 11:25:37 +02:00
Patrick von Reth 4ea0d86f2a fix connect on msvc 2015-07-17 15:36:28 +02:00
Patrick von Reth 6ef2f00f4e update translation 2015-07-16 12:46:47 +02:00
Patrick von Reth 92b2c38d07 move SnoreSecondaryBackend to its own header 2015-07-16 11:47:58 +02:00
Patrick von Reth cdc651b6e6 improve plugin loading/error handling 2015-07-15 18:12:43 +02:00
Patrick von Reth 49a1f21e61 improve plugin loading/error handling 2015-07-15 18:11:09 +02:00
Patrick von Reth eecd2b4217 fix QTimer issues 2015-07-15 16:08:12 +02:00
Patrick von Reth 74a500efa9 fix QTimer issues 2015-07-15 16:05:16 +02:00
Patrick von Reth d310cb821c fix snarl backend 2015-07-15 15:39:15 +02:00
Patrick von Reth 0c072f3368 cleanup 2015-07-15 15:25:01 +02:00
Patrick von Reth f05300178d stop timeout timer if notification is closed 2015-07-15 15:19:17 +02:00
Patrick von Reth 61f0908a36 cleanup 2015-07-15 15:07:32 +02:00
Patrick von Reth 1146340184 improve test notification 2015-07-15 15:00:53 +02:00
Patrick von Reth 52bb577885 make osx backend work? 2015-07-15 12:43:15 +02:00
Patrick von Reth f67d4a5201 make sure the fallback works 2015-07-15 12:35:59 +02:00
Patrick von Reth 9f3cdc6f41 Make sure notification times out even so there is no working backend 2015-07-15 12:23:01 +02:00
Patrick von Reth 5112904d32 cleanup plugin loading 2015-07-15 11:21:14 +02:00
Patrick von Reth 7d0f7584fd improve SnorePlugin::setEnabled 2015-07-13 21:49:33 +02:00
Patrick von Reth 24bfc9e50b fix issues with broken backends 2015-07-13 18:38:59 +02:00
Patrick von Reth d12eca88e2 process events before broadcast 2015-07-13 17:30:15 +02:00
Patrick von Reth 753dfc9109 improve the way plugins are initialized, looks a bit fishy for frontends 2015-07-13 17:20:51 +02:00
Patrick von Reth 3f9d5ec325 set default settings befor before initialize is called 2015-07-13 13:34:03 +02:00
Patrick von Reth 55f4606d49 fix cross compile on fedora 2015-07-10 16:47:28 +02:00
Patrick von Reth 1536c109a5 complete renaming of bakcneds 2015-07-10 14:18:15 +02:00
Patrick von Reth b0dd50540e fix crash 2015-07-10 14:18:14 +02:00
Patrick von Reth 8196e3a669 added an assert 2015-07-10 14:18:13 +02:00
Patrick von Reth cd2bb17728 rename two plugins 2015-07-10 13:59:48 +02:00
Patrick von Reth b8dbc734c1 fix clash of plugins of different type with the same name 2015-07-10 13:56:19 +02:00
Patrick von Reth a586ca60e3 prevent notification loops 2015-07-10 12:39:52 +02:00
Patrick von Reth 7713c61fdb prevent notification loops 2015-07-10 12:17:57 +02:00
Patrick von Reth f724133f31 use better icon for freedesktop notifications 2015-07-10 12:07:36 +02:00
Patrick von Reth 822271870e use reference 2015-07-09 12:01:06 +02:00
Patrick von Reth 5cb65c3625 Introduce key to Alert and Action.
As the name of them might be a translated string, the lookup of these using the name might be problematic.
Key is either identical to name or a fixed untranslated string.
2015-07-09 11:52:41 +02:00
Patrick von Reth 892d170791 drop active flag for alerts 2015-07-09 11:24:48 +02:00
Patrick von Reth 1a1e675745 Make Application::alerts use a Qstring as key again 2015-07-08 15:36:44 +02:00
Patrick von Reth 608a1be3d4 doc and some asserts 2015-07-08 12:21:20 +02:00
Patrick von Reth 889eab6f38 try to recconect pushover frontend 2015-07-08 12:10:53 +02:00
Patrick von Reth e246656cb1 prevent multiple broadcasts of the same notification 2015-07-07 23:37:05 +02:00
Patrick von Reth cec2801784 cleanup 2015-07-07 23:20:13 +02:00
Patrick von Reth 0612a6feef add some doc 2015-07-07 23:18:41 +02:00
Patrick von Reth 9a383e8743 remove default constructor for icons 2015-07-07 23:01:50 +02:00
Patrick von Reth a8380a3484 updated translations 2015-07-05 14:05:13 +02:00
Patrick von Reth 6aed996b34 generate .pri file 2015-07-05 13:48:47 +02:00
Patrick von Reth 5857d09085 cleanup includes 2015-07-05 13:06:21 +02:00
Patrick von Reth 884363e67f added some doc and moved code out of utils 2015-07-05 12:24:59 +02:00
Patrick von Reth b08310d869 Added some doc. 2015-07-05 12:16:33 +02:00
Patrick von Reth ba8e6bde21 fix strings 2015-07-03 12:01:57 +02:00
Patrick von Reth 95cc073b5e cleanup string creation 2015-07-03 11:58:43 +02:00
Patrick von Reth 09620f66f0 style fixes, kde-dev-scripts/astyle-kdelibs 2015-07-03 11:43:18 +02:00
Patrick von Reth 1dbc3e4710 rename settings functions 2015-07-03 11:37:28 +02:00
Patrick von Reth 7fb29fe49e make pushover frontend 10% more clean 2015-07-03 11:32:37 +02:00
Patrick von Reth 8a30deef6b add missing ) 2015-07-02 16:28:54 +02:00
Patrick von Reth 6c67fa3acf add missing ) 2015-07-02 16:28:11 +02:00
Patrick von Reth 5283471eda delay application registration 2015-07-02 15:45:08 +02:00
Patrick von Reth 5ca5c5df79 fix typo 2015-07-02 15:31:05 +02:00
Patrick von Reth 27369b004f always build plugin 2015-07-02 15:12:30 +02:00
Patrick von Reth ba72d65420 use KDE Frameworks compile settings 2015-07-02 14:24:11 +02:00
Patrick von Reth a8f7d93523 cleanup 2015-06-30 11:19:41 +02:00
Patrick von Reth fc2a42e51a update doc 2015-06-29 21:17:54 +02:00
Patrick von Reth 4f96a52aa8 cleanup Hints, make noitification inherit Hints from application, fix marokup.. 2015-06-29 21:09:05 +02:00
Patrick von Reth 64a680f729 fix markup stuff 2015-06-29 16:12:38 +02:00
Patrick von Reth 0433f38f37 make pushover frontend optional depending on Qt5WebSockets 2015-06-29 15:33:42 +02:00
Patrick von Reth 906a79cea8 fix missing ; 2015-06-29 15:33:16 +02:00
Patrick von Reth 54ffa5af96 added makup support and priorities 2015-06-29 15:06:47 +02:00
Patrick von Reth 8529ea873e cleanup 2015-06-29 14:58:54 +02:00
Patrick von Reth e68b7672a6 fix emergency notification 2015-06-29 14:34:10 +02:00
Patrick von Reth 5f52062425 add missing change 2015-06-29 12:21:06 +02:00
Patrick von Reth 4a57343a40 typo 2015-06-29 12:09:34 +02:00
Patrick von Reth c004504a9d normalize urgency in freedesktop backend 2015-06-29 12:08:23 +02:00
Patrick von Reth b530d7771c only acknowledge messaged withou acked parameter 2015-06-29 12:01:36 +02:00
Patrick von Reth 8ea70e63e8 add settings for pushover frontend, extend priority enum 2015-06-29 11:58:28 +02:00
Patrick von Reth 2510150af7 initialize plugin first 2015-06-29 11:58:27 +02:00
jendas ada7a30dac Switched to CamelCase convenction and deletion of activated notification 2015-06-29 10:01:41 +02:00
jendas 89b3b0ad3f New: OS X notifications are now working again 2015-06-28 22:27:22 +02:00
Patrick von Reth 1e2d675b57 started work on a pushover frontend 2015-06-28 14:56:35 +02:00
Patrick von Reth 47d4bc1c40 fix 2015-06-27 15:19:23 +02:00
Patrick von Reth 2133691899 only use markup in pushover if the app has markup enabled 2015-06-27 15:18:19 +02:00
Patrick von Reth 6177e89670 update freedesktp frontend 2015-06-26 16:28:15 +02:00
Patrick von Reth e0b751cc93 make sure that test notifications uses the correct markup value 2015-06-26 15:37:22 +02:00
Patrick von Reth 361ee29e94 fix warnings and crash 2015-06-26 13:00:46 +02:00
Patrick von Reth 5ecd0c3cc3 enable markup for internal apps 2015-06-26 12:35:11 +02:00
Patrick von Reth 229b725c55 change the way the singleton is created. 2015-06-26 12:34:39 +02:00
Patrick von Reth 711e880dd7 fix markup stuff 2015-06-26 11:37:34 +02:00
Patrick von Reth 3031723315 disable markup by default, escape string and resolve escaped html 2015-06-26 11:16:27 +02:00
Patrick von Reth 5813e0053b fix settings key 2015-06-26 00:16:20 +02:00
Patrick von Reth 2e2ecbd58e fixed mac build? 2015-06-24 18:22:10 +02:00
Patrick von Reth e5f855ce07 fix freedesktop backend 2015-06-24 18:21:05 +02:00
Patrick von Reth 62e0ea8843 fix assert 2015-06-24 18:04:58 +02:00
Patrick von Reth 40b70ae6f7 use hint name as documented 2015-06-24 17:41:47 +02:00
Patrick von Reth 25646a45e6 fix 2015-06-24 12:37:26 +02:00
Patrick von Reth f00b7dd6e9 Make it possible to override default value with app specific default values 2015-06-24 12:35:58 +02:00
Patrick von Reth 051e2d1818 Don't set plugin name in constructor. 2015-06-24 12:06:27 +02:00
Patrick von Reth 8fc1907d6d cleanup backend api 2015-06-23 20:53:21 +02:00
Patrick von Reth 22b4d50ce3 add setting to disable notification sounds 2015-06-23 18:46:34 +02:00
Patrick von Reth 6946b0db9f drop defaults from hints 2015-06-23 18:32:57 +02:00
Patrick von Reth 080d615b1a drop supports richtext 2015-06-23 18:12:27 +02:00
Patrick von Reth 21846d2d2e use markup again for snore backend 2015-06-23 17:13:01 +02:00
Patrick von Reth bb447c91c1 add better support for markup in messages.
added a test class
2015-06-23 17:04:57 +02:00
Patrick von Reth 252b7588cf added pushover support 2015-06-22 20:19:23 +02:00
Patrick von Reth 026a72f4df cleanup 2015-06-02 17:56:21 +02:00
Patrick von Reth 18e9a713a9 fix loading of settings page 2015-05-19 15:22:00 +02:00
Patrick von Reth 58657bfd5b cleanup 2015-05-19 14:51:30 +02:00
Patrick von Reth d795a81a1d don't crash if no primary backends are avalible 2015-05-19 14:42:25 +02:00
Patrick von Reth 737e289167 only display primary backend combobox if a primary backend is avalible 2015-05-19 14:42:07 +02:00
Patrick von Reth 1900ff2364 fix crash if notification is closed and there is no primary backend 2015-05-19 14:10:49 +02:00
Patrick von Reth d1b54f7028 try to fix mac backend 2015-05-15 12:53:32 +02:00
Patrick von Reth 2f58f1163e make it possible to set settings using the command line 2015-05-05 18:13:33 +02:00
Patrick von Reth e106584a0e fix settings icon 2015-05-02 14:30:05 +02:00
Patrick von Reth db67233d2c don't warn when loading of translation fails 2015-05-02 14:26:27 +02:00
Patrick von Reth a7b5b699de update linux backend 2015-04-26 16:10:02 +02:00
Patrick von Reth 641f94aa12 use new style connect 2015-04-26 15:37:47 +02:00
Patrick von Reth a21fd43b88 add possebility for secondary backends to only perfrom an action when the notification is displayed and not when it is broadcasted 2015-04-26 15:33:09 +02:00
Patrick von Reth 4b0b6e128b cleanup api and added a signall for notificationDisplayed 2015-04-26 15:25:29 +02:00
Patrick von Reth 9b4f390a0b make compile with more stupid compiler 2015-04-24 15:34:30 +02:00
Patrick von Reth 7ba599d7b8 use priority in nma 2015-04-24 10:03:56 +02:00
Patrick von Reth db3295ba92 fix mac backend (in theory) 2015-04-23 12:39:59 +02:00
Patrick von Reth fa733c1c8e add check 2015-04-20 16:50:15 +02:00
Patrick von Reth faf95d9ed3 rename methode to be compatible with older version 2015-04-20 15:23:02 +02:00
Patrick von Reth dab3728eee fix leak 2015-04-20 13:29:28 +02:00
Patrick von Reth 6f4a8d72f3 hm we still have a leak with the notifications 2015-04-20 10:28:07 +02:00
Patrick von Reth 0fb7f2d6b2 this should be better -.- 2015-04-19 20:15:46 +02:00
Patrick von Reth 80f6710868 improve api 2015-04-19 12:22:23 +02:00
Patrick von Reth d9e0c92170 started to drop getActiveNotificationByID 2015-04-19 11:40:38 +02:00
Patrick von Reth 282f51da87 code style 2015-04-18 15:11:04 +02:00
Patrick von Reth 2dcde7b37a cleanup the frontend code 2015-04-18 13:58:10 +02:00
Patrick von Reth a60047587b cleaup log 2015-04-18 13:57:55 +02:00
Patrick von Reth 08e58fd325 log warnings to std::cerr 2015-04-18 12:48:55 +02:00
Patrick von Reth 7002bff4f9 small change to logging 2015-04-18 12:43:02 +02:00
Patrick von Reth 954d4fb1ce change logging 2015-04-18 12:30:01 +02:00
Patrick von Reth 1a576df4e8 add notify my android backend 2015-04-17 14:27:21 +02:00
Patrick von Reth e072cc3203 add a comment 2015-04-17 10:57:51 +02:00
Patrick von Reth 4fb225402e linux compile fix 2015-04-17 10:42:52 +02:00
Patrick von Reth c7f0e42a47 make notification come to front without stealing the focus, currently only on windows 2015-04-16 14:29:32 +02:00
Patrick von Reth c717150236 move code to Utils 2015-04-13 22:46:26 +02:00
Patrick von Reth 75d4877b1c use methode from snore::utils 2015-04-13 20:21:25 +02:00
Patrick von Reth 24a8bcd287 make bring to front static 2015-04-13 20:20:53 +02:00
Patrick von Reth a36bfead69 extend bring to front 2015-04-13 20:14:34 +02:00
Patrick von Reth 5e4838467a fix toasty encoding 2015-04-12 16:58:40 +02:00
Patrick von Reth b046f7bc8d we don't want focus here 2015-04-12 14:59:12 +02:00
Patrick von Reth db60a9efd3 add windows code for bringWidowToFront 2015-04-12 14:54:10 +02:00
Patrick von Reth 76f1279aa7 compile fix 2015-04-10 10:07:37 +02:00
Patrick von Reth 2cb4f41964 added a volume option to the sound backend. stop sound when notification timed out 2015-04-10 10:06:16 +02:00
Patrick von Reth a7f5181aaf changed window flag to stay on top 2015-04-06 12:26:50 +02:00
Patrick von Reth 51131cf2bd code style 2015-04-06 12:03:22 +02:00
Patrick von Reth be25b29bde code style 2015-04-06 11:57:55 +02:00
Patrick von Reth 3ba2f24ba2 renamed CLOSE_RESON::CLOSED to ACTIVATED 2015-04-06 11:26:40 +02:00
Patrick von Reth a2cc0dbb9c allwo passing of a window id too 2015-04-04 15:22:52 +02:00
Patrick von Reth 87f6bdfcc5 make it possible to bring the calling process to front 2015-04-04 14:50:52 +02:00
Patrick von Reth 160f51afbb more tr strings 2015-03-26 17:14:53 +01:00
Patrick von Reth 8d71edb748 add support for translations 2015-03-26 15:56:05 +01:00
Patrick von Reth 886a71eee3 build fix 2015-03-20 13:20:19 +01:00
Patrick von Reth df18b00985 updated desktop files 2015-03-20 13:11:43 +01:00
Patrick von Reth ecaeb935c6 whitespace 2015-03-18 17:38:06 +01:00
Patrick von Reth 204528e09a make build with current version 2015-03-18 17:37:10 +01:00
Patrick von Reth fe1c1af7e1 changed include dir 2015-03-16 11:50:08 +01:00
Patrick von Reth f95c50111b use default alert also in the daemon and always register the default alert 2015-03-16 10:45:50 +01:00
Patrick von Reth 81d6a3cc82 use default app icon 2015-03-11 15:46:14 +01:00
Patrick von Reth dbf3800511 remove setDefaultTimeout 2015-03-11 15:45:43 +01:00
Patrick von Reth 490935302f install version config for libsnore 2015-03-08 19:39:34 +01:00
Patrick von Reth 6746c248c9 make sure snore is in the main thread 2015-03-05 16:25:30 +01:00