Skip to content
Snippets Groups Projects
  1. Mar 11, 2019
  2. Mar 07, 2019
  3. Mar 12, 2019
    • qmo-odoo's avatar
      [FIX] website_slides: no completion for public user · 24d30331
      qmo-odoo authored
      
      When a slide is seen by user, it should be marked as completed
      (according to its type), and the user completion for the course
      is updated. But for public user, we don't want those RPC calls
      to be done, as completion for visitor makes no sense.
      This commit also hide progressbar when current user is public.
      
      Task-1942852
      
      closes odoo/odoo#31700
      
      Signed-off-by: default avatarJérome Maes (jem) <jem@openerp.com>
      24d30331
    • qmo-odoo's avatar
      [REF] website_slides: revamp fullscreen widget · fd78a408
      qmo-odoo authored
      This commit makes the 'Fullscreen' page a complete odoo
      widgets. We decided to split it into some sub widget:
      - Fullscreen: will be the master piece, handle communication of
      components, displaying slide content, setting slide as completed,
      handling server RPC calls, ....
      - Sidebar: responsible for slide navigation, based on the table of
      content. (prev, next, keyboard naviguation, ...)
      - VideoPlayer: display content for Youtube video and handling player
      event to auto set as completed, ...
      
      The DOM of this page is still rendered serverside. DOM was cleaned in
      order to be less complex and less deep. CSS style was also reviewed
      to decrease line of code.
      
      Fullscreen is now completely using Quiz widget with events triggered.
      
      Task-1942852
      fd78a408
    • Romain Derie's avatar
      [FIX] test_website: restore test now that fix has been forward-ported · c9f832d9
      Romain Derie authored
      
      Commit ef03db9e added back the reset_templates functionality and some tests in
      Odoo 12.0.
      Commit fcb972db skipped one of the tests in Odoo saas-12.2 as there was a race
      condition (new editor).
      Commit 7c045dda fixed the race condition in Odoo 12.0 even if the error never
      showed, it was safer.
      
      Now that the fix got forward-ported to Odoo saas-12.2, we can add back the
      skipped test.
      
      closes odoo/odoo#31780
      
      Signed-off-by: default avatarChristophe Simonis <chs@odoo.com>
      c9f832d9
  4. Mar 11, 2019
  5. Mar 10, 2019
  6. Mar 08, 2019
  7. Mar 07, 2019
Loading