You are here

CHANGELOG.txt in Extra Fields Checkout Pane 6.2

Same filename and directory in other branches
  1. 7 CHANGELOG.txt
Extra Fields Pane 6.x-2.x, xxxx-xx-xx
------------------------------
- #1926200 by MegaChriz: specified field data types.
- #2450839 by MegaChriz: corrected documentation of uc_addresses hook
  implementations.
- #2609722 by MegaChriz: fixed address fields ordering isn't applied when using
  Ubercart Addresses 6.x-2.x.

Extra Fields Pane 6.x-2.0-rc2, 2013-01-29
------------------------------
- by MegaChriz: fixed issue where values for field types "Select list"
  and "Constant" were not sanitized.
- #1830996 by MegaChriz: added documentation to the README.txt for how to
  use field values in the invoice template.

Extra Fields Pane 6.x-2.0-rc1, 2012-10-12
------------------------------
- #1670052 by MegaChriz: removed functions that were deprecated since
  v6.x-2.0-beta1.
- #1659486 by MegaChriz: fixed bug of UCXF_Value's db_name being empty
  which could result into a UcAddressesInvalidFieldException error when the
  UCXF_Value was "loaded" just after it was saved in the same request.
- #1697988 by MegaChriz: fixed address fields setting admin screen that
  got screwed up with Ubercart version dated July 18, 2012 or later
  installed.
- #1700492 by MegaChriz: fixed automated tests for checkout that failed
  due to a change in the automated tests in Ubercart.

Extra Fields Pane 6.x-2.0-beta2, 2012-06-14
------------------------------
- #1376298 by MegaChriz, maknet: fixed sorting error in extra
  information pane.
- #1376430 by MegaChriz: fixed extra information pane tokens bug
  + added automated tests for tokens.
- #1400910 by ivan.vujovic: fixed delivery extra fields not available
  in Views.
- by MegaChriz: little fixes for the automated tests.
- by MegaChriz: fixed bug that occurred when i18nstrings was enabled:
  an error message about the deprecated
  uc_extra_fields_pane_create_field() function was displayed.
- #1436506 by MegaChriz: fixed SQL query that caused an "ambiguous"
  warning on some systems.
- #1454288 by MegaChriz: added UPGRADE.txt to instruct developers
  about the API changes in Extra Fields Pane since the release
  of 6.x-2.0-alpha1.
- #1461168 by MegaChriz: respect field's pane types setting also
  when Ubercart Addresses 6.x-2.x is enabled.
- #1545328 by valderama, MegaChriz: fixed query in which table names
  were not wrapped in curly brackets. In includes/address_select.inc.
- #1396532 by igor.ro, MegaChriz: added features integration.
- by MegaChriz: made fields "Constant" and "PHP String" editable on
  the order edit form also when Ubercart Addresses 6.x-2.x is enabled.
- #1606708 by MegaChriz: Fixed bug where a textfield with a default value
  kept overwriting saved value when Ubercart Addresses 6.x-2.x was enabled.
- #1603826 by MegaChriz: Fixed array_merge() error when saving an order on
  the order edit page that occurred when no extra address fields were
  defined.
- #1606708 by MegaChriz: Extra fields with a specified default value were
  not having a default value when creating a new order (and without
  Ubercart Addresses 6.x-2.x enabled).
- #1616732 by MegaChriz: Fixed bug where the weight of address fields were
  ignored when displayed in address listings.
- #1620184 by MegaChriz: Fixed address fields getting hidden on the address
  field settings page when some address fields have the same weight.

Extra Fields Pane 6.x-2.0-beta1, 2011-12-16
------------------------------
by MegaChriz:
- Moved class files from 'includes' to 'class'.
- Introduced classes UCXF_Pane and UCXF_AddressPane.
  These classes replaces the following functions:
  - uc_extra_fields_pane_load_pane_type();
  - uc_extra_fields_pane_uc_checkout_pane_address();
  - uc_extra_fields_pane_order_handler().
  These classes are used for checkout and order panes.
