Commit Graph

743 Commits

Author SHA1 Message Date
Patrick Ulbrich
41d90f8a76 discard mails with identical ids (both, imap and pop3)
added comments
2013-12-18 13:53:02 +01:00
Patrick Ulbrich
eca1269219 use a dict instead of a list for faster id lookup 2013-12-18 13:23:17 +01:00
Patrick Ulbrich
8eeba44f7a has_key() is deprecated 2013-12-18 13:16:24 +01:00
Patrick Ulbrich
3d52b106cf imap msg dict doesn't seem to throw a keyerror, so throw it explicitely 2013-12-17 17:59:17 +01:00
Patrick Ulbrich
524e6d5654 refactored mails class 2013-12-17 16:51:18 +01:00
Patrick Ulbrich
80cf60e4a3 identify mails (both, imap and pop3) via MD5 hash.
(IMAP Message-Id doesn't seem to reliable. Fixes #57.
2013-12-01 20:11:31 +01:00
Patrick Ulbrich
5f478561ac autostart daemon with --quiet option so log messages don't appear twice in system log (fixes #58) 2013-11-30 12:49:03 +01:00
Patrick Ulbrich
9bcffa79ed added --quiet commandline option 2013-11-30 12:47:40 +01:00
Patrick Ulbrich
0ab5f91fb7 pass commandline args to python scripts 2013-11-30 12:43:40 +01:00
Patrick Ulbrich
cf2ad282ad tweaked color gradient of config window 2013-11-17 19:35:58 +01:00
Patrick Ulbrich
ad63208c15 don't select INBOX folder if another folder does not exist 2013-10-24 19:16:02 +02:00
Patrick Ulbrich
e8d5125d97 added some whitespace to MailSyncer class 2013-10-24 19:02:50 +02:00
Patrick Ulbrich
11130ca093 fixed plugin paths 2013-10-22 00:35:15 +02:00
Patrick Ulbrich
c95ca04086 fixed spelling 2013-10-21 21:13:02 +02:00
Patrick Ulbrich
d6eabf014a fixed setup file (again...) 2013-10-21 21:00:30 +02:00
Patrick Ulbrich
9d730b1b9c fixed setup file 2013-10-21 18:57:06 +02:00
Patrick Ulbrich
c35f523fc8 fixed typo 2013-10-20 11:43:44 +02:00
Patrick Ulbrich
5409c713ff updated README.md 2013-10-20 11:42:43 +02:00
Patrick Ulbrich
e339a9741a updated README.md 2013-10-20 11:41:34 +02:00
Patrick Ulbrich
9d988b1b88 changed project description 2013-10-19 20:14:07 +02:00
Patrick Ulbrich
61a0108389 bumped up version of required libnotify dependency 2013-10-19 20:11:46 +02:00
Patrick Ulbrich
0009f9b15d temporarily removed download links 2013-10-19 20:10:16 +02:00
Patrick Ulbrich
6f06f6c32b renamed desktop file 2013-10-13 22:45:03 +02:00
Patrick Ulbrich
155db7af29 fixed setup script 2013-10-13 22:38:31 +02:00
Patrick Ulbrich
11b772ed1a removed support for GNOME's do-not-disturb mode (not available anymore in GNOME 3.10) 2013-10-12 20:10:34 +02:00
Patrick Ulbrich
8661a7236a fixed add_action call (libnotify 0.7.6 introces API changes) 2013-10-12 20:07:49 +02:00
Patrick Ulbrich
df1a8c4d43 removed some unnecessary braces 2013-10-04 17:10:14 +02:00
Patrick Ulbrich
c5bdb66231 subproc: specified timeout on function call, removed comment 2013-10-04 15:56:03 +02:00
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