134 Commits

Author SHA1 Message Date
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
defacer
b030458bee Make very sure that the submitted edit form actually tries to submit a
locked field before deciding to complain.

This may be fixing a bug reported at
http://moodle.org/mod/forum/discuss.php?d=16511, awaiting feedback.
2005-05-01 17:17:06 +00:00
mchurch
fe0a76782f If a user sets their 'Track read/unread posts' personal profile setting to
'No', delete all of their read records.
2005-04-25 00:56:19 +00:00
moodler
a8021f5641 Slight timezone cleanups 2005-04-11 08:01:58 +00:00
moodler
19626cf0a9 Handle forcetimezone correctly (99) 2005-04-10 18:24:06 +00:00
defacer
02a5309439 If $CFG->forcetimezone is not empty, don't allow users to change the timezone from
their profiles, and instead show a disabled menu with the forced timezone selected.

Also, fixed a get_string (reading from wrong lang file).
2005-04-09 09:36:47 +00:00
defacer
02c2881b40 The user Timezone setting now allows both trivial and non-trivial timezones.
I fervently hope we haven't left any hidden "unupdated" code that breaks with this.
2005-04-08 20:28:19 +00:00
moodler
aed2aee4ea Trim all user data 2005-04-08 02:24:09 +00:00
moodler
0e72da1a04 optional_param was being called wrong 2005-04-04 03:42:01 +00:00
defacer
0ed442f85c DST presets -> timezones 2005-03-23 01:54:45 +00:00
moodler
f9a0ea699c New user tabs from Shane and myself ... these bring together the
profile interface a little better.

There is also a new feature for showing all posts from a user, as well
as all discussions from a user.
2005-03-20 12:02:14 +00:00
moodler
04981917cd Other admins cannot edit the primary admin account 2005-03-18 12:11:35 +00:00