36602 Commits

Author SHA1 Message Date
samhemelryk
7bfe17822a modforum MDL-16706 Removed inline js script call in mod forum and added forum.js 2009-06-23 03:16:16 +00:00
samhemelryk
9f3193726c javascript MDL-16706 Removed inline script call in mod choice and scorm 2009-06-23 01:18:22 +00:00
moodlerobot
aea4f29c7e Updated the HEAD build version to 20090623 2009-06-23 00:39:27 +00:00
nicolasconnault
ec3f20419a MDL-19583 Showing outcomes in user report if enabled at site level. Merged from MOODLE_19_STABLE 2009-06-23 00:38:29 +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
b5b948267e Commit new ur_utf8 lang installer file to HEAD. Automatically generated. 2009-06-22 17:55:40 +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
mits
1f66bc15e6 MDL-19597 Fixed a typo. 2009-06-22 15:53:26 +00:00
sam_marshall
29cb6c4c47 MDL-18297: Completion date checking - when updating meaning of 'available until', forgot to update validation code 2009-06-22 11:11:45 +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
2cc0fd76e1 modfeedback MDL-16706 Removed inline scripts in mod feedback and added feedback.js 2009-06-22 04:11:25 +00:00
moodler
bb8f37595a Some old fixes for whitespaces etc (coding style) 2009-06-22 03:53:02 +00:00
dongsheng
362a728f81 "MDL-13766, added more language strings for repository api" 2009-06-22 03:45:24 +00:00
dongsheng
6876783acd "MDL-17473, supported non-js file picker" 2009-06-22 03:30:25 +00:00
samhemelryk
9d0cffa554 moddata MDL-16706 Removed inline scripts in mod data and added data.js 2009-06-22 03:16:25 +00:00
dongsheng
2194247064 "MDL-15351, fixed draft files browsing" 2009-06-22 02:59:32 +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
nicolasconnault
c20b684517 MDL-16177 Detecting if script is called from URL, in which case it prints header, footer and form. Otherwise, silently create a global $generator object that can be used by unit tests. 2009-06-22 00:52:36 +00:00
moodlerobot
f45f654877 Updated the HEAD build version to 20090622 2009-06-22 00:37:06 +00:00
moodlerobot
8adc39c35a Automatic installer.php lang files by installer_builder (20090622) 2009-06-22 00:27:15 +00:00
skodak
19bae8cdee MDL-19580 preparation for requiring yui before print_header() 2009-06-21 18:45:07 +00:00
skodak
c8a3911895 MDL-16697 file picker xhtml strict fixes 2009-06-21 18:30:41 +00:00
skodak
752b9f42f5 MDL-14589 new function returning area files in tree structure 2009-06-21 18:22:52 +00:00
skodak
4937508878 MDL-14589 fixed error message if url malformed 2009-06-21 18:22:16 +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
moodlerobot
c0ca2b790a Updated the HEAD build version to 20090621 2009-06-21 00:38:56 +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
moodlerobot
b28ffa2f4f Updated the HEAD build version to 20090620 2009-06-20 00:39:27 +00:00
moodlerobot
67badc722b Automatic installer.php lang files by installer_builder (20090620) 2009-06-20 00:29:33 +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
dongsheng
009a97ce00 "MDL-17316, improve non-js filepicker" 2009-06-19 07:22:37 +00:00
moodlerobot
ca1841ee32 Updated the HEAD build version to 20090619 2009-06-19 00:39:02 +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
78ff29832d "MDL-17316, supported flickr_public plugin working in non-js filepicker" 2009-06-18 07:58:37 +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