Commit Graph

820 Commits

Author SHA1 Message Date
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
Patrick von Reth 49180a6495 hide tabs if not used 2015-03-04 13:14:59 +01:00
Patrick von Reth bf39165bca disable plugin tabs for not loaded plugins 2015-03-04 11:34:43 +01:00
Patrick von Reth efce32156e add each plugin type to a seperate tab 2015-03-04 11:02:15 +01:00
Patrick von Reth 503d264839 make it more easy to embed the settings dialog 2015-03-03 13:02:07 +01:00
Patrick von Reth f83bbe53a8 change local setting prefix 2015-03-02 13:07:34 +01:00
Patrick von Reth a4fd9bfb72 add timeout to settings 2015-03-02 11:11:23 +01:00
Patrick von Reth aa331a7e98 make it possible to embed the settings dialog, enable snore-settings to modifiy local settings of other applications 2015-03-02 01:35:05 +01:00
Patrick von Reth 69819fb635 style 2015-03-01 17:29:17 +01:00
Patrick von Reth b1dcef1271 plugins are disabled by default 2015-03-01 17:27:36 +01:00
Patrick von Reth 70dfad1234 cleanup and better versioning of settings 2015-03-01 17:22:05 +01:00
Patrick von Reth 50ed661214 always use local settings 2015-03-01 16:53:04 +01:00
Patrick von Reth 943d19a439 fix plugin loading 2015-03-01 16:47:26 +01:00
Patrick von Reth ef402be6fc this should be less horrible 2015-03-01 16:35:30 +01:00
Patrick von Reth 2217cbeaf7 add settings to snarl 2015-03-01 16:09:09 +01:00
Patrick von Reth 06a82304bd versionize settings 2015-03-01 15:51:52 +01:00
Patrick von Reth 018628db88 add settings for growl, app specific settings 2015-03-01 15:51:51 +01:00
Patrick von Reth fff339be3a remove settings description 2015-03-01 15:51:49 +01:00
Patrick von Reth 882941d3af cleanup 2015-03-01 15:51:48 +01:00
Patrick von Reth 246f327785 set define only where needed 2015-02-26 13:56:08 +01:00
Patrick von Reth b7b8005049 make it possible to have some settings specific to your application 2015-02-26 13:56:07 +01:00
Patrick von Reth fa74937337 only change if dialog was accepted 2015-02-05 16:38:04 +01:00
Patrick von Reth d4ef70f6c4 fix file selector 2015-02-05 16:25:59 +01:00
Patrick von Reth 5341e7b2ab fix linux 2015-02-05 16:25:36 +01:00
Patrick von Reth e78af06b9a style 2015-02-04 16:52:45 +01:00
Patrick von Reth 97d7031719 remove snore() from plugins 2015-02-04 16:50:45 +01:00
Patrick von Reth 5825bd7638 remove d() in snorecore 2015-02-04 16:46:06 +01:00
Patrick von Reth 8217239c4b sync settings before a broadcast 2015-02-04 12:30:45 +01:00
Patrick von Reth 4ea2ce86d3 fix for new api 2015-02-04 10:43:18 +01:00
Patrick von Reth b0195ae4ac make sure snoresettings exits 2015-02-04 10:41:53 +01:00
Patrick von Reth e9e9d57dba use singleton for snorecore 2015-02-04 10:36:21 +01:00
Patrick von Reth 2713e36f90 don't alow it anymore to set the backend directly 2015-02-04 10:22:35 +01:00
Patrick von Reth e65e7d9cbe don't unload plugins if they failed to initialize so we have the possibility to use their settings 2015-02-04 10:00:53 +01:00
Patrick von Reth 4e5f99c0c6 fix 2015-02-04 09:58:10 +01:00
Patrick von Reth d9aac2372f cleanup settings for backends 2015-02-04 09:57:50 +01:00
Patrick von Reth c07e04faeb Don't add unloaded plugins to the list of plugins 2015-02-04 09:57:13 +01:00
Patrick von Reth 959f7a1a63 dont deregister two times 2015-02-04 09:56:46 +01:00
Patrick von Reth 641ed4dbb6 build fix 2015-02-03 18:54:41 +01:00
Patrick von Reth b1fa5e0fb3 remove WITH_FREEDESKTOP_FRONTEND setting 2015-02-03 18:47:10 +01:00
Patrick von Reth 27059afc3e fixes 2015-02-03 18:37:22 +01:00
Patrick von Reth a0ebe1b722 move settings dialog to core, add a config exe 2015-02-03 18:18:25 +01:00
Patrick von Reth 8cf88a448d save current primary backend 2015-02-03 16:52:30 +01:00
Patrick von Reth 5b4229224e apply astyle-kdelibs 2015-02-03 15:45:48 +01:00
Patrick von Reth 63db3a5c90 cleanup includes 2015-02-03 15:38:32 +01:00
Patrick von Reth c966c0b12e compile fix 2015-02-03 15:05:48 +01:00
Patrick von Reth 2dcd673c55 fix header install 2015-02-03 15:05:24 +01:00
Patrick von Reth 482e4c6cdb fix a crash 2015-02-03 14:54:55 +01:00
Patrick von Reth c9ebeca4d2 fixes 2015-02-03 12:39:56 +01:00
Patrick von Reth 3e8c809089 display plugin type 2015-02-03 12:21:12 +01:00
Patrick von Reth 331e9faaf1 handle whether a plugin is enabled 2015-02-03 12:11:46 +01:00
Patrick von Reth 4e0b906bb5 fix crash 2015-02-03 11:11:40 +01:00
Patrick von Reth a3fa05c1d0 prepare the possibility to disable plugins 2015-02-03 11:05:17 +01:00
Patrick von Reth 7d1e8280aa add missing file 2015-02-03 09:40:08 +01:00
Patrick von Reth 7d38b7582d cleanup 2015-02-02 20:54:48 +01:00
Patrick von Reth 910d4e6482 make it possible to disable backends 2015-02-02 20:28:00 +01:00
Patrick von Reth 9314047b14 added a sound backend 2015-02-02 18:35:00 +01:00
Patrick von Reth fbb92d5c00 toasty settings 2015-02-02 16:07:32 +01:00
Patrick von Reth d48da78cc1 added basic support for settings uis 2015-02-02 15:46:03 +01:00
Patrick von Reth c7c702b444 maybe fix plugin lookup when used on other system than build system 2015-02-02 12:25:07 +01:00
Patrick von Reth 44de021a62 fix typo 2015-02-02 11:59:29 +01:00
Patrick von Reth 4bc9c4cecb cleanup cmake and use kde install dirs 2015-02-02 11:39:21 +01:00
Patrick von Reth 1292423c73 use qscoped pointer this might fix the deadlock on exit 2015-02-01 19:41:35 +01:00
Patrick von Reth 8be2a991a0 fix linux build 2015-02-01 18:35:19 +01:00
Patrick von Reth f1e78e31ed fix 2015-02-01 16:02:30 +01:00
Patrick von Reth 93f9268a70 fix cmake 2015-02-01 16:00:27 +01:00
Patrick von Reth 72069392ad move daemon code to subdir and fix option 2015-02-01 15:21:49 +01:00
Patrick von Reth 918f87ba2e cleeanup structure 2015-01-27 15:00:12 +01:00
Patrick von Reth 050efebe42 use ecm for the icon 2015-01-27 14:57:00 +01:00
Patrick von Reth 3044dbff33 dont cache key 2015-01-22 14:54:12 +01:00
Patrick von Reth 6e0ac042d0 fix cinst stuff, not happy 2015-01-22 13:31:50 +01:00
Patrick von Reth cf1d34af11 some constnes 2015-01-22 13:19:41 +01:00
Patrick von Reth 3972f2bc45 don't cache the corner 2015-01-22 13:18:04 +01:00
Patrick von Reth b0594d4087 cleanup 2015-01-22 12:59:03 +01:00
Patrick von Reth 44bd51c3f5 add a setting to display the snore backend nitification in a different screen corner 2015-01-22 12:58:21 +01:00
Patrick von Reth 6d6c92f9a9 dont make register and close notification call close notification 2014-10-16 14:35:57 +02:00
Patrick von Reth ceb1eff0ae fixed cmake for linux 2014-10-14 14:24:10 +02:00
Patrick von Reth f5258c7337 drop QSystemTrayicon from snore and use a app hint instead 2014-10-14 11:59:00 +02:00
Patrick von Reth 64ee05b079 fix flicker of notification 2014-10-14 11:30:01 +02:00
Patrick von Reth 7803a8bfdc make it a bit longer 2014-09-23 16:42:50 +02:00
Patrick von Reth b8e5a90ae6 fixed max line computation 2014-09-23 16:36:28 +02:00
Patrick von Reth 3225fb65fa scale dependning on font size 2014-09-23 16:26:51 +02:00
Patrick von Reth 3f96f1effa fixed removig of the copies of resources 2014-09-22 15:26:14 +02:00
Patrick von Reth 6425338c35 changed icon download code as it could cause freezes 2014-09-22 15:10:49 +02:00
Patrick von Reth 0178f5ea1d use qt5 json magic to load plugins 2014-09-22 09:54:09 +02:00
Patrick von Reth f19e50d6f5 Don't use dpi foo but percentage of screen height 2014-09-22 09:38:11 +02:00