Commit graph

3295 commits

Author SHA1 Message Date
stronk7
e5d06af22e MDL-19579 code coverage - show link to latest complete report 2009-06-26 17:07:33 +00:00
stronk7
70013fdcf9 XHTML Strict 2009-06-26 15:46:25 +00:00
stronk7
5d902b5da5 Fix unit|db tests OUTPUT 2009-06-26 09:50:06 +00:00
tjhunt
e29380f3c4 themes: MDL-19077 fix install regression 2009-06-26 09:38:14 +00:00
stronk7
e2074b8b43 MDL-19579 code coverage - initial frontend for both unit and db tests 2009-06-26 09:10:01 +00:00
tjhunt
34a2777ccb 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.
2009-06-26 09:06:16 +00:00
stronk7
c530a78a1c MDL-19579 code coverage - add file.php-like script to serve static reports
from dataroot/codecoverage/[dbtest|unittest]. Requires login + site:config cap
2009-06-25 23:54:22 +00:00
tjhunt
edc2edddcd Fix deprecated function use. 2009-06-25 12:36:51 +00:00
tjhunt
c207b6bece Remove a few unnecessary references to global $THEME. 2009-06-25 03:26:58 +00:00
tjhunt
31a9987770 install: MDL-19610 encapsulate empty($CFG->rolesactive) checks in a during_initial_install() function. 2009-06-24 09:17:56 +00:00
tjhunt
4ab836113a Unit tests: show total time taken to run the tests. 2009-06-23 10:34:21 +00:00
tjhunt
d83b1d0639 unit tests: raise_memeory_limit. I was running out when running all tests. 2009-06-23 10:33:58 +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
skodak
19bae8cdee MDL-19580 preparation for requiring yui before print_header() 2009-06-21 18:45:07 +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
jerome
70f01544e1 administration MDL-19525 remove global $userfields usage from uploadpicture_form class, merged from 1.9 2009-06-16 09:09:33 +00:00
stronk7
cab8690d4b MDL-19331 Changes is table name/comments now flag xmldb as changed 2009-06-14 16:34:34 +00:00
skodak
a8f3a651c0 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:16:08 +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
30f6bd51a3 Fix print_footer call, and some fallout from the pagelib changes. 2009-06-12 11:53:35 +00:00
tjhunt
946a23bd03 XHTML strict. 2009-06-12 07:30:07 +00:00
skodak
c3d0e1492e MDL-17458 fixing installation regressions - no output and timeout 2009-06-07 08:46:13 +00:00
tjhunt
684796fdae xmldb editior: XHTML strict 2009-06-04 07:39:52 +00:00
dongsheng
a3d8df257b "MDL-13766, repository api, fixed typeid value" 2009-06-04 06:40:35 +00:00
skodak
b004fca172 MDL-18976 simplexml ext now marked as required, credit goes to Dan Poltawski 2009-06-03 21:15:47 +00:00
skodak
feb453e710 MDL-19388 removing mysql bypass from 1.8-2.0 - we require UTF8, no bypass possible any more 2009-06-03 16:53:14 +00:00
skodak
16ae08537b MDL-15249 support for environment test in cli scripts 2009-06-03 16:24:00 +00:00
skodak
cfe3321562 MDL-19352 maintenance mode reimplemented - now using$CFG + cli script 2009-06-03 08:23:05 +00:00
skodak
1aa01caf90 MDL-16231 reimplemented deleting of files + cron cleanup 2009-06-03 08:10:21 +00:00
skodak
4fe2250a1f MDL-19352 maintenance mode reiplemented 2009-05-31 14:42:29 +00:00
skodak
926378ce4d MDL-15249 localized cli upgrade 2009-05-31 12:39:16 +00:00
skodak
71d549933b MDL-15249 yet more localization fixes 2009-05-31 12:38:39 +00:00
skodak
57295c9224 MDL-15249 password reset cli script improvements 2009-05-31 12:34:08 +00:00
skodak
58ebe269fe MDL-15249 password reset cli script improvements 2009-05-31 12:13:08 +00:00
skodak
1494616faa MDL-15249 localization fixes 2009-05-31 12:04:51 +00:00
skodak
6b997b07dd MDL-15249 localized cli upgrade 2009-05-31 11:57:33 +00:00
skodak
05736058a9 MDL-15249 yet more localization fixes for installer 2009-05-31 11:50:08 +00:00
skodak
fb344c2d3c MDL-15249 installer fully localized 2009-05-31 11:45:18 +00:00
stronk7
bd79ec5639 MDL-13204 xmlb editor checks - give extra time to checker because they can run looong 2009-05-30 23:45:07 +00:00
skodak
b8523467c7 MDL-15249 towards localized cli installer 2009-05-30 19:02:04 +00:00
stronk7
11e167a9d0 MDL-16059 xmldb editor - now all the php auto-generated code include proper upgrade_xxx_savepoint() calls 2009-05-30 18:57:00 +00:00
skodak
c31d94e8ba MDL-15249 towards localized cli installer 2009-05-30 17:14:24 +00:00
skodak
5a411e8137 MDL-15249 help now printed if config.php exists 2009-05-29 07:45:06 +00:00
stronk7
c97b24bf73 MDL-9176 xmldb editor - now it's possible to save from edit table page 2009-05-28 23:48:39 +00:00
stronk7
d5810e1d72 MDL-9176 xmldb editor - now it's possible to save from edit file page 2009-05-28 23:25:27 +00:00
stronk7
4f237e248b MDL-9176 xmldb editor - enable the possibility to avoid unload after save (default) 2009-05-28 23:20:53 +00:00
stronk7
c1b8eeda68 MDL-19305 renaming string because I'm going to need both 2009-05-28 21:57:56 +00:00
stronk7
9dd35834ee MDL-19305 xmldb editor - throw message when there are changes pending to save and perms don't allow it. 2009-05-28 21:48:13 +00:00
stronk7
0dd435add1 MDL-19304 xmldb editor - files default action changet to edit 2009-05-28 18:59:08 +00:00