You are here

CHANGELOG.txt in SMS Framework 6

This file will be replaced when a stable release is cut.

Changes to SMS Framework core module (sms) and complimentary module set

See the CHANGELOG.txt in each complimentary module for module-specific changes.

-----------------------------------------------------------
CHANGES SINCE 6.x-1.0
-----------------------------------------------------------
- Added constants for message direction codes, message status codes, gateway response codes.
- Added function: sms_dir() to help render the sms direction constants.
- Modified sms_send()
    - Now passes $gateway and $options to sms_handle_result()
    - Added post-process hook: hook_sms_send_process(). Hook name chosen to preserve backward-compatibility, since hook_sms_send() does not implement the standard $op values ('pre process', 'process', 'post process').
- Modified sms_handle_result()
    - Added $gateway and $options to @params, with default values.
    - Logging failed messages is now optional, as per admin setting, enabled by default.
    - Return either a full response array if an option is given in $options, or the usual TRUE/FALSE. Response array includes message info, gateway array, status values from the gateway and the associated SMS Framework gateway status code.
- Modified sms_validate_number()
    - Added additional formatting to catch error cases more easily.
    - Added hook_sms_validate() with pre-process, process and post-process operations.
- Added function: sms_receipt() that provides hook_sms_receipt()
- Removed function: sms_formatter(). This function is redundant, since validation functions will format the number.
- sms_send_form() will only include the ruleset (country) selector if it needs to (if there are rulesets and/or admin setting enabled). Default is 'auto-select'.
- sms_send_form_validate(): Made it call the main validation function sms_validate_number() and carry any number manipulation made by the validation methods.
- Added include file: sms.admin.inc
- Moved admin settings form functions to sms.admin.inc file
- Added a core admin settings form
- Added admin setting for sms_send_form with ruleset (country) selector on/off and configurable field title.

- Added module: sms_actions
- Added module: sms_devel
- Added module: sms_txtlocal
- Added module: sms_valid

TODO
- What if the gateway always returns a message id code? We should be able to capture this.
- sms_send_form() to show ruleset selector only the form previously validated false. Requires some Drupal form tricks.
- Change sender/receiver options keys to be 'gw_number' - this requires a change in all feature modules and all gateway modules that support incoming messages.
- Allow gateway send function to modify the $options variable, to carry on for post-processing.
- DONE Change virtual gateway to use gw_number = 99999
- DONE Virtual gateway should have a lower-case G
- DONE Virtual gateway: remove default reference set and ensure that other calls to $options['reference'] are handled correctly in the module.
- DONE Virtual gateway seems to be overwriting the reference tags.
- DONE Virtual gateway 'gateway_number' to 'gw_number'.
- DONE sms_track must accept simple gateway response (true/false)
- SMS Tracking receipts are not UPDATEing for some weird reason.
- sms_devel Send Form must request full gateway response
- Virtual gateway to set a default gw_number
- DONE SMS Tracking purge hook_cron

File

CHANGELOG.txt
View source
  1. This file will be replaced when a stable release is cut.
  2. Changes to SMS Framework core module (sms) and complimentary module set
  3. See the CHANGELOG.txt in each complimentary module for module-specific changes.
  4. -----------------------------------------------------------
  5. CHANGES SINCE 6.x-1.0
  6. -----------------------------------------------------------
  7. - Added constants for message direction codes, message status codes, gateway response codes.
  8. - Added function: sms_dir() to help render the sms direction constants.
  9. - Modified sms_send()
  10. - Now passes $gateway and $options to sms_handle_result()
  11. - Added post-process hook: hook_sms_send_process(). Hook name chosen to preserve backward-compatibility, since hook_sms_send() does not implement the standard $op values ('pre process', 'process', 'post process').
  12. - Modified sms_handle_result()
  13. - Added $gateway and $options to @params, with default values.
  14. - Logging failed messages is now optional, as per admin setting, enabled by default.
  15. - Return either a full response array if an option is given in $options, or the usual TRUE/FALSE. Response array includes message info, gateway array, status values from the gateway and the associated SMS Framework gateway status code.
  16. - Modified sms_validate_number()
  17. - Added additional formatting to catch error cases more easily.
  18. - Added hook_sms_validate() with pre-process, process and post-process operations.
  19. - Added function: sms_receipt() that provides hook_sms_receipt()
  20. - Removed function: sms_formatter(). This function is redundant, since validation functions will format the number.
  21. - sms_send_form() will only include the ruleset (country) selector if it needs to (if there are rulesets and/or admin setting enabled). Default is 'auto-select'.
  22. - sms_send_form_validate(): Made it call the main validation function sms_validate_number() and carry any number manipulation made by the validation methods.
  23. - Added include file: sms.admin.inc
  24. - Moved admin settings form functions to sms.admin.inc file
  25. - Added a core admin settings form
  26. - Added admin setting for sms_send_form with ruleset (country) selector on/off and configurable field title.
  27. - Added module: sms_actions
  28. - Added module: sms_devel
  29. - Added module: sms_txtlocal
  30. - Added module: sms_valid
  31. TODO
  32. - What if the gateway always returns a message id code? We should be able to capture this.
  33. - sms_send_form() to show ruleset selector only the form previously validated false. Requires some Drupal form tricks.
  34. - Change sender/receiver options keys to be 'gw_number' - this requires a change in all feature modules and all gateway modules that support incoming messages.
  35. - Allow gateway send function to modify the $options variable, to carry on for post-processing.
  36. - DONE Change virtual gateway to use gw_number = 99999
  37. - DONE Virtual gateway should have a lower-case G
  38. - DONE Virtual gateway: remove default reference set and ensure that other calls to $options['reference'] are handled correctly in the module.
  39. - DONE Virtual gateway seems to be overwriting the reference tags.
  40. - DONE Virtual gateway 'gateway_number' to 'gw_number'.
  41. - DONE sms_track must accept simple gateway response (true/false)
  42. - SMS Tracking receipts are not UPDATEing for some weird reason.
  43. - sms_devel Send Form must request full gateway response
  44. - Virtual gateway to set a default gw_number
  45. - DONE SMS Tracking purge hook_cron