Commit Graph
2957 Commits
Author SHA1 Message Date
Martin Trigaux 613286b0e8 [I18N] export application terms of all modules
Now that most refactoring has been merged

It is better to have red a great work of another culture in translation than never to have read it at all.
― Henry Gratton Doyle
2015-09-07 17:21:58 +02:00
Simon Lejeune ef3d0d87bc [FIX] web_planner: tooltip on progress bar 2015-09-07 13:36:12 +02:00
Aaron Bohy 7d1590ef33 [FIX] web_planner: detach on close 2015-09-07 12:15:44 +02:00
Fabien Pinckaers a821430ac9 [IMP] cleaning of planners, work in progress 2015-09-06 11:42:28 +02:00
Fabien Pinckaers a093114065 [IMP] removing fp photo 2015-09-05 18:07:58 +02:00
Christophe Matthieu 522fcacb21 [IMP] base: assets now directly use /web/content url 2015-09-03 19:31:00 +02:00
Darshan Kalola 7f024fe5ef [IMP]planner: some correction according to new features added in master. 2015-09-01 15:46:22 +02:00
Yannick Tivisse 42141a5b59 [IMP] website: WidgetWebsiteButton: Add label on website below the publication status 2015-08-31 12:58:44 +02:00
Raphael Collet 12e7039c29 [FIX] website_forum: fix incorrect use of env(...) 2015-08-31 10:56:55 +02:00
Fabien Pinckaers 276065b3f8 [IMP] tour css glitch 2015-08-30 15:21:38 +02:00
Christophe Simonis edeceba7df [MERGE] forward port of branch saas-6 up to 7a768a4
Due to `sale` rewrite (94716a3f14),
the commit 503820acb6 has been partially
ignored (in sale.order.line) and will be rewritten later using new-api.
2015-08-28 15:07:16 +02:00
Christophe Simonis 6d85a9a4b9 [MERGE] forward port of branch 8.0 up to d744923 2015-08-27 18:30:46 +02:00
Christophe Matthieu 46de6789c6 [FIX] website: computeFonts when mediaEditor is called 2015-08-27 18:09:39 +02:00
Christophe Matthieu 877f38e2be [FIX] website: history buttons "undo", "redo" for embedded editor
* use summernote base history when not editing the website,
* fix the history buttons "undo", "redo" for embedded editor,
2015-08-27 18:09:39 +02:00
Christophe Matthieu a1194b2bb8 [FIX] website: use and improve ctrl-z/v in forum
* fix erroneous paste edge case,
* improve selection and pasting
* delete and backspace with hr

opw-646222
2015-08-27 18:09:39 +02:00
Nicolas Lempereur 8c77c711ee [FIX] website: escaping saved html content
Escape text nodes changed via the web editor before sending the content
it to the server controller.

It is done since the content is unescaped one time when being displayed,
and it is not done for inline style and script tags (which may be
injected by dropping a snippet) since that would break them.

