]> git.mjollnir.org Git - moodle.git/log
moodle.git
15 years agoFix unit|db tests OUTPUT
stronk7 [Fri, 26 Jun 2009 09:50:06 +0000 (09:50 +0000)]
Fix unit|db tests OUTPUT

15 years agothemes: MDL-19077 fix install regression
tjhunt [Fri, 26 Jun 2009 09:38:14 +0000 (09:38 +0000)]
themes: MDL-19077 fix install regression

15 years agoMDL-19579 code coverage - initial frontend for both unit and db tests
stronk7 [Fri, 26 Jun 2009 09:10:01 +0000 (09:10 +0000)]
MDL-19579 code coverage - initial frontend for both unit and db tests

15 years agoMDL-19579 code coverage - summary reporting
stronk7 [Fri, 26 Jun 2009 09:07:58 +0000 (09:07 +0000)]
MDL-19579 code coverage - summary reporting

15 years agothemes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
tjhunt [Fri, 26 Jun 2009 09:06:16 +0000 (09:06 +0000)]
themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
Also, part of the change from weblib.php functions to $OUTPUT-> methods.

This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

This is a big change, and the result is not perfect yet. Expect some debugging output
on some pages.

The main part of these changes are that $OUTPUT->header now looks for a file
in the theme called layout.php, rather than header.html and footer.html. Also
you can have special templates for certain pages like layout-home.php. There is
fallback code for Moodle 1.9 themes, so they still work.

A few of the old arguments to print_header are no longer supported. (You get an
exception if you try to use them.) Sam H will be cleaning those up.

All the weblib functions that have been replaced with $OUTPUT-> have version in
deprecatedlib, so existing code will go on working for the foreseeable future.

15 years agoMDL-16438 standardized component names
skodak [Fri, 26 Jun 2009 09:02:05 +0000 (09:02 +0000)]
MDL-16438 standardized component names

15 years agouser MDL-16706 This was not the solution, removing YUI call here
samhemelryk [Fri, 26 Jun 2009 08:12:50 +0000 (08:12 +0000)]
user MDL-16706 This was not the solution, removing YUI call here

15 years agomod-forum MDL-16706 Removed inline JS and replaced with new PAGE methods
samhemelryk [Fri, 26 Jun 2009 07:49:37 +0000 (07:49 +0000)]
mod-forum MDL-16706 Removed inline JS and replaced with new PAGE methods

15 years agomod-feedback MDL-16706 Removed inline JS and replaced with new PAGE methods
samhemelryk [Fri, 26 Jun 2009 07:32:52 +0000 (07:32 +0000)]
mod-feedback MDL-16706 Removed inline JS and replaced with new PAGE methods

15 years agomod-chat MDL-16706 Removed inline JS and replaced with new PAGE methods
samhemelryk [Fri, 26 Jun 2009 06:53:23 +0000 (06:53 +0000)]
mod-chat MDL-16706 Removed inline JS and replaced with new PAGE methods

15 years agomod-scorm MDL-16706 Removed inline JS and replaced with new PAGE methods
samhemelryk [Fri, 26 Jun 2009 06:31:26 +0000 (06:31 +0000)]
mod-scorm MDL-16706 Removed inline JS and replaced with new PAGE methods

15 years agomod-chat MDL-16706 Removed inline JS and replaced with new PAGE methods
samhemelryk [Fri, 26 Jun 2009 05:55:55 +0000 (05:55 +0000)]
mod-chat MDL-16706 Removed inline JS and replaced with new PAGE methods

15 years agomod-chat MDL-16706 Removed inline JS and replaced with new PAGE methods
samhemelryk [Fri, 26 Jun 2009 05:49:33 +0000 (05:49 +0000)]
mod-chat MDL-16706 Removed inline JS and replaced with new PAGE methods
Removed print_header $meta at same time as no longer used

15 years agomod-resource-file MDL-16706 Removed inline JS and replaced with new PAGE methods
samhemelryk [Fri, 26 Jun 2009 05:12:43 +0000 (05:12 +0000)]
mod-resource-file MDL-16706 Removed inline JS and replaced with new PAGE methods

