- 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>
-
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
-
- 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>
-
- Nov 25, 2019
-
-
Aurélien Warnon authored
The slide.slide "_compute_slides_statistics" method is missing the 'slide_ids.sequence' trigger. It should be specified for cases when one of the slide_ids changes category (determined by the sequence). This can cause some CacheMiss and seem related to nondeterministic errors on the runbot. PR #40705 Task#2123711 Runbot build error ID 247 closes odoo/odoo#40867 X-original-commit: 1994f544 Signed-off-by:
awa-odoo <awa-odoo@users.noreply.github.com>
-
- Nov 22, 2019
-
-
David Beguin authored
To ease grep in the code, especially that challenge is quite heavily used. Task ID : 1961053 PR #32594
-
- Nov 21, 2019
-
-
Romain Derie authored
A nicer 404 layout was introduced with e9106f8f but the specs got changed just after it was merged. It has been decided to make the 404 fully editable (before, everything was fully editable except the popular page div). In order to do this, the 404 template can't have inherited views, which brings the following changes: 1. Remove every main website module xpath view adding their most popular page 2. Remove the xpath view in portal to add popular page part (was not needed in http_routing/web). It has been decided that having `Home` ('/' url) even without portal and/or website is not a big deal. Those changes allow the 404 template to be written in a single view without any inherited views. The 404 will be the same for backend only databases, portal and website. task-1966460 closes odoo/odoo#40637 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Florimond Husquinet (fhu) authored
The Channel model contains the two following fields: `description` and `description_html`. The former is a short plain-text description that can be filled in the creation form. The latter is a long html-formatted description. Before this commit: The description displayed on the card of the course is the `description` field. After this commit: There is an additional `description_short` field, which is initialized to the same value as the `description` field. If the `description` field is modified the `description_short` reflects the modifications. This happens however only if the user didn't modify the `description_short` field manually. If it is modified to another value manually, the link is broken. Description short is now used only on the course page, below title, in the header. Description short is used in kanban card displayed in homepage. Html description is used as a long course description on course page. Beside, in the creation form of a course, the description textarea is now a one-line input field to reflect the fact that it's supposed to be a relatively short description. Task ID: 2026165 PR #39388 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Nov 20, 2019
-
-
laa authored
Purpose of this commit is to help users knowing there is new content in a course by adding a visual insight. It is done through a new content arrow displayed in courses homepage. Regarding the file "website_slides_templates_homepage.xml", the choice to incorporate the t-call attribute into a 't' balise was necessary to display the customize option (part front) associated with the model course_card. Side dish usability improvements raised during development * display completed courses as last instead of first in "my courses"; * do not show promote strategy field for training courses as it has no use, only for documentation courses; TASK ID 2025186 Closes PR #36703 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Thibault Delavallée authored
Even if it works in current flows it is better to give some fields their right triggers (fields and uid). PR #36703
-
Thibault Delavallée authored
Oversight of 9b38bcec PR #36703
-
Debauche Stéphane authored
Before ====== In the demo data, we manually add ``admin`` as an attendee of his course, and then we remove it with ``_remove_membership`` because he will be added automatically in python. Now === We do not add ``admin`` as an attendee of the course, and we remove the ``_remove_membership`` call. We also change the responsible of some courses so admin can join some courses. Task ID 2120225 PR #39886 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Nov 19, 2019
-
-
ryv-odoo authored
PURPOSE Rating model should be available only for internal users. External users access them only through dedicated routes or controllers using sudo and/or granting access through tokens. Therefore simplifying ACLs should be feasible. SPECIFICATIONS Remove access to rating.rating for public and portal users. Only employees can access it, with full access given to system admins. Update various functional flows to use sudo() and check that access is verified before using sudo. Impacted modules * rating / mail: add groups on some rating related fields as only internal users should access them now; * rating / mail: set some statistics fields using compute_sudo as their value should be accessible for external people even without access to the underlying rating.rating records; * project: makes some use of rating and has to be updated, notably for the public rating page; * website_{livechat, rating, slides}: add sudo in public routes as access is already granted; * website_slides: set statistics field using compute_sudo as their value should be accessible for external people; TASK ID 2053096 PR #36592 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Nov 18, 2019
-
-
Romain Derie authored
This commit introduces a nicer 404 page, which is basically the same layout as the one used on Odoo.com. Also, the 404 is now fully customizable, blocks can be drag'd & drop'd. task-1966460 closes odoo/odoo#38901 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Nov 14, 2019
-
-
Victor Feyens authored
closes odoo/odoo#40263 X-original-commit: 2cab75b4 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Nov 13, 2019
-
-
Xavier-Do authored
-
- Nov 06, 2019
-
-
Aurélien Warnon authored
This commit fixes the "quiz finish" modal display by correctly hiding it when the user clicks on the "Next" button in the modal. Without this fix, the user could run into an issue where the "modal backdrop" would stay on the screen, locking all actions and forcing a manual refresh. Task#2118532 closes odoo/odoo#39899 X-original-commit: 84603c6d928e5ba9b19c4ed3e8b6edbab42a8a5b Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Patrick Hoste authored
PURPOSE Fix a bug where you get a traceback when trying to join a course on a quiz preview not in fullscreen mode. A variable was badly named in JS (id -> channelId), leading to the ID not being forwarded to the "Join Course" sub-widget. LINKS Task ID 2079476 PR #38051 closes odoo/odoo#39891 X-original-commit: b32d30b8cde85ba37f9cef975838874a08ea7c07 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Yannick Tivisse authored
-
Patrick Hoste authored
PURPOSE If a user levels up after passing a quiz, we want to clearly show him in the success modal that he actually passed a level instead of just showing his new rank and xp gauge. This commit introduces an animation with the progress bar when the user is levelling up. After reaching the upper bound of the next level: - The progress bar goes back to 0 ; - The lower/upper bounds change to reflect the new reached level bounds ; - The message "Amazing!" becomes "Level Up!" ; - The motivational phrase changes with a fade out/fade in animation. LINKS PR : #39870 Task ID : 2032649 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by:
Aurélien Warnon <awa@odoo.com>
-
Aurélien Warnon authored
The commit 748f0c88 changed the "completion" field from a number of completed slides to a percentage of completion. The computation used in the user profile has to be adapted accordingly. PR #39870 Task#2032649
-
- Nov 04, 2019
-
-
Julien Castiaux authored
Since odoo/odoo@8d5da6e4be05 HttpCase should not be started at install. closes odoo/odoo#39719 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Oct 30, 2019
-
-
Christophe Monniez authored
When loading a page on an existing starting database, registry is not fully loaded causing potential error when trying to access model existing in database (views, menitem, ...) since model added in last loaded module does not exist in registry. Thus, executing browser js test may lead to errors when executed during an update on a database with other modules installed. HTTPCase should be executed post_install to ensure that registry is fully loaded to avoid this problem. Since HTTPCase are slower than other test, it is also a good idea to execute them at the end, in order to prioritize fast fail. With this commit, a warning is isued if such a test class is tagged to run at install time. While at it, remove deprecated at_install and post_install helpers and remove the deprecated phantom_js alias. closes odoo/odoo#39462 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Oct 28, 2019
-
-
Jeremy Kersten authored
From now, you need to explicitely add sitemap=True if you want your controller into the sitemap. It's the default value, but if you forgot it, it will raise a Warning on runbot. It will avoid wrong controller in sitemap and duplicate (empty) content. From now, if your model contains a field website_id, the modelConverter for sitemap will automatically add the domain: "[('website_id', 'in', (False, current_website_id))]" It avoid redundant declaration and ugly url in redirect/rewrite view. Migration: need to remove it from url_from in website.rewrite task-2065018 closes odoo/odoo#39427 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Oct 25, 2019
-
-
Aurélien Warnon authored
The last step of the 'course_member' test tour adds a new rating on the course. This commit improves the test by actually checking the rating is added. At the same time, we fix a potential build error caused by the fact that the test was closed potentially before finishing the rating request. Task#2091810 closes odoo/odoo#39393 X-original-commit: e26e99fa Signed-off-by:
awa-odoo <awa-odoo@users.noreply.github.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 22, 2019
-
-
mcm-odoo authored
This commit adds a new field "completed_slides_count" in slide.channel.partner completed_slides_count has the same role as field completion before this commit Now the field completion is a % of the completed slides task-2049689
-
- Oct 23, 2019
-
-
fw-bot authored
opw-2089868 closes odoo/odoo#39227 X-original-commit: 2dc54945 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Oct 18, 2019
-
-
mcm-odoo authored
Before this task, when the user arrived on his profile, some empty sections didn't had any call to actions task-2080615 closes odoo/odoo#38029 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Oct 07, 2019
-
-
Debauche Stéphane authored
[IMP] website_slides: remove the progress bar on "course_card" if the channel type is "documentation" Task #2080594 closes odoo/odoo#38027 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 11, 2019
-
-
fw-bot authored
closes odoo/odoo#38447 X-original-commit: ef34fc7b Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Oct 08, 2019
-
-
Yenthe666 authored
"There is no <plural>" is not correct cf https://english.stackexchange.com/a/26634 closes odoo/odoo#38205 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Oct 07, 2019
-
-
Martin Trigaux authored
closes odoo/odoo#38028 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Odoo Translation Bot authored
-
- Oct 03, 2019
-
-
fw-bot authored
This makes you actually able to install the module with demo data and unplugged from network. Otherwise, it's impossible. closes odoo/odoo#37903 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- 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
-
Stéphane Bidoul authored
Since there are message_post overrides using the form `def message_post(self, **kwargs)` in some modules, this method is intended to be invoked with keyword arguments only. This commit enforces this behavior. Calls such as `message_post("body")` will fail regardless of which addon is installed, forcing users to use `message_post(body="body")`. It also fixes a message_post override in hr, and applies the same mechanism to message_notify, and _message_log. closes odoo/odoo#33306 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Oct 01, 2019
-
-
Odoo Translation Bot authored
-
- Sep 29, 2019
-
-
Odoo Translation Bot authored
-
- Sep 27, 2019
-
-
Martin Trigaux authored
Still without demo data closes odoo/odoo#37502 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-