merge trunk
Moved http.py to server
merge trunk
Enabled controllers not contained in modules
[FIX] base.import.module: this wizard is disabled and should be dropped entirely in trunk

Kept the model for backwards compatibility until then
[MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 4913 rev-id: odo@openerp.com-20131018145638-0evfafu4yqg2itia
Launchpad automatic translations update.
Launchpad automatic translations update.
[IMP] ir.translation: `module` field is useful for admin/debugging
[FIX] tools: mail: fixed shortening of html content.

Fixed length computation of text in html nodes: multiples successive
whitespaces are considered as one whitespaces; better truncate position
when adding a read more link; now always protect words (placed after
the first word that exceeds the shorten position); pre nodes are preserved
about whitespaces; when the read more link should go into a quote, it instead
goes at the end of the first parent node not being quoted instead of at
a wrong position.

Added tests for shorten position.
[IMP] tools: mail: added a protection in a string.find, could have a None argument
Launchpad automatic translations update.
[CLEAN] tools: cleaned modified code
[FIX] Fixed previous commit, car go to len of the string.
Launchpad automatic translations update.
Launchpad automatic translations update.
[FIX] Fixed bug due to copy-and-paste: outertext is now valid
[MERGE] [FIX] tools: mail: fixed shortening of html content.

Fixed length computation of text in html nodes: multiples successive whitespaces are considered as one whitespaces; better truncate position when adding a read more link; now always protect words (placed after the first word that exceeds the shorten position); pre nodes are preserved about whitespaces; when the read more link should go into a quote, it instead goes at the end of the first parent node not being quoted instead of at a wrong position.

Misc :
- removed an unnecessary loop by merging two root.iter() that do not interfere
- changed occurrences of getiterator to iter, because getiterator is deprecated
- nodes are cleaned after processing, removing all attributes used to tag nodes
- fixed a bug about cleaning span containing only whitespaces not always cleaned

Added tests for shorten position.
Launchpad automatic translations update.
[FIX] allow falsy extra attributes on fields.