replacing the solution in cdb900044.
2015-08-27 17:27:39 +02:00
Denis Ledoux ed214a6681 [FIX] website, website_sale: alternative for images
Images should have an alternative
(the "alt" attribute") in order
to be W3C compliant (accessibility).

opw-648135
2015-08-27 15:46:14 +02:00
Jeremy Kersten 11d09a427f [FIX] website: editor - don't try to load ico and video in only_images mode 2015-08-26 15:33:35 +02:00
Christophe Matthieu b44749f8d5 [IMP] website.theme: add event into the on_select arguments to allow the prevent default 2015-08-26 15:31:28 +02:00
Simon Lejeune 5c374313f6 [REF] planner: back again in a modal
fp's request
2015-08-26 14:53:00 +02:00
Christophe Matthieu b90c663702 [FIX] website: two sliders or galleries can have the same id
(because the user can edit separate part like footer or using versioning)

Backport of 394a0c8bb4.
2015-08-25 17:14:55 +02:00
Martin Trigaux 3acaebc7f6 [I18N] list of resource and terms
Remove from the list of translatable modules the modules that do not contains
any term and have empty .pot file.

website: remove duplicated terms from .pot
2015-08-25 13:33:05 +02:00
Martin Trigaux 6c51a80aa4 [I18N] export application terms of all modules 2015-08-25 12:01:38 +02:00
Christophe Simonis 88c0ce0692 [MERGE] forward port of branch saas-6 up to e16d495 2015-08-24 18:19:19 +02:00
Odoo Translation Bot 99931637d5 [I18N] Update translation terms from Transifex 2015-08-23 01:51:13 +02:00
Christophe Matthieu 41e730cbfa [IMP] web_editor: add document into the media editor
User can upload documents and add the link in the page to download it.
2015-08-21 22:06:52 +02:00
Christophe Matthieu d4bae06d08 [IMP] web: use css to display attachment mimetype
Widgets and website display images or display the type with icon like pdf, doc...
2015-08-21 22:06:52 +02:00
Christophe Matthieu 6baf611df1 [IMP] web: create generic controller '/web/content' and '/web/image'
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 22:06:52 +02:00
Christophe Simonis b2062df319 [MERGE] forward port of branch 8.0 up to 86f98d5 2015-08-21 17:01:17 +02:00
Christophe Matthieu ee0fd9765e [IMP] website: add on_select on Theme object
Called by click or changes with enable or disable.
Called only one time by selection.
Receive all changed inputs.
For e.g.: allow to the designer to use this method to open modal or other option.
2015-08-21 16:01:00 +02:00
Christophe Matthieu 86696c3d70 [FIX] website: can't add a slide in banner 2015-08-21 15:58:53 +02:00
Christophe Matthieu 394a0c8bb4 [FIX] website: two sliders or galleries can have the same id
(because the user can edit separate part like footer or using versioning)
2015-08-21 15:58:53 +02:00
Christophe Matthieu a38e5bee18 [FIX] website: zero index for snippet gallery 2015-08-21 15:58:53 +02:00
Nicolas Lempereur 57c00ebea5 [FIX] website: escape when in a modal don't close editor
When a bootstrap modal is closed via the escape key, the editor would
snatch this keydown event and think we want to stop the editing.
2015-08-21 15:58:52 +02:00
Nicolas Lempereur ca9f0f283b [FIX] website: remove remnants of video autoplay
Video autoplay was removed in commit 9069d0 (december 2014) but there
was still two needless references.
2015-08-21 15:58:52 +02:00
Nicolas Lempereur 0ddb68be81 [FIX] website: manage css margin for resizing
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 15:58:52 +02:00
Nicolas Lempereur 681195a53e [FIX] website: edge case for slider background
Update the snippet option background "target" and cached
"background data" each time another slide is shown.
2015-08-21 15:58:52 +02:00
Nicolas Lempereur 0934fcc9ad [FIX] website: improve font awesome icons
* 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 15:58:52 +02:00
Nicolas Lempereur b35b21402e summernote: Fix script error when last undo.
from https://github.com/summernote/summernote/commit/715fec370
2015-08-21 15:58:52 +02:00
Nicolas Lempereur 43d378f2e8 summernote: add hasUndo and hasRedo method for pre/next buttons
Since the stack offset of the editing history is hidden, it was not
possible to have next (CTRL+Y) and previous (CTRL+Z) buttons.
2015-08-21 15:58:52 +02:00
Christophe Matthieu f52c046afe [FIX] website: snippet editor call on_clone & on_remove on children 2015-08-21 15:58:52 +02:00
Christophe Matthieu 0c1f6f7092 [FIX] website: double enter in blockquote & pre = new line outside 2015-08-21 15:58:52 +02:00
Xavier Morel 2ea5c3aeef [IMP] restrict modules to system_group
* listing of modules in website already bypassed session user
* altered authenticated endpoint so it does the same
* sudoed a few read accesses & name_get in groups
* other accesses are list/form views, menu only accessible to
  system_user
* new-API-ified some calls & unified listing of installed modules
2015-08-21 12:59:06 +02:00
Yannick Tivisse 1617db3337 [IMP] Modules list reorganization to correspond with the app switcher. 2015-08-21 10:44:51 +02:00
Yannick Tivisse 0decfd94d1 [IMP] __openerp.py__ files : remove all occurence of authors and website
where it was 'Odoo SA', 'OpenERP SA', 'OpenERP s.a.', 'OpenERP SA', 'OpenERP'
      or 'http(s)://openerp.com' or 'http(s)://www.odoo.com'
2015-08-20 16:15:59 +02:00
Ronak Baxi 393f136509 [IMP] *: Uniformize all modal footers
The main button has classnames btn btn-primary.
Other buttons have classnames btn btn-default.
No more 'or' between the buttons.
2015-08-19 08:10:45 +02:00
Simon Lejeune cd80cb424e [REF] planner: possibility to hide title in the page
Wet let the dom as it is used by the planner implementation. Hide all
the titles of the end pages.
2015-08-18 17:57:38 +02:00
Christophe Matthieu dd4566de37 [FIX] website: remove col-md-12 obsolete bootstrap fix 2015-08-17 10:13:00 +02:00
Christophe Matthieu 384d717dcd [FIX] website: remove col-md-12 obsolete bootstrap fix 2015-08-17 10:12:15 +02:00
Odoo Translation Bot 4359f65522 [I18N] Update translation terms from Transifex 2015-08-16 01:58:03 +02:00