Frederic Massart
52eda87637
MDL-51869 tool_lp: Linking evidence of prior learning with competencies
2016-04-18 10:58:46 +08:00
Frederic Massart
6c2b163c97
MDL-49463 tool_lp: Ability to add evidence of prior learning
2016-04-18 10:58:46 +08:00
Serge Gauthier
dd1ce7637b
MDL-51942 tool_lp: Ensure that constant MOODLE_INTERNAL is used everywhere
2016-04-18 10:58:46 +08:00
Issam Taboubi
3779826242
MDL-52418 tool_lp: Invalid responses in somes pages
2016-04-18 10:58:46 +08:00
Frederic Massart
12888abaa8
MDL-52423 tool_lp: Page to view a plan and its information
2016-04-18 10:58:45 +08:00
Damyon Wiese
721813033d
MDL-51967 cbe: Fix some wonky service descriptions
...
Some of the webservices return data is not matching it's signature.
Also some of the templates/contexts needed aligning.
2016-04-18 10:58:45 +08:00
Damyon Wiese
49c5b8b440
MDL-51967 cbe: Use the competency_summary_exporter for the competency dialogue.
2016-04-18 10:58:45 +08:00
Issam Taboubi
2e90c62f79
MDL-51967 tool_lp: Create a dialogue to view the competency information
2016-04-18 10:58:45 +08:00
Frederic Massart
d660824b7f
MDL-51039 tool_lp: Clean up during integration review
2016-04-18 10:58:45 +08:00
Serge Gauthier
d4c0a2f66e
MDL-51039 tool_lp: Add completion rules to course - competency links
2016-04-18 10:58:44 +08:00
Damyon Wiese
51247ea037
MDL-52266 cbe: Use a template + exporter for cohort summaries
...
Also add an 'includes' parameter to the cohort selector.
2016-04-18 10:58:44 +08:00
Frederic Massart
dd1df08248
MDL-52266 tool_lp: Plans can be created from a cohort
...
And cohorts can be set to be sync with the template from the UI.
2016-04-18 10:58:44 +08:00
Damyon Wiese
f896aa5126
MDL-52198 cbe: Add phpdocs for user filtering function.
2016-04-18 10:58:44 +08:00
Damyon Wiese
6880579736
MDL-52198 cbe: Move user summary to an exporter
2016-04-18 10:58:44 +08:00
Frederic Massart
80583e0dff
MDL-52198 cbe: Add a user selector
...
For now this is only in tool_lp - for core we would wrap this with an mform element.
2016-04-18 10:58:44 +08:00
Damyon Wiese
c80630da1c
MDL-51041 cbe: More refactoring of exporters
...
* Unit tests for base exporter
* Use the course_summary_exporter for list_courses_using_competency
* Rename competency_with_linked_courses_exporter to competency_summary_exporter
* Split properties_definition in 2 (added read_properties_definition)
* Improve phpdocs
* Make some methods final
* Throw an error when other_properties overlap with properties
2016-04-18 10:58:43 +08:00
Damyon Wiese
d04ea1665e
MDL-51041 cbe: Refactor to allow non-persistent exporters
2016-04-18 10:58:43 +08:00
Issam Taboubi
5b22462788
MDL-51953 tool_lp: Missing four services definitions
2016-04-18 10:58:43 +08:00
Issam Taboubi
d805cc3745
MDL-52104 tool_lp: Improve UI for the change of states in plan
2016-04-18 10:58:43 +08:00
Frederic Massart
15882eca69
MDL-51647 tool_lp: Missing scale when exporting user_competency_plan
2016-04-18 10:58:42 +08:00
Frederic Massart
41682e53e3
MDL-52119 tool_lp: Invalid parameters for list_plan_competencies
2016-04-18 10:58:42 +08:00
Frederic Massart
578e61c18a
MDL-52119 tool_lp: Solidify the exporters to avoid developer mistakes
2016-04-18 10:58:42 +08:00
Damyon Wiese
8ec5f810f4
MDL-52119 cbe: Use generated structures for persistent classes
2016-04-18 10:58:42 +08:00
Damyon Wiese
0267097956
MDL-52064 cbe: Fixes for unit tests.
...
There were some real failures that the unit tests caught.
2016-04-18 10:58:42 +08:00
Damyon Wiese
5db5c22c15
MDL-52064 cbe: Exporters are generic exporters - not for output
...
Making the persistent_exporter implement templatable, implies that the
exporters are designed for output - but they are not - they are designed
for any data returned through an external function. So lets not make them templatable,
and make the default function name "export".
2016-04-18 10:58:41 +08:00
Damyon Wiese
a214d35ec2
MDL-52064: Improve persistent exporter
...
- Use to_record instead of custom getters
- Remove custom formatting for taxonomies
- Fix bugs in exporter (PARAM_FORMAT was wrong)
- use $comp->get_context() instead of $comp->get_framework()->get_context()
2016-04-18 10:58:41 +08:00
Damyon Wiese
86938d0613
MDL-52064 cbe: Clean many common errors in external functions
...
Fixes include format_text/format_string
New persistent_exporter class to export persistent objects for use in external apis.
Always validate_context
Always use validated params - not raw params
Do not use "xxformatted" properties.
2016-04-18 10:58:41 +08:00
Frederic Massart
1896274ff5
MDL-51029 tool_lp: Implement competency rules
2016-04-18 10:58:41 +08:00
Jean-Philippe Gaudreau
192569ed17
MDL-51805 tool_lp: Freeze learning plan when it is marked as completed
...
This includes:
* Copy user competencies to user_competency_plan when updating plan
with status complete.
* User competencies in user_competency_plan are deleted when the plan
is set back to draft or active.
* the api::list_plan_competencies method is now returning
user_competency_plan objects if plan status is complete.
* external functions and renderer have been adapted to the new api
methods.
* Remove fields status and reviewerid from user_competency_plan
2016-04-18 10:58:41 +08:00
Damyon Wiese
60bf8bb0aa
MDL-51957 cbe: Cleanup data_for_manage_competencies_page webservice
...
Declare the correct return type and remove the commented code from the renderable.
2016-04-18 10:58:40 +08:00
Frederic Massart
8ff9ae8d6f
MDL-50328 tool_lp: Unit test failure and little clean-up of plans page
2016-04-18 10:58:40 +08:00
Issam Taboubi
554b369b60
MDL-50328 tool_lp: Allow competencies to be assigned to a user plan
2016-04-18 10:58:40 +08:00
Frederic Massart
1d8f0a6f50
MDL-51034 tool_lp: List competencies in a user's plan
2016-04-18 10:58:40 +08:00
Frederic Massart
5159d6794b
MDL-51965 tool_lp: Revisit capabilities to read/manage plans
...
Templates can no longer be linked to the plan via the plan editing
page because we will need to handle plan linking/unlinking directly.
2016-04-18 10:58:37 +08:00
Jean-Philippe Gaudreau
67e0b72fb2
MDL-51870 tool_lp: Use new ajax definition of external functions
2016-04-18 10:58:37 +08:00
Frederic Massart
3a4c71dc22
MDL-51856 tool_lp: Fixing PHPUnit notices and plan errors
2016-04-18 10:58:36 +08:00
Serge Gauthier
e9831af3c2
MDL-51233 tool_lp: Remove unused ID number from learning plan templates
...
Conflicts:
admin/tool/lp/version.php
2016-04-18 10:58:36 +08:00
Issam Taboubi
c61db7bb6a
MDL-51602 tool_lp: Add ability to duplicate a competency framework
2016-04-18 10:58:36 +08:00
Serge Gauthier
31582c1638
MDL-51442 tool_lp: Framework scales configuration must be mandatory
2016-04-18 10:58:36 +08:00
Frederic Massart
a54d5b042a
MDL-51026 tool_lp: Taxonomy terms can be defined on a framework
2016-04-18 10:58:36 +08:00
Frederic Massart
2327fe75f2
MDL-51598 tool_lp: Frameworks page displays correct competency count
2016-04-18 10:58:36 +08:00
Issam Taboubi
76c107eac1
MDL-50482 tool_lp: Add ability to duplicate a learning plan template
2016-04-18 10:58:36 +08:00
Frederic Massart
aec5363ec1
MDL-50253 tool_lp: Clean up implementation of related competencies
2016-04-18 10:58:35 +08:00
David Monllao
4f81545979
MDL-50253 tool_lp: Adding related competencies
...
Conflicts:
admin/tool/lp/classes/api.php
admin/tool/lp/classes/external.php
admin/tool/lp/classes/output/renderer.php
admin/tool/lp/db/install.xml
admin/tool/lp/db/services.php
admin/tool/lp/lang/en/tool_lp.php
admin/tool/lp/version.php
2016-04-18 10:58:35 +08:00
Serge Gauthier
3392a313c0
MDL-51507 tool_lp: External functions frameworks lack scale information
2016-04-18 10:58:35 +08:00
Frederic Massart
5af3778e13
MDL-51506 tool_lp: Migrating plan to new model API
2016-04-18 10:58:34 +08:00
Frederic Massart
cda17bd961
MDL-51506 tool_lp: Migrating template to new model API
2016-04-18 10:58:34 +08:00
Frederic Massart
b60702643c
MDL-51506 tool_lp: Migrating competency_framework to new model API
2016-04-18 10:58:34 +08:00
Frederic Massart
c27113d93e
MDL-51506 tool_lp: Migrating competency to new model API
2016-04-18 10:58:34 +08:00
Issam Taboubi
d192e248b7
MDL-51459 tool_lp: Template external functions do not return the duedate
2016-04-18 10:58:34 +08:00