- Introduced class UCXF_FieldList which will replace the following
  functions:
  - uc_extra_fields_pane_create_field().
  - uc_extra_fields_pane_load_fields_from_db().
  This class is used to keep track of all loaded fields in one request.
- Introduced class UCXF_Value. This class is used to keep track of all
  field values (entered by customers) currently loaded.
- Implemented autoload function (for automatically loading of classes).

by MegaChriz: added Ubercart Addresses 6.x-2.x integration code.

by MegaChriz: added permission "use php fields".

by MegaChriz: renamed docs/hooks.php to uc_extra_fields_pane.api.php

by MegaChriz: added tests for SimpleTest.


Extra Fields Pane 6.x-2.0-alpha1, 2011-10-16
------------------------------

New features since 6.x-1.0:
- Address fields appear in original delivery and/or billing panes.
- Support of the field types textfield, select list, checkbox,
  constant, php string and php select list.
- Integration with Ubercart Addresses 6.x-1.0 (for a part).
- Ability to change the order (weight) of address fields.
- Availability of an extra information pane.
- Integration with i18n (for field label and description).
- Normalized uc_extra_fields_values table: Extra Fields Pane will
  no longer add columns when adding fields.

Bugfixes:
- Issue #1278348 by MegaChriz: field db_name now has a max length of
  32 characters.

Detailed list of all changes:
#831134 by panthar, blackice78: initial release of DRUPAL-6--2 branch
#831134 by MegaChriz:
  - added 'order addresses'-functionality
  - moved address fields to original checkout panes
  - made dependency on Ubercart 2.3 because a hook introduced in that
    version is now used
  - added function comments (added @param, @return, @see)
  - reordered functions
  - moved admin functions to uc_extra_fields_pane.admin.inc
  - improved part of code following Drupal coding standards
  - little fixes
#831134 by mrfelton:
  - Added support for checkboxes.
  - Rework widget settings to use defined constants.
  - Code standards review (coder).
#831134 by MegaChriz:
  - moved address fields adding to 'Address fields'-page
  - changed admin interface
  - introduced common API function for field forms (add/edit/delete)
  - introduced API function to generate fields
  - an address field now comes in both panes by default
  - fixed 'my billing information is the same as my delivery information'
#831134 by panthar: added token support
#831134 by MegaChriz:
  - changed uc_extra_fields_values table completely
  - added support for extra address fields in token hooks
  - fixes in order handler function
#831134 by MegaChriz:
  - moved non-hook functions to separate files to increase performance
  - made changes in API functions
#914806 by MegaChriz:
  - added views integration
#913852 by MegaChriz:
  - fixed 'saved addresses' drop down
#985388 by EvanDonovan, MegaChriz:
  - fixed a bug that caused a fatal PHP error during checkout because
    a file didn't got included.
by MegaChriz:
  - an extra row (':') is no longer added when chosen field type is
    constant or PHP constant.
  - removed theme function theme_uc_extra_fields_pane(), replaced by
    theme_uc_extra_fields_pane_checkout_pane(), which is added to the
    file 'checkout_pane.inc'.
  - various other fixes
#1015452 by MegaChriz:
  - Fixed exposed views filter for Extra Fields Pane selection fields
#907446 by MegaChriz:
  - Added 'Display options' feature.
by MegaChriz:
  - Added hooks documentation.
#1008138 by blackice78:
  - Fixed checkbox field type feature.
#1112254 by blackice78:
  - Added i18nstring integration for field label and description.
by MegaChriz:
  - Bugfix UC Addresses integration: do not add address fields to user
    register form if no address is required upon registration.
  - Bugfix: don't make fields from Extra Fields Pane required on order
    edit pages.
  - Other little fixes (code refactoring).
#1042076 by mrfelton, MegaChriz:
  - Do not output field label with colon in theme functions if field
    label is empty.
