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.
Previously I was attaching the drag / drop handlers to the list items,
which were nested which caused many wierd behaviours. Now I attach them only
to the span in the lists which are never nested.
* Added missing jsdocs
* Disable multi-select for the main competencies tree (only allow it in the popups).
* Disallow selecting the top node in the competencies picker
* When multi-select is disabled, the selectionchanged event now only passes the one node, not a list with one item.
* Removed the flash when loading the picker (by hiding the tree while it's being rendered)
When the validation already happened we did not call before_validate().
It must always be called as before_validate() can be used as if it was
a before_all() callback.
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
1. The competencies tree should open with all nodes initially collapsed
(unless there is less than 20 results, in which case they should all be expanded)
2. When the tree is refreshed, all previously selected nodes should be remembered
and the tree expanded to that point.
3. While the tree is reloading - there should be a "spinner"
Add custom .on methods instead of expecting code outside the module
to know which node to bind to to listen for events.
Also keep the selectionChanged handler private to the competencyactions module.
Finally - fix the broken move competency action.
New competencyselector module used by competencies.js and competencyactions.js,
handles the competencies selection.
Conflicts:
admin/tool/lp/amd/src/competencies.js