Skip to content
Snippets Groups Projects
  1. Dec 24, 2019
    • Patrick Hoste's avatar
      [IMP] website_slides: add comments on answers showed after answering a quiz · e42ee496
      Patrick Hoste authored
      
      PURPOSE :
      
      A quiz after a course content is a good way to check if the user gets the previous lesson.
      Despite, the user/student may not understand why his answer was wrong/correct.
      In this task we'll allow the teacher to add a comment next to the asnwer of a quiz.
      
      SPECIFICATION :
      
      The quiz creator will now be able to comment the answers to inform the frontend user why
      his answer is wrong/correct. He will be able to add the comments both in backend and frontend.
      
      Task ID : 2072566
      PR : #41188
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      e42ee496
  2. Dec 12, 2019
    • mcm-odoo's avatar
      [REF] website_slides: define specific eLearning user groups · 90bf317c
      mcm-odoo authored
      
      PURPOSE
      
      Have user groups specific to eLearning to separate them from generic website
      editors. Indeed this is a specific work area and require more than pure design
      skills.
      
      SPECIFICATIONS
      
      Two user groups are added in this commit
      
        * group_website_slides_officer
      
          + can read any course/slide
          + can create a course (will be responsible)
          + can write on its courses
          + can upload slides to the courses he is responsible
          + can publish slides to the courses he is responsible
          - cannot unlink courses/slides (you should archive them)
      
          * implies group_website_publisher in order to see the top navbar in
            frontend with the publish toggle button and the new content button;
      
        * group_website_slides_manager: has full rights
      
          + can read any course/slide;
          + can create a course;
          + can add slide to any courses;
          + can publish any courses/slides;
          + can unlink any courses/slides;
          + has access to reporting menu entries;
      
      Rights for other groups are untouched for courses / slides. As a reminder
      we still support responsibles being outside of eLearning groups, for example
      if an employee is a teacher that handles a course:
      
        * people in upload_group_ids of a channel can upload slides, even if they
          don't belong to any eLearning group;
        * people responsible of a course can upload and publish slides even if they
          don't belong to any eLearning group (done through controller as they
          don't have real rights on underlying models);
      
      We choose to keep the survey rights separated from eLearning ones. Indeed
      it is easy in odoo to update the imply_ids field of groups if necessary
      to link survey / eLearning groups; default user template can also be updated
      easily. Standard Odoo should therefore correctly separate those groups. The
      only specific rights is that eLearning officers can read all surveys, allowing
      to choose them for certification-based courses.
      
      LINKS
      
      Task ID 2062462
      PR #39485
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      90bf317c
  3. Nov 29, 2019
    • Hoste Patrick's avatar
      [IMP] website_slides: allow to create and update quizzes directly in frontend · ec9e389f
      Hoste Patrick authored
      
      Purpose is to ease designing your courses by allowing to create and update
      slide quiz directly in frontend, within the slide display.
      
      With this commit you are able to
      
        * add a quiz to a slide or add a question to an existing quiz;
        * edit an existing question from a quiz:
      
         * change the title of the Question;
         * add, remove or update answers;
         * change the right answer;
         * delete an existing question;
         * reorder the questions from a quiz;
         * reset the quiz for the current user if he is a website designer, allowing
           to test the quiz and its answers;
      
      New frontend widgets are introduced allowing to manipulate quiz. Slide page
      now supports a readonly / taking quiz mode and an edit mode for quizzes
      used notably for website designers / course maintainers.
      
      Task ID : 1999636
      PR : #35326
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      ec9e389f
    • Thibault Delavallée's avatar
      [IMP] website_slides: merge slide quiz answers constraints in a single method · a4abdfa3
      Thibault Delavallée authored
      Currently there are several checks on answer integrity for slide quiz
      questions. In this commit we simplify code to effectively implement
      what is requested: 1 valid answer and at least 1 invalid answer.
      
      Task ID 1999636
      PR #35326
      a4abdfa3
  4. Sep 11, 2019
    • mcm-odoo's avatar
      [IMP] website_slides: improve slides backend views · 3e4b0f32
      mcm-odoo authored
      This commit improves a bit the existing backend views of the elearning
      app (notably propagating content and course labeling instead of slide and
      channel) and adds a pivot view for model slide.slide.
      
      FP feedback
      
      Task 2066646
      3e4b0f32
  5. Sep 03, 2019
    • Michaël Mattiello's avatar
      [IMP] website_slides_{*}: improve backend UI, views and user actions · 8c9473fd
      Michaël Mattiello authored
      Purpose of this commit is to perform a back2basics on eLearning backend
      views. It helps users in their daily use of eLearning and improve UI.
      
      Containing
      
        * channel kanban view tweaking;
        * channel form view: some spacing and renaming improvements. Also set
          advanced field (new content email, share template) as group no one;
      
        * slide kanban view tweaking;
        * removed sections from kanban and list view for contents;
        * contents form view: various improvements, with notably
      
          * removed field website_url;
          * set publishded date is now readonly, tracked and in group_no_one as
            it is automatically set when publishing the lesson, and people should
            not update it manually;
          * removed the sum "Content" and replaced it by a stat button
          * reword quiz constraint error messages;
      
        * rating views improvements:
          * revamped the kanban view of rating that were a bit broken;
          * added a pivot view in Reporting/Reviews;
          * updated graph view in Reporting/Reviews;
      
      This commit also provides some usability fixes
      
        * prevent sending email if new content is category;
        * email: Prevent displaying an image if there is no image;
      
      LINKS
      
      Task 2049640 (website slides back2basics and fiximp)
      Task 2058595 (eLearning v13 testing)
      8c9473fd
  6. Aug 05, 2019
    • Jérémy Hennecart's avatar
      [REF] website_slides: make eLearning an application with its own menu structure · 4587e6a3
      Jérémy Hennecart authored
      PURPOSE
      
      eLearning should have its own application in manager. Indeed this is becoming
      a big application and having it embedded inside Website application is not
      enough anymore. It should also hold updated and easy-to-use menus,
      navigation, actions and views in backend.
      
      SPECIFICATIONS
      
      Update manifest and make website_slides an application separated from
      website embedded menus.
      
      Implement new menu structure
      
        * Courses
          * Courses
            List view: Course Name, # Views, # Attendees, # Ratings, Revenues,
            Reviews
          * Contents
      
        * Reporting
          * Courses: list view on slide.channel model, ordered by # views.
              * add a graph view (group by content)
          * Contents: graph view on slide.slide model
              Area Graph: X month
              Y measure: # Views (others measures: Attendees, ...)
              Group by: course (color)
          * Reviews: see kanban of latest reviews;
          * Quiz: list view on slide.question model.
              List view: Add # Quizz Trials, # Quizz Passed, Avg Attempts
      
        * Configuration
          * Settings
            * Allow Forum on Courses (installs website_slides_forum)
            * Allow Certifications (installs website_slides_survey)
            * Allow Selling Courses (installs website_sale_slides)
          * Course Tags
            * See channel.tags.group with label Course Tags, form view allow to
              configure group tags
            * https://drive.google.com/a/odoo.com/file/d/1G0g2UnG5cZG55EXQ5icbgwe7T2eSZskT/view?usp=drivesdk
            * On click: open :https://drive.google.com/a/odoo.com/file/d/1I_PW3aZAbrslXadiYqmVF-_6dGXx8knd/view?usp=drivesdk
      
      
          * Content Tags
      
      This structure will gain new items in sub-modules, notably bridge with
      form and website_sale. Those will be implemented in next commits.
      
      LINKS
      
      Task 1978729
      PR #35061
      
      Co-Authored-By: default avatarThibault Delavallée <tde@odoo.com>
      Co-Authored-By: default avatarJérémy Hennecart <jeh@odoo.com>
      4587e6a3
  7. Feb 20, 2019
  8. Feb 19, 2019
    • qmo-odoo's avatar
      [IMP] website_slides: Add elearning feature to slides · c564ae6c
      qmo-odoo authored
      Purpose of this commit is to introduce a new way of displaying and managing
      slides in eLearning module. Its purpose is to give a better experience to
      users when going through a course. Notably a fullscreen mode allows to take
      lessons one by one without going out of the elearning display. Integration
      of all slide types eases taking the course step by step.
      
      Quiz are introduced in this commit. Those are an addition to slides with
      some question / answers (multiple choice). It allows customer to gain karma
      and improves gamification. Certifications are still done using the survey
      application. Quiz targets only small tests at the end of a given slide.
      
      A new widget is added to display and control slide display in fullscreen
      mode. Old display is still available for documentation channels or when
      going out of fullscreen mode, to see details on comments / review / statistics
      and have access to share options.
      
      This commit is linked to task ID 1902304 and PR #29876. It closes the main
      work on refactoring website slides into eLearning, with other tasks already
      merged in current community [1][2][3][4][5].
      
      [1] Task ID 1940360 landed at b2149bc7: certification inclusion
      [2] Task ID 1936153 landed at 6c6179e5: homepage inclusion
      [3] Task ID 1937160 landed at 8b7605c9: selling courses
      [4] Task ID 1922159 and 1940516 landed at 5fa651cb and 6a64c3ce:
          new user profile and gamification of slides / forum
      [5] Task ID 1938643 landed at 77b5673a: upload channel/slide
      c564ae6c
Loading