#1160556 by MegaChriz:
  - Changed behaviour of select fields. Options are now defined as
    safe_key|label instead of the opposite it was.
  - Made options labels translatable with i18n.
  - Added Views field handler for selection fields: in Views labels
    of option values are shown instead of the key.
  - Fix for select fields on order edit page: if the saved value
    isn't available anymore as an option (if for example that option
    has been deleted), the saved value is now added as an option, so
    the saved value won't be overwritten when editing the order.
#1200986 by MegaChriz:
  - Added raw user input tokens for field values.
by MegaChriz:
  - Small fix in token values: empty values will no longer result in
    "n/a" being displayed.
#1212162 by MegaChriz:
  - fixed populating of checkboxes.
#1253706 by MegaChriz:
  - Added field types documentation in the README.txt.
  - Added help via hook_help().
  - Added validation for PHP fields: now is checked if PHP-code is
    enclosed in php tags.
  - Added validation for select fields: now is checked if the
    select field has an "empty" option (e.g. "Please select")
    when the field is marked as required.
by MegaChriz:
  - Little bugfix for select fields on order edit page: if there
    was no saved value or an empty value for that field, the select
    field no longer displays "Deleted option:".
  - Checked all strings for translatability and updated some of them.
#1278348 by MegaChriz:
 -  db_name field now has a max length of 32 characters (database update).
by MegaChriz:
  - Fixed link to help page: this was leading to a non existing page
    when the core help module was disabled.
#831134 by MegaChriz:
  - Wrote an upgrade script from 6.x-1.x to 6.x-2.x. Some of the previous
    update functions were changed to fit the upgrade at best.

File

