Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download registration-7.x-1.4.tar.gztar.gz 47.46 KB
MD5: 0e4b1559456089af31ef3455b6581199
SHA-1: 1c286189c367aaa2557bbd86a385d193888a7027
SHA-256: 216bf8873da85093dfb7a85ce850f1e2930687b9f344d1d07054814498e90d07
Download registration-7.x-1.4.zipzip 63.92 KB
MD5: f449bcf1e361bbf4b658728114fc668a
SHA-1: a1ab8840f0f008f93e36ccde5be3048cd11f7882
SHA-256: 244217d30a396aab14a1415744fd00d96f25f751d06c7bbcc8b450553b75563d

Release notes

This release includes many important community-contributed patches as well as a few new features including...

  • Default registration state per Registration Type. This allows you to have different default registration states for each Registration Type rather than one, global default.
  • New "held" state that makes Registrations count against capacity as soon as they're assigned a state that is designated held. Registrations that are in the held state expire after 1 hour and are put into "canceled" state by default. You can modify the time until hold expiration and/or the state the Registration is put into when the hold expires on the Registration Type configuration page.

Changes since 7.x-1.3 (i.e. c63bf5cf0e533f82e0512c121e3aa77f78cb9770) (52 commits):

  • Revert "validate that the host entity for a registration permits new registrations and whether the user being registered has permission to register at the controller level before saving a registration. previously we were only checking at the form level so users could create multiple registerations for a single user even if multiple registrations were not permitted by creating two inactive registrations and then moving each into an active state. also a user could register for an event that had reached capacity since the inactive registration was created"
  • improve performance by loading all held registrations at once rather than each individually when checking whether the hold time has elapsed
  • improve performance by consolidating two db calls to one when calculating the current number of registrations counting against capacity
  • fixing bug where held states were required to send broadcast email instead of active states
  • #2463427: small syntax updates
  • #2463427: adding @file doc string for all lib dir files that lacked it
  • Revert "ensure maximum spaces is set before checking whether we have exceeded it"
  • adding missing break to switch/case statement
  • #1682130 - ensure we are not making database queries with an empty array for any "IN" clauses
  • #1682130 - check whether we have held states defined before using them in a sql query to prevent misleading log messages
  • #2460233 by Ian Clysdale: Anonymous email validation fails if there are spaces on either side of the email address
  • #2380795 by Chris Burge: 'Registration to entity' Relationship Requires Explicitly Stated Table
  • #2431621 by arh1: Allow Reminder settings without Send Reminder box checked for field defaults, but not on host entity
  • #2310039 by DrCord: Numerous Schema Errors + User warning: registration_entity.reminder_date: no type for schema type :normal
  • removing patch file accidentally added to the repo
  • #2357533 by alberto56: Improve registration_administer_registrations_access() function so one can check access for other accounts (not the current one)
  • updating names of registration_broadcast_registrations*_alter() hooks to registration_send_broadcast*_alter()
  • adding API documentation for new hook_registration_send_broadcast*_alter() hooks
  • updating comment for hook alterations of registration_status
  • git commit -m 'Issue #2124543 by squall3d: Allow other modules to alter list of registrations in registration_send_broadcast, to control which registered users receives' --author="ryantan "add alter hook functionality to registration_send_broadcast
  • #2055145 by ratface, caxy4: adding ability to set default registration state per registration type. this setting overrides the global default
  • remove trailing . from error printing when registration cannot be saved
  • updating typo in error message and modifying syntax
  • validate that the host entity for a registration permits new registrations and whether the user being registered has permission to register at the controller level before saving a registration. previously we were only checking at the form level so users could create multiple registerations for a single user even if multiple registrations were not permitted by creating two inactive registrations and then moving each into an active state. also a user could register for an event that had reached capacity since the inactive registration was created
  • prevent warning by setting element passed to array_merge to empty array if the element is not an array
  • adding hook_update to insert field for held property into registration_state table
  • do not use existing "pending" state as default held state - create a new "held" state instead
  • do not use array_merge() function call within another function call
  • adding code to remove registrations from held state when their hold time has elapsed. code added to hook_cron(), which means registrations will be released after the minimum time to hold them as configured for their registration type has elapsed and cron runs
  • adding setting for hold expire state and placing it and the settings for hold expire time on the registration type
  • clarifying comments within hook_cron
  • adding held_expire field info after exposing a setting for it on the registration settings form
  • adding setting to registration form to allow for specification of minimum number of hours before a hold expires
  • adding "held" property to RegistrationState entity definition
  • updating error messages to have proper capitalization and punctuation
  • adding held state to registration_event_count check to ensure event has not reached capacity. previously only active registrations counted against capacity.
  • adding held state to registration state form
  • adding held flag to pending registration state created by installer
  • ensure maximum spaces is set before checking whether we have exceeded it
  • Merge branch 'drush-iq-reminder-email-sent-for-all-registrations-2348517-1' into 7.x-1.x
  • #2348517 by nadavoid, caxy4: reminder email sent for all registrations with a past reminder date and "send reminder" true
  • Merge branch 'drush-iq-error-on-saving-registration-dates-2223535-1' into 7.x-1.x
  • #2223535 by hanoii: error on saving registration dates
  • #2160649 by ygerasimov: Date popup expects #date_format instead of #format property
  • Merge branch '7.x-1.x' of git.drupal.org:project/registration into 7.x-1.x
  • Use theme field for rendering properties
  • #2437823 by hanoii: Undefined $errors variable in form validation hook
  • Remove default field formatter.
  • #2225785 by albertczyk: Reminder message subject is not translated
  • #2120553 by cs_shadow, vomitHatSteve: Typo in registration.api.php
  • #2341933 by magicmyth: Setting unlimited spaces allowed (0) disables registration
  • Add confirmation redirect option to registration settings
  • Check for variable asking for registration paths to be administrative.
  • #2348517 by caxy4@ThinkShout*Donors Forum: adding validation to registration entity form to ensure email reminder date is in the future
Created by: caxy4
Created on: 4 Apr 2015 at 01:27 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
Bug fixes
New features
Insecure

Other releases