You are here

CHANGELOG.txt in AddThis 7.4

# 7.x-4.0-alpha7

- Issue #1960656 by juampynr: Give other modules the chance to hook in once addthis variable is available [#1960656]
- Issue #2407083 by petterw03: Add support for medium sized icons (20x20) [#2407083]
- Issue #2505439 by julka: update Twitter settings to use supported variables (addthis_config.passthrough.twitter.via and addthis_config.passthrough.twitter.text instead of addthis_config.templates.twitter)
- Issue #2706451 by xrxphawxby: Addthis widget loading not properly tracked causing double loading
- Issue #2803109 by gisle: Fixed double htmlentities encoded
- Issue #2713271 by pallavi_sugandhi, gisle: Everytime I click save configuration another http is added to each service url
- Issue #2580801 by tusharbodke: Drupal conding standards issue found
- Issue #2529436 by muriqui: Fatal error in AddThisScriptManager.php
- Issue #2644044 by mErilainen: Fixed warning htmlspecialchars
- Issue #2285177 by matason, jcisio, matglas86, rpsu, recrit: Use schemeless URLs to avoid mixed HTTP/HTTPS problem
- Issue #2765787 by DamienMcKenna: Pages not tracking in AddThis?

Github merges

- Issue #6 Changing default toolbox buttons on fields.
- Issue #8 Minor fixes in whitespace and use of empty method.

# 7.x-4.0-alpha6
Use update.php to rebuild the registry because of class changes.
If that does not work use the rebuild_registry module.

More importantly classes have been restructured and javascript loading
has been redesigned.

- Restructured test classes.
- Restructured the way widget.js is included, how loading is done and
  how the addthis.js behaves.
  - The addthis.js is always loaded but is used as a library instead of
    executing everything directly like it was before.
  - The include of AddThisJson and AddThisWidgetJs in AddThis::getInstance()
    where removed because they should be autoloaded from the register.

  Restructuring classes.
  - In general the AddThis class has become a sort of module file that contains
    all kinds of addthis related functions. This is bad design and therefore step
    by step things are refactored. This breaks API but no official rc or release
    has been given out yet.
  - Classes are structured now in folders in a way namespace could be organised.
    Because PHP 5.2 does not support namespaces we only use classes but the
    structure is already there for future portability.
  - AddThisScriptManager is added as a Service. This handles the attachment of
    js and settings when needing addthis or widgets on your page. The AddThis->addWidgetJs,
    AddThis->includeWidgetJs and AddThis->addConfigurationOptionsJs where
    removed in favor of the AddThisScriptManager functionality.
  - AddThisJson is moved to the Util directory.
  - AddThisWidgetJs is renamed to AddThisWidgetJsUrl and moved to the Util
    directory. The name changed because it better displays the purpose of the
    class.
  - AddThis->getServiceNamesAsCommaSeparatedString was made public to be usable
    inside the AddThisScriptManager.
  - getWidgetJsLoadType was renamed to getWidgetJsInclude because it displays
    the type of information better.
  - Related to the previous the WIDGET_JS_LOAD_TYPE was removed and split into
    WIDGET_JS_LOAD_DOMREADY, WIDGET_JS_LOAD_ASYNC and WIDGET_JS_INCLUDE. The
    reason beeing that the old way was misinterpreted. The DOMREADY and ASYNC
    type of loading are two different things but where not possible separately.

  Examples
  - Expanded the example with a hook_page_build to run the attach functionality
    on the whole page.

  Test
  - A test module was added to be able to test extra things but seperate it from
    the main module.
  - addthis.test contained two test classes. These where split into two sperate
    files.

# 7.x-4.0-alpha5
Some undefined index where fixed on the block save for disabled display.