15 years agomod-resource MDL-16706 Removed inline JS and replaced with new PAGE methods
samhemelryk [Fri, 26 Jun 2009 04:04:31 +0000 (04:04 +0000)]
mod-resource MDL-16706 Removed inline JS and replaced with new PAGE methods

15 years agouser-adduser MDL-16706 Included YUI event using requires yui_lib
samhemelryk [Fri, 26 Jun 2009 04:00:51 +0000 (04:00 +0000)]
user-adduser MDL-16706 Included YUI event using requires yui_lib

15 years agoMDL-19631 replace deprecated function usage.
tjhunt [Fri, 26 Jun 2009 02:23:19 +0000 (02:23 +0000)]
MDL-19631 replace deprecated function usage.

15 years agoCornflower theme: MDL-19607 Removed float from sideblock commands.
ptrkmkl [Fri, 26 Jun 2009 01:59:32 +0000 (01:59 +0000)]
Cornflower theme: MDL-19607 Removed float from sideblock commands.

15 years agoUpdated the HEAD build version to 20090626
moodlerobot [Fri, 26 Jun 2009 00:39:42 +0000 (00:39 +0000)]
Updated the HEAD build version to 20090626

15 years agoAutomatic installer.php lang files by installer_builder (20090626)
moodlerobot [Fri, 26 Jun 2009 00:29:31 +0000 (00:29 +0000)]
Automatic installer.php lang files by installer_builder (20090626)

15 years agoMDL-19579 code coverage - add file.php-like script to serve static reports
stronk7 [Thu, 25 Jun 2009 23:54:22 +0000 (23:54 +0000)]
MDL-19579 code coverage - add file.php-like script to serve static reports
from dataroot/codecoverage/[dbtest|unittest]. Requires login + site:config cap

15 years agoMDL-19579 code coverage - fix report paths and totals. Yay, I'm back!
stronk7 [Thu, 25 Jun 2009 21:01:25 +0000 (21:01 +0000)]
MDL-19579 code coverage - fix report paths and totals. Yay, I'm back!

15 years agoFix deprecated function use.
tjhunt [Thu, 25 Jun 2009 12:36:51 +0000 (12:36 +0000)]
Fix deprecated function use.

15 years agoMDL-16438 fixed regression during recent plugin centralisation effort
skodak [Thu, 25 Jun 2009 09:14:16 +0000 (09:14 +0000)]
MDL-16438 fixed regression during recent plugin centralisation effort

15 years ago"MDL-16383, add check_login to construct function"
dongsheng [Thu, 25 Jun 2009 07:44:27 +0000 (07:44 +0000)]
"MDL-16383, add check_login to construct function"

15 years agoMDL-19611 fixing regression - video icon disappeared
skodak [Thu, 25 Jun 2009 07:30:37 +0000 (07:30 +0000)]
MDL-19611 fixing regression - video icon disappeared

15 years agoquiz: Fix copy/paste error.
tjhunt [Thu, 25 Jun 2009 06:58:43 +0000 (06:58 +0000)]
quiz: Fix copy/paste error.

15 years agoKill some debug code.
tjhunt [Thu, 25 Jun 2009 06:56:41 +0000 (06:56 +0000)]
Kill some debug code.

15 years agoTypo fixes.
tjhunt [Thu, 25 Jun 2009 06:48:25 +0000 (06:48 +0000)]
Typo fixes.

15 years agomod-lesson MDL-16706 Removed inline scripts and modified timer to take obj args
samhemelryk [Thu, 25 Jun 2009 06:29:41 +0000 (06:29 +0000)]
mod-lesson MDL-16706 Removed inline scripts and modified timer to take obj args

15 years ago"MDL-18520, for security, we use a fixed repository path for filesystem plugin"
dongsheng [Thu, 25 Jun 2009 05:18:22 +0000 (05:18 +0000)]
"MDL-18520, for security, we use a fixed repository path for filesystem plugin"

15 years ago"MDL-16908, fixed webdav plugin hostname"
dongsheng [Thu, 25 Jun 2009 04:58:58 +0000 (04:58 +0000)]
"MDL-16908, fixed webdav plugin hostname"

