Commit graph

126 commits

Author SHA1 Message Date
Colin Kuskie
9bf275a790 Forward port POD whitespace fix. 2009-06-02 16:31:14 +00:00
Arjan Widlak
aab891a5b6 Fixed #10450: Different errormessages on login failure 2009-05-31 20:39:12 +00:00
Yung Han Khoe
5f60eddaa7 rfe #9981: RedirectAfterLogin Setting 2009-05-15 18:57:12 +00:00
Yung Han Khoe
b8d4eac3ca rfe #9353: Welcome message template 2009-03-21 15:17:29 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
Colin Kuskie
0569a37f89 guarantee that authMethod always returns something valid, even for users not created correctly 2008-11-24 03:05:34 +00:00
Colin Kuskie
47f62faeee merge in POD fixes from 7.5 branch 2008-11-20 19:56:52 +00:00
Frank Dillon
32979d75e1 Replaced the account.options loop in the displayAccount auth methods with new macros for displaying deactivate account and back to site links. Another macro which allows text to be displayed according to whether the value passed in is empty or not was added to allow functionality similar to that which currently exists. 2008-11-18 07:05:23 +00:00
Frank Dillon
d91bc5754d Merged the "Invite a Friend" application into the Account system and cleaned up the templates in the Inbox 2008-11-18 04:52:16 +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
Henry Tang
185a4c79de Updated comments (removed reference to AMH). Put SQL statements for upgrade 2008-11-07 14:33:55 +00:00
Henry Tang
d22214e0dd AMH: implemented version tag modes as site settings, removed autoRequestCommit setting 2008-10-31 14:57:39 +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
Doug Bell
46a6d404bf rfe: Added logged in time to Login History 2008-09-16 18:16:20 +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
58c81ede6d continue link from message on login did not look at gateway url 2008-09-04 20:28:35 +00:00
Colin Kuskie
e3b9e4bd92 produce valid HTML in the Auth screen 2008-08-01 03:00:04 +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
Doug Bell
614b37e31d added: Two new approval activities, byLineage and byCommitterGroup
added: Show a message to users when they log in
fixed: Gallery search form doesn't work right in IE6
fixed: Minor bug in new gallery approval handling
2008-06-02 21:16:06 +00:00
JT Smith
01d9af6222 The concept of "realtime" workflow has been eliminated. Instead all workflows are now realtime (synchronous), and roll over to be asynchronous if they cannot complete succesfully and immediately. 2008-05-03 05:38:13 +00:00
Doug Bell
db5a948c6b fixed: registration form again saves progress if there is an error 2008-04-27 18:52:46 +00:00
Graham Knop
9fa0df22c7 Reject HTML and macros in usernames 2008-02-15 14:56:40 +00:00
Doug Bell
1f10f07338 add: Auth modules now accept a "returnUrl" form parameter when logging in or creating a new account. User will be redirected to the value in "returnUrl" after login / create account is complete.
add: L_LoginBox macro has a form.returnUrl template var that returns a user to the exact page they logged in from
2008-02-09 05:09:33 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fb434a8b3a fix: content handler and redirects 2008-01-25 01:36:14 +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
Colin Kuskie
a915b15cd7 fix a typo in Auth.pm for the profile method 2007-10-29 22:42:38 +00:00
Doug Bell
15e3894b86 forward port of bugfix from 7.3.21 2007-07-14 00:04:20 +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
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
ebf093775e remove debugging code from Auth for user invites 2007-06-10 22:05:49 +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
Graham Knop
4a15ad3980 Welcome messages shouldn't be added to inbox as pending. 2007-05-08 05:47:30 +00:00
Colin Kuskie
48a67a803e prototype fix for page hopping after login 2007-03-24 22:19:57 +00:00
Frank Dillon
660868a0b3 fixed API method setCallable to work properly. It wasn't setting the class variable properly 2007-02-22 01:47:36 +00:00
Frank Dillon
bed3e8b6c3 bug fix. redirectAfterLogin now works when creating an account. 2007-01-31 22:15:12 +00:00
Martin Kamerbeek
2e608a2a20 Fixed encrypt login behaviour 2006-12-01 10:25:40 +00:00
Colin Kuskie
ee9cae98a8 Documented the heretofore undocumented Deactivate Account Template in the Auth modules.
Broke out code scanning tests into their own tests, and required the CODE_COP environment
variable be set before they were run.
Fixed two bugs in the Workflow test, wrong number of tests and inverse test logic.
More Auth template inheritance work.  Almost time to reflect it over to
the LDAP module.
2006-11-24 21:05:44 +00:00
Colin Kuskie
be4fd74276 WebGUI::Auth provides a set of default template variables inherited
by both AuthWebGUI and AuthLDAP.  I've pulled the defaults out of
AuthWebGUI for one template (anonymous registration) into its own
namspace, Auth.  Default variables will be pulled out for all of the templates
eventually.
2006-11-24 04:01:52 +00:00
Colin Kuskie
61138b4764 forward port of removed code 2006-11-24 02:08:05 +00:00
Drake
526c5d3f70 Minor fix for new template vars in WebGUI::Auth::createAccount. 2006-11-23 22:21:50 +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
Colin Kuskie
9bef53dabf fixed bug in Auth.pm where an array was used to send placeholders instead of arrayref 2006-11-10 16:32:19 +00:00
Doug Bell
0fbbbea782 fix: Thread layout flat not sticking Some WebGUI/Auth.pm cleanup. 2006-11-07 21:28:47 +00:00
Doug Bell
e68f609850 WebGUI::Session::Scratch->delete now acts more like Perl's delete()fix: redirectAfterLogin wouldn't work if displayLogin called from WebGUI::Operation::execute 2006-11-07 08:13:23 +00:00