Skip to content

Commit

Permalink
Merge pull request #3270 from 810/develop
Browse files Browse the repository at this point in the history
Release Kunena 4.0.2
  • Loading branch information
810 committed Jun 26, 2015
2 parents ecf0729 + fef3bf9 commit fad9712
Show file tree
Hide file tree
Showing 387 changed files with 34,775 additions and 11,017 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ In addition we recommend the following PHP settings:
memory_limit >= 32M (>= 64M recommended) - depends on other Joomla extensions used
safe_mode = off
upload_max_filesize >= 3M
GD, DOM, JSON support installed
GD, DOM, JSON, FINFO support installed and OpenSSL only to embedded tweets

*Kunena* requires the following Joomla settings:

Expand Down
17 changes: 4 additions & 13 deletions build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@
<copy todir="${tmp_dir}/packages/lib_kunena" overwrite="true">
<fileset dir="${project_dir}/libraries/kunena"/>
</copy>
<copy todir="${tmp_dir}/packages/plg_content_kunena" overwrite="true">
<fileset dir="${project_dir}/plugins/plg_content_kunena"/>
</copy>
<copy todir="${tmp_dir}/packages/plg_system_kunena" overwrite="true">
<fileset dir="${project_dir}/plugins/plg_system_kunena"/>
</copy>
Expand Down Expand Up @@ -147,11 +144,6 @@
<include name="**/*.xml"/>
</fileset>
</copy>
<copy todir="${tmp_dir}/packages/plg_content_kunena" overwrite="true" filtering="true">
<fileset dir="${project_dir}/plugins/plg_content_kunena">
<include name="**/*.xml"/>
</fileset>
</copy>
<copy todir="${tmp_dir}/packages/plg_system_kunena" overwrite="true" filtering="true">
<fileset dir="${project_dir}/plugins/plg_system_kunena">
<include name="**/*.xml"/>
Expand Down Expand Up @@ -202,22 +194,22 @@

<!-- Readme -->
<copy file="${project_dir}/README.md" tofile="${package_dir}/README.txt" overwrite="true" filtering="true" />

<!-- Put template crypsis boostrap 3 in his own package -->
<copy todir="${tmp_dir}/crypsisb3" overwrite="true">
<fileset dir="${project_dir}/${kunena.site}/template/crypsisb3">
<exclude name="**/*.md"/>
</fileset>
</copy>

<copy file="${project_dir}/${kunena.site}/template/crypsisb3/README.md" tofile="${tmp_dir}/crypsisb3/README.txt" overwrite="true" filtering="true" />

<copy todir="${tmp_dir}/crypsisb3" overwrite="true" filtering="true">
<fileset dir="${project_dir}/${kunena.site}/template/crypsisb3">
<include name="**/*.xml"/>
</fileset>
</copy>

<delete dir="${tmp_dir}/packages/com_kunena/site/template/crypsisb3" />
</target>

Expand Down Expand Up @@ -361,7 +353,6 @@
<language tag="zh-TW" />

<archive destfile="${build_dir}/packages/plg_system_kunena${str.version}" basedir="${tmp_dir}/packages/plg_system_kunena" />
<archive destfile="${build_dir}/packages/plg_content_kunena${str.version}" basedir="${tmp_dir}/packages/plg_content_kunena" />
<archive destfile="${build_dir}/packages/plg_quickicon_kunena${str.version}" basedir="${tmp_dir}/packages/plg_quickicon_kunena" />
<archive destfile="${build_dir}/packages/lib_kunena${str.version}" basedir="${tmp_dir}/packages/lib_kunena" />
<archive destfile="${build_dir}/packages/com_kunena${str.version}" basedir="${tmp_dir}/packages/com_kunena" />
Expand Down
9 changes: 3 additions & 6 deletions components/com_kunena/admin/install/install.script.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,13 @@ class Com_KunenaInstallerScript
'0' => '5.5' // Preferred version
),
'Joomla!' => array(
'3.4' => '3.4.0',
'3.4' => '3.4.1',
'3.3' => '3.3.6',
'3.2' => '3.2.7',
'3.1' => '3.1.5',
'3.0' => '3.0.4',
'2.5' => '2.5.28',
'0' => '3.3.6' // Preferred version
'0' => '3.4.1' // Preferred version
)
);
protected $extensions = array('dom', 'gd', 'json', 'pcre', 'SimpleXML');
protected $extensions = array('dom', 'gd', 'fileinfo', 'json', 'pcre', 'SimpleXML');

public function install($parent)
{
Expand Down
2 changes: 1 addition & 1 deletion components/com_kunena/admin/install/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
type="varchar(255)"
null="0"/>
<field name="icon"
type="varchar(20)"
type="varchar(60)"
null="0"/>
<field name="icon_id"
type="tinyint(4)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,12 @@
DEFAULT '' AFTER `topic_ordering`
</query>
</version>
<version version="4.0.2-DEV2"
versiondate="2015-06-18"
versionname="Internal">
<query mode="silenterror">ALTER TABLE `#__kunena_categories`
CHANGE COLUMN `icon` `icon` VARCHAR(60)</query>
</version>
<version version="@kunenaversion@"
versiondate="@kunenaversiondate@"
versionname="@kunenaversionname@">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ CREATE TABLE IF NOT EXISTS `#__kunena_categories` (
`parent_id` int(11) NULL default '0',
`name` tinytext NULL,
`alias` varchar(255) NOT NULL,
`icon` varchar(60) NOT NULL default '',
`icon_id` tinyint(4) NOT NULL default '0',
`locked` tinyint(4) NOT NULL default '0',
`accesstype` varchar(20) NOT NULL default 'joomla.level',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `#__kunena_categories` CHANGE COLUMN `icon` `icon` VARCHAR(60)
Loading

0 comments on commit fad9712

Please sign in to comment.