Commit Graph
12 Commits
Author SHA1 Message Date
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
Christophe Matthieu 9665882fba [IMP] web_editor: adapt css, js and xml to use web_editor 2015-07-10 17:00:12 +02:00
Christophe Simonis fe2b5f35a4 [MERGE] forward port of branch saas-6 up to bf1e999 2015-05-28 14:27:38 +02:00
David Monjoie 179c5a9908 [FIX] website_forum: wrapped sharing js inside if_dom_contains
To avoid loading unnecessary templates on every page
2015-05-18 16:47:06 +02:00
rsi-odoo 8de4ca04eb [IMP] website_slides : hide the navigation buttons (of the PDF Viewer) if the document has only one page 2015-04-22 09:32:10 +02:00
Jérome Maes 6a11f594a8 [IMP] website_slide, website : move the PDFJS library from slides to the website module to allow reusing it in website modules.
This huge library handle PDF file to display them, count their pages, ... Due to its size, the lib is declared in a separated optional bundle who should be called with a 't-call-assets' only on the page it is required.
2015-04-15 14:56:24 +02:00
Jérome Maes 73e855aee9 [FIX] website_slide : fix slide player by removing 'odoo.define()' since it is not a odoo js widget. This allow the player to be embedded on external web page without importing odoo js framework. 2015-03-24 11:48:42 +01:00
Géry Debongnie 4fdf74fe21 [IMP] web+addons: improvement to module system
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 09:23:37 +01:00
Géry Debongnie 65586f8ef3 [REF] website_slides: update to the new module system 2015-03-18 09:23:36 +01:00
Ravi Gadhia 98debe7820 [FIX] website_slides : hide popover to like/dislike, hidden upload button for public user, promote button only for employee, better error messages and ui improvements. 2015-02-06 11:50:38 +01:00
Aaron Bohy f163cbe0f8 [FIX] Website_slides: whitespaces in a .png filename
Replace whitespaces in the .png filename by underscores as
whitespaces in a filename produce an error for RPM packaging.
2015-01-19 10:45:46 +01:00
Mantavya Gajjar 51be5bbfb3 [ADD] website_slides: new website module to handle presentations, documents,
videos, infographics. Some kind of slideshare clone, to summarize.

Featuring :
- channel management: classify slides (presentations, videos, documents, ...)
and tune their access rights for visibility, uploading and downloading
- full branding new shiny website module !
- automatic fetch of youtube and google docs information based on URL
- statistics: views, likes, interfaced with messaging, ...
- embed mechanism to embed slides in other websites

Courtesy of RD India, notably Mantavya Gajjar, Ravi Gadhia,  Vijay Patel,
Pariket Trivedi
Courtesy of Use Merge Team, notably Jerome Maes and Richard Mathot
Let us not forget our usability testing teams that tested it quite a lot of time.

Special thanks to Martin Trigaux that did nothing.
2015-01-16 16:01:59 +01:00