346 Commits

Author SHA1 Message Date
toyomoyo
a6eb09d977 merged added code to force mysql db to change default encoding during fresh installation 2006-10-18 07:26:04 +00:00
moodler
47bc16f607 It is now no longer possible to upgrade to 1.8 or later from non-Unicode
Moodle.   Admins get a message explaining they need to upgrade to 1.7.x first.

MDL-6857
2006-10-16 07:32:05 +00:00
stronk7
1037988787 Now admin/index.php checks for proper prefixes (MDL-6230)
Merged from MOODLE_17_STABLE
2006-10-13 23:49:48 +00:00
stronk7
2d31c39397 Not necessary to set unicodedb for each admin/index.php invocation
because setup.php saves it if needed.
2006-10-09 16:33:31 +00:00
moodler
95056a03f9 Fix some doc links 2006-10-06 06:26:06 +00:00
moodler
ecaf56e5c9 Trivial spelling fix up 2006-10-01 05:49:41 +00:00
skodak
250934b8e0 fixed logic of moodle_install_roles() - it now calls update_capabilities() after creation of default roles, but before first role_assign(). The problem was that role_assign calls code from forum lib which already uses capabilities, this might cause even bigger problems later. 2006-09-27 22:59:37 +00:00
skodak
6859360cd4 coverted /admin/ to proper /$CFG->admin/ in paths 2006-09-26 21:10:14 +00:00
moodler
c7731ab5e2 Fixed notice() so that you can pass a course if you want 2006-09-24 06:21:15 +00:00
skodak
7eb0b60a1f debugging and error reporting level fixes and improvements MDL-6671 2006-09-23 09:38:39 +00:00
mjollnir_
b4713311d4 set config statsupgraded during install so we don't try upgrade later 2006-09-22 11:09:15 +00:00
mjollnir_
bd2b8ddecd moved call to upgrade stats until after all the roles stuff has been set up 2006-09-22 10:00:34 +00:00
moodler
b988fe5f94 DOn't terminate upgrade if stats didn't work 2006-09-22 06:10:42 +00:00
mjollnir_
e5d83d6fc1 stats rework: 1. upgrade schema and move data to new schema. (credit: Nigel McNie <nigel@catalyst.net.nz>). 2. Stats processing uses new schema. THIS NEEDS TESTING ON MYSQL. Still to do: schema files (install.xml,*.sql still to be committed), reports to use new schema. 2006-09-22 02:54:21 +00:00
skodak
db51ddc52e old admin configuration cleanup - MDL-6595 MDL-6449 MDL-6447 2006-09-21 08:05:50 +00:00
stronk7
db8bd7a66f Now XMLDB installation is enabled! Old mysql.php and postgres7.php can
continue being used as previously until we finish all the required
DDL functions.

Also, this implies that *.sql files aren't needed anymore. Now all we have to do
is to maintain the install.xml files from the editor.
2006-09-20 22:36:21 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
toyomoyo
d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +00:00
moodler
e4d81c60a9 Tidying up a bit 2006-09-12 09:30:05 +00:00
moodler
b1ce7811ad Fixed MDL-6479 by adding two block columns on admin pages.
Also we now hide the blocks and headers completely until $SITE is properly
defined.
2006-09-12 09:22:27 +00:00
skodak
8dcc447689 fixed funny continue button during installation 2006-09-11 21:20:47 +00:00
skodak
55f3a4db69 removed useless "changes saved" messages from redirects in administration and user management 2006-09-11 18:56:41 +00:00
skodak
451d82c840 move newly created admin_tree block to the left column during upgrade from 1.6 2006-09-10 22:11:46 +00:00
skodak
aa893d6b76 fixed several bogus errors and warnings during installation and upgrades, forced logout when upgrading from 1.6 2006-09-10 21:10:48 +00:00
skodak
e778a40617 minor include cleanup 2006-09-05 08:27:14 +00:00
skodak
64c4f9c443 minor fix 2006-09-03 18:53:07 +00:00
skodak
08c15b68d7 removed useless includes 2006-09-03 18:49:13 +00:00
skodak
b1631fef28 add admin_tree to front page during install and upgrade 2006-09-03 18:37:41 +00:00
skodak
50999a0b94 new admin block fixes and reorganisation - I guess we need something more traditional for now 2006-09-03 13:10:56 +00:00
skodak
02cc05a708 fixes for new admin blocks 2006-09-02 23:55:56 +00:00
stronk7
3430fb2993 Only launch the old upgrade if it exists. It doesn'texist for new DB
flavours and modules.
2006-09-02 23:40:13 +00:00
skodak
4672d9557d added prune() to admin tree class to prevent errors in applying of backup defaults 2006-09-02 19:30:54 +00:00
skodak
e0f6e99528 fixed frontpagesettings, install is not useing admin/site.php anymore 2006-09-02 15:29:52 +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
skodak
99c8a1004d fixed defaults for backups during installation 2006-09-02 11:10:10 +00:00
stronk7
681ba47a59 Only mysql and postgresql show the UTF-8 migration message. 2006-09-01 18:41:30 +00:00
toyomoyo
20aeb4b8e3 utf8 migrate support for site with roles active, resolved isstudent legacy problem, implemented $CFG->notloggedinroleid 2006-09-01 09:25:34 +00:00
skodak
dd04ab499e fixed default values in apply_default_exception_settings(); several values in lib/default.php are wrong, but I guess we do not need to fix them because it as replaced by the new administration framowork ;-) 2006-08-31 21:50:22 +00:00
skodak
3a25fa7286 'prefix' can only be defined in config.php, it can not be changed or stored in database ;-) 2006-08-31 21:15:12 +00:00
stronk7
015e946d98 Small rework of the main install/upgrade script. Everything should
continue working as before.
2006-08-30 23:13:43 +00:00
skodak
57e35f328a basic detection of sites with misconfigured dataroot SC#295 2006-08-28 20:11:24 +00:00
skodak
635c0e0b4a turning on the upgrade in progress check again, added skip warning link 2006-08-28 18:07:15 +00:00
vinkmar
f1700fab26 Install/upgrade procedures changed to use $ADMIN instead of defaults.php and config.php.
See http://moodle.org/mod/forum/discuss.php?d=52636 for details
2006-08-28 06:02:00 +00:00
stronk7
f2e0049dec Just remove one condition previously checked. 2006-08-27 08:58:09 +00:00
stronk7
c779eb1a15 Added support for the new upgrade system for main tables. 2006-08-24 22:27:11 +00:00
vinkmar
6fcbab99ef fixed tabs, fixed potential notices for undefined variables, added structure that will be used for detecting what variables to flag during installs & upgrades, removed all $_GET usage, switched 'admin' to $CFG->admin (for directory paths), and fixed blank line at end of index.php 2006-08-21 04:06:58 +00:00
stronk7
420f683619 Core tables XMLDB installation is now working. Disabled by default
until fully working.

$CFG->xmldb_enabled = true; will enable it for test/dev against any DB
2006-08-20 11:20:40 +00:00
moodler
6e0993ee48 Just tidying up things a bit as I look it over 2006-08-19 02:46:46 +00:00
vinkmar
90a73bb361 Admin page cleanup (Google soc 2006) 2006-08-18 07:25:17 +00:00
skodak
dedb2304cd upgrade logging cleanup, fixes - more improvements ahead 2006-08-17 22:37:34 +00:00