Commit graph

60 commits

Author SHA1 Message Date
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
Martin Kamerbeek
8b706dc727 fixed ldap auth module bug 2006-10-31 17:21:38 +00:00
Roy Johnson
2e506660f8 fix - Cannot manage user accounts in 7.1.0. See the comments in Auth/LDAP.pm. We really need a more robust fix. 2006-10-18 21:15:48 +00:00
Colin Kuskie
1ff964d399 fix whitespace problem in POD 2006-10-12 14:24:46 +00:00
Roy Johnson
fd95c57ed0 More 7.1 features 2006-10-11 21:46:51 +00:00
JT Smith
07f7e021ca - fix: Ldap Registration of new users (Thanks to guiuser)
- fix: Missing/Incorrect POD
2006-07-11 20:54:24 +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
JT Smith
7921c7a708 [ 1457777 ] 6.99: Can't modify non-lvalue subroutine call 2006-04-28 18:55:20 +00:00
Matthew Wilson
31fc1bdd17 removed unneeded line from LDAP.pm, fixed empty returns from processOperations, and added more POD to PerformanceProfiler.pm 2006-02-04 13:54:00 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
fa5439b099 lots o fixes 2006-01-21 19:00:27 +00:00
Matthew Wilson
6266be5b65 lots more fixes and enhanced User.t 2006-01-18 15:22:43 +00:00
Matthew Wilson
e33c7bebc3 an absolute slew of changes. 2006-01-18 01:45:55 +00:00
Colin Kuskie
25ed7e1527 Update Macro docs to point to where DateTime is now
Add session vars to form element calls.
2006-01-17 05:13:48 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
JT Smith
453942cb58 more session related bug fixes
added setting test
2006-01-15 21:53:16 +00:00
JT Smith
b0ffb721b6 more session related bug fixes 2006-01-15 18:34:44 +00:00
JT Smith
5473560df4 another session related bug fix 2006-01-15 18:18:58 +00:00
Matthew Wilson
65823b1f53 oodles of fixes. 2006-01-15 15:56:17 +00:00
Matthew Wilson
19bce8eaf6 bunches o syntax fixes. 2006-01-14 21:06:52 +00:00
JT Smith
3feda4d3f3 more bug fixes 2006-01-13 19:51:51 +00:00
JT Smith
a3adaee3a0 removing unnecessary use lines 2006-01-12 22:27:20 +00:00
Colin Kuskie
01d95a265e new i18n api requiring $session 2006-01-12 17:49:20 +00:00
JT Smith
877bf082a0 migrating paginator api to new session system
fixed a few old style session vars
2006-01-12 17:24:06 +00:00
JT Smith
65a40d75ac refactored WebGUI::LDAPLink to use session api 2006-01-12 05:24:52 +00:00
JT Smith
2735385050 migrated WebGUI::Icon api to use new session 2006-01-11 23:12:07 +00:00
JT Smith
b3974c0cd5 refactored WebGUI::HTMLForm api to use new session system 2006-01-11 16:53:02 +00:00
JT Smith
2599a4c853 converting WebGUI::Form API to use new session system 2006-01-10 17:43:38 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
024514c549 more session related changes 2006-01-09 19:56:26 +00:00
Colin Kuskie
99df1f414e Form inheritance work for lists, removal of $session{os}{slash} 2005-12-01 20:46:55 +00:00
Wouter van Oijen
3d65ae2158 XHTML bugfixes 2005-10-16 19:33:27 +00:00
JT Smith
ed161ce282 - fix [ 1163407 ] Ampersand XHTML 1.0 Non-Compliant 2005-08-25 16:41:52 +00:00
Martin Kamerbeek
52670adb9f fix [ 1249114 ] unclosed <li> elements in auth modules 2005-08-12 13:22:54 +00:00
Colin Kuskie
dc3065a328 convert from positional to named parameters in form 2005-06-30 23:05:45 +00:00
Colin Kuskie
16e6e487f3 move all LDAP labels and help into AuthLDAP file. Internationalize LDAP error messages 2005-06-12 04:36:41 +00:00
Frank Dillon
07e6a4d3a1 Fixed issue where authentication based searches were not storing user names correctly 2005-05-10 22:03:09 +00:00
Frank Dillon
9afcd91f96 Changed the module to use the LDAP Connection authentication parameters, if specified, for searching when authenticating anonymous registrations 2005-05-10 18:06:28 +00:00
Frank Dillon
622970a234 Fixed errors in Anonymous Registration 2005-05-04 20:23:13 +00:00
Frank Dillon
cd9e239ef5 Made changes to LDAP Auth module to allow users to choose LDAP Connection Links created in the Admininstrator. 2005-05-04 11:08:10 +00:00
JT Smith
6aa9f76a71 added a new logger 2005-04-01 03:24:23 +00:00
JT Smith
40065e93e8 more bug fixes 2005-03-18 05:14:02 +00:00
JT Smith
ac877443ed selectable templates for auth 2005-03-04 23:45:13 +00:00
JT Smith
55c709a051 updated copyright 2005-02-07 00:52:47 +00:00
JT Smith
d47830aceb merging 6.2.10 and 6.2.11 changes 2005-01-28 22:19:39 +00:00
JT Smith
4798ba497d removed old template system and replaced with template asset 2005-01-05 17:28:14 +00:00
JT Smith
48caad2d74 merging 6.2.9 changes 2004-11-19 22:59:25 +00:00
JT Smith
c866d00c1b changed company name 2004-09-03 17:01:59 +00:00
Leendert Bottelberghs
70aa94fdd4 Bugfix [998588] 2004-08-20 13:01:40 +00:00