summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.snippets.editor.js
AgeCommit message (Collapse)Author
2016-02-24[REF] web_editor,website,mass_mailing: JS/XML updateqsm-odoo
* Adapt DOM selectors * Refactore dialog XMLs to have odoo styling * New editor options (background-position, ...) * Various improvements
2016-01-13[FIX] website: editor: enable/disable save/undo/redo button when resize snippetChristophe Matthieu
2015-10-26[IMP] web_editor: move picture options from snippet to summernote barChristophe Matthieu
Difficulty for the user to understand how to change the images. Some options summernote being in the bar and the other in the snippets editor. Need to merge this options.
2015-08-24[MERGE] forward port of branch saas-6 up to e16d495Christophe Simonis
2015-08-21[FIX] website: can't add a slide in bannerChristophe Matthieu
2015-08-21[FIX] website: two sliders or galleries can have the same idChristophe Matthieu
(because the user can edit separate part like footer or using versioning)
2015-08-21[FIX] website: manage css margin for resizingNicolas Lempereur
In some case margin could be applied via CSS and not via mb* classes (e.g several themes with different aspects but a shared snippet). This commit allow this if custom CSS margin matches a CSS mb* class value (currently 0, 4, 8, 16, 32, 48, 92 and 128).
2015-08-21[FIX] website: edge case for slider backgroundNicolas Lempereur
Update the snippet option background "target" and cached "background data" each time another slide is shown.
2015-08-21[FIX] website: improve font awesome iconsNicolas Lempereur
* don't duplicate fa classes needlessly, * keep img-* classes which may be used on icons with a background, * copy overlay when we transform a tag to a span
2015-08-21[FIX] website: snippet editor call on_clone & on_remove on childrenChristophe Matthieu
2015-08-15[MERGE] forward port of branch saas-6 up to 8d95f6dChristophe Simonis
2015-08-11[FIX] website: background of the bannerGoffin Simon
";" is not always in the background style of the banner. opw:647083
2015-08-11[FIX] website: editor - duplicate the slide from snippetJeremy Kersten
Since saas-6, all snippets should start by a s_, so we can know exactly what is the current snippet, and retrieve the slide from the drop-snippets bar. If none snippet match, we use the old method which consists to find the snippet which have the biggest intersection of class betwwen dropped snippet, and all snippets in drop-snippets bar. A other way without update the JS code will be to had many fake class in the snippet declaration and in the snippet code to be sure that it match the right snippet.
2015-07-16[FIX] website: editor don't save content if change only the background colorChristophe Matthieu
2015-07-15[FIX] website: allow change banner once custom img has been selectedJeremy Kersten
2015-07-10[FIX] website: Fix background optionJeremy Kersten
Add oe_dark in color list for 'background color', else end user cannot change the color Force background-color and not background, else background-size from oe_img is overrided and so the background is displayed with a size:auto instead of cover
2015-07-10[IMP] web_editor: adapt css, js and xml to use web_editorChristophe Matthieu
2015-07-10[IMP] web_editor: split website into web_editor (to use editor in backend ↵Christophe Matthieu
for html field) and website
2015-07-08[IMP] website: add a FAQ collapse snippet, the javascript is only used for ↵Christophe Matthieu
edition (set id and target to use bootstrap default collapse code).
2015-07-08[IMP] website: split margin-x snippet option and create an ↵Christophe Matthieu
preventParentEmpty object. This object can be used by other snippet when the parent can't be empty.
2015-07-08[IMP] website: reduce the slider snippet option codeChristophe Matthieu
2015-07-08[IMP] website: add on_move method on snippet options called when the user ↵Christophe Matthieu
move (drag and drop) a snippet
2015-06-25[MERGE] forward port of branch saas-6 up to 81b5c60Christophe Simonis
2015-06-17[FIX] website: trigger on change to save when drag and drop and change ↵Christophe Matthieu
snippet options
2015-06-17[FIX] website: use relative url in background imageChristophe Matthieu
Use .css convert into absolute url
2015-06-11[FIX] website: Fix choose image optionJigar Patel
2015-04-17[MERGE] forward port of branch saas-6 up to e941c0fChristophe Simonis
2015-04-01[FIX] website: can apply color picker to multi-selected areasChristophe Matthieu
Port of commit 4912176a1b9ea1c59babb4d519d03692ad9a6ab2 from website_less
2015-04-01[FIX] website: fixed t-oe cleaningChristophe Matthieu
Port of commit 86c2939dd71b7de711f79f2c2dbb486f86c2e760 from website_less
2015-03-25[MERGE] forward port of branch saas-6 up to c2b4766Christophe Simonis
2015-03-23[FIX] website editor: remove wrong tooltip on snippet iconChristophe Matthieu
2015-03-21[MERGE] forward port of branch saas-6 up to 42db2dbChristophe Simonis
2015-03-20[FIX] website editor: snippet clean_for_save method is never calledChristophe Matthieu
2015-03-18[IMP] web+addons: improvement to module systemGéry Debongnie
The module system needs to know the dependencies of a given module before executing the function. This is why the dependencies were defined once in an array, and then were described one more times in the call to require. But a trick can simplify this: the boot function can parse the string representation of the module and extract the calls to require from it. It is more work for the processor, but it leads to simpler module definitions.
2015-03-18[REF] website: update to the new module systemGéry Debongnie
2015-03-09[FIX] website: snippet editor: Many2one autosearch a location for the event ↵Christophe Matthieu
is working, but result is not saved
2015-02-18[FIX] website: when a snippet have a o_not_editable class the ↵Christophe Matthieu
contentEditable=false must added automatically.
2015-02-12[FIX] website editor: don't save the page (don't trigger the change) when ↵Christophe Matthieu
click on clone snippet
2015-02-12[IMP] website: create a new web editor in the backend to edit html field ↵Christophe Matthieu
with the website builder
2015-01-26[IMP] website editor: display snippet block on the left side and open it on ↵Christophe Matthieu
mouse enter
2015-01-23[IMP] website editor: select all the text if it's a default snippet text ↵Christophe Matthieu
without any change
2015-01-23[FIX] website editor: not display bullet of list when apply and remove ↵Christophe Matthieu
folded list option
2015-01-23[FIX] website editor: resize snippet loose the focusChristophe Matthieu
2015-01-23[IMP] website editor: the snippet overlay fadeout on keypress and fadein on ↵Christophe Matthieu
mousemove
2015-01-23[FIX] website editor: when resize widow the snippet overlay don't move with ↵Christophe Matthieu
the container
2015-01-23[FIX] website editor: triple click and link edition destroy or remove tag ↵Christophe Matthieu
when triple click
2015-01-16[ADD] Versioning Module.Goffin Simon
This module allow to make versioning and A/B testing of the website.
2015-01-16[IMP] website editor: designer can add new font like font-awsome (add folder ↵Christophe Matthieu
and need to push the new parser in website.editor.fontIcons javascript object)
2015-01-16[FIX] website: Selector for the image and table-handlers are still there ↵Christophe Matthieu
even if we've deleted the snippet
2015-01-16[IMP] website editor: add div as not breakable blockChristophe Matthieu