/[drupal]/contributions/modules/temporary_invitation/temporary_invitation.install
ViewVC logotype

Log of /contributions/modules/temporary_invitation/temporary_invitation.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 5 13:30:48 2009 UTC (9 months, 3 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--2-3, DRUPAL-5--2-4, HEAD
Changes since 1.9: +2 -4 lines
Diff to previous 1.9
* Make it possible for modules to alter the email template and body.
* Streamline message template retrieval, and make it pluggable too.
* Update the copyright notices, and remove the amateur GPL header
  (drupal.org now explicitely states GPLv2+ anyways).

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 2 13:41:44 2009 UTC (9 months, 3 weeks ago) by jpetso
Branch: MAIN
Changes since 1.8: +24 -3 lines
Diff to previous 1.8
Record and show the creation date of an invitation.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 14 19:37:47 2007 UTC (23 months, 2 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--2-1, DRUPAL-5--2-2
Changes since 1.7: +10 -1 lines
Diff to previous 1.7
Also make login paths work if they've got an alias with slashes.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 5 15:16:47 2007 UTC (23 months, 3 weeks ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--2-0
Changes since 1.6: +20 -1 lines
Diff to previous 1.6
Two unrelated changes (forgot to commit the first one before starting the second):
* Change form callback signature & Co. so that the $destination parameter
  is not required anymore, takes the current page as default.
* Introduce an option "Don't assign roles to existing users".
* And update the .install file so that everything works like before.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 15 21:26:13 2007 UTC (2 years ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--2-0-RC3, DRUPAL-5--2-0-RC4, DRUPAL-5--2-0-RC5, DRUPAL-5--2-0-RC6, DRUPAL-5--2-0-RC7
Changes since 1.5: +14 -4 lines
Diff to previous 1.5
* Token support also for the login target path.
* Fix the workflow-ng user argument handlers, as global $user is not
  always the host user. Instead, introduce two API functions that
  take care of determining the user.
* Rename the token type 'new_temporary_invitation' to
  'temporary_invitation_with_passcode', which fits better
  as it also applies to logins.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 15 17:22:22 2007 UTC (2 years ago) by jpetso
Branch: MAIN
Changes since 1.4: +36 -4 lines
Diff to previous 1.4
Support for Token and workflow-ng, including the necessity for doing
update.php because mail templates are converted to the Token format.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 11 02:38:00 2007 UTC (2 years ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--2-0-RC2
Changes since 1.3: +7 -7 lines
Diff to previous 1.3
The primary key can only be assigned to the passcode_md5 column
when it has been filled with (unique) values. Grave update procedure bug.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 8 04:03:51 2007 UTC (2 years ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--2-0-RC1
Changes since 1.2: +221 -17 lines
Diff to previous 1.2
Huge overhaul of the Temporary Invitation module.
It now works not only better and more usable, but also rather different.
Therefore, HEAD is being revived as 5.x-2.x development branch until 6.x-1.x opens.

The major change is that I was able to get rid of quite a few settings
in favor of letting users draft their invitation mails by themselves.
It is now compulsory to have mails sent to the invited entity, which
includes the nice feature of integrating login codes inside the mail
automatically. Additionally, there's a preview where the user can
have a look at the complete mail (amended with login information)
before sending it to the invitee.

That, and a freaking lot of other cool features:
* Multiple users can now send invitations to the same mail address.
  (Yeah, that was a pretty grave design bug in 5.x-1.x. Fixing it
   required to change the database schema a bit, so run update.php.)
* Users that already exist (from a mail address point of view)
  can now also be invited, and don't even get blocked/deleted
  when the invitation expires. Whoo!
* The admin form is so much more straightforward now.
  I also claim the same for the invitation management form.
* Support for direct login URLs in addition to the login form.
* The module now adapts also dynamic menu paths to aliases
  of the static (cached) paths. That is, http://example.org/my-login/123abc
* An additional 'login' op for hook_temporary_invitation().
* I surely forgot something. But well, you get the point :)

Make dead sure you run update.php, otherwise you're screwed.
Quite a lot of the configuration options will be deleted in the process,
but you'll soon recognize that you only needed those to work around
conceptual defiencies in 5.x-1.x.
Also, updating Login Ticket API is pretty much a good idea if
you want the "multiple invitations for the same person" feature,
or the 'login' op in the hook.

Really, I guess that was my largest commit message ever.
And rightly so. Hah. Like,
"Temporary Invitation 2.0: so much better than the first one."

Revision 1.1.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 24 15:06:12 2007 UTC (2 years, 1 month ago) by jpetso
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-11
Changes since 1.1.2.5: +4 -4 lines
Diff to previous 1.1.2.5 , to branch point 1.1 , to next main 1.10
A few things that I learned about coding style in the last months:
* Have a default value for database columns.
* Don't concatenate translated strings, they should be a single entity.

Revision 1.1.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 17 01:18:34 2007 UTC (2 years, 6 months ago) by jpetso
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-10, DRUPAL-5--1-7, DRUPAL-5--1-8, DRUPAL-5--1-9
Changes since 1.1.2.4: +37 -2 lines
Diff to previous 1.1.2.4 , to branch point 1.1
Return to a mixture of the old notification_types storage format and
the current notified_users storage format. Requires one more update,
but well, that one doesn't make the big difference, does it.

I think the module and its database representation is sufficiently
clean now, and ready for further expansion.

Revision 1.1.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 17 00:00:34 2007 UTC (2 years, 6 months ago) by jpetso
Branch: DRUPAL-5
Changes since 1.1.2.3: +53 -23 lines
Diff to previous 1.1.2.3 , to branch point 1.1
The checkbox to display the invitation management page is actually
not restricted to being a top-level icon. So, rename this value
from 'toplevel' to 'standard_item', and also clean up
the upgrading routines a bit.

Revision 1.1.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 16 14:28:47 2007 UTC (2 years, 6 months ago) by jpetso
Branch: DRUPAL-5
Changes since 1.1.2.2: +77 -8 lines
Diff to previous 1.1.2.2 , to branch point 1.1
Major modifications in order to enable and implement notification mails
for invited users.

API changes:
- temporary_invitation_create() now returns an array with 'invitation'
  and 'passcode' keys, instead of a plain invitation object.
- temporary_invitation_create() and temporary_invitation_create_user()
  now take an optional $invited_user_additions parameter, which makes
  it possible to make use of additional columns in the {users} table.

User visible changes:
- Custom message strings have been removed from the user interface,
  because it would have grown too complex if they were kept.
  You can still have custom messages, but you need to take a look
  at the code and insert them manually into the database.
- Invited users can be chosen to receive notification mails,
  mail contents are customizable by the admin.
- Slight change of the method of selecting who receives notifications,
  and in which form.

Note that this requires running update.php, because some variables
have been deleted, renamed or replaced.

Revision 1.1.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 28 11:40:05 2007 UTC (2 years, 7 months ago) by jpetso
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-4, DRUPAL-5--1-5, DRUPAL-5--1-6
Changes since 1.1.2.1: +2 -2 lines
Diff to previous 1.1.2.1 , to branch point 1.1
Use the standard database engine instead of InnoDB.
Bad practice, caused by similarly bad copy & paste.

Revision 1.1.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 12 11:34:30 2007 UTC (2 years, 7 months ago) by jpetso
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-3
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
#135682 by joeblow: Use drupal_get_path() in include_once().
Also, fix the $Id$ headers ("$Id $" is not recognized by CVS).

Revision 1.2
Fri Mar 30 22:09:59 2007 UTC (2 years, 7 months ago) by jpetso
Branch: MAIN
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove files from HEAD, and only leave the README.txt pointing to the DRUPAL-5 branch.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 30 21:16:05 2007 UTC (2 years, 7 months ago) by jpetso
Branch: MAIN
CVS Tags: DRUPAL-5--1-0, DRUPAL-5--1-1, DRUPAL-5--1-2
Branch point for: DRUPAL-5
Initial commit of the Temporary Invitation module. Enables site users to invite guests for a limited timespan, and deletes or blocks guest user accounts after the invitation has expired.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2