Commit Graph
1596 Commits
Author SHA1 Message Date
Christophe Matthieu 368ea9d614 [FIX] website: summernote: don't need to add a white space when delete a selection if the string is not fully erase 2015-04-09 16:09:07 +02:00
Christophe Matthieu c35f8a7b48 [FIX] summernote: when the editor create a link, we need to use deleteContents with the flag to_write as true to insert the link at the same place. 2015-04-09 16:07:12 +02:00
Christophe Matthieu 3d8ac2e3df [FIX] website: snippet editor: if a snippet is dropped near a text node with a previous click, need to get the parent node to trigger the history 2015-04-09 15:14:20 +02:00
Jeremy Kersten 4aa2e52b3d [FIX] website: allow to rename a website page.
Code from delete_page has been spliited (functions, templates, ...)
to be re-usable by rename_page

Change default input type from website.prompt.
Old default value 'text' had no sense, there are no tag <text>.
2015-04-08 13:40:11 +02:00
Denis Ledoux 2661a6c0cd [REVERT] e089f296d2
This revision completely breaks the reports
having long content in cells

To reproduce, just create a sale order with a long
line description, and print the sale.order report
before and after this revision, then see the difference.

opw-632317
2015-04-07 17:23:50 +02:00
Christophe Matthieu c2c093d6b8 [FIX] website.editor: remove javascript exception when the user close the modal after add a question in website_forum 2015-04-07 16:28:19 +02:00
Christophe Matthieu 734060f5b1 [FIX] website: can apply color picker to multi-selected areas
Port of commit 4912176a1b9ea1c59babb4d519d03692ad9a6ab2 from website_less
2015-04-01 11:23:02 +02:00
Christophe Matthieu 5c6b175b64 [FIX] website: fixed t-oe cleaning
Port of commit 86c2939dd71b7de711f79f2c2dbb486f86c2e760 from website_less
2015-04-01 11:23:02 +02:00
David Monjoie 67ff2eb92b [FIX] website: fixed element should have a position
Otherwise, it is fixed according to the other elements, here, the wrapwrap element.
So if we add a margin to wrapwrap, the margin is also added to the navbar, which
means it is not really fixed on the top.
This fix avoids this issue so the navbar is always fixed at the top of the page.
2015-04-01 11:23:02 +02:00
David Monjoie 0cda9a7401 [FIX] website: add a scrollbar for customize modal if needed
Port of commit 9d511913f8de469e6980f4fb6b2923245e2e6f48 from website_less
2015-04-01 11:23:01 +02:00
David Monjoie 54e8d225fc [FIX] website: render data-oe-call when website is ready
In master, js files are loaded at the top of the page so we need to call this function only when the website is ready
2015-04-01 11:23:01 +02:00
Christophe Matthieu 3587bcd305 [FIX] website summernote: create justify methods to align the text because the browser default method fail. 2015-03-24 16:24:34 +01:00
Christophe Matthieu ae130e3d79 [FIX] website summernote: Add recordUndo for font changes. 2015-03-24 16:24:33 +01:00
Christophe Matthieu 44069b6e7b [FIX] website summernote: Apply a better clean dom to remove error create by the browser contentEditable. 2015-03-24 16:24:33 +01:00
Christophe Matthieu 96b33cdbce [FIX] website summernote: sould not delete de tag container when select all text inside (although there are several selected child nodes) 2015-03-24 16:24:33 +01:00
Christophe Matthieu c9dd223305 [FIX] website editor: delete content should not remove the editable ancestor node when all content is seleted 2015-03-23 12:25:06 +01:00
Christophe Matthieu 2f5e4149fb [FIX] summernote: wrap the content with p when the user keyup on 'enter' but should not wrap the content if the editable area is a p, li or other para 2015-03-23 12:25:06 +01:00
Christophe Matthieu e1cf30a88f [FIX] website editor: remove wrong tooltip on snippet icon 2015-03-23 12:25:05 +01:00
Christophe Matthieu f5a0a64e08 [FIX] website editor: snippet clean_for_save method is never called 2015-03-20 15:25:33 +01:00
Goffin Simon 5611b5e2fa [IMP] To allow to translate pages in version.
The translations of a page A in a version are applied to all the pages
with the same key of page A.
2015-03-18 17:19:07 +01:00
Christophe Simonis a329aa1949 [MERGE] forward port of branch 8.0 up to e27744d 2015-03-18 14:05:02 +01:00
Olivier Dony 7eec97a584 [FIX] website, mass_mailing: restore original FieldTextHtml widget -> FieldTextHtmlFrame only for mass_mailing
The new `summernote in iframe` version of the
FieldTextHtml widget is not ready for prime time
yet.
Usability is not very good when used as a replacement
for the previous html editor, especially in email
composer windows, and initial loading is very slow.

For now we only enable it as FieldTextHtmlFrame for
mass_mailing templates, where isolation of the
style is important (so that recipients receive the
exact same result as was displayed on screen, without
side-effects caused by backend/frontend style)

