Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update whole Gantry5 to be native Joomla 5 #3283

Open
wants to merge 27 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b42fd95
update build tools
peter1szalatnay Nov 9, 2024
8118bcb
update lib_gantry5 to joomla 5
peter1szalatnay Nov 12, 2024
bb089c1
update plg_system_gantry5 to joomla 5
peter1szalatnay Nov 12, 2024
4545331
update com_gantry5 to joomla 5
peter1szalatnay Nov 12, 2024
1fed053
update src to native joomla 5
peter1szalatnay Nov 12, 2024
6daa089
update nucleus
peter1szalatnay Nov 12, 2024
9d89d6d
update platform add grid to layout manager
peter1szalatnay Nov 12, 2024
e1e3a9a
update hydrogen to joomla 5
peter1szalatnay Nov 12, 2024
146af34
remove plg_system_gantry5_debugbar use joomla debug bar
peter1szalatnay Nov 12, 2024
671e9b7
update plg_quickicon_gantry5 to joomla 5
peter1szalatnay Nov 12, 2024
c8f03ff
update mod_gantry5_particle to joomla 5
peter1szalatnay Nov 13, 2024
753f208
update plg_gantry5_preset to joomla 5
peter1szalatnay Nov 13, 2024
24f50e2
update joomla-build
peter1szalatnay Nov 13, 2024
a73b83c
add missing files from mod
peter1szalatnay Nov 13, 2024
3522f69
update hebe
peter1szalatnay Nov 13, 2024
ba39652
fix builder issues
peter1szalatnay Nov 13, 2024
dd85876
fix version in admin xml
peter1szalatnay Nov 13, 2024
ca94811
update helium to joomla 5
peter1szalatnay Nov 13, 2024
4f3fd50
build proper webassetmanager integration
peter1szalatnay Nov 13, 2024
f91509d
fix template details
peter1szalatnay Nov 13, 2024
60640dc
fix assignments, move assets to nucleus package from library
peter1szalatnay Nov 14, 2024
13f6db4
fix assign right app in menu, add missing deps in build files
peter1szalatnay Nov 14, 2024
cfc65c7
add webassetmanger as instance to gantry, update menu to align with j…
peter1szalatnay Nov 16, 2024
402e74f
add multi language support to menu particle, fix update view
peter1szalatnay Nov 17, 2024
28009c1
fix languge menu
peter1szalatnay Nov 17, 2024
76e24e8
update goolge fonts to css version 2
peter1szalatnay Nov 17, 2024
ed41e58
add support for joomla.asset.json in media engines folder
peter1szalatnay Nov 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@
ehthumbs.db
Thumbs.db

# PhpStorm
# Ides
.idea
.vscode

# Composer
**/vendor/**
!**/scss/vendor/**

# Builds
bin/build/tmp
bin/build/package
bin/builder/tmp
bin/builder/package
dist

# Tester
Expand All @@ -25,17 +26,26 @@ platforms/*/*/src
platforms/*/*/assets
platforms/*/*/engines

!platforms/*/plg_gantry5_preset/src
!platforms/*/plg_system_gantry5/src
!platforms/*/plg_quickicon_gantry5/src
!platforms/*/mod_gantry5_particle/src

# Symbolic links in themes
themes/*/*/common
themes/*/*/custom

# Symbolic links in src
src/classes/Gantry/platforms

# Compiled
**/.sass-cache
**/*.map
**/node_modules/*
platforms/**/cache
themes/**/cache
npm-debug.log
.vscode/launch.json
sass-convert.sh
.vscode/settings.json
local.hebe.json
.yarn
.yarnrc.yml
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,36 @@
# 5.6.0
## 11/13/2024

