summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
AgeCommit message (Collapse)Author
2015-09-29[IMP] web_editor: update summernote up to 2015-08-31Nicolas Lempereur
update summernote library up to revision: https://github.com/summernote/summernote/commit/a0f26e300 see https://github.com/summernote/summernote/ for history closes #8704
2015-09-28[IMP] web_editor: Convert font-awsome into picture before convert class into ↵Christophe Matthieu
style to remove unnecessary style attributes
2015-09-28[FIX] web_editor: send mail to outlook and keep image sizeChristophe Matthieu
Office Outlook doesn't take into account the [style] attribute, and it doesn't manage width/height in percent value. This commit set width/heigth attribute in pixels and also always set the width/height in style attribute (keeping them in the original unit and setting them to auto if not present).
2015-09-28[FIX] web_editor: remove 'lang' from the context to save master website xmlChristophe Matthieu
2015-09-28[FIX] web_editor: media trigger content_changed when change the mediaChristophe Matthieu
2015-09-25[FIX] web_editor: apply o_dirty class on changeChristophe Matthieu
Before: if a user blur a editable area without editing, the editor is removed and all bind are remove. The 'content_changed' bind are removed and the 'o_dirty' class is never apply.
2015-09-25[FIX] web_editor: display editable area placeholderChristophe Matthieu
2015-09-25Revert "[IMP] web_editor: update summernote up to 2015-08-31"Nicolas Lempereur
Revert till several issues are solved.
2015-09-25[FIX] website: range lost in phantomjsNicolas Lempereur
2015-09-25[IMP] web_editor: update summernote up to 2015-08-31Nicolas Lempereur
update summernote library up to revision: https://github.com/summernote/summernote/commit/a0f26e300 see https://github.com/summernote/summernote/ for history closes #8704
2015-09-24[IMP] web_editor: usability: allow saving even when nothing was changed when ↵Damien Bouvy
editing in the frontend
2015-09-24[FIX] web_editor & website: don't display edit placeholder if the node have ↵Christophe Matthieu
class oe_no_empty or oe_not_editable
2015-09-24[FIX] web_editor: transparency of modal backdrop instead of black brackgroundChristophe Matthieu
2015-09-23[FIX] account_cancel,web_editor: small issues introduced during previous ↵Christophe Simonis
forward-port
2015-09-23[MERGE] forward port of branch saas-6 up to a669433Christophe Simonis
2015-09-21[FIX] web_editor: iframe of html widget must be checked before render valueChristophe Matthieu
If the iframe is destroyed, detached, hide (eg: click on a record, return into the list view and click on an other record), the render_value method try to resize the iframe but jQery raise an exception because contentWindow doesn't exist.
2015-09-11[IMP] web_editor: change font-family to webclient defaultqsm-odoo
2015-09-08[FIX] website_mail: special case for css splittingNicolas Lempereur
The css of a mail is inlined as best as possible for the mail sending. Previously, if there was a selector like .ch[onclick="ga(this,event)"] the simple splitting would split in the middle and get one erroneous selector (which then would trigger an error). With his commit, rules containing " or ' are ignored. opw-643548 note: forward port of 6316bce
2015-09-04[FIX] web_editor: update .o_form_field_empty when loadedNicolas Lempereur
2015-09-04[FIX] web_editor: do paste after removing selectionNicolas Lempereur
2015-09-03[FIX] web_editor, translate: xml translate encodingNicolas Lempereur
lxml.HTMLParser detect the content encoding by itself if not specified. in the issue leading to this fix, content in a mail with u'\xa4' ( ) was transformed intto u'\xc2\xa4' ( ) since HTMLParser selected the wrong encoding (latin-1 instead of utf-8 for example). this commit specify the known encoding and revert 3d00c210f which was another attempt at this issue.
2015-09-01[FIX] web_editor: clean_for_save is not called for custom snippets because ↵Christophe Matthieu
all() not contains all html matched tags
2015-09-01[FIX] web_editor: wrong typo in fontIconsDialog widgetChristophe Matthieu
2015-09-01[FIX] web_editor: drop near select children of editable nodesChristophe Matthieu
2015-09-01[FIX] web_editor: html widget: escape value before save.Christophe Matthieu
2015-08-31[MERGE] forward port of branch saas-6 up to 7faf72cChristophe Simonis
2015-08-31[FIX] web_editor: don't loose selection when deleting an imageChristophe Simonis
2015-08-28[FIX] web_editor: sould not delete de tag container when select all text ↵Christophe Simonis
inside (although there are several selected child nodes) This is forward-port of 96b33cdbcefcc6e656994a83534213cb6e87ca1c that was stuck in limbo in forward-ports...
2015-08-28[MERGE] forward port of branch saas-6 up to 7a768a4Christophe Simonis
Due to `sale` rewrite (94716a3f14d929574c46ef165e4364d12a5903ed), the commit 503820acb6d82a85c0c49ac26f7e7f8cd73851dd has been partially ignored (in sale.order.line) and will be rewritten later using new-api.
2015-08-26[FIX] web_editor: fixed typos introduced by 88c0ce0David Monjoie
It seems this.BuildingBlock was changed to this.buildingBlock by 8c559044a5e1be111dcb577ad7e5ab462c1002a0. Care should be taken when forward porting code using this.BuildingBlock.
2015-08-26[FIX] web_editor: clean_for_save all dirty optionsChristophe Matthieu
Clean for save was only called on o_dirty nodes but o_dirty is added only on o_editable nodes. Could use a simple jQuery selector '.o_dirty, .o_dirty *' but need to improve speed for user experience.
2015-08-24[MERGE] forward port of branch saas-6 up to e16d495Christophe Simonis
2015-08-21[IMP] web_editor: add document into the media editorChristophe Matthieu
User can upload documents and add the link in the page to download it.
2015-08-21[IMP] web: create generic controller '/web/content' and '/web/image'Christophe Matthieu
Replace deprecate controllers like /web/binary/image, /web/binary/saveas... Use ETag for all content with 'unique' option to cache the content if the content is never changed.
2015-08-21[FIX] web_editor: can't save backend translation with field htmlChristophe Matthieu
2015-08-15[MERGE] forward port of branch saas-6 up to 8d95f6dChristophe Simonis
2015-08-06[MERGE] forward port of branch saas-6 up to 081f21eChristophe Simonis
2015-08-05[IMP] web_editor: display not found snippets template warning messageChristophe Matthieu
2015-07-31[FIX]web_editor: Fixed the issue of firefox not able to enumerate on ↵Mohammed Shekha
cssRules, it is due to Cross domain security policy of firefox, used try catch, so that if there is cross domain css then skip it, it should not break the system, atleast it should work for same domain css, cross domain css should skipped
2015-07-31[FIX] web_editor: _.find break if the value is a spaceChristophe Matthieu
Some classes are not checked. Compact values to remove empty string classes.
2015-07-31[FIX] web_editor: on firefox css rules doesn't have key with hyphenChristophe Matthieu
On save (eg: in mass_mailing), the style contains 'undefined' values
2015-07-31[FIX] web_editor: on firefox display snippets in one rowChristophe Matthieu
display snippets in one row instead of two rows
2015-07-22[FIX] *: various bug were introduced during last forward-portChristophe Simonis
2015-07-22[MERGE] forward port of branch saas-6 up to 63e92cbChristophe Simonis
2015-07-22[IMP] web: web modules return readable logs and phantomjs logsChristophe Matthieu
boot.js log: * ``Missing dependencies``: These modules do not appear in the page. It is possible that the JavaScript file is not in the page or that the module name is wrong * ``Failed modules``: A javascript error is detected * ``Rejected modules``: The module returns a rejected deferred. It (and its dependent modules) is not loaded. * ``Rejected linked modules``: Modules who depend on a rejected module * ``Non loaded modules``: Modules who depend on a missing or a failed module
2015-07-22[IMP] web: module can be asynchronous loaded if it return a deferredChristophe Matthieu
Each module can return a deferred. In that case, the module is marked as loaded only when the deferred is resolved, and its value is equal to the resolved value. The module can be rejected (unloaded). This will be logged in the console as info. Remove if_dom_contains from the website, the modules return a rejected deferred if the DOM doesn't contains the seleted values.
2015-07-20[IMP] web_editor,website: added scalable margins in lessDavid Monjoie
The original commit by fka used to define less variables like this: @px-4: 4px @px-8: 8px The goal was to be able to change the margin values in media queries for smaller screens. However, as the less is only compiled once in css, those variables didn't really help as you couldn't redefine them from inside a media query and have the less magically reassign the margins on the fly. I created less helper functions to be able to easily redefine the margins for smaller screens from inside media queries. The task also required to replace the nbsp in the html by the newly created mr and ml classes. This is also the first phase of the sass -> less transition.
2015-07-17[FIX] web_editor: restrict scope of css rulesAaron Bohy
within the editor, to prevent styling every tables in Odoo.
2015-07-10[IMP] web_editor: add test translatorChristophe Matthieu
2015-07-10[IMP] web_editor: add modal to translate node attributesChristophe Matthieu