Révision 2c8c2b87
Ajouté par Assos Assos il y a presque 9 ans
drupal7/sites/all/modules/addthis/CHANGELOG.txt | ||
---|---|---|
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 |
|
|
1 | 71 |
# 7.x-4.0-alpha3 |
2 | 72 |
|
3 | 73 |
Major changes |
Formats disponibles : Unified diff
Weekly update of contrib modules