15 years ago"MDL-15350, fixed boxnet plugin authkey"
dongsheng [Thu, 25 Jun 2009 04:14:45 +0000 (04:14 +0000)]
"MDL-15350, fixed boxnet plugin authkey"

15 years ago"MDL-13766, improve search form in file picker, improve error handing"
dongsheng [Thu, 25 Jun 2009 04:12:43 +0000 (04:12 +0000)]
"MDL-13766, improve search form in file picker, improve error handing"

15 years agomod-survey MDL-19621 Fixed notices appearing in generated charts
samhemelryk [Thu, 25 Jun 2009 04:04:01 +0000 (04:04 +0000)]
mod-survey MDL-19621 Fixed notices appearing in generated charts

15 years agoRemove experimental part of string_manger. Also, improve class comment.
tjhunt [Thu, 25 Jun 2009 04:02:36 +0000 (04:02 +0000)]
Remove experimental part of string_manger. Also, improve class comment.

15 years agomod-survey MDL-16706 Removed inline script in survey and added survey.js
samhemelryk [Thu, 25 Jun 2009 03:46:59 +0000 (03:46 +0000)]
mod-survey MDL-16706 Removed inline script in survey and added survey.js

15 years agoRemove a few unnecessary references to global $THEME.
tjhunt [Thu, 25 Jun 2009 03:26:58 +0000 (03:26 +0000)]
Remove a few unnecessary references to global $THEME.

15 years agomod-forum MDL-19620 Replaced get_db_family with get_dbfamily
samhemelryk [Thu, 25 Jun 2009 03:08:05 +0000 (03:08 +0000)]
mod-forum MDL-19620 Replaced get_db_family with get_dbfamily

15 years agomodforum MDL-16706 Removed inline js script call in mod forum
samhemelryk [Thu, 25 Jun 2009 02:57:46 +0000 (02:57 +0000)]
modforum MDL-16706 Removed inline js script call in mod forum

15 years agoMDL-16438 Reverting upgrade of assignment/lib.php. get_plugin_types() is not fully...
nicolasconnault [Thu, 25 Jun 2009 01:32:44 +0000 (01:32 +0000)]
MDL-16438 Reverting upgrade of assignment/lib.php. get_plugin_types() is not fully implemented and doesn't yet support assignment types.

15 years agoUpdated the HEAD build version to 20090625
moodlerobot [Thu, 25 Jun 2009 00:39:15 +0000 (00:39 +0000)]
Updated the HEAD build version to 20090625

15 years agoMDL-19611 removing some useless editor icons
skodak [Wed, 24 Jun 2009 23:17:06 +0000 (23:17 +0000)]
MDL-19611 removing some useless editor icons

15 years agoMDL-19611 fixing regression - video icon disappeared
skodak [Wed, 24 Jun 2009 23:15:24 +0000 (23:15 +0000)]
MDL-19611 fixing regression - video icon disappeared

15 years agoMDL-19611 fixing regression - video icon disappeared
skodak [Wed, 24 Jun 2009 22:54:49 +0000 (22:54 +0000)]
MDL-19611 fixing regression - video icon disappeared

15 years agoMDL-19580 cleanup of require css and js filepicker code
skodak [Wed, 24 Jun 2009 22:34:29 +0000 (22:34 +0000)]
MDL-19580 cleanup of require css and js filepicker code

15 years agolang strings: MDL-17678 typo fixes
wildgirl [Wed, 24 Jun 2009 13:31:07 +0000 (13:31 +0000)]
lang strings: MDL-17678 typo fixes

15 years agoadmin lang string: MDL-17022 small rewording
wildgirl [Wed, 24 Jun 2009 13:19:17 +0000 (13:19 +0000)]
admin lang string: MDL-17022 small rewording

15 years agoinstall: MDL-19610 encapsulate empty($CFG->rolesactive) checks in a during_initial_in...
tjhunt [Wed, 24 Jun 2009 09:17:56 +0000 (09:17 +0000)]
install: MDL-19610 encapsulate empty($CFG->rolesactive) checks in a during_initial_install() function.

