File tree Expand file tree Collapse file tree
plugins/privacy/activitystream Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ #### Legend
4+
5+ - Bug Fix (-)
6+ - Feature Addition (+)
7+ - Improvement (^)
8+
9+ ## com_activitystream v1.0.3
10+
11+ ##### ^ Improvements:
12+ - #169696 PHP8 compatibilty fixes
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<extension version =" 3.0" type =" plugin" group =" api" method =" upgrade" >
33 <name >com_api_tjactivity</name >
4- <version >1.0.1 </version >
5- <creationDate >8th Feb 2019 </creationDate >
4+ <version >1.0.3 </version >
5+ <creationDate >22nd Jul 2021 </creationDate >
66 <author >Techjoomla</author >
77 <authorEmail >extensions@techjoomla.com</authorEmail >
88 <authorUrl >https://techjoomla.com</authorUrl >
9- <copyright >Copyright (C) 2016 - 2019 Techjoomla. All rights reserved.</copyright >
9+ <copyright >Copyright (C) 2016 - 2021 Techjoomla. All rights reserved.</copyright >
1010 <license >http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license >
1111 <description >PLG_API_TJACTIVITY_DESCRIPTION</description >
1212 <languages >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<extension type =" component" version =" 3.0" method =" upgrade" >
33 <name >com_activitystream</name >
4- <!-- The following elements are optional and free of formatting constraints -->
5- <creationDate >8th Feb 2019</creationDate >
4+ <creationDate >22nd Jul 2021</creationDate >
65 <author >Techjoomla</author >
76 <authorEmail >extensions@techjoomla.com</authorEmail >
87 <authorUrl >https://techjoomla.com</authorUrl >
9- <copyright >Copyright (C) 2016 - 2019 Techjoomla. All rights reserved.</copyright >
8+ <copyright >Copyright (C) 2016 - 2021 Techjoomla. All rights reserved.</copyright >
109 <license >http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license >
11- <!-- The version string is recorded in the components table -->
12- <version >1.0.1</version >
13-
14- <!-- The description is optional and defaults to the name -->
10+ <version >1.0.3</version >
1511 <description >COM_ACTIVITYSTREAM_DESCRIPTION</description >
1612 <scriptfile >script.activitystream.php</scriptfile >
1713 <install >
Original file line number Diff line number Diff line change 11CREATE TABLE IF NOT EXISTS ` #__tj_activities` (
2- ` id` INT (11 ) NOT NULL AUTO_INCREMENT,
2+ ` id` INT (11 ) NOT NULL AUTO_INCREMENT,
33 ` actor` text (900 ),
44 ` actor_id` text (900 ),
55 ` object` text (900 ),
@@ -8,9 +8,9 @@ CREATE TABLE IF NOT EXISTS `#__tj_activities` (
88 ` target_id` text (900 ),
99 ` type` text (900 ),
1010 ` client` varchar (20 ),
11- ` template` text ( 900 ) ,
11+ ` template` text ,
1212 ` default_theme` varchar (20 ),
13- ` formatted_text` text ( 900 ) ,
13+ ` formatted_text` text ,
1414 ` access` tinyint (2 ) DEFAULT 1 ,
1515 ` state` tinyint (2 ) DEFAULT 1 ,
1616 ` location` text (900 ),
@@ -19,6 +19,4 @@ CREATE TABLE IF NOT EXISTS `#__tj_activities` (
1919 ` created_date` datetime DEFAULT NULL ,
2020 ` updated_date` datetime DEFAULT NULL ,
2121 PRIMARY KEY (` id` )
22- )
23- DEFAULT CHARSET = utf8 AUTO_INCREMENT = 1 ;
24-
22+ ) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 DEFAULT COLLATE= utf8mb4_unicode_ci;
Original file line number Diff line number Diff line change 1+ ALTER TABLE ` #__tj_activities` MODIFY ` template` text ;
2+ ALTER TABLE ` #__tj_activities` MODIFY ` formatted_text` text ;
3+ ALTER TABLE ` #__tj_activities` ENGINE = InnoDB;
Original file line number Diff line number Diff line change @@ -65,9 +65,11 @@ public function check()
6565 }
6666 }
6767
68+ $ errors = isset ($ errors ) && is_array ($ errors ) ? $ errors : [];
69+
6870 if (count ($ errors ))
6971 {
70- $ this ->setError (implode ($ errors , ', ' ));
72+ $ this ->setError (implode (' , ' , $ errors ));
7173
7274 return false ;
7375 }
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<extension version =" 3.9" type =" plugin" group =" privacy" method =" upgrade" >
33 <name >plg_privacy_activitystream</name >
4- <version >1.0.1 </version >
5- <creationDate >8th Feb 2019 </creationDate >
4+ <version >1.0.3 </version >
5+ <creationDate >22nd Jul 2021 </creationDate >
66 <author >Techjoomla</author >
77 <authorEmail >extensions@techjoomla.com</authorEmail >
88 <authorUrl >https://techjoomla.com</authorUrl >
9- <copyright >Copyright (C) 2016 - 2019 Techjoomla. All rights reserved.</copyright >
9+ <copyright >Copyright (C) 2016 - 2021 Techjoomla. All rights reserved.</copyright >
1010 <license >http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license >
1111 <description >PLG_PRIVACY_ACTIVITYSTREAM_XML_DESCRIPTION</description >
1212 <files >
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ public function installSqlFiles($parent)
231231 {
232232 $ query = trim ($ query );
233233
234- if ($ query != '' && $ query{ 0 } != '# ' )
234+ if ($ query != '' && $ query[ 0 ] != '# ' )
235235 {
236236 $ db ->setQuery ($ query );
237237
You can’t perform that action at this time.
0 commit comments