- Sep 26, 2023
-
-
Mayurrajsinh Rathod authored
This commit fixes the overflow of content title on without fullscreen view(Exit- Fullscreen) of content page by cropping the title and adding '...' at end. Task-3384661 closes odoo/odoo#128727 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Sep 25, 2023
-
-
Mayurrajsinh Rathod authored
This commit resolves the issue of content title overflow in both fullscreen and non-fullscreen views by cropping the title and adding '...' at the end. Task-3384661 closes odoo/odoo#128713 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- May 19, 2022
-
-
Florian Charlier authored
This commit fixes ACLs for slide resources: * Access to resources should be blocked for non-members (except publishers for the course: responsible and managers) * Tests are included Task-2818136 Part of Task-2663320 Part-of: odoo/odoo#88454
-
- Jun 08, 2020
-
-
Patrick Hoste authored
PURPOSE Before this commit, a user could not contact a course responsible to ask him to join. With this commit he is be able to do it. SPECIFICATIONS Change the message 'Contact website administrator' to 'Contact Responsible'. Add the name of the course responsible in the course description panel. When clicking on its name it opens a modal to request access to the course. It creates an activity linked to the customer and assigned to the responsible. When hovering the 'You're enrolled' button the fa-check icon changes to a fa-times icon to show that you can unsubscribe when clicking. LINKS Task ID : 2127364 PR : #40708
-
- Mar 12, 2020
-
-
Florent Lejoly authored
PURPOSE When previewing a slide of type 'quiz', users are tempted to answer the questions even if they are not member of the course yet. This commit will allow users to answer the quiz without being a member of the course, and offer a smart redirection to join / buy based on the enroll type of the channel. SPECIFICATIONS We introduce a "CourseJoinWidget" that will handle the display and the behavior of the "join" button based on the user (public or not) and the enroll type (public course or based on a payment). When the user answers questions and he's not a member yet, we store the answers temporarily in the session object. When he comes back on the quiz page after having completed his membership, we fill in the quiz based on his previously entered answers and clean the session. LINKS Task 2045571 PR #41972 Co-authored-by:
Florent Lejolyn <fle@odoo.com> Co-authored-by:
Aurélien Warnon <awa@odoo.com>
-
- Feb 11, 2020
-
-
Bhavita Bhatt authored
Following things are done in this commit: 1. changed some labeling and string for more readable and helpful to the user 2. added extra width to the text box 3. added publish/unpublish option for mobile view. 4. track page option auto-activated for any new page,event,job offer,course, blog. task-2088546 closes #40085 Co-authored-by:
jpr-odoo <jpr@openerp.com>
-
- Jan 27, 2020
-
-
Jérémy Hennecart authored
Before, the buttons to save, cancel or update quiz in eLearning frontend as well as icons weren't displayed correctly. Now, all elements are displayed correctly on mobile or on computer, more responsive and better displayed. Task 2153990 PR #42846 closes odoo/odoo#43328 X-original-commit: 4d986beb7192c34c133d8d5d02ff62bd159f202a Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Jan 21, 2020
-
-
Romain Derie authored
This commit fix most `t-set` errors that either led to: 1. unwanted text to be considered as translatable. eg: `<t t-set="classes">text-left bg-100 p4</t>` would create an `ir.translation`. 2. text that should be translatable were not. eg: `<t t-set="text" t-value="'Both'"/>` would not create an `ir.translation` while it should. If a text should be translatable, it should never be inside a `t-value`: - `<t t-set="text">Both</t>` If a text should not be translatable, it sould either be inside `t-value`, `t-valuef` or the `<t>` tag should have `t-translation="off"`: - `<t t-set="classes" t-translation="off">text-left bg-100 p4</t>` - `<t t-set="classes" t-valuef="text-left bg-100 p4"/>` - `<t t-set="classes" t-value="'text-left bg-100 p4'"/>` https://github.com/odoo/odoo/pull/43660 https://github.com/odoo/enterprise/pull/7839 https://github.com/odoo/design-themes/pull/203 closes odoo/odoo#43660 Related: odoo/enterprise#7839 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
- Dec 24, 2019
-
-
Thibault Delavallée authored
Channel allow to browse slides and a list of available slide is displayed as a left panel in the eLearning frontend. Even slides current user cannot see are displayed in order to give some information about course content. Accessible slides are clickable, other slides should be displayed as strings. However due to some sudo when computing slide informations all links are set as clickable. There is no security issue as when being redirected to a slide the user cannot access there is an acl error. However he should not have the links displayed, just strings. This commit fixes that behavior. closes odoo/odoo#42338 X-original-commit: 04a957bb Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Patrick Hoste authored
PURPOSE Currently eLearning lacks feature of having downloadable resources on lessons. Indeed for example teachers would like to attach zip files or other resources linked to a given lesson. SPECIFICATIONS You can now allow the user to download the slide content for pdf and image slides. A new icon will be visible next to the fullscreen button on the pdf viewer. Course maintainers can also add additional resources to a slide which will be available to download for the user. Task ID 2066741 PR #39890 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
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:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Dec 09, 2019
-
-
Kevin Baptiste authored
This reverts commit ff1c3551. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Nov 29, 2019
-
-
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:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Nov 28, 2019
-
-
Kevin Baptiste authored
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Oct 23, 2019
-
-
mcm-odoo authored
- Teacher can now see the progress of his students on the attendees' list. - The completion of a course was recomputed even if the course is completed now it's fixed to 100 when completed. - Added a progressbar in course page in front-end to allow the user to see it's progression. When completed, the tag completed is displayed instead of the progressbar. - On slide page in front-end(normal view or fullscreen) when a course is completed, display the tag completed instead of the progressbar. - Removed completed state on course "Taking care of Trees" for portal user because it was not the case. task-2049689 closes odoo/odoo#36608 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Oct 15, 2019
-
-
David Beguin authored
This commit prepares the next one. It creates generic main and sub templates for slide share modal. In order to be usable for all cases, header and body sub template have been added. Also and in the same purpose, as the website url can be another url than the record to share (or if the record doesn't have website_url), this website_url can be specified separately from the record. Otherwise, the standard behaviour is to use the record.website_url. Task ID: 1950396 PR #31776
-
- Oct 02, 2019
-
-
Romain Derie authored
*base, website_blog, website_event, website_forum, website_slides With this commit: 1. It is now possible to add the 'Edit in backend' entry in the frontend navbar for any desired model, not only the ones which have the published mixin. It will simply redirect to the main_object form view. This commit add it to Forum and Blog. 2. When clicking on 'Edit in backend', it is now possible to land on another module than Website. That's especially useful for events and slides which are not directly related to the website module as they have their own module. 3. Remove the custom Edit in backend from the forum homepage (fa-cog). Opportunity was also taken to remove the 'edit welcome message'. It will now be editable through the editor (welcome message will appear in edit mode). Thus we got rid of the custom edit welcome message controller and views. Closes #36325
-
- Sep 03, 2019
-
-
Thibault Delavallée authored
Currently fullscreen takes all information from categorized slides to display its menu. In order to avoid calls to server some information is prepared in DOM to speedup loading. It means slide information is available even when not being member of a course which leads to some content leak. This commit fixes that by correctly checking that a slide can be accessed before allowing to have access to its information and embedded code. Access of a slide is either member of a course, either course publisher. Task 2058595 (eLearning v13 testing) Task 2064112 (fullscreen bug report)
-
- Aug 08, 2019
-
-
qmo-odoo authored
PURPOSE Like already done for sale order, invoice of survey, purpose of this commit is to remove category model and replace by a flagged line (slide). It allows to easily reorder slides in an embedded list view. SPECIFICATIONS Instead of having a fully fledged slide.category model, slide.slide will serve that purpose with a is_category flag. This will allow to drag and drop slides and sections in the channel form view. This change had an impact on the way slides were added/sorted on the front-end. In fact, whenever a slide is added from the front-end, a resequencing of all the slides in the course has to be triggered. Category of a slide is now a computed field based on the sequence. Order of slides is based on sequence, with categories splitting the slide list based on is_category flag. In this commit tests are added. Some cleaning in tests is also performed to speedup a bit tests (savepointcase) and some cleaning / renaming to ease their understanding. Future commit will add JS necessary to manage slides in the section list view. LINKS TaskID: 1978731 PR: #33255
-
- Aug 05, 2019
-
-
fja-odoo authored
* = website_forum, website_profile, website_sale, website_sale_comparison, website_slides, website_slides_survey Some image links were hard coded in the xml views of website, now they are replaced with website.image_url(model, field). Part of https://github.com/odoo/odoo/pull/34149 task-2007400 closes odoo/odoo#34149 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Aug 12, 2019
-
-
Aurélien Warnon authored
The 'index_content' field was only filled when uploading from the frontend. That would lead to inconsistent results when creating/updating 'presentation' slides from the slide.slide form view. The field was also not cleaned if the slide content changed. As it's usage was not very clear (only on a 'search', and not very intuitive), we simply removed the field.
-
- Aug 02, 2019
-
-
Sébastien Theys authored
image_original => image_1920 (now resized to 1920) image_big => image_1024 image_large => image_256 image_medium => image_128 image_small => image_64 image replaced by image_1920 (when writing) or by image_1024 (when displaying what was previously the big size) + add new intermediate format: image_512 PR: #34925
-
- Jun 24, 2019
-
-
qmo-odoo authored
This commit improves the elearning onboarding on the quizzes If the user is not logged in, a log in button will show up under the quiz If he is logged in but not a member of the course and the course is public, a join button will appear under the quiz If the course needs to be bought, a buy button will appear under the quiz. If the course is on invite only, a message under the quiz will inform the user about it TaskID: 2003986 PR: #33861 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jun 18, 2019
-
-
Patrick Hoste authored
Including * change h4 to h1 on the slide page; * add the rel='canonical' link header on the fullscreen view in order to improve SEO and links; * add space between quiz questions; * remove social share statistics as they are broken and not really useful; * moved tabs before the Quiz on the slide page; * allow to modify slide in backend by removing some readonly attributes; Linked to task ID 2010024 Related to PR #34176 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jun 14, 2019
-
-
sri-odoo authored
closes odoo/odoo#34137 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Jun 12, 2019
-
-
sri-odoo authored
Slightly increase margins between questions in a test. closes odoo/odoo#34055 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Jun 11, 2019
-
-
sri-odoo authored
The '#wrap' id is needed by website themes to correctly handle layout options. closes odoo/odoo#34024 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Jul 31, 2019
-
-
qmo-odoo authored
This commit adds the number of comments on the comments tab and also improves the design of the pdf sharing options Task: 1978736 PR: #34232 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- May 03, 2019
-
-
qmo-odoo authored
This commit fixes a few issues with quizz * change background-color to white in fullscreen mode; * prevent going up to the top of the page when selecting an answer; * highlight selected answers in fullscreen; * fix the display of already completed quizzes Commit linked to task ID 1978530 (fixes linked to internal testing). closes odoo/odoo#33140 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
qmo-odoo authored
This commit adds back the slide type icons on the sidebar list in fullscreen and not fullscreen mode. Commit linked to task ID 1978530 (fixes linked to internal testing).
-
- May 06, 2019
-
-
qmo-odoo authored
This commit removes the read access on slide.answer for all users except website_publisher and admin Task: #1947884 PR: #32083 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Mar 21, 2019
-
-
qmo-odoo authored
This commit provides a few fixes for the non-fullscreen view: * remove the subquiz link on slides of type 'quiz' in the sidebar; * hide completion icons in sidebar if not member; * only show the 'embed on your website' option when a slide has an embed code. This will prevent slides of type 'certification' or 'quiz' to display an empty embed box; Commit linked to task ID 1941250 and PR #31977
-
qmo-odoo authored
This commit provides a few fixes for quiz feature: * fix amount of karma won by the user in a quiz; * correctly display the fact that a subquiz was completed by the user instead of just looking like a non-completed quiz; * going on a previously completed quiz, good answers are hightlighted and inputs disabled; * effectively put the quiz in readonly mode if not a channel member. Commit linked to task ID 1941250 and PR #31977
-
sri-odoo authored
Purpose of this commit is to perform a cleaning of * documentation course: add a new specific navigation for documentation course with a sort option and filters on slide types; clean overall layout of documentation course to have a better-looking result as this page was still not really updated; * lesson not fullscreen page: global layout and cleaning of not-fullscreen page to have a better-looking result. Notably related slides for documentation slide is set on right, and some UX bits are tweakes; Commit linked to task ID 1941250 and PR #31977
-
sri-odoo authored
Commit linked to task ID 1941250 and PR #31977
-
sri-odoo authored
Purpose of this commit is to improve the global look of course layout (notably banner, navigation, course / channel informations). Content list layout displayed in training (orderable) is also tweaked and improved. Commit linked to task ID 1941250 and PR #31977
-
- Mar 19, 2019
-
-
David Beguin authored
Commit 5798ca28 was assuming the vote and comment access on slide was related to is_preview mode and was, consequently, depending on each slide separately. In fact, it's not because a slide is in preview mode that the user has the right to vote for this slide. He must be course member to interact with this preview slide, even if he has the right to read it. So the vote and comment right are now computed at the level of the course, and apply to all the slides of this course. This commit also reviews and apply fixes on review - rating access. Here are the applied rules regarding vote, comment and rating on course and slides: A user can review a course: - If allow_comment is activated on the course AND - If the user is publisher OR - If the user has enough karma AND is member of the course. Note : if the rating is not allowed on the course, not only the button to review must be hidden but also the entire rating composer. A user can vote and comment a slide: - If allow_comment is activated on the course AND - If the user is publisher OR - If the user has enough karma AND is member of the course. Other fix applied is this commit : - Avoid crash when no promoted slide : When going on course homepage (documentation type), if no promoted slide, we got a internal server error. Task ID: 1941250 Partial revert of commit 5798ca28 PR #31567
-
- Mar 15, 2019
-
-
Jérome Maes authored
When a certification slide is display in no fullscreen mode, the done button is clickable. Same applies to quiz slide. This commit prevents user to manually mark a slide as done for slide type that requires an other action (submit answer, pass survey, ...). Task-1941250
-
David Beguin authored
As slides are returned in sudo to the template, the user rights were checked via a can_access variable set in the template directly. In order to disable the vote for user that cannot get access to the course all the checks are now done in backend (also to avoid to get access to slides in sudo mode with rpc calls). We add now, for each slide on the course view, the access and vote rights to the template : can_access and can_vote. Those two are computed in backend, using the user's access right instead of admin's. But, as if the user is not member of the channel, he cannot get access to the course slides (expect for Free Peview ones), so the check on can_vote will crash. This is why we check the access rights before checking can_vote, for each slides (as free preview slides are still accessible, even if the user is not in channel members). The vote widget is disabled if user's can_access or can_vote = False, enabled otherwise. If user have access but have not enough karma, the controller will handle this case and return an error to the user telling him he has not enough karma to vote. If user can vote but cannot access, the controller will handle this case and return an error to the user telling him he has no access to the lesson. Task ID: 1943788 PR #31321
-
David Beguin authored
To avoid eLearning to be spammed, the comment, review and vote behaviours are now allowed only if the user has enough karma to do it. Here is the new behaviour on courses and slides rating / comment / vote -If allow_comment is checked on Course : - Review (rating) is allowed on Course only if enough karma - Comment is allowed on slides within the course only if enough karma and course type is 'training' - Vote is allowed on slides within the course only if enough karma and course type is 'documentation' -If allow_comment is not checked on Course : - Review (rating) is not allowed on Course - Comment is not allowed on slides within the course - Vote is not allowed on slides within the course - Rating is not allowed on slides within the course anymore Task ID : 1943788 PR #31321
-