Commit Graph

335 Commits

Author SHA1 Message Date
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
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
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
Jun Pataleta
f9090dff7c MDL-53539 tool_lp: Fix percentage displays for template statistics 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
Frederic Massart
80b2fa8073 MDL-53453 cbe: Invalid usage of empty() 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
Jun Pataleta
e43f6aa756 MDL-53438 tool_lp: Set client_id parameter for comment object 2016-04-18 10:58:56 +08:00
Frederic Massart
6e20a8de26 MDL-53380 tool_lp: Framework auto complete element 2016-04-18 10:58:56 +08:00
Damyon Wiese
60a84422cf MDL-53218 tool_lp: Fix php5.4 syntax bug (wrapping function call with empty) 2016-04-18 10:58:56 +08:00
Damyon Wiese
65c6d4613f MDL-53218 tool_lp: Fix unit tests (directly use persistent class to bypass api permissions)
There are 2 failing unit tests fixed here. In both cases - the correct behaviour is to by-pass
a permission check because:
case A) we are loading all the existing records in the DB - so it
        needs to be all the DB records, not just the ones we have permission to see.
case B) we already did the correct permission check - but because we have api -> api communication
        it is running an additional (wrong) permission check.
2016-04-18 10:58:56 +08:00
Damyon Wiese
3edcd295eb MDL-51042 tool_lp: Add useful statistics to the template competencies page. 2016-04-18 10:58:56 +08:00
Issam Taboubi
d61035968d MDL-53328 tool_lp: Error when adding a competency to a module 2016-04-18 10:58:56 +08:00
Jun Pataleta
ad197510ff MDL-53347 tool_lp: Fix JS error when deleting comment in plan 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
a1a6e7b476 MDL-53420 tool_lp: Classes of form\persistent can filter persistent data 2016-04-18 10:58:56 +08:00
Issam Taboubi
078d4f9c27 MDL-53187 tool_lp: Create events for user competency workflow 2016-04-18 10:58:56 +08:00
Jun Pataleta
9fbb3e6607 MDL-53188 tool_lp: Add evidence_created event 2016-04-18 10:58:56 +08:00
Issam Taboubi
e08203664a MDL-53084 tool_lp: Improve the view of user competency in a plan 2016-04-18 10:58:55 +08:00
Issam Taboubi
25deee1704 MDL-53182 tool_lp: Create events for plan workflow 2016-04-18 10:58:55 +08:00
Jun Pataleta
41460929f2 MDL-53211 tool_lp: Add user_competency_course model
* Added user_competency_course model.
* Populate user_competency_course on suggest in course/module context.
2016-04-18 10:58:55 +08:00
Frederic Massart
338386aa76 MDL-53185 tool_lp: Admin setting to disable competencies 2016-04-18 10:58:55 +08:00
Issam Taboubi
640201536a MDL-53189 tool_lp: Create event for user competency viewed 2016-04-18 10:58:55 +08:00
Frederic Massart
0fe5aac733 MDL-53282 tool_lp: Extend list_frameworks to support string search 2016-04-18 10:58:54 +08:00
Serge Gauthier
e375c6524d MDL-53196 tool_lp: Add relevant record snapshot to existing events 2016-04-18 10:58:54 +08:00
Frederic Massart
a8f1af5e6f MDL-53251 tool_lp: Apply PHP7 fixes 2016-04-18 10:58:54 +08:00
Serge Gauthier
8e3eb9f865 MDL-53160 tool_lp: Create C(R)UD events for evidence of prior learning 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
Issam Taboubi
d54c4f8b73 MDL-53195 tool_lp: Undefined variable: coursecompetency 2016-04-18 10:58:54 +08:00
Issam Taboubi
4ed524b7a7 MDL-53138 tool_lp: Create C(R)UD + viewed events for plans 2016-04-18 10:58:54 +08:00
Issam Taboubi
d32d64bcbc MDL-52959 tool_lp: Create C(R)UD events for competencies 2016-04-18 10:58:54 +08:00
Issam Taboubi
af3fa58f3c MDL-52755 tool_lp: Preserve competencies sortorder when plan completed 2016-04-18 10:58:53 +08:00
Issam Taboubi
32fa431e0f MDL-52775 tool_lp: get_course_competency and list_course_competencies 2016-04-18 10:58:53 +08:00
Serge Gauthier
b200c8c88c MDL-52745 tool_lp: For competency show evidences added before plan was completed. 2016-04-18 10:58:53 +08:00
Frederic Massart
eadd2d501e MDL-52744 tool_lp: Check is user is enrolled and gradable when rating 2016-04-18 10:58:53 +08:00
Damyon Wiese
24fc4e30b6 MDL-53062 cbe: Fix errors in course_module_summary_exporter
We should take the cm_info as required related data so we can pick the
fields we want to export from it.
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
Damyon Wiese
f446b2e133 MDL-52534 cbe: Fixes from peer review (linking competencies to activities) 2016-04-18 10:58:53 +08:00
Damyon Wiese
db65073748 MDL-52534 tool_lp: Competencies can be attached to activities 2016-04-18 10:58:53 +08:00