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