15 years agorepository MDL-16909 missing mahara language file
jerome [Wed, 24 Jun 2009 08:21:16 +0000 (08:21 +0000)]
repository MDL-16909 missing mahara language file

15 years agojavascript MDL-16693 Tim's fix for recaptcha
jerome [Wed, 24 Jun 2009 07:39:57 +0000 (07:39 +0000)]
javascript MDL-16693 Tim's fix for recaptcha

15 years ago"MDL-18830, improve flickr_public plugin license searching, easier to use "
dongsheng [Wed, 24 Jun 2009 05:49:52 +0000 (05:49 +0000)]
"MDL-18830, improve flickr_public plugin license searching, easier to use "

15 years ago"MDL-19180, clean up repository url download plugin, and make it support non-js file...
dongsheng [Wed, 24 Jun 2009 03:38:13 +0000 (03:38 +0000)]
"MDL-19180, clean up repository url download plugin, and make it support non-js file picker"

15 years agoUpdated the HEAD build version to 20090624
moodlerobot [Wed, 24 Jun 2009 00:38:59 +0000 (00:38 +0000)]
Updated the HEAD build version to 20090624

15 years agoMDL-19596 Added browser check and refactored fixed student column check into its...
nicolasconnault [Wed, 24 Jun 2009 00:22:52 +0000 (00:22 +0000)]
MDL-19596 Added browser check and refactored fixed student column check into its own method. Merged from MOODLE_19_STABLE

15 years agoMDL-19579 code coverage - xhtml compliant fixes
stronk7 [Tue, 23 Jun 2009 16:50:03 +0000 (16:50 +0000)]
MDL-19579 code coverage - xhtml compliant fixes

15 years agoAdded spikephpcoverage to the list of libs
stronk7 [Tue, 23 Jun 2009 11:32:32 +0000 (11:32 +0000)]
Added spikephpcoverage to the list of libs

15 years agothemes: MDL-19077 start implementing moodle_core_renderer
tjhunt [Tue, 23 Jun 2009 10:41:22 +0000 (10:41 +0000)]
themes: MDL-19077 start implementing moodle_core_renderer
Only a couple of methods implemented. Please review the API and
tell me if you are not happy with the direction I am taking.

15 years agoUnit tests: show total time taken to run the tests.
tjhunt [Tue, 23 Jun 2009 10:34:21 +0000 (10:34 +0000)]
Unit tests: show total time taken to run the tests.

15 years agounit tests: raise_memeory_limit. I was running out when running all tests.
tjhunt [Tue, 23 Jun 2009 10:33:58 +0000 (10:33 +0000)]
unit tests: raise_memeory_limit. I was running out when running all tests.

15 years agoMDL-19579 code coverage - initial lang strings required
stronk7 [Tue, 23 Jun 2009 09:31:49 +0000 (09:31 +0000)]
MDL-19579 code coverage - initial lang strings required

15 years agoMDL-19579 code coverage - prepare ddl & moodlelib tests to support code coverage
stronk7 [Tue, 23 Jun 2009 09:30:59 +0000 (09:30 +0000)]
MDL-19579 code coverage - prepare ddl & moodlelib tests to support code coverage

15 years agoMDL-19579 code coverage - add Spike PHPCoverage lib (LGPL)
stronk7 [Tue, 23 Jun 2009 09:23:06 +0000 (09:23 +0000)]
MDL-19579 code coverage - add Spike PHPCoverage lib (LGPL)

15 years agoMDL-19579 code coverage - add library supporting all the extensions both to simpletes...
stronk7 [Tue, 23 Jun 2009 09:09:54 +0000 (09:09 +0000)]
MDL-19579 code coverage - add library supporting all the extensions both to simpletest and spikephpcoverage required to have code coverage available

15 years agoOops, I left some debugging info in my prev commit.
stronk7 [Tue, 23 Jun 2009 08:24:50 +0000 (08:24 +0000)]
Oops, I left some debugging info in my prev commit.

15 years agoMDL-19600 remove remaining traces of docstyles.php.
tjhunt [Tue, 23 Jun 2009 04:39:11 +0000 (04:39 +0000)]
MDL-19600 remove remaining traces of docstyles.php.
(Not used since Moodle 1.6.)
Also remove the remaining bits of lang/en_utf8/docs.

