35 Commits

Author SHA1 Message Date
skodak
0cb93a7e45 MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-) 2009-01-29 19:58:47 +00:00
skodak
3e46c66a5d MDL-17427 - removed old file based logging from ugprade - going to add new upgrade logging later 2009-01-11 10:18:53 +00:00
skodak
ac110efc6f MDL-17845 removed install/upgrade autopilot - not needed any more ;-)
there are now only two upgrade pages, one for core, the second for all plugins
2009-01-10 22:13:12 +00:00
skodak
ab2eb65c88 MDL-17846 moved blocks code from /blocks/db/* to core 2009-01-10 21:06:53 +00:00
skodak
27bd819be5 MDL-17848 oops, yet more cron compatibility fixes for console_write() ;-) I have added a new console_write_error() too 2009-01-10 20:44:45 +00:00
skodak
f1953d38f3 MDL-17847 moved backup install.xml and upgrade.php to core 2009-01-10 20:03:08 +00:00
skodak
d1aa1e4855 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
skodak
627d326ade MDL-17274 security: register globals not supported- now we are preventing upgrades and installs too 2008-11-19 09:46:09 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
skodak
2f17b76d4b MDL-17057 dml: fixed regression changed by removed dbpersist parameter - sorrrry 2008-10-29 09:24:45 +00:00
skodak
beaa43db85 MDL-17036 dml: dbpersist moved into dboptions 2008-10-27 22:21:34 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
skodak
a49709851e MDL-15410 Require PHP 5.2.4 instead of 5.2.0 in HEAD because PHP 5.2.0 has many known problems :-( 2008-08-01 09:44:37 +00:00
skodak
16a5642c69 MDL-14679 var_export now used instead of addsingleslashes in installer; refactored the database setting initialisation 2008-06-22 22:53:40 +00:00
skodak
eee5d9bb85 MDL-14956 DDL exceptions 2008-06-22 16:51:55 +00:00
skodak
0cbe81112a MDL-14580 rewritten course sorting algorithms 2008-06-16 14:25:53 +00:00
skodak
16dcdc432c MDL-15249 improving cli installer 2008-06-15 12:41:34 +00:00
skodak
9d068cd64a MDL-15249 improving cli installer 2008-06-15 12:23:53 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
skodak
e4c033a9dd MDL-15194 adodb separation, dml database creation support 2008-06-09 20:22:11 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
f67cab32ec MDL-15094 some forgotten conversions 2008-06-05 18:01:22 +00:00
skodak
1829e015e6 MDL-14679 converted some insert_records() 2008-06-02 21:25:40 +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
skodak
a5ca5003f2 MDL-14605 removing roles upgrade links, only installation needed in HEAD 2008-05-02 09:47:20 +00:00
skodak
5e819fb75b MDL-14649 fixed cli upgrade too 2008-05-02 09:44:48 +00:00
skodak
0b51c247f0 MDL-14605 removing stats upgrade stuff 2008-05-02 09:42:43 +00:00
skodak
afb40c03ae MDL-14645 PHP 5.2.0 now required for CLI upgrade 2008-05-01 21:43:55 +00:00
skodak
b4ac62457e MDL-14645 PHP 5.2.0 now required for new installation - installer lang packs will be updated automatically later by cron job on cvs.moodle.org 2008-05-01 21:40:34 +00:00
skodak
97e37806ab MDL-14599 removed support for old main $CFG->dbtype.php upgrade support 2008-05-01 19:57:57 +00:00
dongsheng
9c78aeca2b MDL-14129, fix print_error() calls 2008-04-11 08:13:08 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
mjollnir_
e3cd54731c MDL-12894 Fixing language string mess (language packs containing \n) & moved them to the controllers,
also fixed a few typos and a || instead of && bug.  This all relates to the CLI installer.
2008-01-09 23:15:44 +00:00
mjollnir_
9816d8afc0 MDL-12884: cli installer should create the context for the Miscellaneous course category 2008-01-08 23:23:19 +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