Commit graph

150 commits

Author SHA1 Message Date
Dan Poltawski
587580a0df Merge branch 'MDL-53494_master' of https://github.com/StudiUM/moodle 2016-04-26 11:31:55 +01:00
David Monllao
6e233df58e Merge branch 'MDL-53667-master' of git://github.com/FMCorz/moodle 2016-04-26 11:38:00 +08:00
Issam Taboubi
ee0ca65f4e MDL-53678 tool_lp: Dropdown list plan displays horizontal scroll bar 2016-04-22 13:51:52 -04:00
Issam Taboubi
7fbbd771f7 MDL-53494 tool_lp: user_competency_in_plan page should be in a popup 2016-04-22 12:32:46 -04:00
David Monllao
f3eb9951d1 MDL-53451 tool_lp: Removing unnecessary built modules 2016-04-19 13:56:49 +08:00
Frederic Massart
4474c87401 MDL-53451 competency: Removing sneaky whitespaces 2016-04-19 12:21:36 +08:00
Frederic Massart
e912927d7b MDL-53667 tool_lp: Use event delegate for competency dialogue
This was causing dramatical performance issues when the module
was loaded hundreds of times on the same page, causing each instance
to detach and attach a new event listener.
2016-04-18 14:52:48 +08:00
Frederic Massart
1e99f31e33 MDL-53654 competency: Provide a way to delete evidence 2016-04-18 11:06:47 +08:00
Issam Taboubi
5f887f4b96 MDL-53528 tool_lp: Allow user to choose parent when creating competency 2016-04-18 11:06:01 +08:00
Frederic Massart
81de839f37 MDL-53700 competency: Migrating external functions to core 2016-04-18 11:05:59 +08:00
Frederic Massart
67bc0eaf38 MDL-53700 competency: Migrate main classes to core 2016-04-18 11:05:59 +08:00
Jun Pataleta
4a4bda6d2d MDL-53567 tool_lp: Close menubar on click
This patch enables the closing of the menubar when a menu item is
clicked or when any other element outside the menubar is clicked.
2016-04-18 10:59:01 +08:00
Serge Gauthier
d57c079a6c MDL-53551 tool_lp: Can't have a read-only view of competency frameworks 2016-04-18 10:59:01 +08:00
Damyon Wiese
9785dd8174 MDL-53452 tool_lp: Change update_course_competency_settings param to stdClass
Allows for future settings to be added without changing the function signature.
2016-04-18 10:59:00 +08:00
Damyon Wiese
5cb320c10b MDL-53452 competencies: Remove suggestion feature (except tests). 2016-04-18 10:58:59 +08:00
Damyon Wiese
7ba074873c MDL-53452 competencies: Add course and admin setting to push competency ratings outside a course 2016-04-18 10:58:59 +08:00
Frederic Massart
def7cd6032 MDL-53628 tool_lp: Pick competencies from context and above in templates 2016-04-18 10:58:59 +08:00
Jun Pataleta
85a719e496 MDL-53540 tool_lp_amd: Use currentTarget for comp dialog click handler 2016-04-18 10:58:58 +08:00
Frederic Massart
de3b9193fa MDL-53529 tool_lp: Consistent 'add' buttons for templates and courses 2016-04-18 10:58:58 +08:00
Frederic Massart
1f58618863 MDL-53186 tool_lp: Removing push for review when adding competencies 2016-04-18 10:58:58 +08:00
Serge Gauthier
71cb304ad8 MDL-53186 tool_lp: Send competencies in review from evidence interface 2016-04-18 10:58:58 +08:00
Frederic Massart
6e20a8de26 MDL-53380 tool_lp: Framework auto complete element 2016-04-18 10:58:56 +08:00
Frederic Massart
5bbb99f9b7 MDL-53421 tool_lp: Allow multiple instances of scale config on page 2016-04-18 10:58:56 +08:00
Frederic Massart
3e0b090c7b MDL-53212 tool_lp: Only store the required information in scaleconfig 2016-04-18 10:58:55 +08:00
Jun Pataleta
55ac216a66 MDL-52747 tool_lp: Show courses linked to competency in plan
Show courses that are linked to the given competency for a  given
 learning plan on a modal dialogue.
