Commit graph

5687 commits

Author SHA1 Message Date
Frederic Massart
096166a026 MDL-51506 tool_lp: Unit Tests for persistent class 2016-04-18 10:58:34 +08:00
Frederic Massart
7bec03c5d0 MDL-51506 tool_lp: Implementing before/after (C)RUD hooks 2016-04-18 10:58:34 +08:00
Frederic Massart
dee2fb575e MDL-51506 tool_lp: Implementing validation in the models 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
Jean-Philippe Gaudreau
c74f3e7d2e MDL-51496 tool_lp: Remove reorder services from db/services.php
Remove reorder competency framework and templates services from db/services.php.
2016-04-18 10:58:34 +08:00
Damyon Wiese
d65b912df2 MDL-51139 tool_lp: Fix some javascript that was broken by a merge
The user learning plans page menus were broken by some refactoring.

Fixed during merge by Fred:
- Added space between icons and strings in action menu
- Recent changes caused the plans page to die when listing templates
2016-04-18 10:58:34 +08:00
Frederic Massart
679bce3692 MDL-51031 tool_lp: Removing ability to reorder the templates
This was done for the frameworks as well. As we display the templates
accross contexts, the sortorder will not produce the expected result
therefore it is better to remove it.
2016-04-18 10:58:34 +08:00
Frederic Massart
ec324dc6e3 MDL-51031 tool_lp: Adding tests for template related functions 2016-04-18 10:58:34 +08:00
Frederic Massart
f0da26a494 MDL-51031 tool_lp: Templates can be created on a category level 2016-04-18 10:58:33 +08:00
Frederic Massart
05105c2874 MDL-51025 tool_lp: Invalid parameter passed when deleting framework 2016-04-18 10:58:33 +08:00
Issam Taboubi
562a0931bd MDL-51420 tool_lp: Fix failure in test_reorder_template_competencies 2016-04-18 10:58:33 +08:00
Frederic Massart
761a493cda MDL-51025 tool_lp: Dropping column sortorder for frameworks 2016-04-18 10:58:33 +08:00
Frederic Massart
f610a95732 MDL-51025 tool_lp: Add context support to count_frameworks 2016-04-18 10:58:33 +08:00
Frederic Massart
68b385dff1 MDL-51025 tool_lp: More tests to cover category context 2016-04-18 10:58:33 +08:00
Frederic Massart
2de75345bb MDL-51025 tool_lp: Frameworks can be created on a category level 2016-04-18 10:58:33 +08:00
Frederic Massart
4511b7d694 MDL-51027 tool_lp: Require ID numbers for frameworks and competencies 2016-04-18 10:58:33 +08:00
Frederic Massart
473745a0fb MDL-51027 tool_lp: Competency search included unrelated parent 2016-04-18 10:58:33 +08:00
Ankit Agarwal
b17d3d10d7 MDL-50608 tool_lp: Code cleanup 2016-04-18 10:58:33 +08:00
Mark Nelson
556838950f MDL-50608 tool_lp: tidy up and bug fixes 2016-04-18 10:58:33 +08:00
Ankit Agarwal
70c72e6623 MDL-50595 tool_lp: Make configure scale popup pretty 2016-04-18 10:58:33 +08:00
Ankit Agarwal
ca536a4f81 MDL-50590 tool_lp: Fix error with scale popup 2016-04-18 10:58:32 +08:00
Damyon Wiese
7e8d4dac9b MDL-50308 tool_lp: Big javascript cleanup
This includes:
* Move all JS modules from lib/amd to admin/tool/lp/amd
* Add all jsdocs
* fix all jshint warnings
* Rewrite the actionmenu wrapper to a real amd module
2016-04-18 10:58:32 +08:00
Adrian Greeve
d629323f72 MDL-50262 outcomes: Added scales and scale configuration.
Competency frameworks can now specify a scale to determine
proficiency.
2016-04-18 10:58:32 +08:00
Mark Nelson
9408e77eca MDL-49462 tool_lp: added unit tests for additional web services 2016-04-18 10:58:32 +08:00
Mark Nelson
e90c24d09d MDL-49462 tool_lp: general bug fixes and tidy up 2016-04-18 10:58:32 +08:00
Mark Nelson
54c5a739dc MDL-49462 tool_lp: added template competencies page 2016-04-18 10:58:32 +08:00
David Monllao
24546ef21b MDL-49460 tool_lp: Some unit tests for plans crud 2016-04-18 10:58:32 +08:00
David Monllao
4db373d5cb MDL-49460 tool_lp: Adding user learning plans
Basic CRUD skeleton with external functions.
2016-04-18 10:58:32 +08:00
Damyon Wiese
d9a39950b2 MDL-49459 Learning plans: Support for creating and editing competency frameworks.
This includes an API (\tool_lp\competency_api), a set of web services, unit tests for the web services and a nice UI built as an admin tool.
2016-04-18 10:58:32 +08:00
Damyon Wiese
11c16f5fc8 MDL-53772 externallib: Deprecate external_function_info() 2016-04-14 15:07:41 +08:00
Dan Poltawski
6ff935c206 Merge branch 'MDL-53674-master-eventmsg' of git://github.com/mudrd8mz/moodle 2016-04-11 14:29:14 +01:00
Dan Poltawski
5702a8289b Merge branch 'MDL-52954-master' of git://github.com/damyon/moodle 2016-04-11 09:52:40 +01:00
David Mudrák
db1d5b104b MDL-53674 event monitor: Do not send HTML as plain text formatted emails
There were two problems here.

