Commit Graph

257 Commits

Author SHA1 Message Date
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
stronk7 4d00e5e4ec Now admin includes all the required ddllib stuff 2006-08-17 16:59:39 +00:00
skodak 4c460d9821 fixed admin page layout 2006-08-14 08:52:15 +00:00
moodler f2e21e6c03 Fix error string 2006-08-14 06:03:30 +00:00
moodler 0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler 624f2fea76 Removed some old calls to isadmin 2006-08-13 13:12:51 +00:00
vyshane 0c30fdc924 Modified to support fresh installation of new Roles System. 2006-08-11 02:44:42 +00:00
moodler 5ec8a4f009 Removed tabs 2006-08-09 13:18:33 +00:00
moodler f21d80947c Fix up the admin listing a bit 2006-08-09 05:53:36 +00:00
toyomoyo e9871557be some UI change for roles 2006-08-08 08:31:21 +00:00
moodler bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
stronk7 2bcd169775 Hack to link from the admin interface to the XMLDB editor. 2006-08-07 19:47:03 +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
skodak 249ab74573 Bug #6075 - file admin/index.php is ISO encoded - headers broken by ob_end_flush(), fixed version check; merged from MOODLE_16_STABLE 2006-07-20 06:39:48 +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
skodak aedbbbcf9c fix for mysqladmin links; merged from MOODLE_16_STABLE 2006-07-04 09:41:47 +00:00
skodak 629c25da67 cleanup in admin/index.php; preparation for health center, loginas gui, password salts; merged from MOODLE_16_STABLE 2006-06-30 13:06:31 +00:00
gustav_delius b59126298d Just a small comment to avoid problems in the future 2006-04-28 09:34:33 +00:00
moodler d87a9d7338 Fixed the upgrade_plugins function so that it automatically
handles the .sql file for first installation (just like activities)
2006-04-16 16:50:55 +00:00
moodler 9bb4d21fa5 No agreement to license sends you to docs.moodle.org 2006-04-16 16:09:12 +00:00
moodler 37fa421efc FIx license display 2006-04-14 06:38:52 +00:00
toyomoyo 19407a4274 agreelicence was not set 2006-04-10 06:35:10 +00:00
moodler 91555ae462 FIxed some box sizes, and added hooks for Matt Oquists portfolio stuff 2006-04-06 01:38:52 +00:00
moodler c4226e0dac Some fixes for links on admin page, and release notes now a link to Moodle Docs 2006-04-05 02:46:05 +00:00
moodler c452097e15 Slightly fixing some bodgy boxes 2006-03-29 14:52:14 +00:00
stronk7 039d4d5c2b At installation time we *always* are going to show release notes
from en_utf8. It's the only lang pack that includes such info
with the upgrade, independently of everything else (unicodedb...).
2006-03-27 12:46:27 +00:00
stronk7 de12ca6a42 Now $CFG->unicodedb is sent to DB everytime we arrive to the
admin/index.php script (installation, upgrade...). This will
stop the encoding introspection code present in setup.php
2006-03-27 12:32:51 +00:00
mjollnir_ effbd108a3 Fixing call to upgrade_plugins since questiontypes moved to question/type 2006-03-25 07:55:56 +00:00
gustav_delius 5bf3aee8bb Do the module upgrades before the qtype upgrades 2006-03-23 13:05:40 +00:00
gustav_delius ead293420d Questiontypes are doing their own database upgrade now.
I modified the enrollment plugin mechanism to work for any type of plugin
2006-03-22 10:44:54 +00:00
moodler 5889c1bb64 Small fix for admin menu layout and also print_table 2006-03-20 15:33:18 +00:00
moodler 8e62501630 Slight, temporary fix for one thing caused by new print_simple_box (see bug 4943) 2006-03-20 15:27:35 +00:00
moodler 6d74edf770 Link to logs now available through reports (SE) 2006-03-15 08:08:20 +00:00
ikawhero 7c4b2fb3c2 Removed redundant if statement 2006-03-15 06:38:28 +00:00
moodler 6ac7e7c51a Tidy cron warning 2006-03-12 08:08:51 +00:00
moodler 0301965a28 Fix the cron help to point to the new help page in lang packs 2006-03-12 07:51:53 +00:00
moodler c4d044b5e3 Updated copyright notice 2006-03-10 08:28:59 +00:00
ikawhero eaad0cb614 Adding new pluggable reports 2006-03-10 07:46:24 +00:00
patrickslee cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
martinlanghoff f9667a5aea [multienrol]Initial commit for multi enrolment plugin feature 2006-03-09 02:48:29 +00:00