webgui/lib/WebGUI
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
..
AdSpace Add hashwide getters for AdSpace and Ad.pm 2007-05-26 04:08:01 +00:00
Asset fix: Order of content position loops in Page Layout 2007-06-06 15:28:07 +00:00
Auth This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
Cache removed memcached support 2007-05-30 18:34:25 +00:00
Commerce fix: EMS now keeps information about registration if a user logs out before they complete their transaction. 2007-04-06 00:55:39 +00:00
Form - Added a realtime workflow option for content publishing. 2007-05-30 16:07:43 +00:00
Help This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
i18n This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
Image silly typo 2006-11-17 16:15:29 +00:00
Inbox POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
Macro - Added a realtime workflow option for content publishing. 2007-05-30 16:07:43 +00:00
Mail Always use correct format for Message-Id headers in mail. 2007-05-08 05:51:18 +00:00
Operation This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
Search Fix search indexing on Windows and make function savfer overall. 2007-05-02 16:31:49 +00:00
Session This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
SQL - Added the arrayRef() method to WebGUI::SQL::ResultSet, which is 12% faster 2006-07-25 17:58:54 +00:00
Storage deleting a file from an Image Storage location did not delete the thumbnail 2007-04-23 05:13:59 +00:00
Workflow add missing use line 2007-05-30 21:31:11 +00:00
AdminConsole.pm This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
AdSpace.pm Add hashwide getters for AdSpace and Ad.pm 2007-05-26 04:08:01 +00:00
Affiliate.pm merging 7.1.4 changes 2006-11-03 04:36:13 +00:00
Asset.pm - Added a realtime workflow option for content publishing. 2007-05-30 16:07:43 +00:00
AssetBranch.pm fixed a couple of bugs with the new autocommit functionality for cs posts and the like 2006-12-07 00:17:54 +00:00
AssetClipboard.pm fix: Copying threads, posts, or wiki pages creates inactive version tag 2007-05-21 12:50:44 +00:00
AssetExportHtml.pm 7.3.12 release 2007-03-14 15:31:23 +00:00
AssetLineage.pm fix API docs for getLineage. joinClass takes 1 class only, as a string 2007-05-15 17:26:37 +00:00
AssetMetaData.pm very beginnings of an Asset MetaData test, along with an API extension to make adding metaData possible 2007-06-05 23:33:50 +00:00
AssetPackage.pm fix: Importing a package that includes a CS generates multiple version tags 2007-05-23 00:11:57 +00:00
AssetTrash.pm fix: Incomplete assets cause manage Trash to fail, added test for valid object creation 2007-02-16 13:52:16 +00:00
AssetVersioning.pm make getRevision return revisions in order or revisionDate 2007-03-12 03:06:47 +00:00
Auth.pm This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
Cache.pm removed memcached support 2007-05-30 18:34:25 +00:00
Commerce.pm Make TOC the front page of Help. 2006-03-06 18:28:27 +00:00
Config.pm Forgot to update changelog Added fatal error should parsing JSON config fail (thanks jZed__ on freenode #webgui) 2006-11-13 22:17:56 +00:00
DatabaseLink.pm - fix: a typo in DatabaseLink.pm 2007-04-04 16:03:34 +00:00
DateTime.pm fix typo in POD 2007-04-09 18:22:58 +00:00
Form.pm POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
FormValidator.pm POD fixes for FormValidator package name 2007-05-30 22:43:16 +00:00
Group.pm fixed an error in the groups/db system where removing a dblink connected to a group would produce a fatal error 2007-04-11 17:24:56 +00:00
HTML.pm Added a new method to WebGUI::HTML called makeParameter safe. It will 2007-02-13 23:42:53 +00:00
HTMLForm.pm Remove crufty code from HTMLForm that was never used. 2006-10-21 02:12:34 +00:00
Image.pm Fixed WebGUI::Image->new doesn't obey width and height settings 2007-04-20 15:00:15 +00:00
Inbox.pm move exit statement inside conditional to speed up loop execution 2007-05-26 04:04:20 +00:00
International.pm fix lookup of English language tags when translation fails 2006-12-13 04:47:41 +00:00
LDAPLink.pm Missed a few lines. D'oh. 2006-10-11 19:00:50 +00:00
Macro.pm removal of dumpSession. 2006-01-26 05:39:16 +00:00
Operation.pm This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
Paginator.pm fix double my in setDataByQuery 2007-05-29 18:32:02 +00:00
PassiveProfiling.pm Fixed POD in 12 files reported by new test for invalid whitespace 2006-05-20 10:39:16 +00:00
PerformanceProfiler.pm added sortable sub calls table to profiler output. Niftiness. 2006-02-05 19:24:40 +00:00
Product.pm merging 7.1.4 changes 2006-11-03 04:36:13 +00:00
ProfileCategory.pm POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
ProfileField.pm This patch adds user invitations, a way for existing users on a site 2007-06-10 16:38:43 +00:00
Search.pm remove a dangling warn 2007-05-02 23:02:45 +00:00
Session.pm - Added master failover database config option. 2007-03-14 04:10:03 +00:00
SQL.pm EMS import/export, Form::*::getValueFromPost(alt_values), and tests 2007-05-29 23:39:24 +00:00
Storage.pm fix: Make WebGUI error out if there is a permissions problem while creating tar files 2007-05-21 17:19:51 +00:00
Subscription.pm fixing whitespace issues with POD 2007-02-01 17:13:41 +00:00
TabForm.pm Additional features in preparation for final checkin of Calendar rewrite. 2006-12-01 22:26:09 +00:00
Text.pm WebGUI::Text no longer spits out a billion warnings 2006-11-03 21:43:44 +00:00
User.pm add: User profile data table is now a flat table. 2007-05-28 21:35:34 +00:00
Utility.pm Fixed a bug with RSS feed generation and attachments. 2007-01-17 18:24:15 +00:00
VersionTag.pm - Added a realtime workflow option for content publishing. 2007-05-30 16:07:43 +00:00
Workflow.pm - Added a realtime workflow option for content publishing. 2007-05-30 16:07:43 +00:00