[patch] increased test coverage, added msg fixtures, many fixes
---------------------------------------------------------------
Key: HUPA-44
URL: https://issues.apache.org/jira/browse/HUPA-44
Project: JAMES Hupa
Issue Type: Bug
Components: client, server
Reporter: Manuel Carrasco
Assignee: Norman Maurer
This patch contains:
- Documentation
* Updated README with information about how to configure the
application and how to use it in demo mode.
- Demo-mode issues:
* Added example messages as fixtures for demo and tests.
* Modified eclipse claspath to include messages resources.
* Removed DemoModeIMAPFolder and DemoModeIMAPStore in favour of the
classes MockIMAPFolder and MockIMAPStore
* Configuration and Example messages are loaded automatically when
using hupa in demo mode
* Demo configuration is selected if no configuration file is provided.
- Testing issues
* Added instances of log, settings and httpsession to abstract handler
test
* Method refactoring in handlers in order to make testing easier
* Added new test for demo stuff (DemoModeTest)
* Added tests for fetch messages (FetchMessagesHandlerTest)
* Added tests for messages details (GetMessagesDetailsTest)
* Many fixes to MockIMAPFolders and MockIMAPStore classes
- Client side
* Created new interface to decouple raw iframe widget
* Fixed a bug when updating folders tree after messages are fetched
* Text messages are now wraped by '<pre>' tags, so it is easier to
convert it to html.
- Server side issues
* Added a new servlet which acts as wrapper for DispatchServiceServlet
in order to better loging actions and errors
* Select html part in alternative messages, because most email clients
do it.
* Fixed a bug in isHTML handling in mime parsing because booleans are
not modified when are passed as paramters
* Fixed a bug in parsing multipart messages with nested alternative
parts
* Fixed a bug in parsing messages which only have parts in text/html
* Fixed a bug in download attachment caused by my last patch
* Added support for draft, flagged and user flags, which made gmail
fetch messages fail
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]