Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Fabrik/fabrik into userel…
Browse files Browse the repository at this point in the history
…ement-filterlabel
  • Loading branch information
trob committed Jul 23, 2016
2 parents 9b828bb + 7c6a528 commit d7673ea
Show file tree
Hide file tree
Showing 1,006 changed files with 16,561 additions and 9,685 deletions.
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ includes/*
language/*
libraries/*
!libraries/dompdf/
!libraries/fabrik/fabrik/*
!libraries/joomla
libraries/joomla/*
!libraries/joomla/document
libraries/joomla/document/*
!libraries/joomla/document/partial/
!libraries/joomla/document/partial/*
libraries/dompdf/lib/fonts/log.htm
logs
modules/*
Expand All @@ -34,8 +41,9 @@ modules/*
!modules/mod_fabrik_list/*
!modules/mod_tagcloud
!modules/mod_tagcloud/*
!media/
media/*
!media/com_fabrik/*
!media/com_fabrik/
media/com_fabrik/uploads/
node_modules/*
plugins/*
Expand Down Expand Up @@ -99,3 +107,7 @@ custom.css
/ZendFramework-1.12.3
/mobiquo
/node_modules
components/com_fabrik/language/.DS_Store
components/com_fabrik/models/.DS_Store
.transifexrc
private.json
1,617 changes: 168 additions & 1,449 deletions .tx/config

Large diffs are not rendered by default.

31 changes: 22 additions & 9 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,24 @@ module.exports = function (grunt) {
},

all: {
files: grunt.file.expandMapping(['./plugins/fabrik_*/*/*.js', '!./plugins/fabrik_*/**/*-min.js',
'./media/com_fabrik/js/*.js', '!./media/com_fabrik/js/*-min.js', '!/media/com_fabrik/js/**',
'./media/com_fabrik/js/lib/datejs/**/*.js', '!./media/com_fabrik/js/lib/datejs/**/*-min.js',
files: grunt.file.expandMapping(
[
'./plugins/fabrik_*/*/*.js',
'!./plugins/fabrik_*/**/*-min.js',
'./plugins/fabrik_element/fileupload/lib/plupload/js/*.js',
'./plugins/fabrik_element/fileupload/lib/plupload/js/*-min.js',
'./media/com_fabrik/js/*.js',
'!./media/com_fabrik/js/*-min.js',
'!/media/com_fabrik/js/**',
'./media/com_fabrik/js/lib/datejs/**/*.js',
'!./media/com_fabrik/js/lib/datejs/**/*-min.js',
'./administrator/components/com_fabrik/models/fields/*.js',
'!./administrator/components/com_fabrik/models/fields/*-min.js',
'./administrator/components/com_fabrik/views/**/*.js',
'!./administrator/components/com_fabrik/views/**/*-min.js'],
'./plugins/fabrik_*/*/*.js', {
'!./administrator/components/com_fabrik/views/**/*-min.js'
],
'./plugins/fabrik_*/*/*.js',
{
rename: function (destBase, destPath) {

if (destPath.indexOf('media/com_fabrik/js') !== -1) {
Expand All @@ -43,7 +53,8 @@ module.exports = function (grunt) {
}

}
})
}
)
}
},

Expand Down Expand Up @@ -263,15 +274,17 @@ var refreshFiles = function () {
fs.mkdirsSync('./fabrik_build/output/component/admin');
fs.mkdirsSync('./fabrik_build/output/component/site/fabrikfeed');
fs.mkdirsSync('./fabrik_build/output/component/site/pdf');
fs.mkdirsSync('./fabrik_build/output/component/site/partial');
fs.mkdirsSync('./fabrik_build/output/component/media');
fs.mkdirsSync('./fabrik_build/library/fabrik');
//fs.mkdirsSync('./fabrik_build/library/fabrik');


fs.copySync('libraries/joomla/document/fabrikfeed', './fabrik_build/output/component/site/fabrikfeed');
fs.copySync('libraries/joomla/document/pdf', './fabrik_build/output/component/site/pdf');
fs.copySync('libraries/joomla/document/partial', './fabrik_build/output/component/site/partial');

// Library folder
fs.copySync('libraries/fabrik', './fabrik_build/library/fabrik');
//fs.copySync('libraries/fabrik', './fabrik_build/library/fabrik');

fs.copySync('administrator/components/com_fabrik/', './fabrik_build/output/component/admin', {
'filter': function (f) {
Expand Down Expand Up @@ -414,7 +427,7 @@ var component = function (version, grunt) {
'./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)
//library(version, grunt)
; packages(version, grunt);
});
});
Expand Down
Loading

0 comments on commit d7673ea

Please sign in to comment.