summaryrefslogtreecommitdiff
path: root/addons/website_slides/static/src/js/slides_embed.js
AgeCommit message (Collapse)Author
2019-03-25[MERGE] forward port branch saas-12.2 up to 230ad8c381eChristophe Simonis
closes odoo/odoo#32088 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-03-21[FIX] website_slides: fix various fullscreen layout issuessri-odoo
Improve overall widget layout, perform some small tweaks. Also remove top title as it is not wanted. Commit linked to task ID 1941250 and PR #31977
2019-03-15[IMP] website_slides: embedded player restylingsri-odoo
The style and DOM structure of the embeded player (used to display PDF file) is old, and it needed a little refresh to be adapt to bootstrap4 and modern styling. Task-1941250
2019-03-06[REF] website_slides: adapt code after jQuery updateVincent Schippefilt
Part of task 1896658 Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Christophe Matthieu <chm@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: David Monjoie <dmo@odoo.com> Co-authored-by: Martin Geubelle <mge@odoo.com> Co-authored-by: svs-odoo <svs@odoo.com> Co-authored-by: Vincent Schippefilt <vsc@odoo.com>
2018-11-28[FIX] website_slides: move JS in the correct fileqsm-odoo
Commit https://github.com/odoo/odoo/commit/6f5748d28854305bb33ffe54e5f94bab4a14828f split and moved JS in different files... but in files which were in different assets.
2018-11-28[REF] website_*: review reorganization and enforce conventionsqsm-odoo
Review the JS reorganization made by direct parent commits and do more to use our defined JS conventions. Also simplify JS which can be obviously improved.
2018-11-28[REF] website_slides: reorganize javascriptAndrea Ulliana
2018-11-19[MOV] slides: Rename and split files according to their underlying modelsqmo-odoo
Purpose of this merge is to polish a bit this module before turning it into "courses" (see task #1902304 for more details on this) Contains * split python model into separate main files to ease models understanding; * split views into separate main files to ease views finding; * rename files according to guidelines; * merge templates in the same file to have all available at hand; * move assets in their own file in order to remove noise from templates; * Split javascript widgets into their own separate files No functional behavior change should occur with this commit. Only move has been performed. Note that we might lose part of the history as splitting files creates a new history for new files. Task: #1909281 Closes: #28679
2018-07-27[REF] *: BS4, adapt formsqsm-odoo
The 'form-horizontal' class have been removed; the '.form-group' elements must now use the 'row' class for an horizontal layout. The 'control-label' class was renamed to 'col-form-label'. The 'help-block' class was renamed to 'form-text'. The 'has-error' and 'has-success' classes have been removed and replaced by a new system using the :valid and :invalid pseudo-classes, when a parent has the 'was-validated' class. While this system is great, it is not straightforward to use it in Odoo. Fortunately, BS4 provides the 'is-valid' and 'is-invalid' classes as fallback. This commit replaces the 'has-error' and 'has-success' classes by 'o_has_error' and 'o_has_success' classes (for JS compatibility) and use the 'is-*' fallback classes. (The 'has-warning' class has no equivalent but was unused in Odoo anyway).
2018-02-23[FIX] website_slides: fix slide loading (function call with wrong this)qsm-odoo
Strangelly, this worked in 9.0 as the `this` element refers to the `window` which also contains the `$` function. This may still be wrong in some cases though, so it is fixed here (even if reported for 10.0). opw-(1)817789
2015-10-01[MERGE] forward port of branch saas-6 up to e9f1ee4Christophe Simonis
2015-09-28[FIX] website_slides: fullscreen and previous/nextNicolas Martinelli
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-07[FIX] website_slides : Fixing typos and cleaning methods for fullscreen ↵odoo-tac
footer and social sharing; code simplification
2015-07-10[IMP] web_editor: adapt css, js and xml to use web_editorChristophe Matthieu
2015-04-22[IMP] website_slides : hide the navigation buttons (of the PDF Viewer) if ↵rsi-odoo
the document has only one page
2015-03-24[FIX] website_slide : fix slide player by removing 'odoo.define()' since it ↵Jérome Maes
is not a odoo js widget. This allow the player to be embedded on external web page without importing odoo js framework.
2015-03-18[IMP] web+addons: improvement to module systemGéry Debongnie
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[REF] website_slides: update to the new module systemGéry Debongnie
2015-01-16[ADD] website_slides: new website module to handle presentations, documents,Mantavya Gajjar
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.