Skip to content

Commit 718ca9c

Browse files
committed
* Fix error: 'table column script_in-line too short' due to wrong column type #__jecs_rules.script_inline. Changed from "varchar(1024)" to "TEXT"
* Fix error: Wrong Sql update definition in manifest file, for automatic update of Jecs database tables.
1 parent 748f979 commit 718ca9c

File tree

7 files changed

+77
-6
lines changed

7 files changed

+77
-6
lines changed

CHANGELOG

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* @package Joomla Easy Custom Script (jecs)
3+
* @version 1.x.y Free
4+
*
5+
* @author Massimo Di Primio <info@diprimio.com>
6+
* @link https://www.diprimio.com
7+
* @copyright Copyright© 2017 Massimo Di Primio All Rights Reserved
8+
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
9+
*
10+
* ----------------------------------------------------------------------------
11+
*
12+
**
13+
14+
CHANELOG
15+
16+
v-1.0.2
17+
* Fix error: 'table column script_in-line too short' due to wrong column type `#__jecs_rules`.`script_inline`. Changed from "varchar(1024)" to "TEXT"
18+
* Fix error: Wrong Sql update definition in manifest file, for automatic update of Jecs database tables.
19+
20+
v-1.0.1
21+
* Fixed some language files typo.
22+
23+
v-1.0.0
24+
* First version of the package released in the public domain.

administrator/sql/updates/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<html><body></body></html>

administrator/sql/updates/mysql/0.0.1.sql renamed to administrator/sql/updates/mysql/1.0.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @author Massimo Di Primio <info@diprimio.com>
66
* @link https://www.diprimio.com
7-
* @copyright Copyright © 2017 Massimo Di Primio All Rights Reserved
7+
* @copyright Copyright© 2017 Massimo Di Primio All Rights Reserved
88
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
99
*
1010
* ----------------------------------------------------------------------------
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* @package Joomla Easy Custom Script (jecs)
3+
* @version 1.0.0 Free
4+
*
5+
* @author Massimo Di Primio <info@diprimio.com>
6+
* @link https://www.diprimio.com
7+
* @copyright Copyright© 2017 Massimo Di Primio All Rights Reserved
8+
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
9+
*
10+
* ----------------------------------------------------------------------------
11+
*
12+
* File containing mysql schema updates for the component.
13+
14+
Changelog
15+
16+
No database update on this version
17+
*/
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* @package Joomla Easy Custom Script (jecs)
3+
* @version 1.0.1 Free
4+
*
5+
* @author Massimo Di Primio <info@diprimio.com>
6+
* @link https://www.diprimio.com
7+
* @copyright Copyright© 2017 Massimo Di Primio All Rights Reserved
8+
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
9+
*
10+
* ----------------------------------------------------------------------------
11+
*
12+
* File containing mysql schema updates for the component.
13+
14+
Changelog
15+
16+
Fix error: 'table column script_inline too short'.
17+
*/
18+
ALTER TABLE `joomladb`.`#__jecs_rules`
19+
CHANGE COLUMN `script_inline` `script_inline` TEXT CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci' NOT NULL DEFAULT '' COMMENT 'content of the inline script' ;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<html><body></body></html>

jecs.xml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<author>Massimo Di Primio</author>
88
<authorEmail>m.diprimio@outlook.com</authorEmail>
99
<authorUrl>https://www.diprimio.com</authorUrl>
10-
<version>1.0.1</version>
10+
<version>1.0.2</version>
1111
<description>Joomla Extended Custom Script</description>
1212

1313
<!-- Runs on install/uninstall/update; New in 2.5 -->
@@ -19,11 +19,21 @@
1919
<!--<file driver="mysql" charset="utf8">sql/update.mysql.utf8.sql</file>-->
2020
</sql>
2121
</install>
22-
<update> <!-- Runs on update -->
22+
23+
<update>
24+
<schemas>
25+
<schemapath type="mysql">sql/updates/mysql</schemapath>
26+
</schemas>
27+
</update>
28+
<!-- Runs on update -->
29+
<!--
30+
<update>
2331
<sql>
2432
<file driver="mysql" charset="utf8">sql/update.mysql.utf8.sql</file>
2533
</sql>
2634
</update>
35+
-->
36+
2737
<uninstall> <!-- Runs on uninstall -->
2838
<sql>
2939
<file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file>
@@ -70,9 +80,8 @@
7080
<folder>views</folder>
7181
</files>
7282
<languages folder="languages/administrator">
73-
74-
<language tag="en-GB">en-GB/en-GB.com_jecs.ini</language>
75-
<language tag="en-GB">en-GB/en-GB.com_jecs.sys.ini</language>
83+
<language tag="en-GB">en-GB/en-GB.com_jecs.ini</language>
84+
<language tag="en-GB">en-GB/en-GB.com_jecs.sys.ini</language>
7685
</languages>
7786
</administration>
7887
<config>

0 commit comments

Comments
 (0)