Commit graph

6217 commits

Author SHA1 Message Date
Frederic Massart
943989c22b MDL-51036 tool_lp: Granular permissions on user competencies 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
572721ac1d MDL-51036 tool_lp: There may not always be an action user on evidence 2016-04-18 10:58:50 +08:00
Frederic Massart
6cc8480a69 MDL-51036 tool_lp: Sensible messages sent after commenting on competency 2016-04-18 10:58:50 +08:00
Frederic Massart
5d2758bcab MDL-51036 tool_lp: Method to find plans from user and competency 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
Frederic Massart
23381ab803 MDL-51036 tool_lp: Making comments work inside templates 2016-04-18 10:58:49 +08:00
Serge Gauthier
0d1a2e71f0 MDL-52463 tool_lp: Templates: Can not sync cohorts at category level 2016-04-18 10:58:49 +08:00
Frederic Massart
f743bc1071 MDL-52677 tool_lp: Prevent false positive in search_users test 2016-04-18 10:58:49 +08:00
Frederic Massart
9031be44b2 MDL-52696 tool_lp: Prevents users from creating due plans from template 2016-04-18 10:58:49 +08:00
Frederic Massart
5fb76f227f MDL-52690 tool_lp: Only create a few plans when add template cohorts 2016-04-18 10:58:49 +08:00
Frederic Massart
68600f80e7 MDL-52690 tool_lp: Cohorts ID numbers are plain text 2016-04-18 10:58:49 +08:00
Frederic Massart
c78ebeac1b MDL-52485 tool_lp: Do not validate unchanged due dates in plans 2016-04-18 10:58:49 +08:00
Frederic Massart
a967d2aa8c MDL-52485 tool_lp: Template due date can be changed at will
The only rule is that it must be set in the future (though we permit
due dates time minutes old), or it must be unset.
2016-04-18 10:58:49 +08:00
Issam Taboubi
3c5811644c MDL-52485 tool_lp: Validate the duedate of a plan 2016-04-18 10:58:49 +08:00
Frederic Massart
d323d6d355 MDL-52454 tool_lp: Missing PARAM_RAW in exporter tests 2016-04-18 10:58:49 +08:00
Serge Gauthier
e54f8c4d2d MDL-52454 tool_lp: Fix all PARAM_TEXT on persistent, and exporters 2016-04-18 10:58:49 +08:00
Frederic Massart
357d38628c MDL-52562 tool_lp: Deleting a plan removes related data 2016-04-18 10:58:49 +08:00
Frederic Massart
dc7f49ce2f MDL-52579 tool_lp: Missing string for cap. coursecompetencygradable 2016-04-18 10:58:49 +08:00
Frederic Massart
4b7784ee49 MDL-52477 tool_lp: Minor adjustments when duplicating competency rules 2016-04-18 10:58:48 +08:00
Issam Taboubi
4c4a8d4177 MDL-52477 tool_lp: Error when duplicating a framework with rules 2016-04-18 10:58:48 +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
Issam Taboubi
7a9f14c396 MDL-52531 tool_lp: The complete_plan task shouldn't complete draft plans 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
Frederic Massart
29530d6356 MDL-52426 tool_lp: Avoid missing or empty table cell in templates 2016-04-18 10:58:48 +08:00
Serge Gauthier
935e9e90b6 MDL-52426 tool_lp: Show template competencies page with read permission 2016-04-18 10:58:48 +08:00
Frederic Massart
92d4946e19 MDL-52424 tool_lp: Prevent missing table cell when viewing plans page 2016-04-18 10:58:48 +08:00
Issam Taboubi
19456fec66 MDL-52424 tool_lp: Plans page should show the template based on 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
476a98d0fb MDL-51040 cbe: Add new renderables to the renderer.
Used on the user_competency_in_course page.
2016-04-18 10:58:48 +08:00
Damyon Wiese
571c3c4324 MDL-51040 cbe: Add properties to course_competencies_page renderable
The extra properties are used to show the current users rating for
each competency (if they are gradable).
2016-04-18 10:58:48 +08:00
Damyon Wiese
18c17cac61 MDL-51040 cbe: Add profileurl to user_summary_exporter
It is useful to make user summaries link to their profile.
2016-04-18 10:58:47 +08:00
Damyon Wiese
949cda2c10 MDL-51040 cbe: Fix invalid structure returned from webservice
This exporter was exporting a user_competency_plan in a user_competency
structure which is invalid because status is missing.
2016-04-18 10:58:47 +08:00
Damyon Wiese
e1964c9094 MDL-51040 cbe: Functions supporting user competency in course
New functions data_for_user_competency_summary_in_course and
grade_user_competency_in_course.
2016-04-18 10:58:47 +08:00
Damyon Wiese
02f9db888c MDL-51040 cbe: Competency API changes
Modify the list_user_competencies_in_course function to create the relations
if they do not exist.
Add new api function to grade a competency in a course.
Fix the permissions check for listing related competencies.
2016-04-18 10:58:47 +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
bf780fbfe0 MDL-51043 cbe: Competency breakdown report 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
Frederic Massart
1ab69549ad MDL-52425 tool_lp: Bug when trying to add child competencies 2016-04-18 10:58:47 +08:00
Frederic Massart
9373acf645 MDL-52425 tool_lp: Competency rules apply when a competency is completed 2016-04-18 10:58:47 +08:00
Serge Gauthier
d327579538 MDL-52242 tool_lp: Competencies listed in a completed plan must never change 2016-04-18 10:58:47 +08:00
Frederic Massart
5475357231 MDL-52229 tool_lp: Due templates cannot be updated
Noticed during integration that we could not update a template
which duedate had been reached. Even without changing it.
2016-04-18 10:58:46 +08:00
Frederic Massart
f442860781 MDL-52282 tool_lp: Template cohorts sync doesn't recreate unlinked plans 2016-04-18 10:58:46 +08:00
Issam Taboubi
964afa98e7 MDL-52229 tool_lp: Handle hidden templates/frameworks 2016-04-18 10:58:46 +08:00
Issam Taboubi
ed549dbfcb MDL-52282 tool_lp: Create a scheduled task to sync plans from cohorts 2016-04-18 10:58:46 +08:00