Hastymail2

Hastymail2 is an Open Source IMAP webmail client written in PHP. Our focus is compliance, usability, security, and speed.
     

Code Updates for February 4

Lots of updates to the code this week. If we take a gander at the current php line count in the project:

 jason@jackass /var/www/hastymail2$ find . -name "*.php" -print0 | xargs -0 wc -l | tail -1
 7895 total

we can see that we are approaching 8000 lines of PHP in one month which reflects quite a bit of work! :). The list of new and improved code is as follows.

- found and fixed a performance issue with text body display (I was inadvertently running text bodies through the parser for encoded header values. Ooops!) This made viewing large (200K+) text parts 10X faster.

- several fixes and improvements to the new mail page.

- A functional if not beta quality folder management page. I have successfully created folders in courier and UW, and on whatever is running on the thinkhost server (we think Dovecot). There are a few missing bits still but the page supports creating folders (top level or within an existing folder), deleting folders, renaming folders, marking folders as "hidden", setting default folder sorting, as well as selecting folders to track unread/totals in.

- Several options added to the options page, including trash/draft/sent folder setup, new page refresh rate setting, clicky emails and links in text parts, reply highlighting toggle, full headers by default toggle, and a neat custom small header selection so you can have Hastymail show only the headers you want to see when on the message view. The defaults are "subject, to, from, date" but you can use the multiselect to add/remove many other common fields. The fields available to choose from are defined in index.php for now.

-  Lots of template and css tweaks. Moved much of the outer page XHTML into the templates. The idea is to give the templates enough XHTML such that sites can easily mod the layout, but still keep the dynamic bits coming from the site_page_class.php code with only ids and classes controling there layout (no inline style).

- Many theme improvements to the folder list option, as well as to the message view page. Brand new text wrapping system that obsoletes the "wrap incoming lines at" option. It supports mult-byte character sets as well but still has some kinks to work out. It is clever however and I think over time will be a great improvement over the hm1 method.

-  Started to restructure and comment the css file for the default theme to be used as a template for people to create themes from. For now its organized into general style (site wide), main page components (like the toolbar or the folder list dropdown), and individual page styles (ids and classes organized by what page uses them).

- Probably more I forget since I no longer have the time to sleep! 


Images
preview
Message view with the folder list showing
Comments
No comments posted yet

Add a comment

Name:
Email:
Subject:
Comment:
Security Image:
security image
Enter the letters you see above.
Get Hastymail at SourceForge.net. Fast, secure and Free Open Source software downloads