Commit graph

117 commits

Author SHA1 Message Date
Graham Knop
089008de29 fixed: International characters in password prevents login 2008-10-05 20:56:50 +00:00
Colin Kuskie
5d3fc505cc internationalize the submit button for email reset password 2008-09-28 23:28:44 +00:00
Graham Knop
64a6976a25 fixed: anonymous registration with email confirmation is broken 2008-09-24 22:48:28 +00:00
Kaleb Murphy
9e9fc14983 Thingy view template now has access to field_dateCreated and field_lastUpdated for Things 2008-09-17 16:31:31 +00:00
Frank Dillon
a70e0cf66a Registration form to keep user entries on error - required and errored out fields are now highlighted. 2008-09-17 00:58:50 +00:00
JT Smith
ef120fb06b Added isVisitor, isAdmin, and isRegistered methods to User object instead
of hard coding checks everywhere with group ids. And updated the code base 
   to match.
2008-09-16 22:32:36 +00:00
Colin Kuskie
dda8b74734 Internationalize the subject of emails sent for password recovery. 2008-09-13 22:00:17 +00:00
Kaleb Murphy
01930cef3a remove debug 2008-09-11 14:32:56 +00:00
Kaleb Murphy
3f0b3b3e09 Fixed style in style upon reuse of password recovery token 2008-09-11 14:32:21 +00:00
Colin Kuskie
3e318493c9 Fix a bug where Show Message on Login didn't work with anonymous
registration for WebGUI auth.  Added POD to the Auth createAccountSave
method to detail that what it returns is important.
2008-09-05 01:38:22 +00:00
Colin Kuskie
e3b9e4bd92 produce valid HTML in the Auth screen 2008-08-01 03:00:04 +00:00
Graham Knop
88e7113fae fixed: email password recovery submit button effected by UI level 2008-06-11 19:17:35 +00:00
Doug Bell
f87e32452a fixed: Password recovery no longer allows disabled users to recover or log in 2008-06-05 18:25:24 +00:00
Graham Knop
b6b23a4163 fixed: email password recovery fields effected by UI level 2008-05-20 15:49:39 +00:00
Graham Knop
2d42efd6b5 fixed: email validation links can be broken by mail servers 2008-04-09 17:09:29 +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
c091192f47 merging 7.4 changes 2007-11-29 05:56:46 +00:00
Graham Knop
f2d27f96e3 anon user creation didn't use defaults for yes/no fields 2007-09-26 21:33:34 +00:00
JT Smith
da87aa2c92 fix: misspelled i18n in webgui password recovery 2007-09-14 14:34:06 +00:00
Doug Bell
ec84e481b7 fix: Password Recovery error message now displays properly 2007-08-08 22:30: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
Doug Bell
5d426b5c58 fix: bad i18n changes. remember to run tests! 2007-07-17 18:06:20 +00:00
Doug Bell
15e3894b86 forward port of bugfix from 7.3.21 2007-07-14 00:04:20 +00:00
Colin Kuskie
2dd127c394 fix bad whitespace before POD directives 2007-07-11 18:17:23 +00:00
Doug Bell
8674572035 add: Settings can now return errors and messages to the user
add: WebGUI Auth password recovery can now be done by profile fields or just e-mail address
2007-07-09 21:23:11 +00:00
Doug Bell
32c2091360 fix: WebGUI/Auth.pm -- Required fields on Create Account show up with HASH(0xblah) as their value
fix: Added some i18n for password security measures that was neglected.
Fixed some coding standards with some subs.
2007-07-06 00:36:19 +00:00
Graham Knop
8a88823682 fix: Email validate codes aren't removed after use 2007-07-02 17:21:08 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +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
c2a675564b fix: Fixed a problem with password recovery with the new user profile data 2007-05-29 17:25:24 +00:00
Doug Bell
07a40788bb add: User profile data table is now a flat table. 2007-05-28 21:35:34 +00:00
Doug Bell
efb0109465 fix: Creating users with same e-mail address doesn't work 2007-02-16 16:53:50 +00:00
Frank Dillon
bf33fb9d3f fixed a bug that wouldn't allow for inheritance 2007-02-08 22:20:03 +00:00
Drake
574b0313c3 Add safeties to avoid password recovery being turned on at all with zero
profile fields selected, to avoid confusion.  Update some documentation.
2006-12-06 22:31:00 +00:00
Drake
133cac4f77 Add workflow activity for expiry of users with unvalidated email addresses. 2006-12-06 12:37:19 +00:00
Drake
631d8cb0e6 Switch to profile-based password recovery. 2006-12-06 11:57:36 +00:00
Drake
4da7c74740 Streamlining of a few character-counting methods regarding suitability of
passphrases.
2006-11-22 21:32:28 +00:00
JT Smith
b9010b8c07 merging 7.1.3 changes 2006-10-30 20:20:24 +00:00
Roy Johnson
47f023255f fix - New created users don't have password 2006-10-18 22:13:36 +00:00
Roy Johnson
a43577a119 New features for 7.1 2006-10-11 19:26:10 +00:00
JT Smith
47e6e65dd1 - fix: op=saveSettings broken 2006-06-10 02:39:46 +00:00
JT Smith
771d11f833 - fix: Help is missing style
- fix: Setting expire password on user creation does nothing
 - fix: Collaboration settings in help
 - Lots of template fixes.
2006-06-02 16:22:55 +00:00
Matthew Wilson
204abf2fe1 Mail::Send fix. grrrrrrrr 2006-05-09 12:41:17 +00:00
Martin Kamerbeek
29351b77a8 fixed bug [ 1471909 ] createAccountSave not called - no validate email 2006-05-02 11:28:57 +00:00
JT Smith
7921c7a708 [ 1457777 ] 6.99: Can't modify non-lvalue subroutine call 2006-04-28 18:55:20 +00:00
Matthew Wilson
15806ddb9d oops 2006-04-17 13:10:43 +00:00
Matthew Wilson
c49650daea unfortunately it has to be this way. 2006-04-17 13:09:39 +00:00
JT Smith
6c6d36c981 readding mail footer to email messages
removed some old settings that don't apply any longer
2006-04-09 16:12:32 +00:00