Commit Graph
2874 Commits
Author SHA1 Message Date
Christophe Simonis 2cf91d16a5 [MERGE] forward port of branch saas-6 up to 63e92cb 2015-07-22 16:17:54 +02:00
Christophe Matthieu 264bb780a1 [IMP] web: web modules return readable logs and phantomjs logs
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 12:15:25 +02:00
Christophe Matthieu 71732dceb6 [IMP] web: module can be asynchronous loaded if it return a deferred
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-22 12:15:24 +02:00
David Monjoie df9725df26 [IMP] web_editor,website: added scalable margins in less
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-20 15:00:24 +02:00
Jeremy Kersten fea605a98c [FIX] website: fix editor 2015-07-17 17:24:38 +02:00
Christophe Matthieu 9687a579f4 [FIX] website: media editor don't manage the font awsome alias 2015-07-17 12:13:07 +02:00
Christophe Matthieu f52c6bfaeb [FIX] website: editor: when create a link, the saved range is obsolete, and when the user click on an other option the range selection fail 2015-07-16 20:59:40 +02:00
Christophe Matthieu a74601d901 [FIX] website: wrong undo step if insert a table 2015-07-16 20:59:26 +02:00
Christophe Matthieu de5515ab45 [FIX] website: editor don't save content if change only the background color 2015-07-16 20:59:22 +02:00
qsm-odoo eddcb46c82 [ADD] website, website_quote: new jSignature lib
Note: This is a custom version of the lib which allows to
enable/disable the signature area and which introduces the
compatibility with IE + bug fix of the official version.
2015-07-16 18:03:06 +02:00
Aaron Bohy cc2548407d [FIX] website: Test Translator tour: enterprise compatibility
Fixes selector to match in both editions
2015-07-16 11:04:18 +02:00
Goffin Simon e765b8556a [FIX] website: translate links
When translating on website, the click must be disabled on elements
which can be translated.

opw:644542
2015-07-16 08:56:42 +02:00
Jeremy Kersten 4a1986b341 [FIX] website: allow change banner once custom img has been selected 2015-07-15 11:38:18 +02:00
Jeremy Kersten c1d290d699 [FIX] website: fix snippet references 2015-07-15 11:38:15 +02:00
Jeremy Kersten f84bbda221 [FIX] website: fix snippet comparisons 2015-07-15 11:34:28 +02:00
Jeremy Kersten c53134a2ce [FIX] website: fix bugs in editors
See childs commits to have more details on fixes
2015-07-13 11:46:39 +02:00
Jeremy Kersten b76ad02c8e [FIX] website: fix tour to select colorpicker 2015-07-13 10:46:44 +02:00
Goffin Simon 1f79dedfa8 [FIX] website: popUndo doesn't exist
The function popUndo doesn't exist in summernote.
But this function exists in our RTE.
The edition of a comment in the website forum uses summernote and
then it crashes when using popUndo.
In the forum, when writing a reply, if you highlighted a text
and I clicked on the link icon to hyperlink the text, neither
the OK button nor the cross button closed the popup.
This commit solved this bug.
In our RTE, the function popUndo is never used then it can be deleted.