- Unsupported operand types on block save. [#2181367]
- Minor changes to the documentation.
- Fixed issue #1943896 by fcjversc: Add Linkedin vertical counter.
- Fixed issue #2247245 by jmuzz: Implement button orientation option for Facebook Share button.
- Fixed issue #2250109 by matglas86, jmuzz: Add support for individual share counters.
- Fixed issue #2233585 by matglas86, mstef: Uncaught TypeError: Object #<Object> has no method 'ready' .
- Fixed issue #2206515 by matglas86, dubois: Add configuration 'services_excluded' (globally excluded services) to AddThis Basic Settings.
- Fixed issue #1989152 by matglas86, labue, juampy: Allow alterations to 'addthis_share' variable in 'addthis_configuration' alter hook.
- Fixed issue #2241967: Invalid preferred services on form validation.
- Issue #2181367 by matglas86, dubois | 4fs: Error Fatal error: Unsupported operand types.

# 7.x-4.0-alpha4
Fixed two nasty bugs in 7.x-4.0-alpha3.

- Undefined index: button_size & Undefined index: extra_css. [#2174975]
- Double colon :: changed to -> because addWidgetJs was not static. [#2174771]

# 7.x-4.0-alpha3

Major changes
- Configuration possible to blocks. [#1694868]
- Fixed tracking not working. [#1919156]
- Added DOM loading and basic include.
- Changed loading of widget.js be done only when a display is rendered.

Minor changes
- Coding standard fixes. Still more to do.
- Changing label text to describe compact menu enabled services.
- Fixed https loading of basic button. [#1734752]
- Fixed test on clickback tracking settings. [#2164647]
- Removed block dependency [#1814428]
- Updated AddThis js version from 250 to 300.
- Removed some files[] from the info because they did not contain classes. [#2151315]

======

Added namespace adding for Facebook Like.
Added counter bubble orientation in Basic Toolbox display type.
Fixed getDisplayTypes() to work with blocks. Also provide default settings always.
Add t() to description of Google Analytics elements in config page.

Removed legacy display types.
  AddThis module contained some small non generic display types. They where
  removed in favor of the display types added in the addthis_displays submodule.

Redesigned the config page.
  The settings page has been made more condensed and options have been merged
  into clear categories. There are some options that where removed because of
  legacy functionality that is now support inside the display types.

Fixed default value for ui_co_brand setting.
Added alter hook for configuration.
Added alter hook for markup options.
Added alter hook for markup render array.
Fixed async loading of widget.js.
Fix for #1308970 reported by vasike,fixed by matglas86. Error in block configure.
Changed dir name for submodule from addthis_display to addthis_displays.

File

CHANGELOG.txt
View source
  1. # 7.x-4.0-alpha7
  2. - Issue #1960656 by juampynr: Give other modules the chance to hook in once addthis variable is available [#1960656]
  3. - Issue #2407083 by petterw03: Add support for medium sized icons (20x20) [#2407083]
  4. - Issue #2505439 by julka: update Twitter settings to use supported variables (addthis_config.passthrough.twitter.via and addthis_config.passthrough.twitter.text instead of addthis_config.templates.twitter)
  5. - Issue #2706451 by xrxphawxby: Addthis widget loading not properly tracked causing double loading
  6. - Issue #2803109 by gisle: Fixed double htmlentities encoded
  7. - Issue #2713271 by pallavi_sugandhi, gisle: Everytime I click save configuration another http is added to each service url
  8. - Issue #2580801 by tusharbodke: Drupal conding standards issue found
  9. - Issue #2529436 by muriqui: Fatal error in AddThisScriptManager.php
  10. - Issue #2644044 by mErilainen: Fixed warning htmlspecialchars
  11. - Issue #2285177 by matason, jcisio, matglas86, rpsu, recrit: Use schemeless URLs to avoid mixed HTTP/HTTPS problem
  12. - Issue #2765787 by DamienMcKenna: Pages not tracking in AddThis?
  13. Github merges
  14. - Issue #6 Changing default toolbox buttons on fields.
  15. - Issue #8 Minor fixes in whitespace and use of empty method.
  16. # 7.x-4.0-alpha6
  17. Use update.php to rebuild the registry because of class changes.
  18. If that does not work use the rebuild_registry module.
  19. More importantly classes have been restructured and javascript loading
  20. has been redesigned.
  21. - Restructured test classes.
  22. - Restructured the way widget.js is included, how loading is done and
  23. how the addthis.js behaves.
  24. - The addthis.js is always loaded but is used as a library instead of
  25. executing everything directly like it was before.
  26. - The include of AddThisJson and AddThisWidgetJs in AddThis::getInstance()
  27. where removed because they should be autoloaded from the register.
  28. Restructuring classes.
  29. - In general the AddThis class has become a sort of module file that contains
  30. all kinds of addthis related functions. This is bad design and therefore step
  31. by step things are refactored. This breaks API but no official rc or release
  32. has been given out yet.
  33. - Classes are structured now in folders in a way namespace could be organised.
  34. Because PHP 5.2 does not support namespaces we only use classes but the
  35. structure is already there for future portability.
  36. - AddThisScriptManager is added as a Service. This handles the attachment of
  37. js and settings when needing addthis or widgets on your page. The AddThis->addWidgetJs,
  38. AddThis->includeWidgetJs and AddThis->addConfigurationOptionsJs where
  39. removed in favor of the AddThisScriptManager functionality.
  40. - AddThisJson is moved to the Util directory.
  41. - AddThisWidgetJs is renamed to AddThisWidgetJsUrl and moved to the Util
  42. directory. The name changed because it better displays the purpose of the
  43. class.
  44. - AddThis->getServiceNamesAsCommaSeparatedString was made public to be usable
  45. inside the AddThisScriptManager.
  46. - getWidgetJsLoadType was renamed to getWidgetJsInclude because it displays
  47. the type of information better.
  48. - Related to the previous the WIDGET_JS_LOAD_TYPE was removed and split into
  49. WIDGET_JS_LOAD_DOMREADY, WIDGET_JS_LOAD_ASYNC and WIDGET_JS_INCLUDE. The
  50. reason beeing that the old way was misinterpreted. The DOMREADY and ASYNC
  51. type of loading are two different things but where not possible separately.
  52. Examples
  53. - Expanded the example with a hook_page_build to run the attach functionality
  54. on the whole page.
  55. Test
  56. - A test module was added to be able to test extra things but seperate it from
  57. the main module.
  58. - addthis.test contained two test classes. These where split into two sperate
  59. files.
  60. # 7.x-4.0-alpha5
  61. Some undefined index where fixed on the block save for disabled display.
  62. - Unsupported operand types on block save. [#2181367]
  63. - Minor changes to the documentation.
  64. - Fixed issue #1943896 by fcjversc: Add Linkedin vertical counter.
  65. - Fixed issue #2247245 by jmuzz: Implement button orientation option for Facebook Share button.
  66. - Fixed issue #2250109 by matglas86, jmuzz: Add support for individual share counters.
  67. - Fixed issue #2233585 by matglas86, mstef: Uncaught TypeError: Object # has no method 'ready' .
  68. - Fixed issue #2206515 by matglas86, dubois: Add configuration 'services_excluded' (globally excluded services) to AddThis Basic Settings.
  69. - Fixed issue #1989152 by matglas86, labue, juampy: Allow alterations to 'addthis_share' variable in 'addthis_configuration' alter hook.
  70. - Fixed issue #2241967: Invalid preferred services on form validation.
  71. - Issue #2181367 by matglas86, dubois | 4fs: Error Fatal error: Unsupported operand types.
  72. # 7.x-4.0-alpha4
  73. Fixed two nasty bugs in 7.x-4.0-alpha3.
  74. - Undefined index: button_size & Undefined index: extra_css. [#2174975]
  75. - Double colon :: changed to -> because addWidgetJs was not static. [#2174771]
  76. # 7.x-4.0-alpha3
  77. Major changes
  78. - Configuration possible to blocks. [#1694868]
  79. - Fixed tracking not working. [#1919156]
  80. - Added DOM loading and basic include.
  81. - Changed loading of widget.js be done only when a display is rendered.
  82. Minor changes
  83. - Coding standard fixes. Still more to do.
  84. - Changing label text to describe compact menu enabled services.
  85. - Fixed https loading of basic button. [#1734752]
  86. - Fixed test on clickback tracking settings. [#2164647]
  87. - Removed block dependency [#1814428]
  88. - Updated AddThis js version from 250 to 300.
  89. - Removed some files[] from the info because they did not contain classes. [#2151315]
  90. ======
  91. Added namespace adding for Facebook Like.
  92. Added counter bubble orientation in Basic Toolbox display type.
  93. Fixed getDisplayTypes() to work with blocks. Also provide default settings always.
  94. Add t() to description of Google Analytics elements in config page.
  95. Removed legacy display types.
  96. AddThis module contained some small non generic display types. They where
  97. removed in favor of the display types added in the addthis_displays submodule.
  98. Redesigned the config page.
  99. The settings page has been made more condensed and options have been merged
  100. into clear categories. There are some options that where removed because of
  101. legacy functionality that is now support inside the display types.
  102. Fixed default value for ui_co_brand setting.
  103. Added alter hook for configuration.
  104. Added alter hook for markup options.
  105. Added alter hook for markup render array.
  106. Fixed async loading of widget.js.
  107. Fix for #1308970 reported by vasike,fixed by matglas86. Error in block configure.
  108. Changed dir name for submodule from addthis_display to addthis_displays.