Petr Skoda
cbad562eee
MDL-25314 improved prevention of output buffering + detection of misconfigured servers
...
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.
2010-11-19 03:40:43 +00:00
Petr Skoda
e98a39260a
NOBUG standardising prevention of output buffering
...
we should really add some new define before the config.php inclusion soon
2010-11-17 12:25:36 +00:00
Eloy Lafuente
b9e8c6a6f2
NOBUG: I hate the shut-up operator, really!
2010-11-17 11:02:32 +00:00
Sam Marshall
cf617be64e
Unit tests MDL-24909 Unit tests used 5 minute time limit per test class; this is insufficient for gradebook tests on slow server. Changed to use 60 second limit per test function instead. Added constant and comment defining this behaviour.
2010-11-01 15:14:37 +00:00
Petr Skoda
346c5887b1
MDL-24751 using new memory constants
2010-10-19 10:13:15 +00:00
Andrew Davis
7cfa8aeef2
unittests MDL-24322 made unit tests trim the path entered by the user to stop trailing spaces causing an error
2010-09-22 05:46:26 +00:00
Petr Skoda
a226a972f7
MDL-24321 switching to stdClass in /admin/ and /
2010-09-21 08:44:02 +00:00
Petr Skoda
adfc4d7c25
commenting out unused code so that it does not confuse IDEs
2010-09-17 09:39:00 +00:00
Petr Skoda
ef14c1e724
MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins
2010-09-05 20:36:18 +00:00
Petr Skoda
835d78ff9e
MDL-22056 simplified component name handling + converting reports to proper pluginname
...
AMOS BEGIN
MOV [capability,report_capability],[pluginname,report_capability]
MOV [questioninstances,report_questioninstances],[pluginname,report_questioninstances]
MOV [reportsecurity,report_security],[pluginname,report_security]
MOV [spamcleaner,report_spamcleaner],[pluginname,report_spamcleaner]
AMOS END
2010-07-15 17:13:45 +00:00
Petr Skoda
dbf9e4bae3
MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins
2010-07-13 13:56:55 +00:00
Petr Skoda
50a8bd6c1d
MDL-14589 file api cleanup
2010-07-11 13:30:33 +00:00
Sam Marshall
31c9330392
accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php
2010-05-21 11:51:23 +00:00
Tim Hunt
c8a9f066f7
unit tests: MDL-22175 Still more improvements unit test failure display.
...
Thanks to Eloy for suggesting these improvements:
1. We display debuginfo if it is there.
2. If the exception refers to a missing lang string, we output as much
information as we have.
2010-04-26 15:25:56 +00:00
Tim Hunt
39321e0faf
unit tests: MDL-22175 Further improvements unit test failure display.
...
Exceptions are now also shown with a pruned stack trace.
And 2.0 code for displaying PHP5 error types backported to 1.9.
2010-04-23 17:22:55 +00:00
Tim Hunt
f99b19c58d
unit tests: MDL-22175 Improve unit test failure display.
...
When you are using helper funcitions, show all the interesting bits of the stack trace,
rather that just the line in the helper function where the failed asset was called.
2010-04-23 11:22:30 +00:00
Eloy Lafuente
16d0b44022
NOBUG: Improve vis. of exception params.
2010-04-21 09:37:26 +00:00
David Mudrak
30c8dd34f7
MDL-15252 Re-committing all English strings exported from AMOS
...
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.
The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.
Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667
MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs
2010-04-10 07:24:56 +00:00
Petr Skoda
61ef8f9f88
MDL-20204 removing deprecated admin headers
2010-03-31 08:05:53 +00:00
Petr Skoda
4f0c2d0009
MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
2010-03-31 07:41:31 +00:00
David Mudrak
89422374d1
MDL-21694 Moving admin report strings into plugin space
2010-03-29 20:45:38 +00:00
Petr Skoda
4aea3cc7cd
MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout
2010-02-11 13:27:02 +00:00
Eloy Lafuente
40be01445b
MDL-20204 checkboxes small regression - two "showsearch" are way too much! :-P
2010-02-10 17:01:44 +00:00
Petr Skoda
6bacd33926
MDL-20204 converting to new checkboxes
2010-02-09 18:17:21 +00:00
Penny Leach
c71ade2f41
mnet MDL-21261 moving upgrade functions to lib/upgrade.php
2010-02-02 21:16:56 +00:00
Eloy Lafuente
6f5a517f68
MDL-21007 - take out the box saying FakeTests are disabled. Not needed anymore.
2009-11-30 23:33:24 +00:00
Eloy Lafuente
2319bdedd6
MDL-21007 UnitTestCaseUsingDatabase misconfigured unit tests now reported as skipped
2009-11-30 23:18:34 +00:00
Andrew Davis
2b4d40c9ac
unit tests MDL-19060 unified the two checks for CVS directories
2009-11-30 01:14:30 +00:00
Andrew Davis
f6607a9c16
unit test MDL-19060 prevent unit tests from scanning cvs and .git directories
2009-11-27 05:39:35 +00:00
Tim Hunt
9aa653f124
Unit tests: Change the parent class to avoid a deprecated class.
...
This is necessary to make it work in PHP 5.3 (as well as PHP 4).
2009-11-24 21:44:59 +00:00
Petr Skoda
0ac940b3bf
MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported
2009-11-04 19:24:12 +00:00
Petr Skoda
24eb994795
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:14:50 +00:00
Petr Skoda
244bb39668
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 10:42:45 +00:00
Petr Skoda
2e9b772fb8
MDL-20693 new NO_DEBUG_DISPLAY define
2009-10-31 22:02:05 +00:00
skodak
d6960b0bd1
MDL-19474 finally dropping support for old adodb moodle database drivers, yay!
2009-10-08 22:04:32 +00:00
stronk7
c51ca8350e
Proper connection exception handling in the DB functional tests.
2009-09-02 16:24:43 +00:00
nicolasconnault
8fbce1c8c8
MDL-19878 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 04:28:40 +00:00
nicolasconnault
20486a5a21
MDL-19787 Converted print_box* to $OUTPUT->box*
2009-08-10 04:53:22 +00:00
nicolasconnault
73d6f52f6a
MDL-19787 Converted all print_footer() calls
2009-08-06 14:12:46 +00:00
nicolasconnault
2fff8846f2
MDL-19787 Migrated calls to print_heading
2009-08-06 08:17:12 +00:00
nicolasconnault
bfe5741703
MDL-19787 Migrated calls to print_checkbox()
2009-08-06 06:56:33 +00:00
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