Commit Graph

163 Commits

Author SHA1 Message Date
moodler 17a0ab80ed MDL-13811 Merged mailstop fix from 1.9 2008-07-11 07:14:44 +00:00
skodak 7894f66662 MDL-13811 reworked unsetting of preferences and minor tweaks; backported from HEAD 2008-07-05 22:47:32 +00:00
skodak 6e695a1f4e MDL-15516 prvent access to deleted profiles and other user areas; backported from HEAD 2008-07-05 14:57:22 +00:00
nicolasconnault f978083108 MDL-13811 Completed the required changes. Also added a "Cancel email change" link. 2008-07-05 14:41:55 +00:00
skodak 4dc48514e5 MDL-13052 edit/user.php typo; merged from MOODLE_19_STABLE 2008-01-18 17:13:57 +00:00
skodak 9d0466e2a6 MDL-10074 User profile edition uses wrong variable for the (fatal) error message.; patch by Iñaki Arenaza; backported from HEAD 2007-06-10 19:08:27 +00:00
skodak a045329951 (MDL-8973) Fix OOP model of new multi auth plugins + some other auth related fixes, fixed change_password, ldap updates, etc.; TODO: fix docs
backported from HEAD
2007-03-22 12:40:16 +00:00
skodak 94e16c079c (MDL-8820) moodle/user:editprofile now works in user contexts - reverted previous fix, adding new one 2007-03-14 23:35:08 +00:00
nicolasconnault 7c08ef3653 Fixed MDL-8582
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not.

Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().
2007-02-28 05:36:13 +00:00
skodak bf4846358f fixed problem on user edit page when user not fully setup, reverted guest handling; backported from HEAD 2007-02-15 22:04:51 +00:00
skodak e3c1819c36 fixed problem on user edit page when user not fully setup; backported from HEAD 2007-02-15 20:49:06 +00:00
skodak dcf6d93c9c MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues

MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images

fixed setting of new $USER values in user edit forms
2007-01-27 19:56:08 +00:00
skodak 3cb03e47ee MDL-8096 user edit form - reintroduced httpsrequirequired() 2007-01-26 21:37:56 +00:00
skodak 14a6b7e197 MDL-8096 user edit form - some more refactoring and fixes 2007-01-26 18:42:47 +00:00
skodak 4332512e07 MDL-8096 - edit form session fix 2007-01-25 18:18:33 +00:00
skodak d873478322 MDL-8096 - rewritten standard edit form and other fixes; new custom profile fields still missing 2007-01-25 18:02:48 +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
stronk7 c4b654bc3c WHERE '1' is not cross-db. MDL-8280 2007-01-23 16:09:00 +00:00
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