In master the summernote version will be improved
and the old CLE version will be dropped completely.
2015-03-13 13:44:06 +01:00
Christophe Matthieu 513d1a26d1 [FIX] summernote: Summernote change the native id of the editable area if a script use a unique id, summernote break the default comportment. Replace id by data-note-id to set the editor 'id' 2015-03-09 16:33:03 +01:00
Christophe Matthieu fb8da05e42 [FIX] website: snippet editor: Many2one autosearch a location for the event is working, but result is not saved 2015-03-09 11:26:17 +01:00
Christophe Matthieu c9d7803675 [FIX] website: backend editor don't display the default value and don't exit the fullscreen mode when click on escape 2015-03-06 10:25:31 +01:00
Christophe Simonis bc2fd0515b [MERGE] forward port of branch 8.0 up to 017f346 2015-03-04 15:16:10 +01:00
Goffin Simon 092c64b76f [FIX] website: translations for qweb templates not applied.
-Website.tours must be loaded after the translation data:
"website.ready" before the tour ensure that the translations are loaded.

-Translations for qweb templates not applied:
Translate all text nodes in qweb templates when translation data
are loaded.

-Add some translations in website tours.

opw:619786
2015-03-03 16:05:34 +01:00
Goffin Simon fc481c5e3a [FIX] website: quote slider not editable.
Quote slider must be editable when the snippet is dropped
in a page.

opw:628510
2015-03-02 16:25:58 +01:00
Christophe Simonis a8a9265340 [FIX] website: backend html widget: only use an iframe if field is not readonly 2015-03-02 13:43:52 +01:00
Christophe Matthieu 856f03bf9b [FIX] website: when a snippet have a o_not_editable class the contentEditable=false must added automatically. 2015-02-18 12:23:09 +01:00
Christophe Simonis 1b3fb3c4a8 [MERGE] forward port of branch 8.0 up to 222b2d3 2015-02-17 18:54:52 +01:00
David Monjoie 832c3e1393 [FIX] website: soften the selector to find the text image snippet 2015-02-17 08:57:23 +01:00
Christophe Matthieu 8a10204e38 [FIX] website summernote: scroll top when change the style of the text, need ta add the forgotten preventDefault 2015-02-16 13:34:25 +01:00
Christophe Matthieu a7e0b73930 [FIX] website: need to add an attribute on html to apply css selector in function of the browser. Fix the media video display for ie 2015-02-16 10:49:28 +01:00
Fabien Pinckaers 1d7f266c1f [IMP] Project form view cleaned 2015-02-15 20:32:29 +01:00
Christophe Matthieu d88ba0c6c7 [FIX][REF] website: reverted deletion of new published button by 28ed28f945 2015-02-13 11:50:49 +01:00
Jeremy Kersten 165c67e879 [FIX] website: improve delete page
Clear cache after delete view
    Move menu to keep all 'New page', 'New blog', 'New forum', ... together
    Disable continue button from popup while user don't confirm with checkbox
    English typo
2015-02-12 18:19:19 +01:00
Christophe Matthieu a9bf846b6f [FIX] website editor: don't save the page (don't trigger the change) when click on clone snippet 2015-02-12 18:01:41 +01:00
Christophe Matthieu fd9ee5e28b [FIX] website summernote: back to the top when change the font-size 2015-02-12 18:01:08 +01:00
Christophe Matthieu 9ee7ed2e18 [FIX] website editor: open the media dialog when double click on summernote button for forum; raise if click on a button before click inside the editor 2015-02-12 17:20:11 +01:00
Christophe Matthieu b84817bb78 [FIX] website: backend editor try to save the history in readonly mode when user change the record 2015-02-12 16:51:29 +01:00
Christophe Matthieu e941bab124 [FIX] website summernote: code, quote formatblock not work properly and split the selection like other formating 2015-02-12 15:08:11 +01:00
Christophe Matthieu 126282f810 [IMP] website: designer can push space after comma on input of the modal to customize theme 2015-02-12 15:06:26 +01:00
Christophe Matthieu 28ed28f945 [IMP] website: create a new web editor in the backend to edit html field with the website builder 2015-02-12 11:58:12 +01:00
Christophe Matthieu a46a060f0f [FIX] website editor: add a p tag when user insert a char in empty editable area 2015-02-12 11:58:12 +01:00
Christophe Matthieu 95c3573fd4 [FIX] website summernote: apply font does set the color to the alone font awsome. 2015-02-12 11:58:12 +01:00
Christophe Matthieu 4a6a90a353 [IMP] website editor: add color picker into the top editor bar for font awsome 2015-02-12 11:58:12 +01:00
Christophe Matthieu 83c4222601 [fix] website summernote: last button of the table update raise for wrong history call 2015-02-12 11:58:12 +01:00
Christophe Matthieu ebc5b3b11b [IMP] summernote: dom.isImg is unnecessary, because isVoid function contains that. 2015-02-12 11:58:11 +01:00
Christophe Matthieu 444e9ef8c8 [FIX] website: item with the class css_editable_mode_hidden not in editable area are not hide in edit mode 2015-02-11 13:19:50 +01:00