f1ash / kde-plasma-mail-checker Goto Github PK
View Code? Open in Web Editor NEWMailChecker plasmoid on python, PyQt, PyKDE
License: GNU General Public License v2.0
MailChecker plasmoid on python, PyQt, PyKDE
License: GNU General Public License v2.0
After installing, it request to create new kde wallet with name "plasmaMailChecker", but all other programs in KDE by default use current (created by default) wallet with name "kdewallet".
Please add an option to don't create new wallet, but use some folder in already exists wallet for store passwords.
I download current git version of plasmoid, but in plasmoid list it shows 1.0 version instead of 0.17, so not easy to understang which version does you use now.
I think that plasma get version from metadata.desktop file in string
X-KDE-PluginInfo-Version=1.0
Can you sync version name with this string?
Please, make popup windows more readable. For Russian language subject in mail, popup showed as set of symbols. But need a mail subjects showed as language-specific.
At now, list of new messages looks as the plaintext. In settings I found font and color settings, but changing them don't change message list view.
Will be good to colorize and format new messages list, you can do this with html, like in the example:
notify-send Test "<font size=16 color=blue><b><i>Hello World</b></i></font>"
For example:
notify-send M@ailChecker "<style type=text/css>.h{font-size: 12px;font-weight: bold} .hc{color: #0000ff} .f{font-size: 10px} .fc{color: #000000} .d {font-size: 9px} .dc{color: #c05800}</style><div class=h>S: <span class=hc>Mail subject</span></div><div class=f>F: <span class=fc>Alexey Korepov <[email protected]></span></div><div class=d>d: <span class=dc>29.03.2011 10:25</span></div>"
Date are shown as in message source
Date: Tue, 29 Mar 2011 05:49:56 +0000
Will be good to convert it into current locale and date settings from KDE to looks like:
Date: 29.03.2011 9:49:56
or set the custom date format in settings ("%d.%m.%y %H:%M)
is this project alive? it is very needed :)
Very often I got non-important mail, about which I don't want to see notifications.
Will be good to add the filter for ignoring some messages in popup notification, as example - regexp for subject and from fields.
Very often after weekdays I got a lot of mail (200+), and popup notification is very long. Will be good to add the limit option, after it info about messages shows without titles, via "There are NUMBER new mail messages".
So, if limit = 50 and I got 49 new mail, it shows each mail headers, but if I got 50 mail, it shows only "There are 50 new mail messages".
Will be good to integrate with akonadi mail resources for checking new mail, because akonadi already connected to mail server and we will not needed to initiate new connection.
kdepim 2.x and kmail 2.x uses akonadi for all mail operations.
Akonadi supports push email notifications via imap-idle, so we don't need to periodically connects and checks new mail, plasmoid must listen "Akonadi::Monitor::itemAdded" and act on new events.
Here you can look at akonadi api:
http://api.kde.org/4.x-api/kdepimlibs-apidocs/akonadi/html/index.html#libakonadi_resource
You can use Akonadi::Monitor class:
http://api.kde.org/4.x-api/kdepimlibs-apidocs/akonadi/html/classAkonadi_1_1Monitor.html
function Akonadi::Monitor::itemAdded
PlasmaMailChecker 1.1.10 attempt to open "kdewallet" and to save settings in "kdewallet". This wallet is existing on my computer, but closed and not used.
In KDE (version 4.7.0) in systemsettings I have selected another wallet to be used generally. I expect, PlasmaMailChecker should ask KDE, which wallet is to be opened and is to be used, but PlasmaMailChecker is using the KDE default wallet.
...followed by "Can't connect to server..."
This happens with the first account (listed alphabetically in Settings->Accounts). The rest of the accounts don't seem to get checked. After this, the widget status is "No new mail", which happens to be true for the first account but not the others.
~/.xsession-errors does not have any entries from the plasmoid. /tmp/OutMailChecker_*.log is also empty.
From metadata.desktop:
X-KDE-PluginInfo-Version=1.15.66
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.