Commit Graph

365 Commits

Author SHA1 Message Date
Patrick Ulbrich
eefec08b52 log to syslog 2013-10-03 16:36:52 +02:00
Patrick Ulbrich
c7c926996b subproc: added a further lock, comments and refactoring 2013-10-03 13:10:40 +02:00
Patrick Ulbrich
6f40812ac5 subproc: return pid of started process 2013-09-15 17:46:28 +02:00
Patrick Ulbrich
11df47e6b1 fixed logging message 2013-09-08 18:25:23 +02:00
Patrick Ulbrich
19d21598e1 make sure the _procs dictionary contains valid data when
start_subprocess returns

(as of now threads only wait for process termination)
2013-09-01 19:45:51 +02:00
Patrick Ulbrich
b99cc664ff don't leak thread objects 2013-08-25 18:00:41 +02:00
Patrick Ulbrich
663dc50057 terminate subprocesses on shutdown (e.g. on shutdown via dbus or SIGTERM)
* fixes program hang on shutdown
* improves consistency - terminating Mailnag via CTRL+C always did this
2013-08-25 15:38:35 +02:00
Patrick Ulbrich
9fb3126227 userscript plugin: more rubust script execution 2013-08-11 19:15:04 +02:00
Patrick Ulbrich
6918c1bce2 fixed libnotifyplugin 2013-08-10 16:14:44 +02:00
Patrick Ulbrich
ce73ef32de added datetime to log 2013-08-10 15:28:31 +02:00
Patrick Ulbrich
b8c2ef9343 don't start logging before an existing mailnag instance has been shut down 2013-08-10 15:03:34 +02:00
Patrick Ulbrich
0beba139ed logging and config dir related fixes
replaced stdout redirection by propper logging
only create the config dir when it is actually needed
2013-08-10 14:39:29 +02:00
Patrick Ulbrich
047724c894 replaced remaining occurences of 'mailnag_config' 2013-08-05 21:11:42 +02:00
Patrick Ulbrich
81f3771e40 use identical types in extracted and fallback mail times (int) 2013-08-05 19:43:54 +02:00
Patrick Ulbrich
a89d3365ef include datetime when generating a hashed fallback id 2013-08-05 19:40:35 +02:00
Patrick Ulbrich
214adfb9ba mail sender related changes
removed sender_format from config
store both, sender name and address in mail objects
mailcollector: removed error messages from subject and sender strings
user script plugin: fixed script arg
2013-08-05 19:28:32 +02:00
Patrick Ulbrich
cb30ff69a8 fixed typo 2013-08-04 13:31:00 +02:00
Patrick Ulbrich
a9b97643fd gui sexification 2013-08-04 13:28:37 +02:00
Patrick Ulbrich
8d23b2b811 fixed SIGTERM handler
see https://bugzilla.gnome.org/show_bug.cgi?id=689208 for details
2013-08-02 20:13:58 +02:00
Patrick Ulbrich
1c37c12b6b enforce program termination if cleanup takes too long or if therere are remaining active threads 2013-08-02 20:09:59 +02:00
Patrick Ulbrich
9b53a3d33e renamed [general] settings section to [core] 2013-08-02 19:52:40 +02:00
Patrick Ulbrich
83c7536958 renamed mailnag_config script to mailnag-config, edited manpage 2013-08-02 19:46:35 +02:00
Patrick Ulbrich
4aec44f2b3 set default manual mail check interval to 10 mins 2013-08-02 19:40:07 +02:00
Patrick Ulbrich
5fec52c8de removed manual check interval from config dialog (still configurable in the settings file) 2013-08-02 19:39:38 +02:00
Patrick Ulbrich
4eb64e5e1c overhauled config gui navigation, fixed spacing in general page, renamed comments 2013-08-02 19:24:53 +02:00
Patrick Ulbrich
5a166a28ee added userscript plugin 2013-07-29 20:43:20 +02:00
Patrick Ulbrich
83b7e43caa spamfilter plugin: increased spacing in config ui 2013-07-29 20:34:50 +02:00
Patrick Ulbrich
b51225b216 added optional shell arg to start_subprocess function 2013-07-29 20:33:04 +02:00
Patrick Ulbrich
da05dd8656 added comments 2013-07-29 20:31:58 +02:00
Patrick Ulbrich
86fb8db99b libnotify plugin: added config ui and single notification mode 2013-07-28 17:18:55 +02:00
Patrick Ulbrich
f84abdc4d5 spamfilter plugin: removed unnecessary imports 2013-07-28 16:03:20 +02:00
Patrick Ulbrich
5198745315 config window: sort by visible name instead of internal modname 2013-07-28 15:51:41 +02:00
Patrick Ulbrich
b10b5bc7ff config window: sort plugins by (mandatory, modname) 2013-07-28 15:02:02 +02:00
Patrick Ulbrich
ce4544a0ef libnotify plugin: make sure the linotify daemon is available before notifying 2013-07-28 14:46:23 +02:00
Patrick Ulbrich
394156a6b2 fixed misnamed function call 2013-07-28 12:15:25 +02:00
Patrick Ulbrich
056889b411 libnotify plugin: open default mail reader on click, prevent race conditions, refactoring 2013-07-28 12:12:28 +02:00
Patrick Ulbrich
77490bd881 added start_subprocess() function 2013-07-27 14:39:01 +02:00
Patrick Ulbrich
80c252225a added account configurations for popular email provivers, removed adjustment widgets in the account dialog 2013-07-27 11:16:17 +02:00
Patrick Ulbrich
ce5d8d618a increased window width a bit 2013-07-26 18:04:17 +02:00
Patrick Ulbrich
5ce87bed86 added workaround for gtk3 (gtk3 < 3.8) bug 2013-07-25 22:03:13 +02:00
Patrick Ulbrich
5a27dbfd4b create imap idle accounts by default 2013-07-24 19:16:17 +02:00
Patrick Ulbrich
ee5f7ed6c9 sort mails ascending in single notification mode 2013-07-23 19:55:15 +02:00
Patrick Ulbrich
3f4c71b228 mail sorting related refactoring, added comment 2013-07-23 19:54:13 +02:00
Patrick Ulbrich
74a5e02dc2 plugin hook api changes, enabled single notification mode and misc other fixes
mailchecker, plugins: pass both, new and all mails to MAILS_ADDED hook
mailchecker: fixed wrong count for filtered new mails
libnotify plugin: added some constants, enabled single notification mode, uncommented notification_id
spamfilter plugin: renamed variable
2013-07-22 20:37:29 +02:00
Patrick Ulbrich
3f34b68437 added spamfilterplugin 2013-07-21 12:36:21 +02:00
Patrick Ulbrich
ec9e9967db added edit_plugin_clicked handler 2013-07-21 12:32:41 +02:00
Patrick Ulbrich
d29d22547a removed unnecessary import 2013-07-21 12:30:49 +02:00
Patrick Ulbrich
ab41dc7306 added plugin dialog 2013-07-21 12:29:26 +02:00
Patrick Ulbrich
8b1bd8183e renamed some classes 2013-07-20 12:41:01 +02:00
Patrick Ulbrich
92efc86a77 removed fito - the nice guy - shido from AUTHORS file (already listed under a different name) 2013-07-19 20:46:30 +02:00