294 Commits

Author SHA1 Message Date
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
skodak
045e9e2484 parameter cleaup - round 2 2006-03-06 13:22:37 +00:00
moodler
799ce77d79 mechanism for unicode db migration is in. Please only use for testing at this stage. This is not for production site! (yet) 2006-01-31 08:21:04 +00:00
stronk7
2455eace43 Page finished. Now it's possible to check current and future
moodle versions... PostgreSQL people, check it against your
servers, please.
In 1-2 days I'll merge this changes to 15_STABLE, to allow
moodlers to pre-check their environments...
2006-01-18 23:05:07 +00:00
defacer
e58e1a9474 XHTML fixes for the administration page, plus a couple assorted styles. 2006-01-13 15:30:24 +00:00
moodler
3699264c68 Something old needing checking in 2006-01-05 06:28:57 +00:00
moodler
6aaa17c7cc Merging language-pack-related updates from Eloy's MOODLE_16_UTF8 branch.
Do not use that branch any more!!
2006-01-04 08:23:42 +00:00
mjollnir_
1217708363 My moodle sticky block config now generic, can be used for any pagetype.
Currently implemented: course-view (and my moodle, of course)
2005-10-16 22:34:25 +00:00
mjollnir_
b32145b87c Missing strings for new stats report, new link in admin/index.php for admin reports 2005-10-16 22:13:35 +00:00
mjollnir_
0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +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
moodler
10942acb38 Howard, please, please check your code and stop making me do it ... 2005-07-07 14:00:58 +00:00
gustav_delius
917dfbb66a Fixed typo that prevented upgrade 2005-06-27 15:37:27 +00:00
gustav_delius
9e20154488 XHTML compliance, merged from STABLE 2005-06-24 13:02:32 +00:00