Petr Skoda
5f01417372
MDL-26007 fix error message when can not found env data
2011-01-16 20:47:22 +01:00
Petr Skoda
365a594107
MDL-24321 switching to stdClass in /lib/
2010-09-21 08:07:44 +00:00
Petr Skoda
5ec77a3de0
initialize object before use
2010-09-17 07:54:32 +00:00
Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00
David Mudrak
16be897441
MDL-21652 html_table rendering refactored
...
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda
117bd74897
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:31:16 +00:00
nicolasconnault
642816a60c
MDL-19799 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
2009-08-20 08:50:50 +00:00
nicolasconnault
aa9a686740
MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 05:20:12 +00:00
nicolasconnault
3c15938527
MDL-19799 Migrated calls to print_heading
2009-08-06 08:19:21 +00:00
nicolasconnault
fffbcb5ac4
MDL-19799 Migrated call to doc_link()
2009-08-06 02:58:35 +00:00
skodak
16ae08537b
MDL-15249 support for environment test in cli scripts
2009-06-03 16:24:00 +00:00
samhemelryk
c030b5eea2
lib MDL-19236 Corrected copyright's
2009-05-26 09:29:18 +00:00
stronk7
829fa07417
MDL-9796 environment - add support to specify what xml file we want to use. defaults to newer (bc)
2009-02-14 23:08:05 +00:00
skodak
c33b83e77c
MDL-9796 fixed error array when environment file broken; merged from MOODLE_19_STABLE
2009-02-08 21:32:33 +00:00
skodak
f404df92b1
MDL-18153 fixed typo - thanks Nicolas Martignoni
2009-02-07 22:15:15 +00:00
skodak
c808379ef8
MDL-10275 moved the rest of environment tests from install.php to admin/index.php; please note that there is no need to update installer lacg packs becuase install.php will not have environment checks anymore soon ;-)
2009-02-01 16:20:59 +00:00
skodak
9050958240
MDL-10275 moving all installation time environment tests into /admin/index.php - this will simplify install.php a LOT and will make installation/upgrade more consistent + fixed a bug in enviroment if docroot not set
2009-02-01 12:52:30 +00:00
stronk7
b08a722573
Prevent some notices at install. MDL-16188 ; merged from 19_STABLE
2008-08-24 16:33:26 +00:00
stronk7
eae02f59b0
Make custom checks BC, so any test about future releases doesn't fail
...
with error it the file and/or function is missing (highly possible). MDL-15939 ; merged from 18_STABLE
2008-08-05 00:22:41 +00:00
skodak
fd0e6640cc
MDL-14679 fixed some more $db's
2008-05-31 22:18:41 +00:00
skodak
f33e1ed4ae
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs
2008-05-15 21:40:00 +00:00
toyomoyo
4fa6cb4733
1.9 Beta 2 should not be read as 1.9.2 in environment page
2007-11-08 05:13:18 +00:00
nicolasconnault
b7064779f5
Updated copyright notice in header
2007-10-10 05:25:14 +00:00
jamiesensei
afb36bca44
MDL-10938. 'only strings from lang files can be used as feedback in environment check. Some way is needed to include data from custom check function - a $a param to pass to get_string'. Custom check for questions uses new functionality to print more complex strings as feedback.
2007-08-22 04:28:26 +00:00
stronk7
7f2d3ec0c3
Added new check to be able to compare current and target
...
moodle versions. Executed only on upgrade (not at install). MDL-10722
2007-08-10 22:19:40 +00:00
jamiesensei
770fef0a3c
MDL-10168 improvements to display of results from environment checks
2007-06-19 15:52:19 +00:00
tjhunt
ce5f45783e
MDL-9616 - tidy up
...
* add a better message in the table for these checks.
* improve existing strings for other types of check.
* remove a line of debug code.
2007-04-27 17:43:03 +00:00
tjhunt
bac40536f4
MDL-9616 - Custom checks in environment.xml
2007-04-27 17:15:24 +00:00
stronk7
cc60cd9bf4
Adding the environmentbox class to the box.
...
Merged from MOODLE_18_STABLE
2007-03-18 19:20:40 +00:00
stronk7
ed7656bf01
Now environment stuff uses $CFG->dbfamily
2007-01-13 01:20:10 +00:00
moodler
38fca5d7c7
Don't let downloaded environment files cause problems forever by overriding the
...
more up-to-date internal files
2007-01-09 05:52:11 +00:00
stronk7
c90edfe168
Environment checks support mysqli. MDL-8113
...
Merged from MOODLE_17_STABLE
2007-01-08 19:54:44 +00:00
skodak
a392be33cf
new unicode environment check for 1.8 and 1.7 MDL-6332; merged from MOODLE_17_STABLE
2006-11-07 09:07:40 +00:00
skodak
6859360cd4
coverted /admin/ to proper /$CFG->admin/ in paths
2006-09-26 21:10:14 +00:00
skodak
6e4dc10f54
deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes
2006-09-02 13:14:57 +00:00
stronk7
95a39282bf
Now environmentlib supports RESTRICT sections (to be able to deny
...
any general test with more detail (the opposite to the BYPASS section)
(http://moodle.org/bugs/bug.php?op=show&bugid=5653 )
Merged from MOODLE_16_STABLE
2006-06-06 16:19:17 +00:00
stronk7
cfba5440c0
Normalize oracle driver name.
2006-05-29 17:42:01 +00:00
vyshane
edc13d625b
Fixed Bug #5080 - admin/environment.php use a new and different class for the
...
list table
2006-04-05 05:43:19 +00:00
stronk7
74506a51a3
Perform one aditional check to avoid one, in my opinion,
...
bad behaviour of PHP5.
2006-02-05 10:11:12 +00:00
stronk7
76bb0d20a3
We only allow to bypass "required" checks.
2006-02-04 18:57:22 +00:00
stronk7
b0e2a189ce
Now every test in the enviromental check can by bypassed by one
...
function execution. Currently it's used to check for MySQL 4.1.12
and if present, result will be ok, showing a notice about
possible problems with non latin languages.
2006-02-04 18:30:22 +00:00
stronk7
9e2d15e559
Now environment.xml file can define for all the tests (database,
...
php and php_extension) some feedback notes to be showed on error,
on check and on ok.
Tomorrow, I'll include de bypass mechanism that will allow us to
change results of any text based in function call results.
2006-02-03 00:40:49 +00:00
stronk7
d83f837385
Changed harcoded 'admin' to $CFG->admin
...
Merged from MOODLE_15_STABLE
2006-01-21 00:19:02 +00:00
stronk7
878d309c2b
Now results of check_moodle_environment() are
...
cached, saving us of some work when the script
is called more than once per request (install)
Merged from MOODLE_15_STABLE
2006-01-20 18:52:48 +00:00
stronk7
00d3a0fd95
Notices out!
2006-01-19 16:21:50 +00:00
stronk7
e3058eb3d4
Now postgresql version is properly checked.
2006-01-19 11:10:26 +00:00
stronk7
e909788dae
Now a final box is showed at the end of the report.
2006-01-18 23:06:20 +00:00
stronk7
049c0f4a8a
Now we are able to print a pretty table with results
...
of the whole test.
2006-01-18 19:14:54 +00:00
stronk7
f58b518fec
After thinking a bit about it, this file is, exactly,
...
one library, so add it here. The admin/environment.php
will be the interface to handle all this stuff. ;-)
2006-01-16 23:25:14 +00:00