Skip to content

Commit

Permalink
3.5.2 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Jan 19, 2017
1 parent 31afdf5 commit 0f4d071
Show file tree
Hide file tree
Showing 346 changed files with 334 additions and 17,297 deletions.
86 changes: 56 additions & 30 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,11 @@ var refreshFiles = function () {

fs.copySync('administrator/components/com_fabrik/', './fabrik_build/output/component/admin', {
'filter': function (f) {
//console.log('admin file: ' + f);
if (f.indexOf('\\com_fabrik\\update\\') !== -1) {
console.log('*********' + f);
return false;
}
return f.indexOf('.zip') === -1;
}
});
Expand All @@ -313,18 +318,18 @@ var refreshFiles = function () {

console.log('copying list templates');
// explicitly include list 2.5 templates
fs.mkdirsSync('./fabrik_build/output/component/site/views/list/tmpl25');
fs.copySync('./components/com_fabrik/views/list/tmpl25/default.xml',
'./fabrik_build/output/component/site/views/list/tmpl25/default.xml');
fs.copySync('./components/com_fabrik/views/list/tmpl25/_advancedsearch.php',
'./fabrik_build/output/component/site/views/list/tmpl25/_advancedsearch.php');
var tmpls = ['admin', 'adminmodule', 'bluesky', 'default', 'div'];
for (var i = 0; i < tmpls.length; i++) {
tmpl = tmpls[i];
fs.mkdirsSync('./fabrik_build/output/component/site/views/list/tmpl25/' + tmpl);
fs.copySync('./components/com_fabrik/views/list/tmpl25/' + tmpl,
'./fabrik_build/output/component/site/views/list/tmpl25/' + tmpl);
}
//fs.mkdirsSync('./fabrik_build/output/component/site/views/list/tmpl25');
//fs.copySync('./components/com_fabrik/views/list/tmpl25/default.xml',
// './fabrik_build/output/component/site/views/list/tmpl25/default.xml');
//fs.copySync('./components/com_fabrik/views/list/tmpl25/_advancedsearch.php',
// './fabrik_build/output/component/site/views/list/tmpl25/_advancedsearch.php');
//var tmpls = ['admin', 'adminmodule', 'bluesky', 'default', 'div'];
//for (var i = 0; i < tmpls.length; i++) {
// tmpl = tmpls[i];
// fs.mkdirsSync('./fabrik_build/output/component/site/views/list/tmpl25/' + tmpl);
// fs.copySync('./components/com_fabrik/views/list/tmpl25/' + tmpl,
// './fabrik_build/output/component/site/views/list/tmpl25/' + tmpl);
//}

// explicitly include 3.0 list templates
fs.mkdirsSync('./fabrik_build/output/component/site/views/list/tmpl');
Expand All @@ -342,6 +347,7 @@ var refreshFiles = function () {

console.log('copying form templates');
// explicitly include 2.5 form templates
/*
fs.mkdirsSync('./fabrik_build/output/component/site/views/form/tmpl25');
fs.copySync('./components/com_fabrik/views/form/tmpl25/default.xml',
'./fabrik_build/output/component/site/views/form/tmpl25/default.xml');
Expand All @@ -361,6 +367,7 @@ var refreshFiles = function () {
}
});
}
*/

// explicitly include 3.0 form templates
fs.mkdirsSync('./fabrik_build/output/component/site/views/form/tmpl');
Expand Down Expand Up @@ -415,25 +422,44 @@ var library = function (version, grunt) {

var component = function (version, grunt) {
// Need to move the package.xml file out of the component to avoid nasties
fs.move('./fabrik_build/output/component/admin/fabrik.xml',
'./fabrik_build/output/component/fabrik.xml', function () {
fs.move('./fabrik_build/output/admin/com_fabrik.manifest.class.php',
'./fabrik_build/output/component/com_fabrik.manifest.class.php', function () {
fs.move('./fabrik_build/output/component/admin/com_fabrik.manifest.class.php',
'./fabrik_build/output/component/com_fabrik.manifest.class.php', function () {
fs.move('./fabrik_build/output/component/admin/pkg_fabrik.xml',
'./fabrik_build/output/pkg_fabrik/pkg_fabrik.xml', function () {
fs.move('./fabrik_build/output/component/admin/pkg_fabrik_sink.xml',
'./fabrik_build/output/pkg_fabrik_sink/pkg_fabrik_sink.xml', function () {
zipPromises.push(zipPlugin('fabrik_build/output/component/',
'fabrik_build/output/pkg_fabrik_sink/packages/com_fabrik_' + version + '.zip'));
fs.move(
'./fabrik_build/output/component/admin/fabrik.xml',
'./fabrik_build/output/component/fabrik.xml',
function () {
fs.move(
'./fabrik_build/output/admin/com_fabrik.manifest.class.php',
'./fabrik_build/output/component/com_fabrik.manifest.class.php',
function () {
fs.move('' +
'./fabrik_build/output/component/admin/com_fabrik.manifest.class.php',
'./fabrik_build/output/component/com_fabrik.manifest.class.php',
function () {
fs.move(
'./fabrik_build/output/component/admin/pkg_fabrik.xml',
'./fabrik_build/output/pkg_fabrik/pkg_fabrik.xml',
function () {
fs.move(
'./fabrik_build/output/component/admin/pkg_fabrik_sink.xml',
'./fabrik_build/output/pkg_fabrik_sink/pkg_fabrik_sink.xml',
function () {
zipPromises.push(
zipPlugin(
'fabrik_build/output/component/',
'fabrik_build/output/pkg_fabrik_sink/packages/com_fabrik_' + version + '.zip'
)
);
//library(version, grunt)
; packages(version, grunt);
});
});
});
});
});
; packages(version, grunt);
}
);
}
);
}
);
}
);
}
);
};

var packages = function (version, grunt) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,6 @@ protected function moveFiles(&$installer, $upgrade = false)
}
}

if (JFile::exists(JPATH_ROOT . '/administrator/components/com_fabrik/header.php'))
{
JFile::delete(JPATH_ROOT . '/administrator/components/com_fabrik/header.php');
}

return true;
}

Expand Down
5 changes: 3 additions & 2 deletions administrator/components/com_fabrik/fabrik.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<extension client="site" method="upgrade" type="component" version="3">
<name>com_fabrik</name>
<creationDate>December 2016</creationDate>
<creationDate>January 2017</creationDate>
<author>Media A-Team, Inc.</author>
<copyright>Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.</copyright>
<copyright>Copyright (C) 2005-2017 Media A-Team, Inc. - All rights reserved.</copyright>
<license>GNU/GPL http://www.gnu.org/copyleft/gpl.html</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.pollen-8.co.uk</authorUrl>
Expand Down Expand Up @@ -92,6 +92,7 @@
<file>access.xml</file>
<file>config.xml</file>
<file>controller.php</file>
<file>header.php</file>
<file>headings.css</file>
<file>index.html</file>
</files>
Expand Down
4 changes: 2 additions & 2 deletions administrator/components/com_fabrik/pkg_fabrik.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<packagename>fabrik</packagename>
<version>3.5.2</version>
<url>http://www.fabrikar.com</url>
<creationDate>December 2016</creationDate>
<copyright>Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.</copyright>
<creationDate>January 2017</creationDate>
<copyright>Copyright (C) 2005-2017 Media A-Team, Inc. - All rights reserved.</copyright>
<author>Media A-Team, Inc.</author>
<packager>Rob Clayburn</packager>
<packagerurl>http://www.fabrikar.com</packagerurl>
Expand Down
4 changes: 2 additions & 2 deletions administrator/components/com_fabrik/pkg_fabrik_sink.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<url>http://www.joomla.org</url>
<packager>Rob Clayburn</packager>
<packagerurl>http://www.fabrikar.com</packagerurl>
<creationDate>December 2016</creationDate>
<copyright>Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.</copyright>
<creationDate>January 2017</creationDate>
<copyright>Copyright (C) 2005-2017 Media A-Team, Inc. - All rights reserved.</copyright>
<description>Fabrik Free Package</description>
<update>http://fabrikar.com/update/packages/free</update>
<files folder="packages">
Expand Down
4 changes: 2 additions & 2 deletions administrator/modules/mod_fabrik_form/mod_fabrik_form.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<extension client="administrator" method="upgrade" type="module" version="3">
<name>mod_fabrik_form</name>
<author>Media A-Team, Inc.</author>
<creationDate>December 2016</creationDate>
<copyright>Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.</copyright>
<creationDate>January 2017</creationDate>
<copyright>Copyright (C) 2005-2017 Media A-Team, Inc. - All rights reserved.</copyright>
<license>GNU/GPL http://www.gnu.org/copyleft/gpl.html</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.fabrikar.com</authorUrl>
Expand Down
4 changes: 2 additions & 2 deletions administrator/modules/mod_fabrik_list/mod_fabrik_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<extension client="administrator" method="upgrade" type="module" version="3">
<name>mod_fabrik_list</name>
<author>Media A-Team, Inc.</author>
<creationDate>December 2016</creationDate>
<copyright>Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.</copyright>
<creationDate>January 2017</creationDate>
<copyright>Copyright (C) 2005-2017 Media A-Team, Inc. - All rights reserved.</copyright>
<license>GNU/GPL http://www.gnu.org/copyleft/gpl.html</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.fabrikar.com</authorUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<extension client="administrator" method="upgrade" type="module" version="3">
<name>mod_fabrik_quickicon</name>
<author>Media A-Team, Inc.</author>
<creationDate>December 2016</creationDate>
<copyright>Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.</copyright>
<creationDate>January 2017</creationDate>
<copyright>Copyright (C) 2005-2017 Media A-Team, Inc. - All rights reserved.</copyright>
<license>GNU/GPL http://www.gnu.org/copyleft/gpl.html</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.fabrikar.com</authorUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<extension client="administrator" method="upgrade" type="module" version="3">
<name>Fabrik Visualization</name>
<author>Media A-Team, Inc.</author>
<creationDate>December 2016</creationDate>
<copyright>Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.</copyright>
<creationDate>January 2017</creationDate>
<copyright>Copyright (C) 2005-2017 Media A-Team, Inc. - All rights reserved.</copyright>
<license>GNU/GPL http://www.gnu.org/copyleft/gpl.html</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.fabrikar.com</authorUrl>
Expand Down
105 changes: 0 additions & 105 deletions components/com_fabrik/views/details/tmpl25/admin/default.php

This file was deleted.

32 changes: 0 additions & 32 deletions components/com_fabrik/views/details/tmpl25/admin/default_group.php

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 0f4d071

Please sign in to comment.