Commit Graph

480 Commits

Author SHA1 Message Date
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
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