Commit Graph

32 Commits

Author SHA1 Message Date
Patrick Ulbrich
8464a5261a Remove uneccessary stuff from copyright headers 2019-10-22 19:13:15 +02:00
Patrick Ulbrich
77022172af Fix problems related to unicode strings 2019-10-19 18:07:19 +02:00
Patrick Ulbrich
c599706fb9 s/python2/python3/g 2019-10-19 17:28:32 +02:00
Patrick Ulbrich
d10831a995 Run '2to3 -W -n' on python files 2019-10-19 17:17:33 +02:00
Patrick Ulbrich
ea5b0d2eca Port to GTKApplication, headerbars 2019-03-10 17:21:36 +01:00
Patrick Ulbrich
a0c8cab354 Move init_logging() to utils 2016-08-04 12:24:38 +02:00
Patrick Ulbrich
67fbc8fcdb Rename account.folder into account.folders and make it a list 2015-04-03 18:53:04 +02: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
79eb4d7c54 added get_data_paths() function needed by upcoming icon theme commit 2014-06-21 13:40:46 +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
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
b51225b216 added optional shell arg to start_subprocess function 2013-07-29 20:33:04 +02:00
Patrick Ulbrich
77490bd881 added start_subprocess() function 2013-07-27 14:39: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
3fb44eb406 removed workaround code and made notification sound working again 2012-10-20 19:00:00 +02:00
Patrick Ulbrich
bdad524684 fixed filename in header comment of utils.py 2012-08-18 15:29:51 +02:00
Patrick Ulbrich
9ef42aeccd moved distro specific vars to dist_cfg.py 2012-08-18 15:27:22 +02: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
5b9e2a3a8f use playbin2 2011-11-29 18:30:13 +01:00
Patrick Ulbrich
da8293632b removed mailclient configuration 2011-11-28 17:52:31 +01:00
Patrick Ulbrich
f266d02a3e commented out debug msg 2011-11-27 17:03:22 +01:00
Patrick Ulbrich
0843db980b fixed gstreamer cleanup issue 2011-11-27 16:43:31 +01:00
Patrick Ulbrich
19f49e5898 fixed lookup of default mail client in GNOME 3 2011-11-27 13:37:04 +01:00
Patrick Ulbrich
546c395ee6 default to the systems default mail client 2011-11-19 16:02:37 +01:00
Patrick Ulbrich
41abf09cc1 play notification sound using gstreamer instead of aplay 2011-11-19 15:53:43 +01:00
Patrick Ulbrich
e62c9f3ed6 heavy file reorganization and refactoring 2011-11-12 21:13:45 +01:00