opw:644486
2015-07-13 10:30:39 +02:00
Jeremy Kersten a3a20b49e4 [FIX] website: support big text on jumbotron p (big button, quote, ...) 2015-07-10 18:33:20 +02:00
Jeremy Kersten 80db19100a [FIX] website: dont call a dog a cat !
Already in V8, the 'Separator' is not a content but a structure snippet !
2015-07-10 18:15:47 +02:00
Jeremy Kersten 653ccf7b3b [FIX] website: A panel is a panel... 2015-07-10 18:15:46 +02:00
Jeremy Kersten 1621d3fe1a [FIX] website: Fix background option
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 18:15:46 +02:00
Christophe Simonis 4a2aee45be [MERGE] forward port of branch 8.0 up to 9654b54 2015-07-10 17:12:57 +02:00
Christophe Matthieu b183817218 [FIX] website: infinite loop in website add page method 2015-07-10 17:00:16 +02:00
Christophe Matthieu 087fd6942b [IMP] web_editor: add test translator 2015-07-10 17:00:15 +02:00
Christophe Matthieu a8a170ee6c [FIX] website: need to resize the editor overlay when click in ul snippet. Bullet must change when open or close list 2015-07-10 17:00:15 +02:00
Christophe Matthieu ff58a961e8 [IMP] web_editor: add modal to translate node attributes 2015-07-10 17:00:14 +02:00
Christophe Matthieu cebc73ebf9 [IMP] web_editor: move summernote & nearest lib from website 2015-07-10 17:00:13 +02:00
Christophe Matthieu 9665882fba [IMP] web_editor: adapt css, js and xml to use web_editor 2015-07-10 17:00:12 +02:00
Christophe Matthieu 8c559044a5 [IMP] web_editor: split website into web_editor (to use editor in backend for html field) and website 2015-07-10 17:00:11 +02:00
Christophe Matthieu a616c57c60 [IMP] web: create a template with bootstrap scripts 2015-07-10 16:34:35 +02:00
Jeremy Kersten 5ed23c87d4 [FIX] website: use summernote.less and fix color picker (+ add FA support) 2015-07-10 16:10:03 +02:00
Jeremy Kersten fb4c6bc865 [FIX] website: banner in cover to be repsonsive 2015-07-10 16:09:32 +02:00
Jeremy Kersten fa7d32e722 [REV] website, website_quote: partial revert of d1d8802/ed9f8fd
This hack was just good to print, but break all repsonsive snippets.
Previous commit specify the use of col-md when printing, and so avoid
to add xs anywhere !
2015-07-10 16:09:32 +02:00
Jeremy Kersten 9b11430887 [FIX] website: basic banner snippet - allow to change background after that the snippet is dropped 2015-07-10 16:09:32 +02:00
Jeremy Kersten 34e26dbfb1 [FIX] website: 92 is beautiful
Arbitrary 93px make the menu (with all snippets to drag and drop) bugged.
We have one snippet by line...

why not 91 :/ ? I dont know...
2015-07-10 16:09:31 +02:00
qsm-odoo fc3b25cefd [MOVE] web, website_*: select2(-bootstrap) in web and assets-common
* select2 was linked in both backend and frontend (by web and website)
* select2-bootstrap was in website and linked only in frontend but it
  is in fact needed in backend too

+ Remove useless link of the lib by other modules
2015-07-09 16:27:24 +02:00
Yannick Tivisse 4f3e633d3c [FIX] : website : Remove hack that was unfortunately publishing all new record
created from the frontend (NB : This fix is compatible with the new webclient)
2015-07-09 16:13:04 +02:00
Christophe Matthieu 548fb30735 [IMP] website: add a FAQ collapse snippet, the javascript is only used for edition (set id and target to use bootstrap default collapse code). 2015-07-08 16:55:09 +02:00
Christophe Matthieu 03174f1149 [IMP] website: split margin-x snippet option and create an preventParentEmpty object. This object can be used by other snippet when the parent can't be empty. 2015-07-08 16:55:09 +02:00
Christophe Matthieu 01b1d640f8 [IMP] website: reduce the slider snippet option code 2015-07-08 16:55:09 +02:00
Christophe Matthieu 8420e0bfdd [IMP] website: add on_move method on snippet options called when the user move (drag and drop) a snippet 2015-07-08 16:55:09 +02:00
Christophe Simonis 6c64869de1 [FIX] website{,_quote,_sale}: do not use undefined variable openerp 2015-07-08 15:21:07 +02:00
Denis Ledoux d08facdcb5 [FIX] website: the sitemap must be build with the public user
Otherwise, when accessing `/sitemap.xml` as SUPERUSER for instance,
pages not published were displayed in the sitemap.

opw-640673
2015-07-08 14:16:30 +02:00
Ajay Javiya d8fb8fa6a9 [ADD] website : generic template for search and add functionality to clear search box 2015-07-07 14:10:14 +02:00
Raphael Collet cd925255b7 [FIX] addons: view extensions are no longer based on attribute string
In view inheritance, selecting an element based on the attribute `string` is
broken, since this attribute may be translated before the inheritance is
applied.  This fixes existing views to avoid such selections.
2015-07-06 16:58:04 +02:00
Raphael Collet f2be471558 [IMP] ir_ui_view: adapt translation of views by using callable field.translate
Also add constraint to prevent using translated attributes in view inheritance.
You may no longer select elements based on attributes 'string', 'help', etc:

    <page string="Stuff" position="inside">...</page>

    <xpath expr="//page[@string='Stuff']" position="inside">...</xpath>
2015-07-06 16:58:04 +02:00
Odoo Translation Bot fe3835faff [I18N] Update translation terms from Transifex 2015-07-05 01:52:32 +02:00
Christophe Simonis 4c2a1de75a [MERGE] forward port of branch 8.0 up to 22bd3bd 2015-07-01 18:11:32 +02:00
Olivier Dony e3bd2a5914 [FIX] web_calendar, website: avoid rendering errors with special characters 2015-07-01 17:58:28 +02:00