diff --git a/.mokogitea/manifest.xml b/.mokogitea/manifest.xml index f59b051..422e97c 100644 --- a/.mokogitea/manifest.xml +++ b/.mokogitea/manifest.xml @@ -8,7 +8,7 @@ Template - MokoOnyx MokoConsulting MokoOnyx - Joomla site template (successor to MokoCassiopeia) - 02.11.00 + 02.11.02 GNU General Public License v3 diff --git a/.mokogitea/workflows/issue-branch.yml b/.mokogitea/workflows/issue-branch.yml index 71d8c00..037799f 100644 --- a/.mokogitea/workflows/issue-branch.yml +++ b/.mokogitea/workflows/issue-branch.yml @@ -5,7 +5,7 @@ # FILE INFORMATION # DEFGROUP: Gitea.Workflow # INGROUP: moko-platform.Automation -# VERSION: 02.11.00 +# VERSION: 02.11.02 # BRIEF: Auto-create feature branch when an issue is opened name: "Universal: Issue Branch" diff --git a/CHANGELOG.md b/CHANGELOG.md index 4542033..902b220 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,21 +8,75 @@ DEFGROUP: Joomla.Template.Site INGROUP: MokoOnyx.Documentation PATH: ./CHANGELOG.md - VERSION: 02.11.00 + VERSION: 02.11.02 BRIEF: Changelog file documenting version history of MokoOnyx --> -# Changelog — MokoOnyx (VERSION: 02.11.00) +# Changelog — MokoOnyx (VERSION: 02.11.02) ## [Unreleased] -## [02.11.00] --- 2026-05-30 +### Added +- Hero image (`hero.jpg`) to template images +- `.fa-solid`, `.fa-regular`, `.fa-brands`, `.fa-light` icon margin spacing +- `.blog-item .item-image` fixed 250px height with object-fit cover +- Hide header on home page option (`hideHeaderHome` template param) +- Hide main menu on home page option (`hideMenuHome` template param) +- Three distinct menu overrides: mainmenu (collapsible), horizontal (always visible), default (vertical) +- `8.1.0` to templateDetails.xml +- `` support in updates.xml +- CONTRIBUTING.md with universal workflow and version policy -<<<<<<< HEAD -## [02.10.00] --- 2026-05-30 +### Changed +- Release pipeline rework: independent update streams, CLI-driven workflows +- Version bumps only trigger on `src/` changes (not docs/config) +- Branch protection: CI bot only for push, force push disabled +- Auto-bump supports dev, rc, feature/*, patch/* branches + +### Fixed +- Joomla update loop caused by version mismatch between ZIP and updates.xml +- Duplicate hamburger menu on mobile +- Stacked version suffixes (-dev-dev-dev) +- Template name doubling (Template - Template - MokoOnyx) ## [02.08.00] --- 2026-05-29 -======= -## [02.09.03] --- 2026-05-30 -## [02.09.02] --- 2026-05-30 ->>>>>>> origin/main +## [02.08.00] --- 2026-05-29 + +## [02.08.00] --- 2026-05-29 + +## [02.08.00] --- 2026-05-28 + + +All notable changes to the MokoOnyx Joomla template are documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [02.08.01] --- 2026-05-28 + +### Changed +- Migrated all workflow and template paths from `.github/` to `.mokogitea/` +- Template source paths updated: `templates/gitea/` to `templates/mokogitea/` +- HCL definition files removed -- Template repos are now the canonical source + +### Added +- `branch-cleanup.yml`: auto-delete merged feature branches after PR merge + +### Removed +- Removed deploy-manual.yml workflow -- switching to Joomla update server method for extension distribution +- Removed deploy variables and secrets (DEV_FTP_*) +- **Theme preview removed** -- Removed unused language strings for theme preview feature (never wired into config) +- **Repo cleanup** -- Removed 38 unused files: Fredoka/Pacifico fonts, dead npm tooling (package.json, scripts/), tmp-overrides/, placeholder tests, orphaned workflow copies, stale READMEs +- **Broken font options removed** -- Removed Noto Sans and Fira Sans from font selector (CSS files never existed) +- **Docs moved to wiki** -- CONTRIBUTING.md, CODE_OF_CONDUCT.md, GOVERNANCE.md migrated to Gitea wiki + +### Changed +- **repo-health.yml** -- Wiki-preferred documentation checks via Gitea API (wiki = full credit, repo file = advisory) +- **auto-release.yml Step 8b** -- Replaced inline Python with release_body_update.php CLI tool (fixes SIGPIPE exit 141) +- **pre-release.yml rewritten** -- Uses moko-platform CLI tools, PHP instead of Python, fixed broken platform detection +- **All workflow YAML files** -- Stripped non-ASCII characters (em dashes, arrows, emoji) for Gitea YAML parser compatibility + +### Fixed +- **Menu icon padding removed** -- Removed hardcoded `p-2` class from all mod_menu icon spans (horizontal + mainmenu layouts); icons now inherit spacing from the parent link +- **Runner checkout failures** -- Fixed MySQL deadlocks in Gitea actions scheduler by restarting Gitea and recreating runners with --privileged flag +- **workflow_dispatch 500 error** -- Stripped UTF-8 multibyte characters from all YAML files that Gitea's Go parser rejected as control characters diff --git a/SECURITY.md b/SECURITY.md index dc5af53..3dcf524 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -10,7 +10,7 @@ INGROUP: MokoOnyx.Governance REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoOnyx FILE: SECURITY.md - VERSION: 02.11.00 + VERSION: 02.11.02 BRIEF: Security policy and vulnerability reporting process for MokoOnyx. PATH: /SECURITY.md NOTE: This policy is process oriented and does not replace secure engineering practices. diff --git a/src/html/com_joomgallery/category/default.php b/src/html/com_joomgallery/category/default.php index fcb17f8..d2cc674 100644 --- a/src/html/com_joomgallery/category/default.php +++ b/src/html/com_joomgallery/category/default.php @@ -11,7 +11,7 @@ * INGROUP: MokoOnyx * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoOnyx * PATH: /html/com_joomgallery/category/default.php - * VERSION: 02.11.00 + * VERSION: 02.11.02 * BRIEF: Category view override — password gate then loads default_cat sub-layout */ diff --git a/src/html/com_joomgallery/category/default_cat.php b/src/html/com_joomgallery/category/default_cat.php index 955c5a4..8101288 100644 --- a/src/html/com_joomgallery/category/default_cat.php +++ b/src/html/com_joomgallery/category/default_cat.php @@ -11,7 +11,7 @@ * INGROUP: MokoOnyx * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoOnyx * PATH: /html/com_joomgallery/category/default_cat.php - * VERSION: 02.11.00 + * VERSION: 02.11.02 * BRIEF: Category sub-layout — subcategories grid + images grid with pagination */ diff --git a/src/html/com_joomgallery/gallery/default.php b/src/html/com_joomgallery/gallery/default.php index 32de199..8247af1 100644 --- a/src/html/com_joomgallery/gallery/default.php +++ b/src/html/com_joomgallery/gallery/default.php @@ -11,7 +11,7 @@ * INGROUP: MokoOnyx * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoOnyx * PATH: /html/com_joomgallery/gallery/default.php - * VERSION: 02.11.00 + * VERSION: 02.11.02 * BRIEF: Gallery view override — main image grid with masonry/justified layout */ diff --git a/src/html/com_joomgallery/image/default.php b/src/html/com_joomgallery/image/default.php index 3ea356a..b1e15a8 100644 --- a/src/html/com_joomgallery/image/default.php +++ b/src/html/com_joomgallery/image/default.php @@ -11,7 +11,7 @@ * INGROUP: MokoOnyx * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoOnyx * PATH: /html/com_joomgallery/image/default.php - * VERSION: 02.11.00 + * VERSION: 02.11.02 * BRIEF: Image detail view override — single image with metadata, tags, custom fields */ diff --git a/src/html/layouts/joomla/module/card.php b/src/html/layouts/joomla/module/card.php index 7595a0b..46ccfbb 100644 --- a/src/html/layouts/joomla/module/card.php +++ b/src/html/layouts/joomla/module/card.php @@ -10,7 +10,7 @@ * INGROUP: MokoOnyx * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoOnyx * PATH: /html/layouts/joomla/module/card.php - * VERSION: 02.11.00 + * VERSION: 02.11.02 * BRIEF: Custom card module chrome — renders module titles for all modules */ diff --git a/src/html/layouts/mokoonyx/article-metadata.php b/src/html/layouts/mokoonyx/article-metadata.php index 928fb43..17d673d 100644 --- a/src/html/layouts/mokoonyx/article-metadata.php +++ b/src/html/layouts/mokoonyx/article-metadata.php @@ -11,7 +11,7 @@ * INGROUP: MokoOnyx.Layouts * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoOnyx * PATH: /src/html/layouts/mokoonyx/article-metadata.php - * VERSION: 02.11.00 + * VERSION: 02.11.02 * BRIEF: Article metadata footer layout -- renders jcfields grouped by field group */ diff --git a/src/index.php b/src/index.php index aea6227..925803c 100644 --- a/src/index.php +++ b/src/index.php @@ -205,7 +205,10 @@ if ($this->countModules('drawer-left', true) || $this->countModules('drawer-righ // Container $wrapper = $this->params->get('fluidContainer') ? 'wrapper-fluid' : 'wrapper-static'; -$stickyHeader = $this->params->get('stickyHeader') ? 'position-sticky sticky-top' : ''; +$stickyHeader = $this->params->get('stickyHeader') ? 'position-sticky sticky-top' : ''; +$isHomePage = Factory::getApplication()->getMenu()->getActive() === Factory::getApplication()->getMenu()->getDefault(); +$hideHeaderHome = $isHomePage && (int) $this->params->get('hideHeaderHome', 0); +$hideMenuHome = $isHomePage && (int) $this->params->get('hideMenuHome', 0); // Meta $this->setMetaData('viewport', 'width=device-width, initial-scale=1'); @@ -430,6 +433,7 @@ $wa->useScript('user.js'); // js/user.js + +
countModules('banner', true)) : ?> diff --git a/src/language/en-GB/tpl_mokoonyx.ini b/src/language/en-GB/tpl_mokoonyx.ini index f54a343..9544463 100644 --- a/src/language/en-GB/tpl_mokoonyx.ini +++ b/src/language/en-GB/tpl_mokoonyx.ini @@ -61,6 +61,10 @@ TPL_MOKOONYX_FONT_NOTE_TEXT="Loading fonts from external sources might be agains ; ===== Header & navigation (Theme tab) ===== TPL_MOKOONYX_STICKY_LABEL="Sticky Header" +TPL_MOKOONYX_HIDE_HEADER_HOME_LABEL="Hide Header on Home Page" +TPL_MOKOONYX_HIDE_HEADER_HOME_DESC="Hide the site header (logo, branding) on the front page only." +TPL_MOKOONYX_HIDE_MENU_HOME_LABEL="Hide Main Menu on Home Page" +TPL_MOKOONYX_HIDE_MENU_HOME_DESC="Hide the main navigation menu on the front page only." TPL_MOKOONYX_BACKTOTOP="Back to Top" TPL_MOKOONYX_TOC_TITLE="Table of Contents" TPL_MOKOONYX_BACKTOTOP_LABEL="Back-to-top Link" diff --git a/src/language/en-US/tpl_mokoonyx.ini b/src/language/en-US/tpl_mokoonyx.ini index f4a565f..40c16fe 100644 --- a/src/language/en-US/tpl_mokoonyx.ini +++ b/src/language/en-US/tpl_mokoonyx.ini @@ -61,6 +61,10 @@ TPL_MOKOONYX_FONT_NOTE_TEXT="Loading fonts from external sources might be agains ; ===== Header & navigation (Theme tab) ===== TPL_MOKOONYX_STICKY_LABEL="Sticky Header" +TPL_MOKOONYX_HIDE_HEADER_HOME_LABEL="Hide Header on Home Page" +TPL_MOKOONYX_HIDE_HEADER_HOME_DESC="Hide the site header (logo, branding) on the front page only." +TPL_MOKOONYX_HIDE_MENU_HOME_LABEL="Hide Main Menu on Home Page" +TPL_MOKOONYX_HIDE_MENU_HOME_DESC="Hide the main navigation menu on the front page only." TPL_MOKOONYX_BACKTOTOP="Back to Top" TPL_MOKOONYX_TOC_TITLE="Table of Contents" TPL_MOKOONYX_BACKTOTOP_LABEL="Back-to-top Link" diff --git a/src/media/css/a11y-high-contrast.css b/src/media/css/a11y-high-contrast.css index 1080334..3d94c70 100644 --- a/src/media/css/a11y-high-contrast.css +++ b/src/media/css/a11y-high-contrast.css @@ -10,7 +10,7 @@ * INGROUP: MokoOnyx.Accessibility * REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoOnyx * PATH: ./media/css/a11y-high-contrast.css - * VERSION: 02.11.00 + * VERSION: 02.11.02 * BRIEF: High-contrast stylesheet for accessibility toolbar */ diff --git a/src/media/css/template.css b/src/media/css/template.css index ffbbd73..ea3033d 100644 --- a/src/media/css/template.css +++ b/src/media/css/template.css @@ -23514,8 +23514,16 @@ font-size: 0.8125rem; .fa-regular { margin-right: 0.25rem; } -/* pipeline test */ -/* v3 test */ +.blog-item .item-image { + height: 250px; + overflow: hidden; +} + +.blog-item .item-image img { + width: 100%; + height: 100%; + object-fit: cover; +} .fa-brands { margin-right: 0.25rem; diff --git a/src/media/images/hero.jpg b/src/media/images/hero.jpg new file mode 100644 index 0000000..c6d2c55 Binary files /dev/null and b/src/media/images/hero.jpg differ diff --git a/src/templateDetails.xml b/src/templateDetails.xml index 6b62a42..ce40c52 100644 --- a/src/templateDetails.xml +++ b/src/templateDetails.xml @@ -36,15 +36,7 @@ Template - MokoOnyx -<<<<<<< HEAD - 02.11.00 -======= -<<<<<<< HEAD - 02.11.00 -======= - 02.11.00 ->>>>>>> origin/main ->>>>>>> origin/main + 02.11.02-dev script.php 2026-05-16 Jonathan Miller || Moko Consulting @@ -246,6 +238,14 @@ + + + + + + + +