Commit Graph

34 Commits

Author SHA1 Message Date
Patrick Ulbrich
8464a5261a Remove uneccessary stuff from copyright headers 2019-10-22 19:13:15 +02:00
Patrick Ulbrich
c599706fb9 s/python2/python3/g 2019-10-19 17:28:32 +02:00
Patrick Ulbrich
337176fa19 Fix recurrent mails-removed signal 2016-02-24 18:49:51 +01:00
Patrick Ulbrich
dc8f1480f1 Misc improvements
* Remove bash scripts and start mailnag python scripts directly
  - Prevents duplicate process names
  - Fixes missing app icon in taskmanager
* Remove background startup functionality
  - Should be handled by modern init systems like systemd
    (see new-style-daemon: http://www.freedesktop.org/software/systemd/man/daemon.html)
  - Enables program termination via CTRL+C when running mailnag in a terminal
  - Doesn't hide the commandline prompt when running with options like --help (reported in issue #87)
  - Fixes wrapping issues in the log output
* Rename mailnagd into mailnag again
* Remove --backround option
* Fix and reorder module imports
* setup.py: patch BIN_DIR in dist_cfg
2014-12-19 21:22:45 +01:00
Patrick Ulbrich
7408cafe8c Improved connectivity tests, other fixes. Closes #86, #87
* Replace unreliable connectivity test by configurable ConnectivityTest
class
* Move connectivity check from main into MailnagDaemon
  (does no longer block if another instance tries to shutdown Mailnag)
* Fix crash occuring on failing Idler reconnect
* Log warning instead of error if no internet connection is available
2014-12-13 17:02:54 +01:00
Patrick Ulbrich
dece0102a8 Add ACCOUNTS_LOADED plugin hook, support OAuth2 authentication
* In preparation for GNOME Online Accounts Plugin
* Partially fixes #46
2014-12-06 16:40:16 +01:00
Patrick Ulbrich
5cf0ce63aa fixed MAILS_REMOVED hook logic 2014-05-29 21:07:12 +02:00
Patrick Ulbrich
72425ef05e renamed Reminder into Memorizer 2014-05-29 19:54:51 +02:00
Patrick Ulbrich
9690234084 implemented mark-as-read feature, other fixes
implemented mark-as-read feature
refactored reminder class
don't write mailnag.dat on every mail check (only if its contend has changed)
minor other fixes
2014-02-23 19:13:54 +01:00
Patrick Ulbrich
ce73ef32de added datetime to log 2013-08-10 15:28:31 +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
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
5834521431 merged related classes into mudules 2013-07-17 20:11:28 +02:00
Patrick Ulbrich
c31f9fd84e only call MAILS_ADDED hooks if there are actually mails after filtering 2013-07-14 16:56:14 +02:00
Patrick Ulbrich
211db22ce4 added plugin framework and converted dbusservice into a plugin 2013-07-14 15:53:01 +02:00
Patrick Ulbrich
c54f9992f2 s/env python/env python2/g 2013-06-15 16:42:54 +02:00
Patrick Ulbrich
5d7c1ac9c8 stripped down Mailnag to a core functionality
overhauled config gui that reflects the changes and introduces plugins
disable/restart daemon via dbus call when closing the config gui
refactoring
2013-06-15 16:15:28 +02:00
Patrick Ulbrich
7631dabb15 added dbus service, removed notifications (sound and popups) from daemon 2013-06-10 20:29:19 +02:00
Patrick Ulbrich
d12d2c5c5e comment cleanup 2012-12-23 14:13:10 +01:00
Patrick Ulbrich
d02a99b86f removed messagetray label since it is not visible in GNOME 3.6 2012-10-20 18:35:09 +02:00
Patrick Ulbrich
42a82b04d0 STFU if gnome-shell notifications are disabled 2012-04-21 18:13:07 +02:00
Patrick Ulbrich
a77cf3800b print count of accounts to be checked 2012-01-12 23:45:16 +01:00
Patrick Ulbrich
b406602d80 marked members as private where appropriate 2012-01-08 13:37:33 +01:00
Patrick Ulbrich
e1a88d242c moved notification cleanup to mailchecker.dispose() 2012-01-03 21:07:05 +01:00
Patrick Ulbrich
6d68a191c9 mass commit
fixed imap idle implementation (reuse open imap connections and don't poll unaffected accounts)
reconnect if a connection has been lost (e.g. after standby)
moved connection check from startup script to mailnag.py
removed unused/unnecessary code
refactoring, fixed exception handling
2012-01-02 20:33:42 +01:00
Patrick Ulbrich
3c365bb22e refactored firstcheck logic 2011-12-27 16:15:26 +01:00
Patrick Ulbrich
38ae5981f1 marked some methods as private 2011-12-27 15:06:18 +01:00
Patrick Ulbrich
a15b53956b moved gettext handling in i18n module 2011-12-01 20:04:13 +01:00
Patrick Ulbrich
da8293632b removed mailclient configuration 2011-11-28 17:52:31 +01:00
Patrick Ulbrich
fb32f75ca5 rewritten account stuff (unfortunately this breaks existing config files) 2011-11-26 20:23:24 +01:00
Patrick Ulbrich
41abf09cc1 play notification sound using gstreamer instead of aplay 2011-11-19 15:53:43 +01:00
Patrick Ulbrich
a5bb6b3899 renamed mailchecker.timeout to mailchecker.check 2011-11-15 21:55:33 +01:00
Patrick Ulbrich
5e7b039e36 added imap idle support, based on patches by tony747 (disabled by default until gui is ready) 2011-11-15 21:52:41 +01:00
Patrick Ulbrich
e62c9f3ed6 heavy file reorganization and refactoring 2011-11-12 21:13:45 +01:00