webgui/lib/WebGUI/Session
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
..
DateTime.pm EMS import/export, Form::*::getValueFromPost(alt_values), and tests 2007-05-29 23:39:24 +00:00
Env.pm EMS import/export, Form::*::getValueFromPost(alt_values), and tests 2007-05-29 23:39:24 +00:00
ErrorHandler.pm fixed type in pod 2007-04-01 04:01:52 +00:00
Form.pm EMS import/export, Form::*::getValueFromPost(alt_values), and tests 2007-05-29 23:39:24 +00:00
Http.pm getMimeType returns that string as a default, so the OR will never 2007-04-06 04:59:13 +00:00
Icon.pm Bulk tests for Session::Icon 2006-10-20 21:19:08 +00:00
Id.pm add missing docs for workflow activity 2007-05-23 17:27:18 +00:00
Os.pm fixed some pod errors 2006-01-31 23:10:10 +00:00
Output.pm static html exports work 2006-05-10 14:44:56 +00:00
Privilege.pm add another privilege method for handling locked assets 2007-04-27 22:20:27 +00:00
Scratch.pm 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
Setting.pm A few more tests to kick coverage up to 100 on WebGUI::Session::Setting 2006-09-25 03:49:25 +00:00
Stow.pm fix: SQLReport no longer paginates or runs nested queries when downloading.Stow's warning when cache is disabled is now a debug message, since that's what debug messages are for. 2006-11-02 18:08:39 +00:00
Style.pm - Made Weather Data asset more fault tollerant. 2007-03-07 19:12:37 +00:00
Url.pm This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
Var.pm Added comments to the POD in Var.pm that creating a Var object overwrites 2006-10-03 23:27:08 +00:00