| /[drupal]/contributions/modules/invite/invite.module |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
#330233 by Bevan, smk-ka: Fixed escalation to target role failed.
#330233 by Bevan, smk-ka: Fixed escalation to target role failed.
Synced with DRUPAL-6--2. #364971 by jaydub: Fixed administrative overview query for PostgreSQL. #322748: Fixed only administrator can send invitations on multilingual installation. #374869 by webchick, smk-ka: Denying access to the user registration form at the menu callback level, not at the form level, for better compatibility with other modules. #467486 by neilnz: Grammar fix. #310775 by Barrett, sun: Fixed SQL error when no emails are left after filtering out registered users. #323661 by tcconway: Removed "Track" from local task title "Track Invitations". #214426 by barako: Updated French translation. #317552 by Stella: Use UTF8-safe string functions and other minor changes.
#467486 by neilnz: Grammar fix.
#374869 by webchick, smk-ka: Denying access to the user registration form at the menu callback level, not at the form level, for better compatibility with other modules.
#373178: Fixed wording.
#322748: Fixed only administrator can send invitations on multilingual installation.
#203812 by yhager: Added support for parsing emails within angled brackets (like 'NAME <user@domain>').
#203812 by yhager: Added support for parsing emails within angled brackets (like 'NAME <user@domain>').
#310775 by Barrett, sun: Fixed SQL error when no emails are left after filtering out registered users.
#310775 by Barrett, sun: Fixed SQL error when no emails are left after filtering out registered users.
#323661 by tcconway: Removed "Track" from local task title "Track Invitations".
#323661 by tcconway: Removed "Track" from local task title "Track Invitations".
#317552 by Stella: Use UTF8-safe string functions and other minor changes.
#317552 by Stella: Use UTF8-safe string functions and other minor changes.
#315101 by SamLerner: Removed t() around menu item title.
#303587 by sangamreddi: Fixed withdrawing an invitation leads to access denied page.
#219266 by jcfiala, wojtha, smk-ka: Port to D6.
#229803 by will_in_wi: Restored capability for admins to create users when operating in "by invitation only" mode.
#229803 by will_in_wi: Restored capability for admins to create users when operating in "by invitation only" mode.
#229803 by will_in_wi: Restored capability for admins to create users when operating in "by invitation only" mode.
Synced HEAD with DRUPAL-5--2 branch.
- Fixed swapped singular/plural description.
- Fixed erroneously creation of new users when trying to set user flag on anonymous inviters.
Minor coding style changes.
invite_stats() has been renamed to invite_count() and returns now a specific count.
Added the missing bit of the refactored notification system.
Refactored notification system to be less resource intensive.
- Applied Coder suggestions.
- Refactored hook_user() code.
- Factored out admin pages.
- Moved token hooks to invite_token.inc.
- #207419 by Andrew Young: Look up invitation for new users who didn't use invitation link.
- #207419 by Andrew Young: Look up invitation for new users who didn't use invitation link.
- Minor changes.
- Refactored invite_help().
- Enhanced API arguments.
- #197948
- #197945
- Storing created timestamp per invite. - Added filtering capabilities to the admin interface.
- Added 'New invitation' tab to the user's 'Track invitations' page. - Fixed menu path for 'Resend invitation'.
- Refactored invite_get_remaining_invites().
- #171765: Enhanced compatibility with LoginToboggan.
- #162570: Added a resend button.
- Added admin overview and user details pages.
- Moved invite tracking pages to a new user profile tab.
- Now flagging canceled invites instead of physically deleting them.
- Improved handling when a user gets deleted.
- Storing remaining invites as user property to allow future implementation of admin controllable invites.
- #98765: Allowing multiple invites to the same e-mail address. - New, less resource intensive notification system.
- #196877: Prevent caching of user/register page (better approach).
- #196877: Prevent caching of user/register page (better approach).
- #197198: Fixed misleading error message when no permissions have been set up. - Updated README.
- #197198: Fixed misleading error message when no permissions have been set up.
- Synced with DRUAPL-5.
- Added a helper module that allow users to terminate user accounts by withdrawing their invitation. - Moved Invite to its own package namespace.
- #196472: Fixed access denied message after redirecting. - Cosmetical code changes.
- Synced with DRUPAL-5 branch.
- #183018: Extract only the e-mail part when processing the submitted e-mails to allow e-mails that contain a display name (eg. Some Name <foo@example.com>).
- Moved invite stats functions into its own submodule.
#182914: Fixed a caching issue for the register form where the e-mail address of a previously invited user was displayed.
- #186570 by dldege: Fixed Access denied error after sending an invitation if the user doen't have the track invitations permission.
- Added 'track invitations' permission to be able to hide the invitation overview from anonymous users.
- #182017: Tried to produce XHTML (or XML in this case) compliant output. This is a bit difficult, since the message text is converted to HTML by the _filter_autop() function, and the output varies based on where the tokens are actually used. - Made the Top inviters/User ranks block XHTML compliant.
- #178652 by Gwen Park: Pass invite code in hook_invite($op = 'invite').
- #176983: Fixed bogus email header.
- #175786: Fixed up ui by 1) separating invite overviews using tabs and 2) using a pager. - Added delete invitation confirmation dialog.
- Fixed some missed some tokens.
- Fixed some missed some tokens.
- Updated message tokens.
- Updated message tokens.
- Synced with DRUPAL-5 branch.
- Added a note to the [invite-message] token description that its value is completely unfiltered.
- Fixed queries for counting pending and expired invites had swapped comparison logic.
#175025: Fixed maxlength set for textareas on mass invitations.
- Added a delete confirm form. - Moved some more functions around and renamed few others.
- Moved limit per turn and allow delete joined user's invitations to the permissions table. Reduces file size (at least) a bit. - Changed expiry period presets.
- Reorganized settings page. - Moved some functions to retain a more logical order.
- Changed existing limits: * INVITE_UNLIMITED_INVITES changed from 0 to -1 * invite_maxmultiple_* have been changed to a simple boolean value (but using -1 instead of TRUE for compat with _invite_get_max_by_role())
- Fixed a fatal PHP error. - Changed help text template to use more advanced HTML semantic.
- Synced with DRUPAL-5.
- Updated inline documentation.
- Updated translation template. - Updated German formal and informal add-on translations.
- Updated module descriptions. - Updated README.
- Reverted last commit.
- #154192: Added a new hook_invite() operation 'perpare' to allow modfication of the invitation parameters before it is sent.
- Synced with DRUPAL-5.
- Incorporated several smaller changes that should make the code more legible and logical. - Added support for Personalized E-mail (http://drupal.org/project/pmail).
- Improved the validation of invite codes/records. - Changed the wording in several places.
- #171851 by matrixfighter: Fixed bad link in Invite block.
- Improved the condition when to delete invitations of a user whose account is about to be terminated.
- Improved the condition when to delete invitations of a user whose account is about to be terminated.
- Synced with DRUPAL-5.
- #165977: Added a multi-functional block showing the top inviters of the site or - when on a user profile - the rank among the other users.
- #168252: Print invitation statistics on the user profile page.
- #169916: Fixed Invite and Role Signup modules not working together. This has been solved this by registering a new custom join url (instead of using user/register/123), saving the invite code in a session variable, and then redirecting to the registration page. - Also fixes a possible regression in _invite_fetch_invite().
- Fixed a non-critical bug in _invite_fetch_invite().
Synced HEAD with DRUPAL-5.
- Two minor fixes.
- Fixed sending invites for anonymous users (they don't have an email address).
- Fixed sending invites for anonymous users (they don't have an email address).
- Prevent emails from looking like spam to SPF-enabled MTAs.
- Prevent emails from looking like spam to SPF-enabled MTAs.
- #161829: Make the invite preview From email match the sender displayed in the recipient's mail application.
- #161829: Hotfix for compatibility with Drupal releases older than 4.7.6.
- #161829: Hotfix for compatibility with Drupal releases older than 5.1.
- #161465: Code cleanup (coder_format).
- Check that there is at least one valid email remaining after filtering out dupes.
- Got rid of disabled form in case the invitations limit was hit by redirecting to the all new separate invitation listing page.
- Added customizable email subject.
- #157494 by MarcoR: Show message preview to inviting user.
- Fixed From and Reply-To header generation.
- Fixed From and Reply-To header generation.
- #120248: Added token support. - This also fixes #143373: Don't escape quotation marks and other special characters in plain text e-mails.
- #160969: Delete invite when a user is deleted. To prevent fraud, this will only happen when "Allow deletion of joined users" is enabled. - A minor installer fix.
- #160969: Delete invite when a user is deleted. To prevent fraud, this will only happen when "Allow deletion of joined users" is enabled. - A minor installer fix.
- #143373: Fixed escaping of html entities in plain text emails.
- #151617 by knseibert, smk-ka: 1. Display only roles on the settings page which have "send invitations" permission set. 2. Only take those into account when 2.1. escalating the roles for the invitees 2.2. checking the send limitations. 3. Introduced a new constant to denote unlimited invites.
Fixed a typo, updated some translations and generated a new .pot file.
- #137495: Notifying other modules of role change. - Fixed typo.
- #137495: Notifing other modules of role change. - Fixed typo.
#100360 Added an invite block.
- #145271 by thierry_gd: Added hook_uninstall(). - Added hook_disable().
Updated code documentation.
Updated code documentation.
#134867 Auto-approve invited users' accounts.
#134867 Auto-approve invited users' accounts.
#129979 by NathanRAFT, knseibert: Fixed email not displayed in _invite_check_messages().
Fixed possible display of wrong email in _invite_check_messages().
Backport of http://drupal.org/cvs?commit=61546.
- #124711 Displaying a message with a link to the user's profile when trying to invite a user that's already registered. - Invitation accepted message a) is no more shown to anonymous users to reduce db load, and b) is only shown when the user has been approved. - Added (non-critical) permission checks at several locations.
Backport of http://drupal.org/cvs?commit=61512.
- #84120 by knseibert: Added multiple invites option to the invite form. - Adopted validation system and error messages to better handle large amounts of emails (based on the patch by knseibert).
- #128939 by mailleux: Fixed PostgreSQL support. - Fixed install script.
#128939 by mailleux: Fixed PostgreSQL support.
#54935 Persist individual message that gets mailed.
#54935 Persist individual message that gets mailed.
#126231 Prepopulate registration form with email from invitation.
#126231 Prepopulate registration form with email from invitation.
Simplified http://drupal.org/cvs?commit=60554.
#127681 Fixed deleting of pending invites.
#127681 Fixed deleting of pending invites.
Backport of http://drupal.org/cvs?commit=60134 f.
Fixed notification when invited user registers.
Backport of http://drupal.org/cvs?commit=60118 f.
- #86875 Deleting invites of users about to be deleted. - Verifying the user that tries to delete an invite was the original inviter. Previously it was possible to delete arbitrary invites if you knew its email address (or by brute-forcing). - Reduced database load on invite page.
Backport of http://drupal.org/cvs?commit=59501.
Fixed unblocking of new user accounts, which was not limited to invite only mode. This broke sites where administrator approval is required.
Backport of http://drupal.org/cvs?commit=59495.
- Fire 'invite' event only if send was successful.
- Fixed the missing t()'s from #124904. D'oh. - General overhaul of the settings page. - Updated wording and punctuation in several places. - Updated the .pot file accordingly.
- Fixed the missing t()'s from #124904. D'oh. - General overhaul of the settings page. - Updated wording and punctuation in several places. - Updated the .pot file accordingly.
Backport of http://drupal.org/cvs?commit=59475.
- #124904 Fixed incrorrect use of t() which led to errors on .pot file generation. - General code clean-up to adhere coding standards more closely. - Enhanced .info file.
Backport of http://drupal.org/cvs?commit=59076.
#118849 Fixed missing delete link, despite "Allow deletion of joined users" is enabled (only true for deleted user accounts).
Backport of http://drupal.org/cvs?commit=59073.
Added a help text helper function.
Backport of http://drupal.org/cvs?commit=59071.
- #110795 Fixed the possibility for a maliscious user to reuse one invitation code over and over again. - Fixed several missing checks for a expired invitation code when a user tries to register. - Fixed doubled expiration time calculation on invites page. - Reusing user_password() for invite code generation.
Backport of http://drupal.org/cvs?commit=59059.
#106962 Fixed misleading watchdog error 'Registration code failed'.
- Fixed database scheme: dropped duplicate index on reg_code, added a new one for uid. - Fixed queries for PostgreSQL.
- Fixed database scheme: dropped duplicate index on reg_code, added a new one for uid. - Fixed queries for PostgreSQL.
Code cleanup.
Code cleanup.
- Backport of #121402 by stucki: Fixed not retrieving the invitee's inviter in _invite_role_escalate(). - Fixed watchdog() message text and parameters.
- #121402 Fixed not retrieving the invitee's inviter in _invite_role_escalate(). - Fixed watchdog() message text and parameters.
#106962 Fixed changed form_id for user settings form.
- #118826 Fixed arbitrary deletion of invitations. - #118823 Invite API: Add inviter to args when deleting an invitation.
- #118826 Fixed arbitrary deletion of invitations. - #118823 Invite API: Add inviter to args when deleting an invitation. - Added translation template.
114780 by ordinaryfool
#114780 by ordinaryfool
#113539
#113539
#112691, trim email address
#112691, trim email address
#111097 by knseibert, additional catch of placeholder
#111097 by knseibert, fix html em in email messages
#110926 by cbooth7575, fix admin permissions
#110779 by knseibert, fix undefined variable
#110779 by knseibert, fix undefined variable
#110780 by knseibert, fix checking of max invites sent
#110780 by knseibert, fix checking of max invites sent
#110795 by knseibert, fix multi registration on single invite code
#110795 by knseibert, fix multi registration on single invite code
Remove cruft, debugging code
Remove cruft debugging code
Minor fixes
Minor fixes
Minor fixes
Bug fix release
Bug report by dfletcher, fixed
Cleaning out HEAD whilst Drupal 5 branch stablizes. HEAD not open for devel at this time.
Fixed a bug in _invite_form_submit() function and also fixed a bad previous commit
Fix bug in _invite_form_submit()
#100590 by tatxe, add missing t() calls
#100590 by tatxe, add missing t() calls
#101208 by drupalzack
#101208 by drupalzack
#104656 by knseibert
#104656 by knseibert
invite.mysql not required for Drupal 4-7
Preparing for Drupal 5 update
implementing invite_only patch. see here: http://drupal.org/node/93674
making menu item a normal rather than suggested link to avoid consusion
readding accidentally removed files - fixed mail bug reported here: http://drupal.org/node/81881
file invite.module was added on branch DRUPAL-4-7 on 2006-09-09 13:06:48 +0000
fixed user_mail() but as reported here: http://drupal.org/node/81881
such a clutz, re-adding mistakenly deleted files
removing uneccessary files
merging HEAD with DRUPAL-4-7 per conversation with Robert Douglass
merging Robert Douglass' changes from 4-7 into this one
put some stuff in t() per http://drupal.org/node/76147
damn, readded the unblock functionality i'd missed :(
* Fixed bug where if the invitee signs in with a different email, they
don't show up as 'joined' and are left as 'pending' -- now it changes
the email to the invitees prefered address and marks them as joined.
* Can now set the From and Reply-To headers for invitations in settings
* Made both the template wording and user message in the email that's
generated wrap at the standard 72 characters.
* Exported the help text to settings so you can customize what it says
on the invite page
* Can now set page title for the invite page in settings
* Added a unique id to the table of invited users on the invite page
so that it can be better targeted by css.
#55342 Invited user not being activated
#54929 by Eaton
adding invokation of hook_invite. This allows other modules to react to the various stages in the invitation lifecycle. The most important at the moment is the 'escalate' where a user has been created as the result of accepting an invitation.
First iteration of a 4.7 version. New features include per-role escalation targets for invitees, per-role invite limits (including unlimited), and a personal message for each invite email. Removed are interactions with other modules (feature, userpoints) as I favor adding an invite hook that gets called which those other modules can then implement. TODO: invite_page still needs to be converted to the FAPI submit-execute technique. Help text is missing in many places. All the mail sending stuff should be checked by someone who is familiar with issues of sending emails from web interfaces for security concerns. The invite hook needs implementing. Still lots of code cleanup possible. Code comments can be improved
file invite.module was added on branch DRUPAL-4-7 on 2006-03-18 09:54:18 +0000
#32350 Points goes to invited user not inviter
Hooks for userpoints to give a user points when they refer another user, and more points when the user registers.
updating args for invite_user to be compatible with 4.6 as per http://drupal.org/node/21770
first commit
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |