micz / thunderstats Goto Github PK
View Code? Open in Web Editor NEWThis addon adds awesome statistics to your beloved Thunderbird!
Home Page: http://micz.it/thunderbird-addon-thunderstats-your-thunderbird-statistics/
License: Other
This addon adds awesome statistics to your beloved Thunderbird!
Home Page: http://micz.it/thunderbird-addon-thunderstats-your-thunderbird-statistics/
License: Other
Add i18n strings to all the addon text.
Add also total sent and received mails.
check if the inbox(es) messages are equal between a sqlite query and a "xul folder count".
If not try to reindex the inbox.
https://github.com/protz/GMail-Conversation-View/blob/master/modules/misc.js#L259
http://forums.mozilla.org/viewtopic.php?p=24661&sid=84ae5077b44f5afdb697a698cb939e24
http://mxr.mozilla.org/comm-central/source/mailnews/db/gloda/modules/index_msg.js#1988
Add a tab to show the graphic for the last 7 days sent / received and recipient / senders (4 widget).
Improve the involved table graphic.
Add a stats panel to show the most used keywords in subjects (excluding most common words: articles, pronouns, prepositions, etc.).
Some JS Modules were moved to a different location.
Warning: Some JS modules were moved from resource:///
and resource://gre/
to resource://app/
.
See bug https://bugzil.la/763295 for more information.
chrome/content/mzts-utils.jsm
5
Components.utils.import("resource:///modules/iteratorUtils.jsm");
Some JS Modules were moved to a different location.
Warning: Some JS modules were moved from resource:///
and resource://gre/
to resource://app/
.
See bug https://bugzil.la/763295 for more information.
chrome/content/mzts-thstatstabtype.js
1
2
"use strict";
Components.utils.import("resource:///modules/StringBundle.js");
In the Yesterday tab add the totals for sent and received mails considering the current hour, to give a comparison with today.
Check how the identities list is modified when an account is added or removed from Thunderbird.
At the moment it works only if Thunderbird is closed and reopened.
Also if the ThunderStats tab is closed and reopened it doens't work.
Mails received from a mailing list are not considered.
It's needed a preference panel to add mailing list addresses to identity, to let the addon count also those mails.
Add a menu to the setup button to open the preference window or the data consolidation window.
Add a debug framework, activated with an option.
This will output more information to debug any problems.
Add a preference to show/hide the log panel at startup.
The default is false.
Finalize the ui graphic.
(Then do a css file cleanup, see #21 )
See https://developer.mozilla.org/en-US/Add-ons/Thunderbird/Demo_Addon#Demo_1_-_Iterate_over_all_the_accounts is it's needed a check to ignore identities without an email.
Add a button to hide/show the log panel.
The hide button must be on the right of the clear log button.
Remeber to change also the bottom padding of the main div.
With the panel hidden, no log should be recorded (add a property for this).
The account ordering must be the same as the one in the folders tree.
Date strings method must be locale compliant!
Methods to fix:
https://github.com/micz/ThunderStats/blob/master/chrome/content/mzts-utils.jsm#L14
https://github.com/micz/ThunderStats/blob/master/chrome/content/mzts-utils.jsm#L21
https://github.com/micz/ThunderStats/blob/master/chrome/content/mzts-utils.jsm#L28
https://github.com/micz/ThunderStats/blob/master/chrome/content/mzts-utils.jsm#L35
If no rows are returned from total num messages queries, a 0 result must be assumed.
The callbacks must implement a custom handleCompletion.
To get stats about the total mails in the inbox and the date spread is not possible to use the Gloda, since it can by out of sync for old mails that have been moved in other folders, but the Gloda thinks they are still in the inbox.
To get those stats it must be used the nsIMsgFolder (https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIMsgFolder)
don't show all days, but only the most recent and a single element for old days.
add an option to choose what to show? (aggregate or single day with scrollbar)
Fix graph overflow in really small thunderbird windows.
Implement attachment count query.
it's needed to add a min heigth for a singol element.
Add a method to mzts-mdb.jsm get the last global-messages-db.sqlite modification date.
"no mails" text in inbox 0 graphs must be hidden at start. Now are hidden only after the callback that creates the graphs.
Add support for a local storage db to consolidate historical data, save additional info and give the user the ability to check bigger time periods in the past.
See https://github.com/micz/ThunderStats/blob/master/chrome/content/dbutils/mzts-storagedb.jsm
Add a preference to choose what is "yesterday": the last business day or really yesterday?
Add a preference panel to set which week days are business days and also to set the holidays.
To check easter date: http://stackoverflow.com/questions/1284314/easter-date-in-javascript
Do not use momentjs.
Add total today/yesterday mails in inbox to the inbox 0 widget.
Add a custom way to choose to check one or more (or all?) folders to parse messages looking for a custom string match (also with regex).
This could let the addon add custom statistics panels.
[props Axel Grude]
The aggregate day must have the "before" added before the date.
Add better labels for inbox 0 folder spread graph.
see: http://bl.ocks.org/dbuezas/9306799
Last indexed mesage time hours, minutes and seconds must be always two digits.
After #15 add the Italian translation.
If there is only one identity. Auto choose it after loading.
If a Thunderbird profile has two identities and mail are sent and received between them, the sent and received count is not correct.
The mails are counted as sent and as received in all identities.
Let the user choose which widgets to show on each page and also in which position.
Add a menu item to tools menu and tools menu from icon... as in SavedSearchThemAll:
<menupopup id="taskPopup">
<menuitem id="SavedSearchThemAll-action-menu-item"
label="&SavedSearchThemAll.action.label;"
accesskey="&SavedSearchThemAll.actionItem.accesskey;"
oncommand="miczSavedSearchThemAll.onMenuItemCommand(event);"
insertafter="javascriptConsole,devToolsSeparator"/>
</menupopup>
<menupopup id="appmenu_taskPopup">
<menuitem id="SavedSearchThemAll-action-appmenu-item"
label="&SavedSearchThemAll.action.label;"
accesskey="&SavedSearchThemAll.actionItem.accesskey;"
oncommand="miczSavedSearchThemAll.onMenuItemCommand(event);"
insertafter="appmenu_javascriptConsole,appmenu_devToolsSeparator"/>
</menupopup>
but put the menu after the address book and add also a separator
Add info tab:
the inbox 0 widget is not using the selected identity.
Show on the page the last indexed message date, to let the user know how is the thunderbird global indexing doing.
Graph what hours of the day/s were most active, for both sent and received messages if possible.
Add a widget on today and yesterday pages to show some info about the "Road to Inbox 0":
The setup button is not showing the icon and has an incorrect dimension.
Try to use an html element and not a xul one.
The attachments query must consider if a single message is copied among different folders, as gmail works.
As for now in 1.0 attachments query are not currently used.
Do a CSS file cleanup.
Hello if Itry to install it only shows Downloading and nothing happens.
If I install in safe-mode it gets installed but if I than restart normaly and try to open the settings nothing happens and I only can disable the extension after open the main menu then push disable at the extension entry and quit thunderbird by clicking quit in the Main Menu. after then restarting thunderbird by hand it works normally again.
I´m using Thunderbird 31.0, Java 1.9, Kubuntu 14.04 (LTS)
my Language is de-ade
Thanks,
JPR
Add a log module to print in a div with scrollbars activity and debug messages.
Append mails numbers to folder name in the inbox 0 folder spread graph.
At start it must be checked if global indexing is active.
If not active, give the correct message and put a link to change the preference.
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.