Commit graph

53 commits

Author SHA1 Message Date
Petr Skoda
ffcb837973 MDL-26177 compare 255 chars when checking custom field uniqueness 2011-02-02 09:15:42 +01:00
Petr Skoda
af0a06cb5a MDL-26177 fix non-working unique custom field check 2011-02-01 14:34:31 +01:00
Tim Hunt
25f44c72bd custom profile fields MDL-26177 fields with unique were broken because you cannot use get_field with TEXT columns. 2011-01-29 15:42:09 +00:00
jerome mouneyrac
6d153e67b4 webservice MDL-18655 add new capability moodle/user:viewalldetails allowing to see all user information. This capability is set up copying the current moodle/user:update assignations 2010-11-05 06:55:43 +00:00
Petr Skoda
bf718f50ac MDL-24321 switching to stdClass in /user/ 2010-09-21 08:27:29 +00:00
David Mudrak
dc45a43a87 MDL-21845 multilang filter applied to custom field labels in user profile
Merged from 1.9 and 1.8
2010-07-28 09:42:05 +00:00
Petr Skoda
a1248ca40e MDL-18964 moving the preloaded custom profile fields into $USER->profile array instead of injecting fields directly into $USER; unfortunately this is not consistent with other preloaded data such as preferences, we can not refresh it properly because we can inject the data only once, also we risk future collisions when adding new fields into user table + implemented reloading after the profile changes; change noted in release notes 2010-07-25 21:00:59 +00:00
jerome mouneyrac
fb79269bef webservice MDL-20808 add user lib.php, add web service user functions, rename $usercustomfields variable into profile_user_record() function 2010-02-11 04:02:04 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
Sam Hemelryk
8bdc9cacad files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
2009-11-04 06:14:06 +00:00
skodak
bf8e93d704 MDL-18293 $DB->somethiong is using exceptions, no need for ifs tehre, removing useless strings 2009-06-03 20:00:08 +00:00
skodak
6346609584 MDL-18265 fixed regressions by hardfreeze security workaround - defaults were overriding locked values 2009-03-07 20:59:25 +00:00
thepurpleblob
adc82791a0 MDL-17048:
Added additional check for non-visible fields in signup page.

Merged from STABLE_19
2009-01-14 10:07:39 +00:00
thepurpleblob
85576776ae MDL-17048
Corrected misuse of formslib - works now.

Merged from STABLE_19
2009-01-13 13:22:15 +00:00
thepurpleblob
17a99a133e MDL-17048
Suppress display of empty custom profile field categories

Merged from STABLE19
2009-01-07 13:58:41 +00:00
ikawhero
76727901a6 MDL-17228 Allow admins to view hidden custom profile fields.
Thanks to Alan Barrett for the fix. Merged from MOODLE_19_STABLE
2008-12-24 04:17:56 +00:00
skodak
351d5250c0 MDL12333 fixed code to use new DML syntax 2008-12-09 22:15:03 +00:00
stronk7
6a08c83042 MDL-17151 DB 2.0 syntax: fixed wrong usage in previous commit 2008-11-07 12:49:11 +00:00
ikawhero
35a261eb6d MDL-17151: Missing code to check for uniqueness of values.
Merged from MOODLE_19_STABLE
2008-11-07 05:57:24 +00:00
ikawhero
501ca377a1 MDL-17151: Fix typo. Merged from MOODLE_19_STABLE. 2008-11-07 02:01:19 +00:00
skodak
cc44433620 MDL-16839 forms: workaround for problematic hard frozen values; merged from MOODLE_19_STABLE 2008-10-13 19:39:27 +00:00
jerome
416afdbb66 MDL-12333: display custom field in categories box on the signup page 2008-08-18 08:26:41 +00:00
dongsheng
d32482383a "MDL-14129, fix print_error" 2008-06-15 09:48:42 +00:00
dongsheng
161ef22b3f "MDL-14129, fix print_error" 2008-06-15 09:48:42 +00:00
skodak
5849cfe28d MDL-14679 fixed regression 2008-06-01 10:20:23 +00:00
skodak
5d910388bb MDL-14679 towards /user conversion 2008-05-30 22:11:31 +00:00
dongsheng
ef35441d27 MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE, see tracker. 2008-04-22 06:24:14 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
poltawski
bbebbc0c57 MDL-12446 - profile signup page not respect custom user profile field
sortorder

Merged from MOODLE_19_STABLE
2007-12-05 14:33:10 +00:00
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
ikawhero
91cddbc454 Only include data from field types that are "small" 2007-10-08 08:10:45 +00:00
ikawhero
66643c0aa8 New function to return a partial user object with the custom profile fields
set.
2007-10-08 07:21:32 +00:00
ikawhero
831d450e3f Adding custom profile fields to the signup page.
The only two authentication plugins this affects are email and ldap.
2007-08-20 08:30:34 +00:00
ikawhero
62ebb00033 Additional settings for the custom profile fields 2007-08-15 13:37:52 +00:00
ikawhero
4a7030e0e5 Changes merged from 1.8
Fix for MDL-9415
New method is_empty() added.
2007-04-18 02:10:15 +00:00
moodler
3212d2f240 Merged change to format_text from stable 2007-04-16 06:22:17 +00:00
ikawhero
334415e93f Merging changes from 1.8
Display custom profile fields in profile page - see MDL-9285
Menu type stores the value rather than the index - see comments on MDL-9285
General tidy up and renaming of funtions in field class.
2007-04-16 02:49:33 +00:00
skodak
a5d3b07224 MDL-8096 - some more fixes and minor refactoring in custom profile fields 2007-01-26 13:49:32 +00:00
skodak
1bf65e5880 MDL-8096 - some more fixes for custom profile fields 2007-01-26 13:33:56 +00:00
skodak
0a5c8ca42c MDL-8096 - fixed mutilang in custom category header 2007-01-26 13:13:13 +00:00
skodak
bb6d3d3454 MDL-8096 - refactored and cleanedup custom profiles, user edit form fixes
TODO: fix comments and docs
2007-01-26 13:11:06 +00:00
skodak
478caed8e1 MDL-8096 - fixed use of formslib in custom profile field gui 2007-01-25 19:36:47 +00:00
ikawhero
7240a6ea65 Placed the work behind printing out the categories and fields into a
function.
2007-01-25 05:20:10 +00:00
stronk7
2cf089c94f Changing some more incorrect uses of get_records and count_records with '1'. MDL-8280 2007-01-23 16:21:21 +00:00
ikawhero
253625c5e3 Tidying up the interface.
Fixed default data bug in menu type.
2007-01-12 12:58:15 +00:00
moodler
5a4ef4c55d Use names for the field types 2007-01-12 08:42:59 +00:00
ikawhero
eed54b4840 Can delete last profile category if there are no fields in it. 2007-01-12 06:48:05 +00:00
ikawhero
8c33bc76d0 Language string changes 2007-01-12 06:03:49 +00:00
ikawhero
d052a81328 Added some functions for the admin GUI 2007-01-12 05:22:03 +00:00
ikawhero
9ac33264f4 Various changes for customisable user profiles GUI.
Changed locked fields to use freeze() method rather than js based
disabledIf() method.
2007-01-12 00:59:40 +00:00