1. [Common](#common)
1. [](#new)
- Updated Build tool dependencies
- Removed BourBon library dependency from nucleus
- Removed type attribut from script and style tags
- Added Grid Settings to Layout Manager
2. [Joomla](#joomla)
1. [](#new)
- Removed Joomla 3.x support
- Updated minimum requirement to PHP 8.1
- Updated SCSS compiler to v1.13
- Updated Twig to 3.14
- Remove deprecated spaceless tag
- Updated Library, Component, Plugin and Template to support Joomla 5 natively
- Added WebAssetManager as a Gantry DI container
- Added WebAssetManager 'useAsset' to Document (twig)
- Engine can be selected from theme.xml
- Added support to append language tag to menu name in Menu particle

# 5.5.19
## 05/23/2024

1. [Common](#common)
1. [](#bugfix)
- Fix Joomla 5.1 "Invalid extension update" bug
- FontAwesome 6 Fix (#3253)

# 5.5.18
## 05/22/2024

1. [Common](#common)
1. [](#bugfix)
- Regression: Mobile Menu fix (#3198)
Expand All @@ -14,8 +39,10 @@
- Minor english translation bugfixes
- Contentarray issue with Pagination (#3239)
- Minor Joomla 5 compatibility fixes

# 5.5.17
## 10/30/2023

1. [Common](#common)
1. [](#bugfix)
- Added Webp file extension to lightcase (#3159)
Expand All @@ -34,6 +61,7 @@

# 5.5.16
## 03/31/2023

1. [Common](#common)
1. [](#new)
- Updated SCSS compiler to v1.11
Expand Down
17 changes: 9 additions & 8 deletions assets/common/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
const gulp = require('gulp');

var argv = require('yargs').argv,
gutil = require('gulp-util'),
gulpif = require('gulp-if'),
uglify = require('gulp-uglify'),
rename = require('gulp-rename'),
Expand All @@ -13,7 +12,9 @@ var argv = require('yargs').argv,
sourcemaps = require('gulp-sourcemaps'),
browserify = require('browserify'),
watchifyModule = require('watchify'),
sass = require('gulp-sass'),
sass = require('gulp-sass')(require('sass')),
log = require('fancy-log'),
colors = require('ansi-colors'),

prod = !!(argv.p || argv.prod || argv.production),
watch = false;
Expand All @@ -38,7 +39,7 @@ var compileCSS = function(app) {
_out = app.out.split(/[\\/]/).pop(),
_maps = '../' + app.in.substring(0, app.in.lastIndexOf('/')).split(/[\\/]/).pop();

gutil.log(gutil.colors.blue('*'), 'Compiling', _in);
log(colors.blue('*'), 'Compiling', _in);

var options = {
sourceMap: !prod,
Expand All @@ -49,7 +50,7 @@ var compileCSS = function(app) {
return gulp.src(_in)
.pipe(sass(options).on('error', sass.logError))
.on('end', function() {
gutil.log(gutil.colors.green('√'), 'Saved ' + _in);
log(colors.green('√'), 'Saved ' + _in);
})
.pipe(gulpif(!prod, sourcemaps.write('.', { sourceRoot: _maps, sourceMappingURL: function() { return _out + '.map'; }})))
.pipe(rename(_out))
Expand All @@ -64,7 +65,7 @@ var compileJS = function(app, watching) {
_maps = './' + app.in.substring(0, app.in.lastIndexOf('/')).split(/[\\/]/).pop();

if (!watching) {
gutil.log(gutil.colors.blue('*'), 'Compiling', _in);
log(colors.blue('*'), 'Compiling', _in);
}

var bundle = browserify({
Expand All @@ -87,7 +88,7 @@ var compileJS = function(app, watching) {
if (watching) {
bundle = watchifyModule(bundle);
bundle.on('update', function(files) {
gutil.log(gutil.colors.red('>'), 'Change detected in', files.join(', '), '...');
log(colors.red('>'), 'Change detected in', files.join(', '), '...');
return bundleShare(bundle, _in, _out, _maps, _dest);
});
}
Expand All @@ -98,7 +99,7 @@ var compileJS = function(app, watching) {
var bundleShare = function(bundle, _in, _out, _maps, _dest) {
return bundle.bundle()
.on('end', function() {
gutil.log(gutil.colors.green('√'), 'Saved ' + _in);
log(colors.green('√'), 'Saved ' + _in);
})
.pipe(source(_out))
.pipe(buffer())
Expand Down Expand Up @@ -145,7 +146,7 @@ exports.watch = gulp.series(watchify, function() {
paths.css.forEach(function(app) {
var _path = app.in.substring(0, app.in.lastIndexOf('/'));
gulp.watch(_path + '/**/*.scss', function(event) {
gutil.log(gutil.colors.red('>'), 'File', event.path, 'was', event.type);
log(colors.red('>'), 'File', event.path, 'was', event.type);
return compileCSS(app);
});
});
Expand Down
12 changes: 7 additions & 5 deletions assets/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,20 @@
"slick": "^1.12.2"
},
"devDependencies": {
"browserify": "^17.0.0",
"gulp": "^4.0.2",
"gulp-sass": "^4.1.0",
"ansi-colors": "^4.1.3",
"browserify": "^17.0.1",
"fancy-log": "^2.0.0",
"gulp": "^5.0.0",
"gulp-if": "^3.0.0",
"gulp-rename": "^2.0.0",
"gulp-sass": "^5.1.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-uglify": "^3.0.2",
"gulp-util": "^3.0.8",
"merge-stream": "^2.0.0",
"sass": "^1.80.6",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0",
"watchify": "^4.0.0",
"yargs": "^16.2.0"
"yargs": "^17.7.2"
}
}
Loading