Commit Graph

58 Commits

Author SHA1 Message Date
Damyon Wiese ac40d8b589 MDL-57596 forms: CLEANHTML in persistent forms
Add special handling for text fields with the CLEANHTML type. This should
be used when students and teachers can edit the same field (you can't trust those students).

Applies cleaning on submitted data, and on data stored in the DB before it is put back in an editing form.
2017-03-10 18:04:48 +00:00
Damyon Wiese 5c83f8cdb9 MDL-57273 persistent: Remove use of helper as getter
get('blah') are for properties
get_blah() are for helpers
2017-01-25 11:14:00 +08:00
Damyon Wiese 599acbe776 MDL-57273 persistent: protected custom getters
(and setters).
2017-01-20 12:56:19 +08:00
Damyon Wiese 9c91a9593d MDL-57273 core: Remove magic setters and getters
Remove the magic getters and setters from persistent. They are deprecated only in the persistent
class for competencies.
2017-01-20 12:56:19 +08:00
Frederic Massart 32896dcbab MDL-57273 core: Using $renamedclasses for deprecated classes 2017-01-20 12:56:19 +08:00
Frederic Massart b505a9e4e0 MDL-57273 core: Migrating the persistent form class to core 2017-01-20 12:56:19 +08:00
Jun Pataleta 3c7387722d MDL-56720 tool_lp: Do not push empty values to IDs array 2016-11-03 14:09:40 +08:00
Eloy Lafuente (stronk7) 5165c9f460 MDL-56297 forms: Normalize uses of 'url' fields to use size=60
While this is not related to this issue, when reviewing it was
detected that the size of those url fields was really small and
looking decided to add this bit of normalization over existing uses.
2016-10-31 19:47:41 +01:00
Jun Pataleta 32cf4bcb93 MDL-54073 tool_lp: Unescape PARAM_TEXT properties in templates
Use triple-curly brackets to unescape the PARAM_TEXT properties in
templates.
Changed idnumber's type to PARAM_RAW for frameworks and competencies.
2016-05-12 11:24:51 +08:00
Serge Gauthier 3cd9461e77 MDL-53877 competency: Help and better validation text for evidence URL 2016-05-02 10:01:24 +08:00
Frederic Massart 8ea0f17ae9 MDL-53879 competency: Remove limit on framework depth 2016-04-28 16:41:24 +08:00
Jun Pataleta 00456f0bed MDL-53865 tool_lp: Add maxlength attr and validation for input fields 2016-04-19 15:40:36 +08:00
Frederic Massart 69c478660a MDL-53451 competency: Properly wrap those nasty function declarations
Pheww, we avoided a disaster.
2016-04-19 10:55:46 +08:00
Barbara Ramiro 300d30e714 MDL-53528 core: New edit inline icon 2016-04-18 11:06:01 +08:00
Issam Taboubi 5f887f4b96 MDL-53528 tool_lp: Allow user to choose parent when creating competency 2016-04-18 11:06:01 +08:00
Frederic Massart 91e5464282 MDL-53700 competency: Making CiBoT happier 2016-04-18 11:06:00 +08:00
Frederic Massart 67bc0eaf38 MDL-53700 competency: Migrate main classes to core 2016-04-18 11:05:59 +08:00
Frederic Massart b90e2205b4 MDL-53700 competency: Migrate capabilities to core 2016-04-18 10:59:01 +08:00
Dan Poltawski d846a535a6 MDL-53645 tool_lp: Various trivial bugs identified during review 2016-04-18 10:59:01 +08:00
Frederic Massart 2f63310d9d MDL-53626 tool_lp: Change mentions of 'context' to 'category' 2016-04-18 10:59:00 +08:00
Serge Gauthier 65abd20d8c MDL_53523 tool_lp: Mark fields 'scale/scaleconfiguration' as required 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 66df4d2fad MDL-53531 tool_lp: Forms section should not be collapsible at times 2016-04-18 10:58:59 +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 96c2b8477f MDL-53453 cbe: PHP Docs and coding style adjustments 2016-04-18 10:58:57 +08:00
Frederic Massart 6e20a8de26 MDL-53380 tool_lp: Framework auto complete element 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
Frederic Massart a8f1af5e6f MDL-53251 tool_lp: Apply PHP7 fixes 2016-04-18 10:58:54 +08:00
Frederic Massart 3c230247ce MDL-51035 tool_lp: Plans can be reviewed and commented on 2016-04-18 10:58:50 +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 1ab69549ad MDL-52425 tool_lp: Bug when trying to add child competencies 2016-04-18 10:58:47 +08:00
Issam Taboubi 964afa98e7 MDL-52229 tool_lp: Handle hidden templates/frameworks 2016-04-18 10:58:46 +08:00
Frederic Massart 7507b82a18 MDL-49463 tool_lp: New form base class for persistent models 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
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
Frederic Massart a8a05b81cd MDL-51033 tool_lp: Create user plans from page listing template plans 2016-04-18 10:58:44 +08:00
Frederic Massart 49ae39f747 MDL-51963 tool_lp: Reinforce scaleid validation to prevent changes 2016-04-18 10:58:43 +08:00
Frederic Massart 68911f0e7f MDL-51647 tool_lp: Plans due date MUST include the time of the day
Just like templates. That is very important when multiple users
can edit the same plan and are in different timezones.
2016-04-18 10:58:42 +08:00
Frederic Massart 47855def51 MDL-52195 tool_lp: Normalise the navigation in templates 2016-04-18 10:58:42 +08:00
Frederic Massart 2ec1b70bcd MDL-51866 tool_lp: Framework scale cannot be changed once it is used 2016-04-18 10:58:40 +08:00
Issam Taboubi 58405003f8 MDL-51646 tool_lp: Implement plan status 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
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
Serge Gauthier 31582c1638 MDL-51442 tool_lp: Framework scales configuration must be mandatory 2016-04-18 10:58:36 +08:00
Frederic Massart 8cb101a7d2 MDL-51638 tool_lp: Display the taxonomy terms where relevant 2016-04-18 10:58:36 +08:00
Frederic Massart 0c65d52c7f MDL-51504 tool_lp: Validate the templates' due date 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