2016-04-18 10:58:55 +08:00
Frederic Massart
9db9cdadb2 MDL-52754 tool_lp: Use ScaleValues AMD module in ScaleConfig 2016-04-18 10:58:54 +08:00
Serge Gauthier
c7484fcc35 MDL-52754 tool_lp: Dropdown list of scales with single quotes in values 2016-04-18 10:58:54 +08:00
Serge Gauthier
7deba3c0a1 MDL-52860 tool_lp: Add confirmation dialogue when removing a competency 2016-04-18 10:58:54 +08:00
Issam Taboubi
e1b93e42d8 MDL-52861 tool_lp: The grading dialogue should show who is being graded 2016-04-18 10:58:53 +08:00
Frederic Massart
d17cbbfbad MDL-52691 tool_lp: Add note support to competency rating 2016-04-18 10:58:53 +08:00
Issam Taboubi
3e6a8e1694 MDL-52960 tool_lp: Created event for competency viewed 2016-04-18 10:58:52 +08:00
Frederic Massart
ad6d3004f6 MDL-52749 tool_lp: Adding a user competency page 2016-04-18 10:58:52 +08:00
Issam Taboubi
90c7bdaf27 MDL-51130 tool_lp: Deleting frameworks should delete associated data 2016-04-18 10:58:51 +08:00
Issam Taboubi
9a325eda06 MDL-51513 tool_lp: Properly delete a competency 2016-04-18 10:58:51 +08:00
Serge Gauthier
8fabc73882 MDL-52675 tool_lp: When deleting template delete or unlink derived plans 2016-04-18 10:58:51 +08:00
Damyon Wiese
dbab904c20 MDL-52910 cbe: Fix competency picker dialogue scrolling issues.
The competency tree expands and collapses, which causes issues
for the dialogue which is supposed to be centered and non-scrollable.

We need to introduce a scrollable region in the dialogue and fix the height
- this may be slightly annoying for tablet users but is not the worst thing
in the world.
2016-04-18 10:58:51 +08:00
Damyon Wiese
839669479d MDL-52779 cbe: Fix recursive loops with tree javascript
It was possible to crash the browser with some looping javascript when pressing left and right
arrow keys on the top of the tree, or the very bottom of the tree.
2016-04-18 10:58:51 +08:00
Frederic Massart
3c230247ce MDL-51035 tool_lp: Plans can be reviewed and commented on 2016-04-18 10:58:50 +08:00
Frederic Massart
182f609213 MDL-51036 tool_lp: Addressing comments left during peer review 2016-04-18 10:58:50 +08:00
Frederic Massart
b519577ebd MDL-51036 tool_lp: Allow foreign callbacks in Menubar 2016-04-18 10:58:50 +08:00
Frederic Massart
c008e92d22 MDL-51036 tool_lp: Implement a basic review process for competencies 2016-04-18 10:58:49 +08:00
Serge Gauthier
a8902ee2d7 MDL-52432 tool_lp: Add ability to unlink a plan from its template 2016-04-18 10:58:48 +08:00
Serge Gauthier
17d5cc9be2 MDL-52528 tool_lp: Weird behaviour if deleting competency in user plan 2016-04-18 10:58:48 +08:00
Frederic Massart
20c2fe3e98 MDL-52106 tool_lp: Remove rules when manipulating competencies 2016-04-18 10:58:48 +08:00
Damyon Wiese
65a67e238d MDL-51040 cbe: Fixes from peer review
No logic changes here - only small refactorings based on feedback from
peer review.
2016-04-18 10:58:48 +08:00
Damyon Wiese
9f422dc2e9 MDL-51040 cbe: New user_competency_in_course page 2016-04-18 10:58:48 +08:00
Damyon Wiese
3fb067a203 MDL-51040 cbe: Allow competency rating in course or plan
Modify the inline competency rating module to handle rating competencies
in a course or in a plan.
2016-04-18 10:58:47 +08:00
Damyon Wiese
06475034f2 MDL-51040 cbe: Add standard options to dialog
Add a new "wider" width option (800px wide) and an afterHide callback
2016-04-18 10:58:47 +08:00
Damyon Wiese
0845a3a09a MDL-51648 cbe: Refactor the user_competency_summary exporter
Split it into a core exporter, and an extended one that adds information about the plan.
Also
* Remove userid from grade_competency_in_plan function (redundant)
* Improve the signature of list_evidence so it can handle completed plans (later)
* Rename read_user_competency_summary to data_for_user_competency_summary_in_plan
* Handle completed plans (list user_competency_plan as well as user_competency)
* Remove user_can_see_details_cap handling - if you can see the users plan you can see the user
* Pass final scaleconfiguration in the competency_summary_exporter
* Add docs comments to new templates
2016-04-18 10:58:47 +08:00
Damyon Wiese
3c659fc202 MDL-51648 cbe: Add a user competency plan summary page (allows grading) 2016-04-18 10:58:47 +08:00