- Mar 11, 2019
-
-
Yannick Tivisse authored
closes odoo/odoo#31334 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Lucas Lefèvre authored
Search term should match in the resumé line title or in the resumé line description.
-
Lucas Lefèvre authored
-
- Mar 07, 2019
-
-
Aaron Bohy authored
The departments being already rendered according to the hierarchy, only the name of the department should be displayed (e.g. 'Direct Sales' instead of 'Sales / Direct Sales'. closes odoo/odoo#31353 Signed-off-by:
Raphael Collet (rco) <rco@openerp.com>
-
- Mar 12, 2019
-
-
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:
Jérome Maes (jem) <jem@openerp.com>
-
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
-
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:
Christophe Simonis <chs@odoo.com>
-
- Mar 11, 2019
-
-
Christophe Simonis authored
Field is required.
-
Christophe Simonis authored
-
Robot Odoo authored
Purpose ====== This merge implies several small tweaks on the survey views, mainly to add support for the new certification fields. Show the quizz_passed field in the answers views ------------------------------------------------------------------- The quizz_passed field is now more important because it determines whether a certification has been successfully taken or not. The quizz_passed field is added in: - The search view of user_input - The list view of user_input - The form view of user_input (along with the score) Fix survey statistics computation ------------------------------------------- Fix the shared dict in the survey statistics computation that causes surveys to incorrectly share the same stats when computed in batch. Add a stat button on survey to show the certified count ------------------------------------------------------------------------ Add a stat button on the survey form view showing the amount of answers with the quizz_passed field set to True. It allows to quickly see people that have been granted the certification. On click, the stat button redirects to the answers list view with the "Quizz passed" filter defaulted to True. Task-1936539 closes odoo/odoo#31467 Signed-off-by:
Jérome Maes (jem) <jem@openerp.com>
-
Aurélien Warnon authored
Purpose ======= This commit reworks some views to rename 'Survey' to 'Certification' for a better visual integration of the new certification flow.
-
Christophe Simonis authored
It allow not matching the dropdowns of the search view. closes odoo/odoo#31738 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
- Mar 10, 2019
-
-
Odoo Translation Bot authored
-
- Mar 08, 2019
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Toufik Ben Jaa authored
- The fetch of recently/most clicked links was not working due to the fact that the widget handling this feature had not parent, thus not having access to ajax.rpc to make rpc calls. closes odoo/odoo#31712 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
Thibault Delavallée authored
Information was already present, let us use it instead of having access issues on membership. Commit linked to task ID 1941250 and PR #31708. Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Thibault Delavallée authored
It helps course maintainers understanding the state of their lessons. Commit linked to task ID 1941250 and PR #31708.
-
Thibault Delavallée authored
When displaying a channel content all its slides are displayed in a list view or cards view. Even slides current user cannot read because he is not member of the channel are displayed, even if there is no link (and access rights prevent them for effectively accessing the slide). Purpose is to display a channel content without giving access through ACLS at its slides. However this domain computation was not correctly matching real use case * publishers should see everything; * public users should not see unpublished slides; * members not publishers should not see unpublished slides unless they uploaded it; Commit linked to task ID 1941250 and PR #31708.
-
Thibault Delavallée authored
Purpose of this commit is to have a method allowing to fetch slides and have them ordered by category with some info on the category. It fully supports uncategorized slides. This commit also fixes the lessons list view of a training course. When having rights to edit the channel the category name was not editable. We now use a real browse record allowing to edit the category names directly in this reorderable list view. Commit linked to task ID 1941250 and PR #31708 .
-
Antoine Guenet authored
When clicking on a snippet containing an input node on Firfeox, the handle wouldn't appear as expected. This is due to trying JQuery (but not only) trying to modify properties that are restricted on Firefox but not on Chrome. The error message still appears from time to time due to Summernote using `document.getSelection`, which is problematic with Firefox. This will be fixed with the next version of the editor. In the meantime the direct effect of that error (the handle issue) is fixed with this commit. The standard target (`Event.target`) is now looked for in first position instead of non-standard 'Event.srcElement` (IE alias for `Event.target`) then `Event.originalTarget` (Mozilla-specific) and finally `Event.target` (standard). `Event.originalTarget` is restricted on Firefox so it was giving the same cryptic error as mentioned above ("Error: Permission denied to access property", which generally points to same-origin policy violations). Ref: - https://developer.mozilla.org/en-US/docs/Web/API/Event/srcElement - https://developer.mozilla.org/en-US/docs/Web/API/Event/originalTarget - https://developer.mozilla.org/en-US/docs/Web/API/Event/target - https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection#Related_objects - https://developer.mozilla.org/en-US/docs/web/javascript/reference/errors/property_access_denied closes odoo/odoo#31710 Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com>
-
Christophe Simonis authored
-
Christophe Simonis authored
Since 8da3750c, logger does not need to be muted anymore. This reverts commits c3764265 and 1693a27f.
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Thibault Delavallée authored
Display * improve color of trophy displayed on top of course main page (success if course done, warning while working on it); * correctly fetch and display karma/xp points on course lesson list. It is either gain of next try, either awarded points depending on slide completion; * fix control buttons in course main page (prev, next, set done, set completed, fullscren), notably correctly set them disabled; Linting / Code * put demo in no update; * rename some parameter in website_slides_survey to avoid conflict between quiz (on a slide) and certification (a survey); Commit linked to task ID 1941250 and PR #31697. Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
David Beguin authored
In order to se the 'next rank card' and the user karma on user's profile page, not only the first rank is needed but also higher ranks. Otherwise everyone will be 'Newbie', even the admin. Moreover it is easier to update existing data for things like rank than having to figure out how it works. Task ID : 1941250 PR #31697
-
David Beguin authored
This commit sets the completed flag to True for a slide of type certification when this certification is succeeded (quizz_passed set to True). Also, the Download certification button has been added to the fullscreen mode if the certification is passed by the user. Task ID : 1941250 PR #31697
-
David Beguin authored
If there are too much users to show on the page and to avoid performance issues, a pager is now applied on the all users page. A new pager based on website_pager is added in order to ease the navigation through the potential high number of pages. 'Go to first page' and 'Go to last page' buttons have been added and the design of the pager have been adapted to be more integrated into the new eLearning platform. Also add the pager on the slide page if search category is applied. The pager was already computed in the controller but not displayed. Task ID : 1946160 PR #31697
-
Aurélien Warnon authored
Purpose ======= This commit adds a stat button on the survey form view showing the amount of answers with the quizz_passed field set to True. It allows to quickly see people that have been granted the certification. On click, the stat button redirects to the answers list view with the "Quizz passed" filter defaulted to True.
-
Aurélien Warnon authored
Purpose ======= The quizz_passed field is now more important because it determines whether a certification has been successfully taken or not. This commit adds the quizz_passed field in: - The search view of user_input - The list view of user_input - The form view of user_input (along with the score)
-
Jairo Llopis authored
Reverts 2b1d3ff8 introduced in 10.0 via It was relatively useful in Odoo 10.0 because in Python 2 the exception was missing a root cause traceback. But Python 3 includes exception chaining by default, so it comes for free. See [PEP3134](https://legacy.python.org/dev/peps/pep-3134/ ) On top of being redundant in P3, it can also break some testcases by causing an extra ERROR log entry, even when the final exception is expected and caught. So it's simpler to remove it. closes odoo/odoo#31699 Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
Romain Derie authored
Authorize.Net is phasing out the MD5 based hash use for transaction response verification in favor of the SHA-512 based hash utilizing a Signature Key. Instead of hashing with md5 the transaction key, it is now required to hash the signature key (binary format) with SHA-512. Support for MD5 will be dropped the 7th March 2019 for sandbox environment and the 28th March 2019 for production environment, initially planned for the 14th. Note that as of February 11, 2019 authorize removed the ability to configure or update MD5 Hash setting in the Merchant Interface. Merchants who had this setting configured have been emailed/contacted. opw-1943030 Usefull links: https://developer.authorize.net/support/hash_upgrade/ https://support.authorize.net/s/article/What-is-a-Signature-Key https://support.authorize.net/s/article/MD5-Hash-End-of-Life-Signature-Key-Replacement https://support.authorize.net/s/article/Do-I-need-to-upgrade-my-transaction-fingerprint-from-HMAC-MD5-to-HMAC-SHA512-and-how closes odoo/odoo#31642 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
- Mar 07, 2019
-
-
Thibault Delavallée authored
Purpose of this commit is to perform a cleaning and upgrade of the lesson view in front-end when not using the fullscreen mode. This page had not been updated since eLearning addition. A method is added on slide model to have a protected method computing quiz related information on a given set of slides, notably potential karma gain, gained karma and number of attempts. It is mainly a code move from controllers now working in batch. Some linting is also done, notably a badly-named file. See original eLearning task for main specifications [1]. Commit linked to task ID 1941250 and PR #31657. [1] See task ID 1902304 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
cristinamartinrod authored
The text was in a value tag, making it untranslatable Closes odoo/odoo#30774 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Pedro M. Baeza authored
Include cristinamartinrod in CLA of Tecnativa Needed for odoo/odoo#30774
-
Rémi Rahir authored
When creating a cart on the website, the website company was not considered which could end up with the selection of a fiscal position linked to a wrong company since the method is called in sudo. closes odoo/odoo#31673 Signed-off-by:
Rémi Rahir (rar) <rar@odoo.com>
-
Christophe Simonis authored
-
Martin Geubelle authored
This widget does not exist anymore since the merge between the all widgets (new view refactoring). closes odoo/odoo#31643 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-