CHANGELOG.txt
View source
  1. Extra Fields Pane 6.x-2.x, xxxx-xx-xx
  2. ------------------------------
  3. - #1926200 by MegaChriz: specified field data types.
  4. - #2450839 by MegaChriz: corrected documentation of uc_addresses hook
  5. implementations.
  6. - #2609722 by MegaChriz: fixed address fields ordering isn't applied when using
  7. Ubercart Addresses 6.x-2.x.
  8. Extra Fields Pane 6.x-2.0-rc2, 2013-01-29
  9. ------------------------------
  10. - by MegaChriz: fixed issue where values for field types "Select list"
  11. and "Constant" were not sanitized.
  12. - #1830996 by MegaChriz: added documentation to the README.txt for how to
  13. use field values in the invoice template.
  14. Extra Fields Pane 6.x-2.0-rc1, 2012-10-12
  15. ------------------------------
  16. - #1670052 by MegaChriz: removed functions that were deprecated since
  17. v6.x-2.0-beta1.
  18. - #1659486 by MegaChriz: fixed bug of UCXF_Value's db_name being empty
  19. which could result into a UcAddressesInvalidFieldException error when the
  20. UCXF_Value was "loaded" just after it was saved in the same request.
  21. - #1697988 by MegaChriz: fixed address fields setting admin screen that
  22. got screwed up with Ubercart version dated July 18, 2012 or later
  23. installed.
  24. - #1700492 by MegaChriz: fixed automated tests for checkout that failed
  25. due to a change in the automated tests in Ubercart.
  26. Extra Fields Pane 6.x-2.0-beta2, 2012-06-14
  27. ------------------------------
  28. - #1376298 by MegaChriz, maknet: fixed sorting error in extra
  29. information pane.
  30. - #1376430 by MegaChriz: fixed extra information pane tokens bug
  31. + added automated tests for tokens.
  32. - #1400910 by ivan.vujovic: fixed delivery extra fields not available
  33. in Views.
  34. - by MegaChriz: little fixes for the automated tests.
  35. - by MegaChriz: fixed bug that occurred when i18nstrings was enabled:
  36. an error message about the deprecated
  37. uc_extra_fields_pane_create_field() function was displayed.
  38. - #1436506 by MegaChriz: fixed SQL query that caused an "ambiguous"
  39. warning on some systems.
  40. - #1454288 by MegaChriz: added UPGRADE.txt to instruct developers
  41. about the API changes in Extra Fields Pane since the release
  42. of 6.x-2.0-alpha1.
  43. - #1461168 by MegaChriz: respect field's pane types setting also
  44. when Ubercart Addresses 6.x-2.x is enabled.
  45. - #1545328 by valderama, MegaChriz: fixed query in which table names
  46. were not wrapped in curly brackets. In includes/address_select.inc.
  47. - #1396532 by igor.ro, MegaChriz: added features integration.
  48. - by MegaChriz: made fields "Constant" and "PHP String" editable on
  49. the order edit form also when Ubercart Addresses 6.x-2.x is enabled.
  50. - #1606708 by MegaChriz: Fixed bug where a textfield with a default value
  51. kept overwriting saved value when Ubercart Addresses 6.x-2.x was enabled.
  52. - #1603826 by MegaChriz: Fixed array_merge() error when saving an order on
  53. the order edit page that occurred when no extra address fields were
  54. defined.
  55. - #1606708 by MegaChriz: Extra fields with a specified default value were
  56. not having a default value when creating a new order (and without
  57. Ubercart Addresses 6.x-2.x enabled).
  58. - #1616732 by MegaChriz: Fixed bug where the weight of address fields were
  59. ignored when displayed in address listings.
  60. - #1620184 by MegaChriz: Fixed address fields getting hidden on the address
  61. field settings page when some address fields have the same weight.
  62. Extra Fields Pane 6.x-2.0-beta1, 2011-12-16
  63. ------------------------------
  64. by MegaChriz:
  65. - Moved class files from 'includes' to 'class'.
  66. - Introduced classes UCXF_Pane and UCXF_AddressPane.
  67. These classes replaces the following functions:
  68. - uc_extra_fields_pane_load_pane_type();
  69. - uc_extra_fields_pane_uc_checkout_pane_address();
  70. - uc_extra_fields_pane_order_handler().
  71. These classes are used for checkout and order panes.
  72. - Introduced class UCXF_FieldList which will replace the following
  73. functions:
  74. - uc_extra_fields_pane_create_field().
  75. - uc_extra_fields_pane_load_fields_from_db().
  76. This class is used to keep track of all loaded fields in one request.
  77. - Introduced class UCXF_Value. This class is used to keep track of all
  78. field values (entered by customers) currently loaded.
  79. - Implemented autoload function (for automatically loading of classes).
  80. by MegaChriz: added Ubercart Addresses 6.x-2.x integration code.
  81. by MegaChriz: added permission "use php fields".
  82. by MegaChriz: renamed docs/hooks.php to uc_extra_fields_pane.api.php
  83. by MegaChriz: added tests for SimpleTest.
  84. Extra Fields Pane 6.x-2.0-alpha1, 2011-10-16
  85. ------------------------------
  86. New features since 6.x-1.0:
  87. - Address fields appear in original delivery and/or billing panes.
  88. - Support of the field types textfield, select list, checkbox,
  89. constant, php string and php select list.
  90. - Integration with Ubercart Addresses 6.x-1.0 (for a part).
  91. - Ability to change the order (weight) of address fields.
  92. - Availability of an extra information pane.
  93. - Integration with i18n (for field label and description).
  94. - Normalized uc_extra_fields_values table: Extra Fields Pane will
  95. no longer add columns when adding fields.
  96. Bugfixes:
  97. - Issue #1278348 by MegaChriz: field db_name now has a max length of
  98. 32 characters.
  99. Detailed list of all changes:
  100. #831134 by panthar, blackice78: initial release of DRUPAL-6--2 branch
  101. #831134 by MegaChriz:
  102. - added 'order addresses'-functionality
  103. - moved address fields to original checkout panes
  104. - made dependency on Ubercart 2.3 because a hook introduced in that
  105. version is now used
  106. - added function comments (added @param, @return, @see)
  107. - reordered functions
  108. - moved admin functions to uc_extra_fields_pane.admin.inc
  109. - improved part of code following Drupal coding standards
  110. - little fixes
  111. #831134 by mrfelton:
  112. - Added support for checkboxes.
  113. - Rework widget settings to use defined constants.
  114. - Code standards review (coder).
  115. #831134 by MegaChriz:
  116. - moved address fields adding to 'Address fields'-page
  117. - changed admin interface
  118. - introduced common API function for field forms (add/edit/delete)
  119. - introduced API function to generate fields
  120. - an address field now comes in both panes by default
  121. - fixed 'my billing information is the same as my delivery information'
  122. #831134 by panthar: added token support
  123. #831134 by MegaChriz:
  124. - changed uc_extra_fields_values table completely
  125. - added support for extra address fields in token hooks
  126. - fixes in order handler function
  127. #831134 by MegaChriz:
  128. - moved non-hook functions to separate files to increase performance
  129. - made changes in API functions
  130. #914806 by MegaChriz:
  131. - added views integration
  132. #913852 by MegaChriz:
  133. - fixed 'saved addresses' drop down
  134. #985388 by EvanDonovan, MegaChriz:
  135. - fixed a bug that caused a fatal PHP error during checkout because
  136. a file didn't got included.
  137. by MegaChriz:
  138. - an extra row (':') is no longer added when chosen field type is
  139. constant or PHP constant.
  140. - removed theme function theme_uc_extra_fields_pane(), replaced by
  141. theme_uc_extra_fields_pane_checkout_pane(), which is added to the
  142. file 'checkout_pane.inc'.
  143. - various other fixes
  144. #1015452 by MegaChriz:
  145. - Fixed exposed views filter for Extra Fields Pane selection fields
  146. #907446 by MegaChriz:
  147. - Added 'Display options' feature.
  148. by MegaChriz:
  149. - Added hooks documentation.
  150. #1008138 by blackice78:
  151. - Fixed checkbox field type feature.
  152. #1112254 by blackice78:
  153. - Added i18nstring integration for field label and description.
  154. by MegaChriz:
  155. - Bugfix UC Addresses integration: do not add address fields to user
  156. register form if no address is required upon registration.
  157. - Bugfix: don't make fields from Extra Fields Pane required on order
  158. edit pages.
  159. - Other little fixes (code refactoring).
  160. #1042076 by mrfelton, MegaChriz:
  161. - Do not output field label with colon in theme functions if field
  162. label is empty.
  163. #1160556 by MegaChriz:
  164. - Changed behaviour of select fields. Options are now defined as
  165. safe_key|label instead of the opposite it was.
  166. - Made options labels translatable with i18n.
  167. - Added Views field handler for selection fields: in Views labels
  168. of option values are shown instead of the key.
  169. - Fix for select fields on order edit page: if the saved value
  170. isn't available anymore as an option (if for example that option
  171. has been deleted), the saved value is now added as an option, so
  172. the saved value won't be overwritten when editing the order.
  173. #1200986 by MegaChriz:
  174. - Added raw user input tokens for field values.
  175. by MegaChriz:
  176. - Small fix in token values: empty values will no longer result in
  177. "n/a" being displayed.
  178. #1212162 by MegaChriz:
  179. - fixed populating of checkboxes.
  180. #1253706 by MegaChriz:
  181. - Added field types documentation in the README.txt.
  182. - Added help via hook_help().
  183. - Added validation for PHP fields: now is checked if PHP-code is
  184. enclosed in php tags.
  185. - Added validation for select fields: now is checked if the
  186. select field has an "empty" option (e.g. "Please select")
  187. when the field is marked as required.
  188. by MegaChriz:
  189. - Little bugfix for select fields on order edit page: if there
  190. was no saved value or an empty value for that field, the select
  191. field no longer displays "Deleted option:".
  192. - Checked all strings for translatability and updated some of them.
  193. #1278348 by MegaChriz:
  194. - db_name field now has a max length of 32 characters (database update).
  195. by MegaChriz:
  196. - Fixed link to help page: this was leading to a non existing page
  197. when the core help module was disabled.
  198. #831134 by MegaChriz:
  199. - Wrote an upgrade script from 6.x-1.x to 6.x-2.x. Some of the previous
  200. update functions were changed to fit the upgrade at best.