Commit Graph
24 Commits
Author SHA1 Message Date
Adrien Dieudonne a9b0561106 [FIX] *: use new JS module to read from/write in localStorage
to prevent errors when the localStorage capacity is 0, which is the case e.g.
on private browsing with Safari.
2016-06-16 13:48:18 +02:00
Foram Shah 2e9644d10f updated the description of website_slides 2016-05-10 15:24:50 +02:00
Fabien Pinckaers 4c8e908b49 [IMP] Speed up app switcher loading: 645k --> 137k lossless compression for all icons 2016-02-26 11:39:38 +01:00
Christophe Matthieu 1a2b1e69dd [IMP] web: remove useless jQuery.timeago lib
Replace call by moment(date).fromNow()
2016-02-17 09:47:45 +01:00
Martin Trigaux 8b4f052a38 [MERGE] Forwardport of branch saas-6 up to c649bb0df 2016-01-05 18:28:06 +01:00
Nicolas Lempereur a2cb0e96e3 [IMP] website_slides: improve not pretty thumbnail
In 9.0 image_medium and image_thumb route are used to display thumbnail
of website_slides document.

These in 9.0 will scale the image, but also crop it so it has a good
aspect ratio.

In saas-6 this croping feature is not present and these thumbnail will
be scaled in diverse ugly way.

To improve a little the situation, this commit use some CSS (currently
not supported only by internet explorer) which give a similar aspect as
9.0's got.

opw-658957
2015-12-16 17:33:09 +01:00
Christophe Simonis d750206c49 [MERGE] forward port of branch saas-6 up to e9f1ee4 2015-10-01 15:16:59 +02:00
Nicolas Martinelli a4bc3c23aa [FIX] website_slides: fullscreen and previous/next
This solves 2 issues:

1) When the slide is set to fullscreen, on Firefox, the image was
stretched and the aspect ratio not respected. This is the default
behavior of Firefox for a canvas. By choosing the parentNode instead (a
div tag which only contains the canvas), the aspect ratio is respected.

2) Arrow key up/down has now the same behavior than arrow key
left/right.

opw-650174
2015-09-28 15:29:06 +02:00
Martin Trigaux 04ae8023f6 [FIX] *: various English errors
Unclear or incorrect sentenses.
Courtesy of Eric Geens
2015-09-14 12:14:06 +02:00
odoo-tac 6a4b8881b0 [FIX] website_slides : Fixing typos and cleaning methods for fullscreen footer and social sharing; code simplification 2015-09-07 13:37:50 +02:00
Dharmraj Jhala 36815037b8 [IMP] website_slides : usability improvements 2015-09-07 13:37:50 +02:00
qsm-odoo 5960d3cff8 [IMP] *: New icons 2015-08-11 14:31:10 +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
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