125 Commits

Author SHA1 Message Date
peterbulmer
81e2ef2e26 MDL19901 fix typeo
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-07-22 01:09:55 +00:00
tjhunt
73511be761 MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:12:19 +00:00
skodak
19bae8cdee MDL-19580 preparation for requiring yui before print_header() 2009-06-21 18:45:07 +00:00
skodak
795a08adb7 MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements 2009-01-31 20:07:32 +00:00
skodak
e8656befac MDL-17942 more session refactoring 2009-01-18 18:00:44 +00:00
skodak
88fdd846f6 MDL-17942 fixed gc regressions, added gc after deleting users and similar cases 2009-01-18 12:20:55 +00:00
skodak
973d2660e6 MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
skodak
34a2faed92 MDL-16613 sesskey cleanup 2009-01-02 10:43:12 +00:00
skodak
a43733550c MDL-10586 fixed coding style; merged from MOODLE_19_STABLE 2008-07-10 08:36:44 +00:00
scyrma
e3b9ae8e01 MDL-10586: Fix header to show the right display order. (Initial patch by Mitsuhiro Yoshida) (merge from 1.8/1.9) 2008-07-10 03:37:04 +00:00
skodak
b9a6636029 MDL-14679 towards /admin conversion 2008-05-31 10:43:51 +00:00
skodak
624a690b3d MDL-14679 first part of datalib conversion 2008-05-25 09:39:02 +00:00
dongsheng
8e9d88f2f6 MDL-14129, creating error string 2008-04-10 03:44:09 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
poltawski
fc4b2decc0 MDL-13179 - avoid calling get_admin() when unecessary.
It uses a relatively complex query and its not needed except
for a minority of users so we may as well avoid it..
merged from MOODLE_19_STABLE
2008-01-26 17:00:03 +00:00
skodak
cd1edf9e8a MDL-12101 cleanup/fixing/refactoring of user bulk operation and admin user browsing 2007-11-13 08:43:20 +00:00
skodak
90afcf3280 MDL-10260 added new user_delete() hook into auth plugins; refactored user delete code = new function delete_user() in moodlelib.php + improved cleanup in core tables when deleting user 2007-08-21 20:52:36 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
skodak
84791c3283 MDL-9409 User confirmation by admin doesn't support new auth->confirm_user function; merged from MOODLE_18_STABLE 2007-04-17 21:30:02 +00:00
skodak
2dcb2b262c MDL-9227 Inconsistent HTTPS for profile edit page; merged from MOODLE_17_STABLE 2007-04-06 07:51:18 +00:00
nfreear
34d4b268c7 Fix for bug MDL-8708 "Debug, multiple warnings in admin/uploaduser.php and user.php" 2007-03-01 12:08:38 +00:00
skodak
16ce6c0dcc MDL-8590 auth cleanup - part 2 2007-02-20 17:09:20 +00:00
toyomoyo
60a9a6ea67 fix for some of the MDL-8425 issues 2007-02-07 07:34:53 +00:00
skodak
8e1f75acfb MDL-8096 loginhttps fixes for new advancededit form 2007-01-26 21:45:50 +00:00
skodak
e8e0bb2d7b MDL-8096 - advanced edit now mostly works, though still some parts missing; RIP changeme user :-) 2007-01-25 11:03:33 +00:00
skodak
ad6226fba2 MDL-8096 - user edit form splitting, refactoring, cleanup and fixing - work in progress ;-)
* new editadvanced form for creating of users and editing without restrictions
* elliminated fantom changeme user
* updated links and installation process
* see TODO comments in code
2007-01-25 00:04:02 +00:00
donal72
cdf2232920 Mnet: Rename field: access to accessctrl for Oracle interop: MDL-8237 2007-01-23 21:27:50 +00:00
donal72
7340c7435c Mnet: Remove 'Hide remote users' if there are no remote users: MDL-8068 2007-01-12 01:10:36 +00:00
martinlanghoff
d14383e0a0 mnet/multienrol: admin area changes, including test for curl extension 2007-01-04 03:19:49 +00:00
moodler
2f1a42481d This new function called load_all_capabilities() should be used whenever
you want to completely reload the capabilities for the current user.

Basically it will deal nicely with the default site-wide permissions
depending on the current user.

More background in the comments on MDL-6963

Merged from stable
2006-10-23 15:17:31 +00:00
skodak
82a4eee1a2 fixed rolesactive notice during installation; merged from MOODLE_17_STABLE 2006-10-19 22:18:22 +00:00
skodak
2b82319d94 Delete user fails if apostrophe in email address MDL-4762 ; found and solution provided by Inaki Arenaza - merged from MOODLE_17_STABLE 2006-10-18 21:46:14 +00:00
skodak
856f7cb7e6 do not display guest when browsing users 2006-09-24 11:58:28 +00:00
skodak
38d2d43b01 roles fixed in user browsing page; admin section now accepts array of capabilities for external and settings pages 2006-09-24 11:55:11 +00:00
moodler
67171ec800 Fixed typo in capability name 2006-09-21 16:46:10 +00:00
toyomoyo
d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +00:00
moodler
bee4702d10 Various tidying up of the admin pages.
Reports now don't need mod.php but they should include the admin headers/footers.

There are undoubtedly bugs in this but this framework should be more sane
2006-09-03 14:45:57 +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
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
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
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
skodak
eac8ac87c7 fixed notice and corrected the use of new s() and p() 2006-04-26 21:25:50 +00:00
skodak
df1931578a password handling refactoring and added conversion of passwords to unicode 2006-03-11 11:26:36 +00:00
skodak
7710da22bd parameter cleaup - round 7; corrected search in user.php, semicolon in case fixed in utfdbmigrate (I wonder if it caused any problems) 2006-03-07 16:42:30 +00:00
gustav_delius
9e20154488 XHTML compliance, merged from STABLE 2005-06-24 13:02:32 +00:00
thepurpleblob
c0257c9774 Replaced optional_variable()s with optional_param()s for greater security. 2005-06-10 19:40:06 +00:00