36560 Commits

Author SHA1 Message Date
skodak
a8c31db2a3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:47:18 +00:00
skodak
9d7493399d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:35:10 +00:00
skodak
bb4b6010f3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:17:10 +00:00
skodak
b8ac7ecec8 MDL-18293 removed obsoleted checking of return values from insert and update_record 2009-06-13 16:47:05 +00:00
skodak
44f27e4123 MDL-14990 pritning of backtrace does not rely on $CFG any more and can be used from destructors 2009-06-13 16:07:14 +00:00
skodak
b4154c2d64 MDL-14990 implemented query loggin in new native DML drivers 2009-06-13 15:59:55 +00:00
agrabs
b68bff82c9 MDL-19497 - group selection is broken 2009-06-13 14:17:00 +00:00
skodak
54d51f604e MDL-19470, MDL-14990 fixed db transactio nregression + towards query logging support 2009-06-13 10:16:29 +00:00
skodak
7900a54c30 MDL-14679 fixing old TODOs and adding more CLI support 2009-06-13 09:16:30 +00:00
skodak
eda26314d6 MDL-19474 adding TODO for removing of obsoleted adodb drivers before branching 2009-06-13 09:11:54 +00:00
skodak
bba506164d MDL-14679 fixing old TODOs 2009-06-13 09:09:30 +00:00
moodlerobot
b7e8443769 Updated the HEAD build version to 20090613 2009-06-13 00:39:12 +00:00
diml
e64bb85463 MDL-19477 - Issues on check_text access controllers 2009-06-12 16:18:37 +00:00
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
tjhunt
151165e3d1 Fix some fallout from the pagelib changes. 2009-06-12 12:08:25 +00:00
tjhunt
3e38c3bf23 Yes the, new, more efficient, variant of the select all checkboxes function. 2009-06-12 12:07:35 +00:00
tjhunt
45caa363f0 Fix whitespace, and a minor problem, in javascript-static.
Also, new, more efficient, variant of the select all checkboxes function,
for when they are all in a container with an id.
2009-06-12 12:01:16 +00:00
tjhunt
0eab1dc067 Fix whitespace. 2009-06-12 11:57:15 +00:00
tjhunt
c679c3582a Fix some fallout from the pagelib changes. 2009-06-12 11:56:30 +00:00
tjhunt
30f6bd51a3 Fix print_footer call, and some fallout from the pagelib changes. 2009-06-12 11:53:35 +00:00
skodak
1fbdf76ddb MDL-19470 detection of unfinished transactions and transactions interrupted by exceptions 2009-06-12 10:59:28 +00:00
tjhunt
18e8f3ab9e Fix syntax error. 2009-06-12 10:13:01 +00:00
tjhunt
9a78a083f3 Kill use of deprecated parameter. 2009-06-12 10:05:16 +00:00
tjhunt
a836d6d375 Fix whitespace. 2009-06-12 09:09:28 +00:00
skodak
8cc35d2055 MDL-14679 license header fixes 2009-06-12 08:50:50 +00:00
skodak
94b6329544 MDL-14679 license header fixes 2009-06-12 08:44:49 +00:00
skodak
5da75074c4 MDL-19470 adding missing inline docs 2009-06-12 08:27:19 +00:00
skodak
4bddb84049 MDL-19470 adding missing inline docs 2009-06-12 08:15:53 +00:00
skodak
4992614541 MDL-19470 fixing DML license headers 2009-06-12 08:14:29 +00:00
skodak
a1dda107bd MDL-19470 detection of nested transactions, only one level allowed 2009-06-12 07:55:44 +00:00
tjhunt
946a23bd03 XHTML strict. 2009-06-12 07:30:07 +00:00
dongsheng
1b4a39e64b "MDL-16596, remove inline css from filemanager" 2009-06-12 05:59:43 +00:00
dongsheng
6b0fae574d "MDL-19002, implement attachment files limit in file picker" 2009-06-12 05:57:25 +00:00
tjhunt
b2330db606 ajaxlib: MDL-16695 New page_requirements_manager class. Soon to replace require_js.
This new class does the work that require_js used to do, and more.
It can track a number of different things that may be required to
be output somewhere on the page, including:

    * Links to JS files
    * Links to CSS files
    * Links to YUI libraries (this class knows about the dependancies between the different libs).
    * Skip links that go from the top of <body> to various places in the content.
    * Calls to JavaScript functions (for example to initialise things)
    * Bits of data from PHP that need to be available to JavaScript
    * As a special case of that, an easy way to pass language strings to JS.

The new API looks like

$PAGE->requires->css('mod/mymod/styles.css');
$PAGE->requires->js('mod/mymod/script.js');
$PAGE->requires->js('mod/mymod/small_but_urgent.js')->in_head();
$PAGE->requires->js_function_call('init_mymod', array($data))->on_dom_ready();

$PAGE->requires is the canonical instances of this new class.

The commit also includes unit tests, and hopefully the PHP doc comments are
clear enough that it is easy to understand.
2009-06-12 03:13:29 +00:00
moodlerobot
11d51756cc Updated the HEAD build version to 20090612 2009-06-12 00:38:59 +00:00
moodlerobot
02fbdfe405 Automatic installer.php lang files by installer_builder (20090612) 2009-06-12 00:28:54 +00:00
skodak
80cfaf2bfe MDL-19471 fixed PHP 5.3 compatibility 2009-06-11 19:20:03 +00:00
pichetp
0735b50962 MDL-17366 cleaning code ( space, indentation etc.) 2009-06-11 17:04:18 +00:00
dongsheng
b6fd5aee62 "MDL-17316, improve non-js file manager interface" 2009-06-11 08:08:33 +00:00
jerome
2b06294b9a authentication MDL-19182 split auth.php lang file into multiple files separate for each plugin 2009-06-11 03:34:46 +00:00
dongsheng
5e98ab966f "MDL-17316, non-js file manager, support externel authentication" 2009-06-11 02:54:33 +00:00
dongsheng
a0c4bc65fc "MDL-17316, improve interface in non-js browser" 2009-06-11 02:43:06 +00:00
moodlerobot
14420d2f07 Updated the HEAD build version to 20090611 2009-06-11 00:39:15 +00:00
dongsheng
9deb3d000a "MDL-13766, shouldn't check login in repository base class, because developer may define a session name later" 2009-06-10 08:46:31 +00:00
samhemelryk
e30d7983a4 cssclasses MDL-17525 Added next and previous classes to quiz pagination links 2009-06-10 08:35:45 +00:00
tjhunt
d9661df14e XHTML strict! 2009-06-10 03:54:22 +00:00
moodlerobot
597ab5b3a2 Updated the HEAD build version to 20090610 2009-06-10 00:38:19 +00:00
mjollnir_
e862c50a76 portfolio/mahara: php-doc for a confusing private method i didn't understand anymore 2009-06-09 19:58:16 +00:00
mjollnir_
bcb39ec9e9 portfolio: removing suplerfluous error_log i forgot to remove earlier. 2009-06-09 19:54:22 +00:00
samhemelryk
fa3835a137 quizheader MDL-18896 Hides quiz closes and feedback if no quizzes use them
Note: Feedback will be shown if there are any possible feedbacks that may one day be used
2009-06-09 08:31:18 +00:00