Commit graph

86 commits

Author SHA1 Message Date
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
Drake
aa3b8b6d24 Profile field defaulting fixes. 2006-12-06 16:45:52 +00:00
Drake
631d8cb0e6 Switch to profile-based password recovery. 2006-12-06 11:57:36 +00:00
Drake
ca9d90c577 Implement RFE "Non Required Fields on User Registration". Associated upgrade.
Minor streamlining of profile field listing methods.

WebGUI::Operation::Profile::getRequiredProfileFields is now deprecated,
because it's specific enough to be not significantly more useful than
WebGUI::ProfileField::getRequiredFields, and because with this change
nothing in core uses it anymore.
2006-11-22 23:50:00 +00:00
Drake
c10b5b4fec Make handling of invalid values for "possible values" for list-based profile
fields slightly more robust.  It's still not ideal---the error goes to the
WebGUI error log, but the user should be given some indication that the
profile field is broken.
2006-11-22 15:52:32 +00:00
Drake
7604308b26 Minor fixes related to earlier Image form control alterations. 2006-11-08 00:27:25 +00:00
Roy Johnson
0ad578ffb9 trying to make image form controls optionally force image file types... not quite working yet 2006-11-07 23:47:37 +00:00
Colin Kuskie
3922cf7238 fix bad POD in new method 2006-08-31 21:09:29 +00:00
Drake
565119fa1a Multiple changes:
- Shift ProfileField API so that new returns undef on invalid fields.
    This makes it possible for Shortcut::www_saveUserPrefs to execute.
    The class methods in ProfileField are now also actually class methods.

    + Also fix up other modules that created dummy ProfileFields so that
      they don't need to do that anymore, because it's now invalid.

  - Merge contradictory-looking code from Shortcut's view and www_view
    into a reasonable compromise in view, and then have www_view call
    $self->view in a manner similar to that of the default Asset::view.

    + The profile field overrides still don't work, because there's no
      obvious mechanism for "transclude asset in context".  This may
      require some fiddling to get right...
2006-08-31 00:14:56 +00:00
Wouter van Oijen
2d9565775f POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
JT Smith
2e1de9d214 - fix: Column Layout seems a little messed up
- Fixed the EMS default templates to expose all functionality.
 - Fixed a problem in the EMS where it wouldn't let you add any events.
 - fix: FieldName incorrect after adding profile field
 - fix: preload.perl for other roots than /data/WebGUI
 - Fixed a bug where polls weren't distributing karma.
2006-05-30 15:50:13 +00:00
Wouter van Oijen
e81ce2759a Fixed POD in 12 files reported by new test for invalid whitespace 2006-05-20 10:39:16 +00:00
Martin Kamerbeek
c98308af17 Fixed some bugs in the profile setting stuff 2006-05-03 15:08:55 +00:00
JT Smith
a7df0f7a55 fixing some bugs relaed to cs mail replies
fixed a bug in the user manager where the user would take on the username/alias of the visitor
fixed a bug in error handling where debug was being spewed for errors in approriately
2006-04-11 22:50:11 +00:00