cb8c2d2b7e15c7c16e02d078767e27a07e5012c6
Quote detection is now done in the sanitizer itself. It tags nodes that are inside quotes (signature, text quotes, email quotes). The purpose is to remove html_email_clean and have all the html cleaning / sanitizing inside a single function. When a node is tagged, data-o-mail-quote is set on the node. This attribute is added in the whitelist of valid attributes for the sanitizer. [REM] Support of shortening messages. The read more / read less will only display or hide detected quotes and signatures. Shortening messages above a given amount of characters is not supported anymore. Indeed it adds much complexity to the sanitizer without adding much value to the result. The primary purpose of the sanitizer is indeed to remove noise and unnecessary content. [TESTS] a lot of test are not necessary anymore, as read more / read less display will be moved in the front-end and as the shortening has been removed.Tests have therefore been cleaned and simplified. [DEMO] mail: small demo update to include a bit quote detection
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/9.0/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%