stronk7
b5ba94e5a5
MDL-19579 code coverage - add Spike PHPCoverage lib (LGPL)
2009-06-23 09:23:06 +00:00
stronk7
86cc669c1b
MDL-19579 code coverage - add library supporting all the extensions both to simpletest and spikephpcoverage required to have code coverage available
2009-06-23 09:09:54 +00:00
stronk7
d83bcdfcc7
Oops, I left some debugging info in my prev commit.
2009-06-23 08:24:50 +00:00
tjhunt
5af6ec1b2e
MDL-19600 remove remaining traces of docstyles.php.
...
(Not used since Moodle 1.6.)
Also remove the remaining bits of lang/en_utf8/docs.
2009-06-23 04:39:11 +00:00
samhemelryk
9f3193726c
javascript MDL-16706 Removed inline script call in mod choice and scorm
2009-06-23 01:18:22 +00:00
stronk7
16a2a41273
Fix one test failing depending of the debug/debugdisplay settings.
2009-06-23 00:24:52 +00:00
stronk7
feb828819e
Adding pear/XML/Parser to the list of 3rd part libraries used by code sniffer.
2009-06-22 23:52:11 +00:00
stronk7
95b588478e
MDL-19579 code coverage - added XML/Parser information to README file (New BSD = np)
2009-06-22 18:50:57 +00:00
stronk7
66f29dc2d1
MDL-19579 code coverage - add PEAR/XML lib, required by Spike PHP Coverage. New BSD license.
2009-06-22 18:35:56 +00:00
stronk7
3cf4c8fabf
MDL-19452 Fix oracle/mssql drivers behaviour when using magic_quotes_sybase leading to wrongly escaped contents. Many thanks to Sam Moffatt! Merged from 19_STABLE
2009-06-22 17:30:15 +00:00
sam_marshall
a5d75d2af1
MDL-19598: Error in logic that should hide 'skip link' when block doesn't have title
2009-06-22 17:09:32 +00:00
tjhunt
73af8b1139
Fix notice in blockmanager unit tests.
2009-06-22 07:26:50 +00:00
tjhunt
8e8b806600
Fix some problems with the filelib unit tests, and stop hiding the true cause of another failure.
2009-06-22 07:17:59 +00:00
tjhunt
b44b6c4599
Fix accesslib unit tests.
2009-06-22 07:16:26 +00:00
tjhunt
0c49b68d59
Try to avoid time-outs while running the unit tests
2009-06-22 06:59:13 +00:00
tjhunt
9fa62210e8
Fix pagelib unit tests.
2009-06-22 06:30:21 +00:00
nicolasconnault
31c2087d1e
MDL-19566 Refactored some of the more complex regular expressions in their own function and added unit tests for them.
2009-06-22 06:07:56 +00:00
tjhunt
64208b5de5
MDL-16438 fix string manager unit tests.
2009-06-22 06:03:53 +00:00
samhemelryk
d76b8a2068
ajaxlib MDL-16693 Fixed fringe condition in ajaxlib and added test
2009-06-22 02:59:02 +00:00
nicolasconnault
6dbcaceef1
MDL-19418 Replaced ereg* by preg*
2009-06-22 01:22:37 +00:00
skodak
752b9f42f5
MDL-14589 new function returning area files in tree structure
2009-06-21 18:22:52 +00:00
arborrow
b0ea27b441
MDL-19950 - check for format type name in qformat if not found in quiz.php lang file
2009-06-21 04:29:37 +00:00
skodak
69429650c4
MDL-19211, MDL-19544 improved editor embedding, media and dragmath enabled only when moodle configuration and current user permissions allow it to work 100%
2009-06-20 11:00:40 +00:00
skodak
a262db825d
MDL-19516 dragmath embedding improvements by Mauno Korpelainen
2009-06-19 14:35:46 +00:00
skodak
17da2e6f28
MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
2009-06-19 14:25:56 +00:00
tjhunt
5085a59ad7
javascript: MDL-16695 print_footer('empty'); I had the wrong type of quotes.
...
Thanks to Dongsheng for noticing.
2009-06-19 08:02:11 +00:00
skodak
8754882493
MDL-19528 new dragmath icon by Mauno Korpelainen
2009-06-18 17:23:47 +00:00
tjhunt
571fa82824
themes: MDL-19077 implement the renderer_factory instrastructure.
...
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F
The concept is that all the print_... functions in weblib get replaced by methods
on a moodle_core_renderer class. Then, the theme can choose whether to
use the standard moodle_core_renderer class, or another implemenatation of
its own choosing, to generate different HTML.
Also, becuase Moodle is modular, we may need a moodle_mod_forum_renderer
and so on.
In order for the theme to be able to choose which renderers get created, we
introduce the concept of a renderer factory, as in the factory design pattern.
The theme will choose which factory should be used, and that then creates
the renderer objects based on the module name.
This commit includes 4 types of factory:
* standard_renderer_factory
* custom_corners_renderer_factory
* theme_overridden_renderer_factory
* template_renderer_factory
All this with unit tests and PHP doc comments.
Note, this new code is not actually used yet. Still todo:
1. actually define the moodle_core_renderer class, and deprecate a lot of weblib functions.
2. make theme_setup initialise everything, so it is used.
2009-06-18 10:43:13 +00:00
dongsheng
e78e71fd61
"MDL-16698, use non-js filepicker to pick up files"
2009-06-18 06:52:26 +00:00
dongsheng
ab9cdbb976
"MDL-17316, fix upload form in non-js file picker"
2009-06-18 06:31:51 +00:00
tjhunt
a978bddea3
javascript: MDL-16695 print_footer('empty'); was not printing the necessary end of page code.
2009-06-17 10:29:42 +00:00
moodler
b03fc39253
Just some whitespace fixes
2009-06-17 08:50:16 +00:00
tjhunt
32941d74c8
Move extra ajaxlib unit tests to the right place.
2009-06-17 07:35:33 +00:00
tjhunt
1ee9d0d764
Fix boilerplate.
2009-06-17 07:32:18 +00:00
tjhunt
8a0cb3a16d
Javadoc comment syntax.
2009-06-17 05:34:10 +00:00
stronk7
f59309921b
MDL-19465 accesslib - improve get_user_access_sitewide() performance (~10%)
2009-06-16 15:34:55 +00:00
tjhunt
52902cea23
blocks upgrade: MDL-19511 And repeat the upgrade step, since some poeple will have missed it.
2009-06-16 10:31:33 +00:00
skodak
aeb0f2135e
MDL-19526 fixed inserting of < and >
2009-06-16 10:28:56 +00:00
tjhunt
a26146d563
blocks upgrade: MDL-19511 put back important code that Petr commented out!
...
The actual mistake was the name of the previous column, which is totally irrelevant, but which XMLDB had filled in incorrectly. Grrr!
2009-06-16 10:23:56 +00:00
skodak
e3d84fb05d
MDL-19522 dragmath plugin now fully supports localization
2009-06-16 10:23:27 +00:00
skodak
27c718a90e
MDL-19523 dragmath embedding xhtml fixed
2009-06-16 08:54:01 +00:00
skodak
170b4f9b68
MDL-19523 dragmath embedding xhtml fixed
2009-06-16 08:53:37 +00:00
skodak
bd479c7c0f
MDL-19520 upgrading to latest dragmath, thanks Marc Grober for new version notification
2009-06-16 08:44:50 +00:00
skodak
ae388c4537
MDL-19211 adding forgotten dragmath in legacy editors
2009-06-16 08:00:53 +00:00
tjhunt
25ddb7efc9
javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
...
This is the final batch.
2009-06-15 07:57:53 +00:00
fmarier
3e83641fdc
MDL-2794 testweblib: adapt the unit tests to the output of new html2text library
2009-06-15 06:08:42 +00:00
tjhunt
c28bf5c9f8
javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
...
Also, some related JavaScript cleanup.
More to follow.
2009-06-15 05:37:57 +00:00
dongsheng
424362f3b5
"MDL-16695, fixed yui js files path"
2009-06-15 05:06:34 +00:00
tjhunt
5c5418fe9d
Further fixes to PHPdoc comments.
2009-06-15 04:03:59 +00:00
tjhunt
2c144fc308
Further fixes to PHPdoc comments.
2009-06-15 03:54:00 +00:00