* The $msgdata->fullmessage was always formatted as HTML even if the
  $msgdata->fullmessageformat was set to the original template's format.
* The plain text part of the emailed message contained HTML code.

The patch makes sure that the original template is always formatted into
HTML and then converted to plain text before setting the text/plain
multipart of the sent email.
2016-04-08 15:14:23 +02:00
Rajesh Taneja
921faad9ad MDL-53571 behat: Use Escaper for escaping
xpathLiteral has been depreacted, use Escaper instead
2016-04-06 15:38:31 +08:00
Eloy Lafuente (stronk7)
f6825a62ef Merge branch 'wip-mdl-52502' of https://github.com/rajeshtaneja/moodle 2016-04-06 00:12:00 +02:00
Eloy Lafuente (stronk7)
68f009dfb3 Merge branch 'MDL-53669_master' of git://github.com/markn86/moodle 2016-04-05 22:02:02 +02:00
Rajesh Taneja
e891c8381e MDL-52502 behat: Ensure php web and cli version is same 2016-04-05 11:46:44 +08:00
Mark Nelson
4981d06dae MDL-53669 tool_recyclebin: removed unused string 2016-03-31 16:02:37 +08:00
Damyon Wiese
1356d85151 MDL-52954 core: Change from pandoc to unoconv - it gives better results
Most importantly it retains formatting better, and supports different charsets far better than pandoc.
2016-03-30 11:48:39 +08:00
Damyon Wiese
2e76c14e11 MDL-52954 core: Add a document converter to file_storage
This lets us convert between common office formats. E.g. docx -> pdf
html -> pdf, html -> ods.

This commit also updates assignment editpdf plugin to use this converter
on all compatible submission files.
2016-03-30 11:48:39 +08:00
David Monllao
13e2c1bf58 Merge branch 'MDL-53314-imap-debugging' of https://github.com/brendanheywood/moodle 2016-03-30 09:49:05 +08:00
Eloy Lafuente (stronk7)
213fdb1d98 Merge branch 'wip-mdl-49150' of https://github.com/rajeshtaneja/moodle 2016-03-30 00:10:46 +02:00
David Monllao
dd39020d68 Merge branch 'MDL-53356-master' of git://github.com/cameron1729/moodle 2016-03-29 15:56:13 +08:00
Brendan Heywood
2c8c24412e MDL-53356 admin: Fixed erroneous sectionerror when upgrade is needed 2016-03-23 16:26:04 +08:00
Dan Poltawski
c0c26e5e69 Merge branch 'MDL-53260-master' of git://github.com/junpataleta/moodle 2016-03-23 14:40:05 +08:00
Jun Pataleta
54285c3ff5 MDL-53260 upgrade: Fix lang help text description. 2016-03-23 14:13:36 +08:00
Eloy Lafuente (stronk7)
debb1c3a6c Merge branch 'MDL-53547' of git://github.com/timhunt/moodle 2016-03-22 22:58:30 +01:00
Tim Hunt
4c8c69ea9f MDL-53547 logstore_database: better DB driver handling in unit test 2016-03-22 06:42:49 +00:00
Rajesh Taneja
a1d3a94b1c MDL-49150 behat: Removed unnecessary @javascript tags 2016-03-22 13:54:12 +08:00
Mark Nelson
0c7cca226d MDL-48012 tool_recyclebin: removed indexes as FKs exist 2016-03-22 11:12:08 +08:00