15 years agoFixed a typo
moodler [Tue, 23 Jun 2009 04:34:24 +0000 (04:34 +0000)]
Fixed a typo

15 years agoAdded a TRADEMARK.txt file to HEAD to explain the trademark in detail.
moodler [Tue, 23 Jun 2009 04:32:54 +0000 (04:32 +0000)]
Added a TRADEMARK.txt file to HEAD to explain the trademark in detail.

15 years ago"MDL-17316, fixed search paging and fixed xhtml strict"
dongsheng [Tue, 23 Jun 2009 03:53:40 +0000 (03:53 +0000)]
"MDL-17316, fixed search paging and fixed xhtml strict"

15 years agomodforum MDL-16706 Removed inline js script call in mod forum and added forum.js
samhemelryk [Tue, 23 Jun 2009 03:16:16 +0000 (03:16 +0000)]
modforum MDL-16706 Removed inline js script call in mod forum and added forum.js

15 years agojavascript MDL-16706 Removed inline script call in mod choice and scorm
samhemelryk [Tue, 23 Jun 2009 01:18:22 +0000 (01:18 +0000)]
javascript MDL-16706 Removed inline script call in mod choice and scorm

15 years agoUpdated the HEAD build version to 20090623
moodlerobot [Tue, 23 Jun 2009 00:39:27 +0000 (00:39 +0000)]
Updated the HEAD build version to 20090623

15 years agoMDL-19583 Showing outcomes in user report if enabled at site level. Merged from MOODL...
nicolasconnault [Tue, 23 Jun 2009 00:38:29 +0000 (00:38 +0000)]
MDL-19583 Showing outcomes in user report if enabled at site level. Merged from MOODLE_19_STABLE

15 years agoFix one test failing depending of the debug/debugdisplay settings.
stronk7 [Tue, 23 Jun 2009 00:24:52 +0000 (00:24 +0000)]
Fix one test failing depending of the debug/debugdisplay settings.

15 years agoAdding pear/XML/Parser to the list of 3rd part libraries used by code sniffer.
stronk7 [Mon, 22 Jun 2009 23:52:11 +0000 (23:52 +0000)]
Adding pear/XML/Parser to the list of 3rd part libraries used by code sniffer.

15 years agoMDL-19579 code coverage - added XML/Parser information to README file (New BSD = np)
stronk7 [Mon, 22 Jun 2009 18:50:57 +0000 (18:50 +0000)]
MDL-19579 code coverage - added XML/Parser information to README file (New BSD = np)

15 years agoMDL-19579 code coverage - add PEAR/XML lib, required by Spike PHP Coverage. New BSD...
stronk7 [Mon, 22 Jun 2009 18:35:56 +0000 (18:35 +0000)]
MDL-19579 code coverage - add PEAR/XML lib, required by Spike PHP Coverage. New BSD license.

15 years agoCommit new ur_utf8 lang installer file to HEAD. Automatically generated.
stronk7 [Mon, 22 Jun 2009 17:55:40 +0000 (17:55 +0000)]
Commit new ur_utf8 lang installer file to HEAD. Automatically generated.

15 years agoMDL-19452 Fix oracle/mssql drivers behaviour when using magic_quotes_sybase leading...
stronk7 [Mon, 22 Jun 2009 17:30:15 +0000 (17:30 +0000)]
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

15 years agoMDL-19598: Error in logic that should hide 'skip link' when block doesn't have title
sam_marshall [Mon, 22 Jun 2009 17:09:32 +0000 (17:09 +0000)]
MDL-19598: Error in logic that should hide 'skip link' when block doesn't have title

15 years agoMDL-19597 Fixed a typo.
mits [Mon, 22 Jun 2009 15:53:26 +0000 (15:53 +0000)]
MDL-19597 Fixed a typo.

15 years agoMDL-18297: Completion date checking - when updating meaning of 'available until'...
sam_marshall [Mon, 22 Jun 2009 11:11:45 +0000 (11:11 +0000)]
MDL-18297: Completion date checking - when updating meaning of 'available until', forgot to update validation code

