moodlerobot [Mon, 6 Jul 2009 00:38:18 +0000 (00:38 +0000)]
Updated the HEAD build version to
20090706
mudrd8mz [Sun, 5 Jul 2009 14:31:58 +0000 (14:31 +0000)]
MDL-19716 moodle_url: new parameter to get URL with unescaped ampersands
moodle_url::get_query_string() and moodle_url::out() now accept new
optional parameter. Backwards compatible. This is needed so we can use returned URL
during redirect() which expects unescaped ampersands.
dongsheng [Sun, 5 Jul 2009 14:15:18 +0000 (14:15 +0000)]
"MDL-18830, add watermark to flickr image"
tjhunt [Sun, 5 Jul 2009 02:16:56 +0000 (02:16 +0000)]
MDL-19714 Fatal errors when installing HEAD \r\rThis is my attempt to fix things by copying code from setup.php to install.php. Seems to work now.
moodlerobot [Sun, 5 Jul 2009 00:38:22 +0000 (00:38 +0000)]
Updated the HEAD build version to
20090705
moodlerobot [Sun, 5 Jul 2009 00:28:06 +0000 (00:28 +0000)]
installer.php lang files by installer_builder (
20090705)
skodak [Sat, 4 Jul 2009 19:17:48 +0000 (19:17 +0000)]
MDL-16597 temporary icon fix
skodak [Sat, 4 Jul 2009 19:03:44 +0000 (19:03 +0000)]
MDL-16597 at least basic support for displaying of subdirectory content and general cleanup
skodak [Sat, 4 Jul 2009 18:47:56 +0000 (18:47 +0000)]
MDL-14589 fixed area tree generation
skodak [Sat, 4 Jul 2009 18:21:43 +0000 (18:21 +0000)]
fixed missing CFG global
mits [Sat, 4 Jul 2009 17:16:29 +0000 (17:16 +0000)]
MDL-19713 Fixed a typo.
skodak [Sat, 4 Jul 2009 16:31:33 +0000 (16:31 +0000)]
fixed missing OUTPUT global regression
tjhunt [Sat, 4 Jul 2009 14:23:49 +0000 (14:23 +0000)]
Re-order the code, so we process the actions before we do any output.\r\rThat is the right order anyway, and avoids the problem where require_capability\rafter output is started leads to an exception being thrown.
tjhunt [Sat, 4 Jul 2009 14:22:11 +0000 (14:22 +0000)]
Add a warning that require_capabiliy can only be used before output is started.
tjhunt [Sat, 4 Jul 2009 13:36:19 +0000 (13:36 +0000)]
XHTML strict.
tjhunt [Sat, 4 Jul 2009 13:36:05 +0000 (13:36 +0000)]
outputlib: MDL-19077 better reporting when open/close containers don't match.
dongsheng [Sat, 4 Jul 2009 11:20:39 +0000 (11:20 +0000)]
"MDL-13766, add language string for repository plugin"
dongsheng [Sat, 4 Jul 2009 11:17:33 +0000 (11:17 +0000)]
"MDL-13766, add language string for file picker"
skodak [Sat, 4 Jul 2009 11:15:16 +0000 (11:15 +0000)]
MDL-19689 get_coursemodule_from_id() and get_coursemodule_from_instance() now have $strictness parameter too
skodak [Sat, 4 Jul 2009 10:53:57 +0000 (10:53 +0000)]
MDL-19689 fixed strictness constants, thanks Tim
skodak [Sat, 4 Jul 2009 09:48:56 +0000 (09:48 +0000)]
MDL-16438 fixed portfolio regression
skodak [Sat, 4 Jul 2009 09:35:03 +0000 (09:35 +0000)]
MDL-19689 adding IGNORE_MULTIPLE to get_record - please note this parameter is discouraged
skodak [Sat, 4 Jul 2009 09:30:59 +0000 (09:30 +0000)]
MDL-19689 fixed strictness constants, thanks Tim
moodlerobot [Sat, 4 Jul 2009 00:38:53 +0000 (00:38 +0000)]
Updated the HEAD build version to
20090704
skodak [Fri, 3 Jul 2009 22:38:56 +0000 (22:38 +0000)]
MDL-19689 new $strictness parameter in $DB->get_record() and $DB->get_field() family of DML methods
skodak [Fri, 3 Jul 2009 21:48:06 +0000 (21:48 +0000)]
MDL-19676 removing premature commit
skodak [Fri, 3 Jul 2009 13:40:37 +0000 (13:40 +0000)]
MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs
skodak [Fri, 3 Jul 2009 13:39:39 +0000 (13:39 +0000)]
MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs
skodak [Fri, 3 Jul 2009 13:39:14 +0000 (13:39 +0000)]
MDL-14589 improved _pluginfile function - added forcedownload param
skodak [Fri, 3 Jul 2009 13:35:36 +0000 (13:35 +0000)]
MDL-16089 entry in modules table created before calling install.php because it might be used there already, also if something fails in install.php the db will be in a more consistent state
skodak [Fri, 3 Jul 2009 13:33:03 +0000 (13:33 +0000)]
MDL-16089 adding easier access to current module instance data in modedit forms
skodak [Fri, 3 Jul 2009 13:31:37 +0000 (13:31 +0000)]
MDL-19708 adding missing sumbit button class include
skodak [Fri, 3 Jul 2009 09:59:00 +0000 (09:59 +0000)]
MDL-19690 fixed some icon conversion
tjhunt [Fri, 3 Jul 2009 09:03:50 +0000 (09:03 +0000)]
MDL-19696 make sure install works.
tjhunt [Fri, 3 Jul 2009 09:03:29 +0000 (09:03 +0000)]
MDL-19696 & MDL-16706 refactor sam's redirect changes, so they can work during initial install.
tjhunt [Fri, 3 Jul 2009 07:55:30 +0000 (07:55 +0000)]
MDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url
Including MDL-19693
RIP $CFG->pixpath
tjhunt [Fri, 3 Jul 2009 07:17:41 +0000 (07:17 +0000)]
XHTML strict
tjhunt [Fri, 3 Jul 2009 06:38:41 +0000 (06:38 +0000)]
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
nicolasconnault [Fri, 3 Jul 2009 06:33:12 +0000 (06:33 +0000)]
MDL-18228 Added a bit of JS to resize the left header of the fixed student column. This should help to keep the rows below aligned. Merged from MOODLE_19_STABLE
tjhunt [Fri, 3 Jul 2009 06:19:25 +0000 (06:19 +0000)]
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
nicolasconnault [Fri, 3 Jul 2009 05:54:49 +0000 (05:54 +0000)]
MDL-19677 Reverting prematurely committed blog patch
tjhunt [Fri, 3 Jul 2009 04:23:05 +0000 (04:23 +0000)]
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
jerome [Fri, 3 Jul 2009 04:08:52 +0000 (04:08 +0000)]
output MDL-19077 typo bug
samhemelryk [Fri, 3 Jul 2009 02:01:21 +0000 (02:01 +0000)]
mod-feedback MDL-16706 Removed inline JS and added PAGE methods
samhemelryk [Fri, 3 Jul 2009 01:36:18 +0000 (01:36 +0000)]
mod-scorm MDL-16706 Added missing global from commites yesterday
stronk7 [Fri, 3 Jul 2009 01:12:59 +0000 (01:12 +0000)]
MDL-6218 TEXT/BINARY columns and default clauses - forbidden since ages, warn and autofix them if found
moodlerobot [Fri, 3 Jul 2009 00:39:25 +0000 (00:39 +0000)]
Updated the HEAD build version to
20090703
skodak [Thu, 2 Jul 2009 20:29:21 +0000 (20:29 +0000)]
MDL-19696 undoing my previous veryveryuglyhack, I did not solve much, sorry
stronk7 [Thu, 2 Jul 2009 16:13:30 +0000 (16:13 +0000)]
MDL-19057 ddl tests - slowly advancing. Added some test to check for MDL-19695 behaviour
stronk7 [Thu, 2 Jul 2009 16:08:44 +0000 (16:08 +0000)]
MDL-19695 field dependencies - defined new exception ddl_dependency_exception that
will be thrown when one DDL operation (drop only for now) is attempted over one
field being part of indexes.
stronk7 [Thu, 2 Jul 2009 16:05:47 +0000 (16:05 +0000)]
MDL-19695 field dependencies - before committing the dependency checker, fix all places in upgrade
that will break once running with dependencies enabled
stronk7 [Thu, 2 Jul 2009 15:30:30 +0000 (15:30 +0000)]
Enums are out in 2.0, so we cannot introduce any in the 1.9 => 2.0 upgrade. Deleting the upgrade block.
skodak [Thu, 2 Jul 2009 15:27:46 +0000 (15:27 +0000)]
MDL-19700 removing unused global
skodak [Thu, 2 Jul 2009 15:14:23 +0000 (15:14 +0000)]
MDL-19699 fixed blog upgrade trouble and one notice
skodak [Thu, 2 Jul 2009 15:11:28 +0000 (15:11 +0000)]
MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-(
skodak [Thu, 2 Jul 2009 15:02:51 +0000 (15:02 +0000)]
MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-(
skodak [Thu, 2 Jul 2009 15:01:22 +0000 (15:01 +0000)]
MDL-16438 dixed resource borking install - no code execution in lib.php files!
skodak [Thu, 2 Jul 2009 14:58:41 +0000 (14:58 +0000)]
MDL-19415 fixing deprecated use of contructors
sam_marshall [Thu, 2 Jul 2009 14:44:42 +0000 (14:44 +0000)]
MDL-19692: Wording change in help for completion tickboxes, again based on user testing
skodak [Thu, 2 Jul 2009 13:39:55 +0000 (13:39 +0000)]
MDL-19696 veryveryuglyhack which partially ubreaks installation after latest pagelib changes
tjhunt [Thu, 2 Jul 2009 12:43:19 +0000 (12:43 +0000)]
Fix some grader report breakage.
tjhunt [Thu, 2 Jul 2009 12:35:13 +0000 (12:35 +0000)]
MDL-19690 fix some breakage.
tjhunt [Thu, 2 Jul 2009 12:25:19 +0000 (12:25 +0000)]
MDL-19690 - Eliminate all remaining $CFG->modpixpath apart from mod/scorm
tjhunt [Thu, 2 Jul 2009 12:07:58 +0000 (12:07 +0000)]
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
tjhunt [Thu, 2 Jul 2009 11:23:47 +0000 (11:23 +0000)]
MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.
tjhunt [Thu, 2 Jul 2009 11:09:15 +0000 (11:09 +0000)]
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 10:53:31 +0000 (10:53 +0000)]
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 10:26:02 +0000 (10:26 +0000)]
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 10:12:19 +0000 (10:12 +0000)]
MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 10:06:39 +0000 (10:06 +0000)]
MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url
tjhunt [Thu, 2 Jul 2009 09:28:19 +0000 (09:28 +0000)]
output: MDL-19690 allow for .png or .gif in $OUTPUT->mod/old_icon_url
sam_marshall [Thu, 2 Jul 2009 09:18:26 +0000 (09:18 +0000)]
MDL-19692: Improvement to help icon for completion tickboxes, based on user testing
tjhunt [Thu, 2 Jul 2009 08:49:25 +0000 (08:49 +0000)]
output: MDL-19690 icon_finder classes and $OUTPUT->mod/old_icon_url
This is ready to replace $CFG->pixpath and $CFG->modpixpath soon.
nicolasconnault [Thu, 2 Jul 2009 07:49:12 +0000 (07:49 +0000)]
Removed redundant require_capability and require_login, causing havoc on new module page.
samhemelryk [Thu, 2 Jul 2009 07:45:44 +0000 (07:45 +0000)]
grade-edit-tree MDL-16706 Removed inline script
nicolasconnault [Thu, 2 Jul 2009 07:44:56 +0000 (07:44 +0000)]
Removed useless require_capability, causing havoc on new module page.
samhemelryk [Thu, 2 Jul 2009 07:29:08 +0000 (07:29 +0000)]
pagelib MDL-19077 Fixed minor error in pagelib
tjhunt [Thu, 2 Jul 2009 07:06:25 +0000 (07:06 +0000)]
MDL-19077 I just found a way to reduce the coupling between the classes.
tjhunt [Thu, 2 Jul 2009 06:57:21 +0000 (06:57 +0000)]
XHTML strict
samhemelryk [Thu, 2 Jul 2009 06:46:47 +0000 (06:46 +0000)]
mod-quiz MDL-16706 Eliminated inline scripts to use PAGE methods
nicolasconnault [Thu, 2 Jul 2009 06:43:43 +0000 (06:43 +0000)]
MDL-19677 Reverting prematurely committed blog patch
samhemelryk [Thu, 2 Jul 2009 06:40:54 +0000 (06:40 +0000)]
mod-scorm MDL-16706 Eliminated inline scripts to use PAGE methods
samhemelryk [Thu, 2 Jul 2009 06:37:30 +0000 (06:37 +0000)]
mod-assignment MDL-16706 Eliminated inline scripts to use PAGE methods
samhemelryk [Thu, 2 Jul 2009 06:00:59 +0000 (06:00 +0000)]
chat ajax MDL-16706 Eliminated inline scripts to use PAGE methods
nicolasconnault [Thu, 2 Jul 2009 05:55:24 +0000 (05:55 +0000)]
MDL-19677 Removing prematurally added setting
samhemelryk [Thu, 2 Jul 2009 04:14:41 +0000 (04:14 +0000)]
course reports MDL-16706 Eliminated inline scripts to use PAGE methods
samhemelryk [Thu, 2 Jul 2009 04:10:56 +0000 (04:10 +0000)]
admin reports MDL-16706 Eliminated inline scripts to use PAGE methods
samhemelryk [Thu, 2 Jul 2009 04:07:53 +0000 (04:07 +0000)]
ajaxlib MDL-19077 Added strings_for_js method
samhemelryk [Thu, 2 Jul 2009 04:03:04 +0000 (04:03 +0000)]
user MDL-16706 updated user.js
samhemelryk [Thu, 2 Jul 2009 04:02:40 +0000 (04:02 +0000)]
user MDL-16706 Elimate inline scripts, replaced with PAGE methods, created user.js
samhemelryk [Thu, 2 Jul 2009 03:47:05 +0000 (03:47 +0000)]
weblib MDL-16706 Elimate inline scripts, replaced with PAGE methods
moodlerobot [Thu, 2 Jul 2009 00:38:12 +0000 (00:38 +0000)]
Updated the HEAD build version to
20090702
nicolasconnault [Wed, 1 Jul 2009 08:49:47 +0000 (08:49 +0000)]
MDL-19676 Removed course and group visibility settings for blog
nicolasconnault [Wed, 1 Jul 2009 08:17:53 +0000 (08:17 +0000)]
MDL-19677 Upgrading sites that use $CFG->bloglevel == BLOG_GROUP_LEVEL or BLOG_COURSE_LEVEL to BLOG_SITE_LEVEL, and removed these options from admin/settings/security.php
skodak [Wed, 1 Jul 2009 08:10:06 +0000 (08:10 +0000)]
MDL-19674 even uglier hack whcih works around the pixpath problem, the long term solution is to write a new setting
tjhunt [Wed, 1 Jul 2009 05:54:26 +0000 (05:54 +0000)]
themes: MDL-19077 change how the theme is initialised and CSS is served.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F
$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.
CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)
Admin UI for choosing a theme cleaned up.
A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php
Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.
tjhunt [Wed, 1 Jul 2009 04:17:31 +0000 (04:17 +0000)]
MDL-19674 - err - slighly more sensible version of the previous commit.
tjhunt [Wed, 1 Jul 2009 04:13:47 +0000 (04:13 +0000)]
Grrrr!!! MDL-19674
dongsheng [Wed, 1 Jul 2009 04:11:52 +0000 (04:11 +0000)]
"MDL-19077, pixpath is broken, use initialise_deprecated_cfg_pixpath() as a temporary fix"
nicolasconnault [Wed, 1 Jul 2009 03:57:05 +0000 (03:57 +0000)]
MDL-19673 Removed the semi-transparent underlay of YUI tooltips, they don't work in IE. Merged from MOODLE_19_STABLE