14 Commits

Author SHA1 Message Date
mjollnir_
d46a26c309 Merged from MOODLE_19_STABLE:
MDL-13000 Adding support for developers to add their own capabilities to local/db/access.php
This relies on a local/ language pack as well for the capability names.
Notes on implementation are in lib/locallib.php
2008-01-15 04:20:12 +00:00
mjollnir_
6a91692518 Merged from MOODLE_19_STABLE: MDL-13001 - adding support for language files in local/ directory. 2008-01-15 01:40:02 +00:00
mjollnir_
60581bb517 Merged from MOODLE_19_STABLE:
More on MDL-11561 - fixed up path to local/ settings file to be more consistent,
added documentation in lib/locallib.php on how to create new local admin tree item
2008-01-15 01:10:34 +00:00
mjollnir_
2f13f94ccc New feature: Command line installer. Credit: Dilan Anurudda.
This was a Google Summer of Code 2007 Project.

This introduces two new files, admin/cliupgrader.php and lib/installlib.php.

It also introduces a new PEAR library, Console_GetOpt.  I have recieved permission from the upstream author to include this in GPL Moodle (essentially dual license it) -  notes in lib/pear.

Most stuff that outputs html during install gets suppressed by the use of a constant.

Run the script like  php admin/cliupgrade.php --help for info.

Note that this all uses strings from install/ rather than lang, so I have updated stringnames.txt accordingly and they'll all be broken until the cronjob that generates them runs.
2008-01-07 01:54:28 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
skodak
371a32e308 (MDL-8250) install/upgrade autopilot 2007-01-22 20:15:12 +00:00
dwoolhead
f27b2c4e6d Prevent unnecessary scroll to warning message during local version installation/upgrade due to missing notification type on success 2007-01-17 14:38:56 +00:00
skodak
acdd790f74 print_footer('none') during install and upgrade to hide home link and xhtml strict fixes 2007-01-15 19:16:29 +00:00
martinlanghoff
7ca774ad51 lib/locallib: changed local db upgrades now xmldb friendly (like lib/db)
Author: Jonathan Harker <jonathan@catalyst.net.nz>
2006-10-26 04:18:23 +00:00
skodak
dedb2304cd upgrade logging cleanup, fixes - more improvements ahead 2006-08-17 22:37:34 +00:00
skodak
583fad994c Bug #5352 - upgrade might be interrupted by user - upgrades are now logged into moddata/upgradelogs/, user abor is ignored and concurrent running of upgrades is prevented from one browser 2006-08-01 07:46:19 +00:00
tjhunt
a36f058e53 Bug 6101 - Automatically scroll to any errors when upgrading the database. JavaScript thanks to Andrew Walker. PHP changes are my fault. 2006-07-13 09:48:56 +00:00
tjhunt
c0b5b31a48 Addition to locallib.php to notify local code when a course is deleted. 2006-03-06 12:19:58 +00:00
mjollnir_
43e664cca7 Added locallib - hook to provide easier means for local customisations. Currently contains mechanism for having local db upgrades without munging the main CFG->dbtype.php scripts. 2005-08-15 22:31:22 +00:00