145 Commits

Author SHA1 Message Date
skodak
91866a2631 some minor user edit fixes MDL-8096 2007-01-16 09:56:15 +00:00
skodak
beac4717de MDL-8166 rename in/out methods in formslib - HQ consensus 2007-01-12 18:52:09 +00:00
ikawhero
1a4f426bc7 More changes from disabledIf() to freeze().
Moved set_defaults() into edit.php
2007-01-12 05:15:26 +00:00
moodler
ff4220f524 LIkely fix for MDL-8067 2007-01-09 04:59:56 +00:00
skodak
e8a29d251c MDL-8096 New user edit form does not work properly - fixed timezone handling + other minor fixes 2007-01-06 21:29:16 +00:00
skodak
18ec5433bb fixed authplugin warning 2007-01-06 20:26:00 +00:00
skodak
9495d05781 fixed my previous changes broken by new user form merging 2007-01-05 08:44:05 +00:00
jamiesensei
d530721877 settting first param of moodleform constructor to null tells moodleform to autodetect where to submit to 2007-01-05 07:05:54 +00:00
ikawhero
68e9d36802 Fields set as locked are now disabled using the forms class rather than
javascript.
2007-01-05 06:57:30 +00:00
ikawhero
82b99598c6 Fixing typo 2007-01-05 04:37:11 +00:00
ikawhero
2d836c0b5b Using the new forms class.
Customisable user profile fields.
2007-01-05 02:18:53 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
martinlanghoff
56f5274232 mnet: user/* now handles remote users and multi-auth 2007-01-04 03:01:30 +00:00
martinlanghoff
b776b27738 db upgrades are now XHTML-correct -- at least when they succeed! With this patch, 1.8 installation completes correctly 2007-01-04 01:07:35 +00:00
skodak
9c1fbd3b81 MDL-6613 Apostrophe in locked field prevents user updating profile - patch by Iñaki Arenaza 2006-12-10 17:40:24 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
moodler
7ca163ba21 Merged AJAX GUI fixes from stable 2006-10-30 08:21:51 +00:00
skodak
33a6f9a814 fixed breadcrums link; merged from MOODLE_17_STABLE 2006-10-26 10:34:03 +00:00
skodak
57f1b91497 fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135 2006-10-07 20:47:54 +00:00
skodak
55f3a4db69 removed useless "changes saved" messages from redirects in administration and user management 2006-09-11 18:56:41 +00:00
toyomoyo
d02eededf7 adding capabilities 2006-09-06 08:55:23 +00:00
skodak
e0f6e99528 fixed frontpagesettings, install is not useing admin/site.php anymore 2006-09-02 15:29:52 +00:00
danmarsden
6ba7f08774 Fix for MDL-4190 - when admin is editing profile, admin loses all subscriptions to forums. 2006-08-27 20:33:54 +00:00
toyomoyo
41d7209c7f some (mainly admin realated) capabilities 2006-08-25 08:27:27 +00:00
toyomoyo
b3e900cee6 some more UI change 2006-08-16 09:11:43 +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
bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
moodler
ee4a52c59e Removed tabs 2006-08-09 13:53:12 +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
343296bf6a fixed warnings on save profile; merged from MOODLE_16_STABLE 2006-05-24 21:05:23 +00:00
skodak
d1c8eb14d1 temporary workaround for bug #5534, html editor now disabled for IE when loginhttps on and wwwroot starts with http://; merged from MOODLE_16_STABLE 2006-05-21 20:21:35 +00:00
skodak
c0e2f1f7dd admins can now edit user images even when $CFG->disableuserimages = true; see bug #5494 and SC#253; merged from MOODLE_16_STABLE 2006-05-17 18:59:43 +00:00
moodler
fbab16a7e2 Fixed some error strings bug 2618 2006-04-20 14:04:51 +00:00
moodler
0236ec73be Don't show tabs when creating admin user 2006-04-16 16:49:28 +00:00
vyshane
6305db8858 Bug #4887 2006-03-21 07:03:37 +00:00
stronk7
c47a030a0b Email encoding only can be specified if $CFG->unicodedb=true 2006-03-19 20:42:34 +00:00
stronk7
39aed89b8b Now the user emailcharset setting can fallback to the site emailcharset setting. 2006-03-19 02:46:56 +00:00
skodak
df1931578a password handling refactoring and added conversion of passwords to unicode 2006-03-11 11:26:36 +00:00
skodak
63d86fad67 parameter cleaup - round 5; timezone.php fixed 2006-03-07 09:01:49 +00:00
skodak
5c25b6af93 prevent unwanted password change here SC#225; merged from MOODLE_15_STABLE 2006-02-28 20:27:19 +00:00
vyshane
77230a8b5a Fix for Bug #4850.
Wrapped offending block in an isset() check to get rid of php notices in debug mode.
2006-02-28 07:01:23 +00:00
stronk7
2b2b378f7f Now users, if allowed, can select their prefered email encoding.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 17:11:31 +00:00
patrickslee
60f515a257 Added HTMLArea editor to the Description box in the Edit Profile area 2005-11-18 01:45:20 +00:00
martinlanghoff
068cdffd11 user/edit: Better error handling when loading auth libs.
Check with empty() to avoid casting the string to int, and provide
useful info in the debug log.

Merged from MOODLE_15_STABLE
2005-11-07 00:55:10 +00:00
thepurpleblob
b1f65701ed merged from STABLE. 2005-09-13 13:50:52 +00:00
martinlanghoff
8b9d74a633 Merged from MOODLE_15_STABLE - Added the missing $userold, now detecting updates (and pushing them out to LDAP) should work. 2005-08-17 23:54:58 +00:00
martinlanghoff
a40803130b Per-auth-backend field locks support. Merged from MOODLE_15_STABLE
* Extended set_config()
 * Implemented get_config() which takes over $CFG loading in setup.php
 * admin/auth.php has special handling if post vars starting in pluginconfig_
 * admin/auth.php print_auth_lock_options() prints a form fragment -- being called from most plugins now
 *  user/edit.php follows the new convention when locking down fields, both javascript UI and on POST.
 * admin/auth: More solid checking for auth GET/POST var.
 * admin/auth: print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * admin/auth: user mapping options have moved to config_plugins table
 * auth/ldap module has migrated to using new field mapping vars -- simplified config.html a lot
 * auth settings migration to config_plugins
2005-06-02 05:39:41 +00:00
moodler
b384fbda90 Merged session fixes from stable 2005-05-29 08:00:24 +00:00
martinlanghoff
635de3a31e Locked user fields: Override posted data with DB data for locked values -- avoids needless comparisons, and fixes bug #2430 2005-05-04 06:07:53 +00:00