tjhunt
a5cb8d6987
MDL-19077 - Finish eliminating customcorners-specific code in core.
...
The custom-corners-specific code now in theme/customcornser/renderers.php
and lib/deprecatedlib.php.
Also, $CFG->pixpath is now causing more problems than ever. If it is
giving your problems, please call $OUTPUT->initialise_deprecated_cfg_pixpath()
as a temporary fix. As you can imagine, we are thinking about a better
long-term fix, which is why that method as a silly, and easy to grep name.
2009-06-29 08:17:31 +00:00
samhemelryk
e877532055
lib MDL-19077 Created output redirect method and implemented against weblib redirect method
...
This resolves the meta bug that was used when redirecting with a delay
Thanks Tim for the help with this one
2009-06-29 07:19:05 +00:00
tjhunt
c84a2dbea2
MDL-19077 - change how $OUTPUT is initialised.
...
Please read the comment at the top of bootstrap_renderer in setuplib.php
2009-06-29 05:00:45 +00:00
samhemelryk
fc4f5796cc
formslib MDL-19626 Changed JS string handling to new $PAGE methods, Thanks Dan
2009-06-29 02:10:49 +00:00
samhemelryk
9262d2d30f
formslib MDL-19626 Fixed broken show/hide advanced button
...
Updated formslib showadvanced inline JS to use new $PAGE methods
and replaced inline noscript with css handled display
2009-06-29 01:58:11 +00:00
tjhunt
fd1a792e13
themes: MDL-19640 / MDL-19077 remove other references to _print_normal_error
2009-06-29 00:34:49 +00:00
stronk7
86ffb13965
MDL-19057 ddl tests - complete a bit ddl table tests (and partially drop enum fields)
2009-06-28 22:12:20 +00:00
dongsheng
4dbb2b0507
"MDL-19180, repository url plugin, if users provide a url of webpage, this plugin could list all images in this page"
2009-06-28 09:38:32 +00:00
poltawski
6a2a58f773
Sorry managed to commit sql_bitxor twice
2009-06-27 21:26:08 +00:00
poltawski
9f300b3afa
dml/sqllite MDL-19644 - add sql_bitxor compatibility
...
fixes one unit test
2009-06-27 21:23:49 +00:00
poltawski
e9c734ba5c
dml/sqllite MDL-19643 Throw exceptions to make things more robust
...
Various functions were catching the pdo error and returning
false, but this isn't enough. I have modified the functions to
throw a dml exception like other drivers do.
2009-06-27 21:22:50 +00:00
poltawski
fa648098b2
dml/sqllite MDL-19642 - Make connections more robust
...
- Include 'pdo' as an extension to be checked for
- Bail out of a connect and throw an exception if the required
extensions aren't loaded
- Don't ignore pdo exceptions on connect error - throw our
own exception
2009-06-27 21:22:27 +00:00
poltawski
0661894ccf
dml/sqllite MDL-19644 - add sql_bitxor compatibility
...
fixes one unit test
2009-06-27 21:22:03 +00:00
poltawski
88931a0e41
Whoops, didn't mean to remove Andrei's copyright.
2009-06-27 14:48:18 +00:00
poltawski
d5377019e4
dmllib/pdo MDL-19641 - Fixup PDO (SQLlite) support
...
By changing the behaviour of the recordset to match
the native recordset we fix the major compatbility problems
Before: Can't get a working install to run tests
After: 353 passes, 10 fails and 0 exceptions.
(and moodle can install on my iphone)
2009-06-27 14:46:44 +00:00
stronk7
081a63a9eb
MDL-19579 code coverage - add more initial $includecoverage attributes
2009-06-26 17:49:15 +00:00
stronk7
d47cf63dec
MDL-19579 code coverage - add initial $includecoverage attributes
2009-06-26 17:21:36 +00:00
stronk7
e5d06af22e
MDL-19579 code coverage - show link to latest complete report
2009-06-26 17:07:33 +00:00
stronk7
f40184265a
MDL-19579 code coverage - add lang strings and open complete report in new window
2009-06-26 15:51:12 +00:00
tjhunt
6e37fa50cb
themes: MDL-19077 make a comment clearer.
2009-06-26 11:22:41 +00:00
tjhunt
82bba20e55
themes: MDL-19077 fix unit test regression
2009-06-26 10:26:31 +00:00
stronk7
2e10368ab1
MDL-19579 code coverage - fix error when reporting number of lines in summary 2nd try :-(
2009-06-26 10:05:49 +00:00
stronk7
dc77a7a831
MDL-19579 code coverage - fix error when reporting number of lines in summary
2009-06-26 10:03:44 +00:00
stronk7
021a4a5ed9
Fix coverage summary OUTPUT
2009-06-26 09:58:09 +00:00
tjhunt
e29380f3c4
themes: MDL-19077 fix install regression
2009-06-26 09:38:14 +00:00
stronk7
e1fe1b24fd
MDL-19579 code coverage - summary reporting
2009-06-26 09:07:58 +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
skodak
520cea9216
MDL-16438 standardized component names
2009-06-26 09:02:05 +00:00
stronk7
0f53569f83
MDL-19579 code coverage - fix report paths and totals. Yay, I'm back!
2009-06-25 21:01:25 +00:00
skodak
73735edf48
MDL-16438 fixed regression during recent plugin centralisation effort
2009-06-25 09:14:16 +00:00
tjhunt
fa98e6d15a
Kill some debug code.
2009-06-25 06:56:41 +00:00
tjhunt
bfbbfdebb8
Typo fixes.
2009-06-25 06:48:25 +00:00
tjhunt
88b02e3b22
Remove experimental part of string_manger. Also, improve class comment.
2009-06-25 04:02:36 +00:00
skodak
e346496792
MDL-19611 removing some useless editor icons
2009-06-24 23:17:06 +00:00
skodak
7de5a29a33
MDL-19611 fixing regression - video icon disappeared
2009-06-24 23:15:24 +00:00
skodak
5a4ba49ca7
MDL-19611 fixing regression - video icon disappeared
2009-06-24 22:54:49 +00:00
skodak
ff5fe31160
MDL-19580 cleanup of require css and js filepicker code
2009-06-24 22:34:29 +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
jerome
d7db89834f
javascript MDL-16693 Tim's fix for recaptcha
2009-06-24 07:39:57 +00:00
stronk7
f33e30fb8d
MDL-19579 code coverage - xhtml compliant fixes
2009-06-23 16:50:03 +00:00
stronk7
4bf4e9443d
Added spikephpcoverage to the list of libs
2009-06-23 11:32:32 +00:00
tjhunt
8954245a1b
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.
2009-06-23 10:41:22 +00:00
stronk7
db3a1eb8fd
MDL-19579 code coverage - prepare ddl & moodlelib tests to support code coverage
2009-06-23 09:30:59 +00:00
stronk7
b5ba94e5a5
MDL-19579 code coverage - add Spike PHPCoverage lib (LGPL)
2009-06-23 09:23:06 +00:00
stronk7
86cc669c1b
MDL-19579 code coverage - add library supporting all the extensions both to simpletest and spikephpcoverage required to have code coverage available
2009-06-23 09:09:54 +00:00
stronk7
d83bcdfcc7
Oops, I left some debugging info in my prev commit.
2009-06-23 08:24:50 +00:00
tjhunt
5af6ec1b2e
MDL-19600 remove remaining traces of docstyles.php.
...
(Not used since Moodle 1.6.)
Also remove the remaining bits of lang/en_utf8/docs.
2009-06-23 04:39:11 +00:00
samhemelryk
9f3193726c
javascript MDL-16706 Removed inline script call in mod choice and scorm
2009-06-23 01:18:22 +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