Commit graph

106 commits

Author SHA1 Message Date
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
JT Smith
b9010b8c07 merging 7.1.3 changes 2006-10-30 20:20:24 +00:00
JT Smith
5c77aace16 Fixed a bug where logging in/out would cause a blank page display. 2006-10-21 03:05:28 +00:00
Frank Dillon
58f1b9c4aa added runOnLogin and runOnLogout functionality. 2006-07-19 16:23:19 +00:00
JT Smith
a440cb5f41 fix: Security bug in session env 2006-07-11 20:32:46 +00:00
Wouter van Oijen
2d9565775f POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
JT Smith
47e6e65dd1 - fix: op=saveSettings broken 2006-06-10 02:39:46 +00:00
Colin Kuskie
ee83a320d0 Fix bad method call in Auth.pm
Fix bad help key in DataForm
2006-06-07 19:54:29 +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
Wouter van Oijen
448448e451 Fixed whitespace screwing up POD 2006-05-20 08:43:16 +00:00
Matthew Wilson
afc16fcb78 some session/var/user fixes. 2006-05-02 16:18:05 +00:00
Martin Kamerbeek
29351b77a8 fixed bug [ 1471909 ] createAccountSave not called - no validate email 2006-05-02 11:28:57 +00:00
JT Smith
095d0a7dfd lots of minor changes and bug fixes 2006-04-18 18:33:53 +00:00
JT Smith
d272e7de58 fixed a bug that i created earlier today
added burst protection to page layouts to prevent slashdotting
2006-04-07 08:12:16 +00:00
JT Smith
ae8f3d87f6 setting $session->user now changes the id for the session as it should
continued adding ad management system
added field sets to htmlform and tab form
2006-04-06 22:28:13 +00:00
JT Smith
3e60294bb6 Run on registration and alert on new user have been converted to a single workflow. 2006-03-10 03:48:23 +00:00
kenperl
ebbb129b9a make authenticate() method explain more clear 2006-02-19 11:39:56 +00:00
Colin Kuskie
6fd7575eb9 Removed Utility test for base36, which no longer exists in WebGUI::Utility.pm
new i18n message for duplicate usernames.
2006-02-18 21:58:27 +00:00
Roy Johnson
7dc954ebca Fixed the change password always changes admins password bug.
Also some more work on the EMS.
2006-02-18 18:24:40 +00:00
Matthew Wilson
f64ec77d8a fixing the ->param ->body distinction issue. 2006-01-23 05:18:54 +00:00
Matthew Wilson
fa5439b099 lots o fixes 2006-01-21 19:00:27 +00:00