78152 Commits

Author SHA1 Message Date
Frederic Massart
2f63310d9d MDL-53626 tool_lp: Change mentions of 'context' to 'category' 2016-04-18 10:59:00 +08:00
Frederic Massart
4e89144ca7 MDL-53471 tool_lp: Hooking in to report when scale is being used 2016-04-18 10:59:00 +08:00
Serge Gauthier
dff98d3316 MDL-53590 tool_lp: Error when teacher view student course competencies 2016-04-18 10:59:00 +08:00
Issam Taboubi
c11d30e2a8 MDL-53630 tool_lp: Rename Learning plans to Learning plan templates
* In site administration
* In category administration
2016-04-18 10:59:00 +08:00
Frederic Massart
cf4c3eaac5 MDL-53542 tool_lp: Fixing missed upgrade step 2016-04-18 10:59:00 +08:00
Damyon Wiese
eb0d340c52 MDL-53452 tool_lp: Use an exporter for course_competency_settings 2016-04-18 10:59:00 +08:00
Damyon Wiese
c01141d1a3 MDL-53452 tool_lp: Rename some persistent methods for consistency 2016-04-18 10:59:00 +08:00
Damyon Wiese
8c46097536 MDL-53452 tool_lp: Switch to non-strict equals for db values
Also phpdoc change.
2016-04-18 10:59:00 +08:00
Damyon Wiese
45bf83cf77 MDL-53452 tool_lp: Change can_update to can_update_course
This is more consistent with other persistents.
2016-04-18 10:59:00 +08:00
Damyon Wiese
9919b4af62 MDL-53452 tool_lp: Rename get_course_settings to get_by_courseid
In the course_competency_settings persistent.
2016-04-18 10:59:00 +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
35cf63d221 MDL-53452 tool_lp: Make course comp settings table have a unique foreign key 2016-04-18 10:59:00 +08:00
Damyon Wiese
14b60a440c MDL-53452 tool_lp: Update after conflicts. Use xxxview for cap string 2016-04-18 10:59:00 +08:00
Damyon Wiese
c2f55d2931 MDL-53452 competencies: Backup/restore new course setting.
Also add push ratings info to competency breakdown report.
Also - improved lang strings and set colors of notices.
2016-04-18 10:58:59 +08:00
Damyon Wiese
644ff55b3a MDL-53452 competencies: Add unit test for course competency settings 2016-04-18 10:58:59 +08:00
Damyon Wiese
fdd85edef9 MDL-53452 competencies: Update unit tests now we have removed suggest feature. 2016-04-18 10:58:59 +08:00
Damyon Wiese
d22a1d3bbf MDL-53452 competencies: Update the logic for pushratingstouserplans course setting.
Either only set the rating in the course, or set it in the course and push it to the user_competency,
depending on the course settings.
2016-04-18 10:58:59 +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
Serge Gauthier
65abd20d8c MDL_53523 tool_lp: Mark fields 'scale/scaleconfiguration' as required 2016-04-18 10:58:59 +08:00
Jun Pataleta
c48ab9c124 MDL-53474 tool_lp: Improve competency page navigation 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
Serge Gauthier
44e8cba48e MDL-53483 tool_lp: Normalise the names of capabilities 2016-04-18 10:58:59 +08:00
Issam Taboubi
a4f1b030f2 MDL-53472 tool_lp: Improve user navigation flow in competency frameworks 2016-04-18 10:58:59 +08:00
Issam Taboubi
66df4d2fad MDL-53531 tool_lp: Forms section should not be collapsible at times 2016-04-18 10:58:59 +08:00
Frederic Massart
6f0c979f6e MDL-53550 tool_lp: Relax capability checks on cohorts
Cohorts seem to rely on the calling code doing the right capability
checks. In this case I applied the simple logic of checking if the
cohort is visible, and if it is not then checking the capability.

Methods using cohorts should apply relevant capability checks.
2016-04-18 10:58:59 +08:00
Frederic Massart
6391a51648 MDL-53473 tool_lp: Plan default return URL is the plan URL 2016-04-18 10:58:58 +08:00
Frederic Massart
8ae09bb09e MDL-53473 tool_lp: User evidence default return URL is the evidence 2016-04-18 10:58:58 +08:00
Frederic Massart
f864aa4c4a MDL-53473 tool_lp: Improvement to navigation flow of templates 2016-04-18 10:58:58 +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
10bf349e70 MDL-53568 tool_lp: Fix getting proficiency of grade not in scaleconfig 2016-04-18 10:58:58 +08:00
Issam Taboubi
8c9cb5ec05 MDL-52919 tool_lp: Show the path when listing competencies 2016-04-18 10:58:58 +08:00
Serge Gauthier
d11d4c1442 MDL-53526 tool_lp: Add consistency to 'Add ...' buttons 2016-04-18 10:58:58 +08:00
Jun Pataleta
f9090dff7c MDL-53539 tool_lp: Fix percentage displays for template statistics 2016-04-18 10:58:58 +08:00
Frederic Massart
fe0ea87906 MDL-53437 tool_lp: Hide competencies in CM edit when user cannot manage 2016-04-18 10:58:58 +08:00
Serge Gauthier
286a609ff0 MDL-53476 tool_lp: All forms should at least have one fieldset 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
Jun Pataleta
e821c94799 MDL-53475 tool_lp: Redirect and show notification in destination
After creating a plan/competency/user evidence/plan template,
redirect the user to the plan/user evidence/plan template page.
After updating a plan/competency/user evidence/plan template,
redirect the user back to the previous page and display the notification
message instead of displaying a notification message and a continue button.
2016-04-18 10:58:58 +08:00
Serge Gauthier
8cceee8a1d MDL-53524 tool_lp: Rename 'related competencies' to 'cross-referenced competencies' 2016-04-18 10:58:57 +08:00
Serge Gauthier
95bc566d52 MDL-53522 tool_lp: Add parenthesis around ID number in framework list 2016-04-18 10:58:57 +08:00
Frederic Massart
80b2fa8073 MDL-53453 cbe: Invalid usage of empty() 2016-04-18 10:58:57 +08:00
Frederic Massart
3b167714c5 MDL-53453 cbe: False negative when comment on a user competency 2016-04-18 10:58:57 +08:00
Frederic Massart
fd7e6bfd4a MDL-53453 cbe: False negative on MySQL due to random ordering 2016-04-18 10:58:57 +08:00
Frederic Massart
96c2b8477f MDL-53453 cbe: PHP Docs and coding style adjustments 2016-04-18 10:58:57 +08:00
Issam Taboubi
946bc0f749 MDL-52980 tool_lp: Double check the name of the capability 2016-04-18 10:58:57 +08:00
Issam Taboubi
49792e9c3d MDL-53376 tool_lp: Redirect after creating a new framework 2016-04-18 10:58:57 +08:00
Serge Gauthier
c579c7bb70 MDL-53436 tool_lp: Dashboard Learning plan block misses link View more 2016-04-18 10:58:57 +08:00
Issam Taboubi
12b84c9948 MDL-53312 tool_lp: does not look selected when relocating the competency 2016-04-18 10:58:57 +08:00