Commit graph

99 commits

Author SHA1 Message Date
Colin Kuskie
3982b7ee39 ProfileFields were missing extras from their properties. Fixes bug #12102. 2011-04-22 08:59:14 -07:00
Jukka Raimovaara
b24db340e8 added #11968: use the language override in the registration form 2010-11-17 21:00:50 +02:00
Colin Kuskie
fd834a5384 Handle the case of an empty field name when adding user profile fields. Fixes bug #11715. 2010-07-13 09:48:09 -07:00
Colin Kuskie
077f29fff0 Prevent ProfileField fieldNames from containing spaces. They cause problems with JS in some kinds of form fields. Fixes bug #11371. 2010-01-25 11:44:30 -08:00
Colin Kuskie
858c148b2e Users always get default profile field values from the profile field. Fixes bug #11215 2009-11-10 10:02:35 -08:00
Colin Kuskie
f5b2b6d4cd Check for additional bad user profile field names. bug #10941 2009-09-10 08:43:25 -07:00
Colin Kuskie
0762ce1730 Entangle the required and editable properties of Profile fields.
Add tests.  Update i18n for required property hover help.
Upgrade script to set editable=1 on all required fields.
fixes #10781
2009-08-17 19:28:04 +00:00
Colin Kuskie
0d06c15275 Add a method to update userProfileData column types.
Fix a bug with making a profileField called userId.
Update POD
Added several profileField tests.
2009-07-22 17:59:58 +00:00
Colin Kuskie
b88d96deb5 Do not rely on a database default for the profile field formType. 2009-07-10 22:41:07 +00:00
Colin Kuskie
f49d96152e Pluggable::load is not a class method. 2009-06-03 01:41:03 +00:00
Graham Knop
66843db604 string evals are evil 2009-05-29 21:41:52 +00:00
Doug Bell
774c499d2d Added exists() method to ProfileField + tests 2009-05-14 22:16:44 +00:00
Colin Kuskie
86621e255b Fix a bug where changing fieldTypes in the userProfileField did not update the database field types. 2009-04-26 04:02:38 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
41da738e0e Fix handling of multi-form and multiple select form elements by emitting
a hidden form variable to make sure the form element was in the generated form.
Changes in User and ProfileField to support this.
2009-01-26 21:03:23 +00:00
Frank Dillon
18dd11345c Fixed a bug that wouldn't allow admins to save a user profile if email address is required 2008-12-23 03:35:58 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
Colin Kuskie
cdb6ee7f84 fix POD typos in ProfileField 2008-11-21 19:02:54 +00:00
Frank Dillon
6eff997f81 rfe: User Profile Privacy Settings (#507) - users now have granular control of whether or not their profile fields are viewable - admin settings still apply 2008-11-19 05:18:58 +00:00
Frank Dillon
0b78c5315d Fixed a bug where formField was setting the formProcess value in certain cases even if the form hadn't been posted. This was causing the stored value of fields to be set to the default value when it shouldn't have been. 2008-11-16 18:18:17 +00:00
Frank Dillon
4ff722bd5d Pluggable Account system added to WebGUI with new Profile, Inbox, Friends, User, and Shop interfaces. 2008-11-15 11:39:23 +00:00
Frank Dillon
11d18075fa Account release candidate - final changes before merge 2008-11-15 02:39:23 +00:00
Doug Bell
2f8869292f merging 8374 2008-11-14 22:19:15 +00:00
Henry Tang
2a3ed29d26 Merged versionTagMode support from amh development branch. Upgrade scripts not updated yet 2008-11-13 17:03:47 +00:00
Frank Dillon
615e0e3746 lots of changes 2008-11-12 23:03:42 +00:00
Doug Bell
6db4232b4a apply r8351 to 7.6 2008-11-12 21:28:54 +00:00
Henry Tang
d24714b2f5 AMH: implemented support for user override of versionTagMode 2008-10-31 14:57:50 +00:00
Frank Dillon
5166512f32 Fixed #8924: useProfile: s/viewable/visible/ig 2008-10-28 22:10:09 +00:00
Chris Nehren
ebd2309104 Added extras to user profile fields. This field can be accessed using the
profile.form.element.extras template variable when editing a profile and the
profile.extras field when viewing a template.
2008-10-22 00:20:31 +00:00
Colin Kuskie
33564cee94 Add POD to the ProfileField, formField method.
Fix all profile field defaults being ignored by the createAccount screen.
2008-06-12 20:59:12 +00:00
JT Smith
8500c4d506 Cleaned the pollution from the forms system. 2008-04-16 16:11:10 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
Graham Knop
93b64fc46f profile field and dashbaord fixes 2007-10-25 06:07:26 +00:00
Doug Bell
705631f860 - fix: Recover Password by Profile Field can now work with subclasses of
WebGUI::Auth::WebGUI and with custom WebGUI::Form::Controls as profile 
   fields.
2007-07-31 02:01:15 +00:00
Graham Knop
abf5a15749 user profile edit form fixes 2007-07-20 22:32:46 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Graham Knop
feb82c6d4b fix: image profile field edit errors 2007-06-27 13:07:13 +00:00
Colin Kuskie
21c4fcb75f This patch adds user invitations, a way for existing users on a site
to send an email to their friends and invite them to create an account
on the site.  The feature is enabled or disabled in the site Settings.
(Operation/Settings.pm)

It is implemented as a new operation, Invite (Operation/Invite.pm,
Help/Invite.pm, i18n/English/Invite.pm), and the option is displayed
as an option on the user's account screen. (Operation/Shared.pm).
The form is templated, and lives in the Invite namespace.  Once
the invitation is submitted, if the user's email address is not
already in WebGUI, an email is sent and a record is stored in
the userInvitations table.

When the friend gets the invitation, they are taken to the account
creation screen, which conveniently has their email address already
filled in.  This required changes in the Auth modules (Auth.pm, Auth/*.pm),
and ProfileField.pm.  The latter was so that profile fields can have
their values manually set.  The former changes handle inserting the
email address, bypassing the anonymous registration check, and
updating the record in ther userInvitations table.

I refactored some code out of the AdminConsole for finding the url
back to the site and added it to Session/Url.pm.  The method is
called getBackToSiteUrl.
2007-06-10 16:38:43 +00:00
Doug Bell
1bdbb186aa fix: new profile fields now default to a type of "ReadOnly"
fix: Added new templates for calendar events and editing
2007-05-29 07:14:20 +00:00
Doug Bell
07a40788bb add: User profile data table is now a flat table. 2007-05-28 21:35:34 +00:00
Colin Kuskie
b25f80e114 placeholder conversion for the ProfileField module 2007-03-04 05:35:11 +00:00
Colin Kuskie
7b97760236 fix a bug in the setting of private object data 2007-03-04 00:14:12 +00:00
Frank Dillon
6efbad606f fixed getEditableFields so it returns all valid registration fields in addition to editable and required fields 2007-02-23 18:50:30 +00:00
JT Smith
70071838bc Avatar profile field does not update immediatly when you are admin 2007-01-30 18:15:06 +00:00
Frank Dillon
8b4bfa1c90 fixed issue where default value was never being set 2007-01-18 21:49:13 +00:00
Martin Kamerbeek
5c62975421 fixed a small bug in WebGUI::ProfileField 2006-12-08 13:55:49 +00:00
Martin Kamerbeek
3984fc153d small clean up 2006-12-08 10:02:01 +00:00
Drake
e795f06fd8 Rollback r3340 since it broke specialState:init. 2006-12-06 17:49:22 +00:00