15 years agoFix notice in blockmanager unit tests.
tjhunt [Mon, 22 Jun 2009 07:26:50 +0000 (07:26 +0000)]
Fix notice in blockmanager unit tests.

15 years agoFix some problems with the filelib unit tests, and stop hiding the true cause of...
tjhunt [Mon, 22 Jun 2009 07:17:59 +0000 (07:17 +0000)]
Fix some problems with the filelib unit tests, and stop hiding the true cause of another failure.

15 years agoFix accesslib unit tests.
tjhunt [Mon, 22 Jun 2009 07:16:26 +0000 (07:16 +0000)]
Fix accesslib unit tests.

15 years agoTry to avoid time-outs while running the unit tests
tjhunt [Mon, 22 Jun 2009 06:59:13 +0000 (06:59 +0000)]
Try to avoid time-outs while running the unit tests

15 years agoFix pagelib unit tests.
tjhunt [Mon, 22 Jun 2009 06:30:21 +0000 (06:30 +0000)]
Fix pagelib unit tests.

15 years agoMDL-19566 Refactored some of the more complex regular expressions in their own functi...
nicolasconnault [Mon, 22 Jun 2009 06:07:56 +0000 (06:07 +0000)]
MDL-19566 Refactored some of the more complex regular expressions in their own function and added unit tests for them.

15 years agoMDL-16438 fix string manager unit tests.
tjhunt [Mon, 22 Jun 2009 06:03:53 +0000 (06:03 +0000)]
MDL-16438 fix string manager unit tests.

15 years agomodfeedback MDL-16706 Removed inline scripts in mod feedback and added feedback.js
samhemelryk [Mon, 22 Jun 2009 04:11:25 +0000 (04:11 +0000)]
modfeedback MDL-16706 Removed inline scripts in mod feedback and added feedback.js

15 years agoSome old fixes for whitespaces etc (coding style)
moodler [Mon, 22 Jun 2009 03:53:02 +0000 (03:53 +0000)]
Some old fixes for whitespaces etc  (coding style)

15 years ago"MDL-13766, added more language strings for repository api"
dongsheng [Mon, 22 Jun 2009 03:45:24 +0000 (03:45 +0000)]
"MDL-13766, added more language strings for repository api"

15 years ago"MDL-17473, supported non-js file picker"
dongsheng [Mon, 22 Jun 2009 03:30:25 +0000 (03:30 +0000)]
"MDL-17473, supported non-js file picker"

15 years agomoddata MDL-16706 Removed inline scripts in mod data and added data.js
samhemelryk [Mon, 22 Jun 2009 03:16:25 +0000 (03:16 +0000)]
moddata MDL-16706 Removed inline scripts in mod data and added data.js

15 years ago"MDL-15351, fixed draft files browsing"
dongsheng [Mon, 22 Jun 2009 02:59:32 +0000 (02:59 +0000)]
"MDL-15351, fixed draft files browsing"

15 years agoajaxlib MDL-16693 Fixed fringe condition in ajaxlib and added test
samhemelryk [Mon, 22 Jun 2009 02:59:02 +0000 (02:59 +0000)]
ajaxlib MDL-16693 Fixed fringe condition in ajaxlib and added test

15 years agoMDL-19418 Replaced ereg* by preg*
nicolasconnault [Mon, 22 Jun 2009 01:22:37 +0000 (01:22 +0000)]
MDL-19418 Replaced ereg* by preg*

15 years agoMDL-16177 Detecting if script is called from URL, in which case it prints header...
nicolasconnault [Mon, 22 Jun 2009 00:52:36 +0000 (00:52 +0000)]
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.

15 years agoUpdated the HEAD build version to 20090622
moodlerobot [Mon, 22 Jun 2009 00:37:06 +0000 (00:37 +0000)]
Updated the HEAD build version to 20090622

15 years agoAutomatic installer.php lang files by installer_builder (20090622)
moodlerobot [Mon, 22 Jun 2009 00:27:15 +0000 (00:27 +0000)]
Automatic installer.php lang files by installer_builder (20090622)