Commit graph

1635 commits

Author SHA1 Message Date
vinkmar
085dfc0c20 solving the issue with an undefined sesskey (happens when there is no user logged in) 2006-08-19 02:26:01 +00:00
vinkmar
63aafc9e56 Fixing errors in admin page cleanup; working towards compatibility with PHP4 (use of interfaces, private/protected/public, instanceof all removed). 2006-08-19 01:37:38 +00:00
vinkmar
3d8ef99d9e Blocks fixed in admin pagelib, and (hopefully) many notices pointed out in the general forum board no longer show up. 2006-08-18 22:00:37 +00:00
vinkmar
cdb46b63d2 more bugs! incompatibility with php 5.1.2 (presumably earlier versions as well) fixed 2006-08-18 08:40:58 +00:00
vinkmar
dca7a9cfad admin page cleanup (bug fixes :) ) 2006-08-18 08:16:32 +00:00
toyomoyo
68c5252623 adding functions and interface for access control - role assignment and role overrides 2006-08-18 08:01:16 +00:00
vinkmar
4cd174bfce Reverting changes to file from admin page cleanup... whoops! Accidentally broke the install. 2006-08-18 07:52:56 +00:00
vinkmar
90a73bb361 Admin page cleanup (Google soc 2006) 2006-08-18 07:25:17 +00:00
vinkmar
a7c72afc04 Admin page cleanup (google soc 2006) 2006-08-18 07:23:02 +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
toyomoyo
b3e900cee6 some more UI change 2006-08-16 09:11:43 +00:00
toyomoyo
0a8a95c91e some more UI stuff 2006-08-15 08:29:29 +00:00
skodak
4c460d9821 fixed admin page layout 2006-08-14 08:52:15 +00:00
toyomoyo
7e2d7c92ad some UI changes 2006-08-14 08:46:44 +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
moodler
7fad699525 Tidying up some spelling 2006-08-13 09:29:33 +00:00
moodler
8737be587d More language-related tidyups and a new get_local_override() function 2006-08-13 09:25:45 +00:00
moodler
ceb83c70ba Changes to string format for capabilities 2006-08-13 09:11:45 +00:00
moodler
bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
vyshane
df9c66776d Admin role assignment: changed from using get_string (too brittle) to
get_roles_with_capability (more robust).
2006-08-11 03:58:52 +00:00
vyshane
abd896a114 Commented out code that adds the new admin user to user_admins and
user_teachers tables from user.php.

Fixed notices in roles/assign.php.
2006-08-11 03:24:37 +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
30725d5a3b Tabs and some random formatting fixes 2006-08-09 13:11:53 +00:00
moodler
f21d80947c Fix up the admin listing a bit 2006-08-09 05:53:36 +00:00
moodler
927bf46f3c Tidy-ups 2006-08-09 05:37:53 +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
be933850a7 Bug #6176 - locale setting on config variables page not functioning correctly; merged from MOODLE_16_STABLE 2006-07-30 10:39:21 +00:00
skodak
e9515eb3ec Bug #6181 - icelandic doesn't migrate; merged from MOODLE_16_STABLE 2006-07-29 09:44:33 +00:00
skodak
592c30370c Bug #6184 - unexpected T_OBJECT_OPERATOR on Admin/blocks; PHP 4.x compatibility 2006-07-29 09:08:56 +00:00
skodak
0e29ee3af7 Fixed Call to undefined function: print_progress() in /usr/share/moodle/admin/upgradeforumread.php; merged from MOODLE_16_STABLE 2006-07-27 11:49:52 +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
skodak
5e60122254 Bug #6141 - Cron output is not plain text - <pre> and missing encoding, minor lang issues; merged from MOODLE_16_STABLE 2006-07-20 06:36:33 +00:00
skodak
6f24e48e1f Improved category and course list display on front page- see bug Bug #5965 - Frontpage Category List also showing courses; new Combo List(categories + courses), fixed categories list and separate settings for not logged in / logged in users; merged from MOODLE_16_STABLE 2006-07-19 12:10:07 +00:00
skodak
ad0f9c828e Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE 2006-07-19 08:13:25 +00:00
skodak
f90238b303 Bug #2149 - admin/creators.html javascript error; merged from MOODLE_16_STABLE 2006-07-18 07:17:13 +00:00
martinlanghoff
1590773b1c auth: extend API to support auth_validate_form()
Now Auth plugins can register auth_validate_form to get a chance
to validate config form input. Needed on MOODLE_16_STABLE to fix
a bug with auth/db.

The auth API must follow suit with the enrol API, where we can safely
do method_exists().
2006-07-18 01:36:06 +00:00
skodak
e25f766dee todo: add detection of incorrect chars in wwwroot; merged from MOODLE_16_STABLE 2006-07-14 20:57:08 +00:00
sam_marshall
44c55d4662 Added hooks so that blocks can create functions that are run when they are installed and uninstalled. The base implementation does nothing. 2006-07-14 11:17:46 +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
toyomoyo
2256c10d36 merged changing of feedback for the function that handles user table 2006-07-11 03:36:13 +00:00
skodak
8a91d7fcf3 changed memory limit test in healthcenter; merged from MOODLE_16_STABLE 2006-07-05 08:38:34 +00:00
skodak
9bbb40d631 healthcenter fixes - new extra whitespace detection, fixed automatic slasharguments detection; merged from MOODLE_16_STABLE 2006-07-05 07:44:20 +00:00
skodak
aedbbbcf9c fix for mysqladmin links; merged from MOODLE_16_STABLE 2006-07-04 09:41:47 +00:00