Commit Graph

358 Commits

Author SHA1 Message Date
cheshire-mouse
d257f70b67 check folder option format 2016-08-16 12:26:08 +03:00
cheshire-mouse
43856eacca use JSON format to save folders configuration 2016-08-16 10:55:43 +03:00
cheshire-mouse
44d250e321 fix non-ascii folder names encoding in the configuration menu 2016-08-16 10:53:58 +03:00
Patrick Ulbrich
574e350da2 Fix regex folder matching. Fixes #128 2016-08-04 18:25:33 +02:00
Patrick Ulbrich
e113012e1d Remove debug output 2016-08-04 18:24:50 +02:00
Patrick Ulbrich
19ed4745e3 Add debug log output for raw folder format 2016-08-04 12:25:41 +02:00
Patrick Ulbrich
a0c8cab354 Move init_logging() to utils 2016-08-04 12:24:38 +02:00
Patrick Ulbrich
f446bc58ea Parse folders via regex. Fixes #127 2016-08-02 19:45:47 +02:00
Patrick Ulbrich
7321c117db Change PING_TEST_HOST to www.google.com 2016-07-18 17:59:06 +02:00
Patrick Ulbrich
bbbd22b9dd Fix GTK warnings (fixes #105) 2016-05-23 19:26:56 +02:00
Patrick Ulbrich
aead528f30 Remove USE_HEADER_BAR flag (not working yet, crashes on Ubuntu 14.04 2016-04-02 20:37:42 +02:00
Patrick Ulbrich
ceb5ecd0ff Bump version 2016-03-31 12:56:35 +02:00
Patrick Ulbrich
f7ec6bacd3 Fix typo in idlers.py. Fixes #118 2016-03-31 12:50:58 +02:00
Patrick Ulbrich
89a06a4dac Fix i18n in userscript plugin 2016-03-24 15:27:39 +01:00
Patrick Ulbrich
ff77a46bf0 Add copyright info for T. Haider 2016-03-22 18:48:41 +01:00
Patrick Ulbrich
2022960005 Log warning if an unencrypt connection is detected 2016-03-19 17:13:16 +01:00
Patrick Ulbrich
492a45d654 Add comment, whitespace, update copyright 2016-03-19 15:33:30 +01:00
Thomas Haider
e6ea759896 use STARTTLS if offered 2016-03-16 21:45:30 +01:00
Patrick Ulbrich
337176fa19 Fix recurrent mails-removed signal 2016-02-24 18:49:51 +01:00
Patrick Ulbrich
a89133c31c Bump version number 2016-02-03 19:10:40 +01:00
Patrick Ulbrich
bce5ba541c UserScript plugin: pass accountname to userscripts 2016-02-03 19:08:05 +01:00
Patrick Ulbrich
546f1f7078 Add accountname to the Mail class and expose it via dbus
As requested in #84 and #96
2016-01-02 19:49:15 +01:00
Patrick Ulbrich
c97b6bf11f libnotifyplugin (short summary): begin body in lowercase 2015-12-27 18:27:10 +01:00
Patrick Ulbrich
b97e851ac0 Add support for noification settings in GNOME-Control-Center. Closes #106 2015-12-27 18:18:19 +01:00
Patrick Ulbrich
ba76aef379 Remove obsolete comment 2015-12-25 14:00:50 +01:00
Patrick Ulbrich
73914fdf7f Simplify plugindialog
* Remove Glade .ui file
* Use HeaderBar (not working yet)
2015-12-21 19:16:20 +01:00
Patrick Ulbrich
7256dc6e73 Fix folder parsing. Fixes issue #108 2015-12-20 20:08:12 +01:00
Patrick Ulbrich
a70d622017 libnotify plugin: add short summary notification mode
* New default notification mode
* Recommended for GNOME 3
* Fixes issue #103
2015-12-20 14:28:58 +01:00
Patrick Ulbrich
a23b83f505 libnotifyplugin: Don't remove notifications (except on program shutdown)
* From now on notifications are used for _new_ mails only
* Updating notifications if mails are gone is confusing - it is only possible to remove an existing summary
  notification if _all_ mails are gone. It's not possible to update an existing summary notification silently
  if the mail count decreases.
* Other notification systems (e.g. on Android) don't update notifications when mails are gone either
* On most desktops (e.g. Ubuntu Unity) notifications appear temporarily anyway (can't be accessed at a later time)
* Managing mail lists (appending/removing mails) should be handled in desktop extensions (like mailnag-gnome-shell)
2015-12-13 18:23:37 +01:00
Patrick Ulbrich
90d50b2a16 Vastly improved account dialog (closes issue #85)
* Show imap folders in a listbox instead of a comma separated string
* Reset form when changing the account type
* Don't identify PROVIDER_CONFIG by servername only
2015-12-13 15:47:31 +01:00
Patrick Ulbrich
87a8020c9e Spamfilterplugin: Enforce min height of scrolled window (fixes too small winwow in GNOME 3.16) 2015-04-18 18:13:08 +02:00
Patrick Ulbrich
d7ee148912 Don't suppress exceptions occuring in Account.get_connection() 2015-04-18 16:44:23 +02:00
Patrick Ulbrich
a0371a0ee2 Remove accidently commited test output 2015-04-18 16:37:43 +02:00
Patrick Ulbrich
1288e531fa Rename srv into conn for the sake of consistancy 2015-04-18 14:09:52 +02:00
Patrick Ulbrich
ab71cf6304 Fix unitilized conn bug 2015-04-18 13:55:06 +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
52b0a03c03 Move imaplib2 to common 2015-04-03 14:55:56 +02:00
Patrick Ulbrich
7386dc6f03 Soundplugin: fix path of soundfile 2015-01-31 14:16:12 +01:00
Patrick Ulbrich
1ac6ac0961 GnomeCredentialStore: more solid keyring access, migrate pre 1.1 keyring items 2015-01-31 13:27:40 +01:00
Patrick Ulbrich
897aabf158 Bump plugin versions due to internal mailnag api changes 2015-01-31 12:49:19 +01:00
Patrick Ulbrich
f01879c9c7 Add CredentialStore abstraction layer
* Add CredentialStore API
* Add CredentialStore implementation for GNOME keyring (makes GNOME keyring dependency optional)
* Further CredentialStore implementations (e.g. KDE) may be added to CredentialStore.py
* Mailnag tries to detect the supported CredentialStore backend automatically
* If no CredentialStore backend is supported on the system, Mailnag stores passwords in the config file (plaintext)
* A specific CredentialStore backend can be forced in the config file (currently one of 'auto', 'gnome', 'none')
* Closes issue #82
2015-01-27 17:07:28 +01:00
Patrick Ulbrich
36543a269a Check if the environ key exists before accessing it (fixes #90) 2014-12-20 15:11:00 +01:00
Patrick Ulbrich
151e188751 bump up version 2014-12-19 21:39:41 +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
27a7f15cb3 Use UNIX linebreaks 2014-12-17 19:35:40 +01:00
Patrick Ulbrich
823125c899 Add --foreground and --verbose options as suggested in #87 2014-12-15 22:39:15 +01:00
Patrick Ulbrich
cc164571b1 Add file missing in last commit 2014-12-13 17:04:05 +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
7a3843d932 Allow plugins to remove accounts 2014-12-07 21:01:50 +01:00
Patrick Ulbrich
d9a5291817 Don't pass the original AccountsList object to the ACCOUNTS_LOADED plugin hook
Prevents plugins from
* loading and saving accounts
* storing an internal reference to the original accounts list
* accessing the original accounts list after MailnagDaemon.dispose() has been called
2014-12-06 16:51:49 +01:00