124 Commits

Author SHA1 Message Date
skodak
6346609584 MDL-18265 fixed regressions by hardfreeze security workaround - defaults were overriding locked values 2009-03-07 20:59:25 +00:00
skodak
90ee78e21c MDL-18293 removing unused error strings (now replaced by exceptions) 2009-02-17 16:33:32 +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
410fc5a24d MDL-17791 Can make a link from user data when adding a new custom user
profile text field
2009-01-06 07:31:26 +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
danmarsden
f787e10536 MDL-17140 should check if $data->id isn't empty before sending to get_record 2008-11-06 01:04:40 +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
tjhunt
80f69dc0ee MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html 2008-09-25 07:12:46 +00:00
jamiesensei
d004c4adcd MDL-16242 "'Required' does nothing for select fields in customisable user profiles" added an extra option 'Choose...' which is the default if no other default is specified. If the user leaves the select field set to 'Choose...' then the required rule fails and the form does not submit. 2008-08-28 06:44:49 +00:00
jerome
416afdbb66 MDL-12333: display custom field in categories box on the signup page 2008-08-18 08:26:41 +00:00
jerome
b587e914f7 MDL-16099: database migration on user/profil/field/checkbox/field.class.php 2008-08-18 07:25:09 +00:00
moodler
34c688c959 MDL-14299 Merged small credit fix 2008-07-15 04:30:37 +00:00
ikawhero
8750134a46 Merged from stable. Change language string file. 2008-07-15 04:03:33 +00:00
ikawhero
60d922d5f1 MDL-14299 New checkbox profile field type.
Credit to Brian King.
2008-07-15 03:31:32 +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
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
c7da43571b MDL-14679 converted some count_records 2008-06-02 21:47:31 +00:00
skodak
1829e015e6 MDL-14679 converted some insert_records() 2008-06-02 21:25:40 +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
skodak
51f7c052c2 MDL-14473 added missing $files param; merged from MOODLE_19_STABLE 2008-04-25 12:20:46 +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
ikawhero
258db59a44 Fixed typo that was affecting the reordering of custom profile fields.
MDL-13909.
2008-03-20 09:16:23 +00:00
stronk7
093c3b907b Change some conditions to properly check if the custom-profile-field really is using a duplicate shortname. MDL-13288 ; merged from 19_STABLE 2008-02-01 17:19:33 +00:00
scyrma
2803993c02 Let the admin choose if a textfield is to be shown as plain text or as a password (with '*' in place of normal text) 2007-12-21 08:19:14 +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
stronk7
b77bbd2f83 New profilefield_ lang files are now supported with
safe fallback to the "old" ones (stored in admin.php)

Merged from MOODLE_19_STABLE
2007-11-09 20:11:43 +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
cfdb170609 Check to ensure custom profile fields do not have same name as current
fields in the $USER record
2007-10-08 06:59:00 +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
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
ikawhero
86e95dfa9c New textarea profile field type 2007-04-28 03:07:43 +00:00
ikawhero
c3af90961c Merged changes from stable.
Fixed typo.
Made constructor variables optional to reflect parent class
2007-04-19 07:42:40 +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
nicolasconnault
008bc40114 Added rows and cols to menu options textarea, fixing xhtml break. 2007-04-04 04:39:23 +00:00
nicolasconnault
7d4db46aa8 MDL-9136: Added a $selected attribute to the profile_field_menu object, which gets set during initialisation. 2007-04-04 04:09:47 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00