Commit Graph

548 Commits

Author SHA1 Message Date
gitea-actions[bot] fde8e54c62 chore(version): pre-release bump to 01.00.02-dev [skip ci] 2026-05-29 03:59:35 +00:00
gitea-actions[bot] f1bfe21a21 chore(version): auto-bump patch 01.00.12-dev [skip ci] 2026-05-29 03:57:20 +00:00
Jonathan Miller 29a32a9e07 fix(mobile): hide video/images on mobile, show card only
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
On mobile (<=768px) the video/slideshow is hidden behind the card
and wastes bandwidth. Now:
- Hide video and slide elements via display:none
- Remove fixed height so hero auto-sizes to card content
- Clear overlay background (no need without background media)
- Skip slideshow JS timer on mobile via matchMedia check

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 22:57:13 -05:00
gitea-actions[bot] 5d18c0f6c9 chore(version): auto-bump patch 01.00.11-dev [skip ci] 2026-05-29 03:56:03 +00:00
Jonathan Miller d738d75fad feat: add WYSIWYG content editor with card display on hero
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
- Add heroContent param with Joomla editor field for rich HTML input
- Add showCard toggle to wrap content in a styled card (white bg, shadow, rounded)
- Card CSS: semi-transparent white, 8px radius, centered, max 700px
- Remove old $module->content fallback — content now comes from params
- Language strings for en-GB and en-US (both .ini and .sys.ini)

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 22:55:54 -05:00
gitea-actions[bot] 33980dbe1e chore: update development channel 01.00.02-dev [skip ci] 2026-05-29 03:41:05 +00:00
gitea-actions[bot] b44ffefd9d chore(version): pre-release bump to 01.00.02-dev [skip ci] 2026-05-29 03:41:03 +00:00
gitea-actions[bot] 2fddc6dc8f chore(version): auto-bump patch 01.00.10-dev [skip ci] 2026-05-29 03:36:18 +00:00
Jonathan Miller 2b49acefaa feat(params): default hero height to 60vh, clarify vh/px in description
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
- Change default from 400px to 60vh (viewport-relative is more responsive)
- Add hint placeholder showing "e.g. 60vh or 400px"
- Update description to explain both px and vh units

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 22:36:11 -05:00
gitea-actions[bot] 52bc119db6 chore: update development channel 01.00.02-dev [skip ci] 2026-05-29 02:58:17 +00:00
gitea-actions[bot] 1c5737df6c chore(version): pre-release bump to 01.00.02-dev [skip ci] 2026-05-29 02:58:15 +00:00
gitea-actions[bot] ee4d7a7323 chore(version): auto-bump patch 01.00.09-dev [skip ci] 2026-05-28 23:04:27 +00:00
Jonathan Miller 1d50f88bbc fix(manifest): hardcode name and description in XML manifest
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Joomla does not reliably translate language keys in <name> and
<description> manifest elements — the .sys.ini may not be loaded
when these are first read. Hardcode the values instead.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 18:04:17 -05:00
gitea-actions[bot] 49c6a72bd3 chore(version): auto-bump patch 01.00.08-dev [skip ci] 2026-05-28 23:02:58 +00:00
Jonathan Miller 894866bf53 fix(i18n): add param labels to .ini files for admin form rendering
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Joomla's Module Manager loads mod_mokojoomhero.ini (not .sys.ini) when
rendering the configuration form fields. All param labels were only in
.sys.ini, causing raw constants to show in the admin edit screen.

Duplicated all param label/description strings into both .ini and
.sys.ini for en-GB and en-US locales.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 18:02:46 -05:00
gitea-actions[bot] e492c4d181 chore(version): auto-bump patch 01.00.07-dev [skip ci] 2026-05-28 22:46:56 +00:00
Jonathan Miller d5bf76e642 feat(i18n): add en-US locale alongside en-GB
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
- en-GB: British English (Colour, Centre)
- en-US: American English (Color, Center)
- Both locales declared in manifest <languages> section

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 17:46:47 -05:00
gitea-actions[bot] f7557a1d62 chore: update development channel 01.00.02-dev [skip ci] 2026-05-28 22:39:41 +00:00
gitea-actions[bot] c8a22e926d chore: update development channel 01.00.02-dev [skip ci] 2026-05-28 22:23:53 +00:00
gitea-actions[bot] 05701e38c1 chore: update development channel 01.00.02-dev [skip ci] 2026-05-28 22:20:43 +00:00
gitea-actions[bot] afa5eb35fc chore(version): pre-release bump to 01.00.02-dev [skip ci] 2026-05-28 22:20:41 +00:00
gitea-actions[bot] 6287d63da4 chore(version): auto-bump patch 01.00.06-dev [skip ci] 2026-05-28 22:13:48 +00:00
Jonathan Miller e3d156bf2f refactor: align with Joomla 5 module conventions
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
- Rename css/template.css → css/mod_mokojoomhero.css
- Rename js/template.js → js/mod_mokojoomhero.js
- Update joomla.asset.json URIs to match new filenames
- Use $app (injected by Joomla) instead of Factory::getApplication()
- Remove unused Factory import
- Add proper scope annotations ($app, $module, $params)

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 17:13:32 -05:00
gitea-actions[bot] a57e236a06 chore(version): auto-bump patch 01.00.05-dev [skip ci] 2026-05-28 22:00:42 +00:00
Jonathan Miller 5a77ec63f1 fix(updates): correct element name and display name in updates.xml
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
- Element must be mod_mokojoomhero (with prefix) to match #__extensions
- Display name should be "Module - MokoJoomHero" not "Module - mod_mokojoomhero"

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 17:00:34 -05:00
gitea-actions[bot] bd420ed52a chore: update development channel 01.00.02-dev [skip ci] 2026-05-28 21:55:05 +00:00
gitea-actions[bot] c2f21468be chore(version): pre-release bump to 01.00.02-dev [skip ci] 2026-05-28 21:55:03 +00:00
jmiller b9136d60a0 chore: sync .mokogitea/workflows/update-server.yml from moko-platform [skip ci] 2026-05-28 20:50:10 +00:00
jmiller cbc1034ffd chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-28 20:45:40 +00:00
jmiller eed2b5745a chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-28 20:27:29 +00:00
gitea-actions[bot] 0db90cc6fb chore: update development channel 01.00.02-dev [skip ci] 2026-05-28 20:14:32 +00:00
gitea-actions[bot] a299ec7954 chore(version): pre-release bump to 01.00.02-dev [skip ci] 2026-05-28 20:14:30 +00:00
gitea-actions[bot] 2f4d028416 chore(version): auto-bump patch 01.00.04-dev [skip ci] 2026-05-28 20:13:09 +00:00
Jonathan Miller ae948e41a7 feat: smart video URL detection for YouTube, Vimeo, and local files
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
The video field now accepts any URL format and auto-detects the source:
- YouTube: watch, embed, shorts, youtu.be (extracts video ID)
- Vimeo: vimeo.com/ID, player.vimeo.com/video/ID
- Local/direct: relative paths or direct URLs render as <video>

Also fix videoFile filter from url to string to allow local paths.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 15:12:52 -05:00
Jonathan Miller 7684780e07 fix(params): change videoFile filter from url to string
The url filter rejects local relative paths like images/video.mp4.
Changed to string filter to support both local paths and YouTube URLs.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 15:11:43 -05:00
jmiller d24be89420 chore: sync .mokogitea/workflows/pre-release.yml from moko-platform [skip ci] 2026-05-28 20:08:37 +00:00
jmiller 75ee5d0b7d chore: sync .mokogitea/workflows/update-server.yml from moko-platform [skip ci] 2026-05-28 20:05:16 +00:00
jmiller fd72d07c39 chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-28 20:01:48 +00:00
Moko Consulting 9d76604cfa fix(workflows): rename remaining old secrets in repo-specific workflows [skip bump]
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-28 14:48:53 -05:00
gitea-actions[bot] e88a533279 chore: update development channel 01.00.02-dev [skip ci] 2026-05-28 19:41:07 +00:00
gitea-actions[bot] 731b6b60e3 chore(version): pre-release bump to 01.00.02-dev [skip ci] 2026-05-28 19:41:04 +00:00
gitea-actions[bot] 3e19bd4348 chore(version): auto-bump patch 01.00.03-dev [skip ci] 2026-05-28 19:39:56 +00:00
Jonathan Miller ac5c8d18b2 feat: add YouTube video support for hero background
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Detect YouTube URLs (youtube.com/watch, youtu.be, youtube.com/embed)
and render a privacy-enhanced iframe embed instead of a <video> tag.
Local video files still work as before via the <video> element.

- Extract YouTube video ID via regex in entry point
- Render iframe with autoplay, muted, looped, no controls
- Use youtube-nocookie.com for privacy
- Add pointer-events: none to prevent interaction with video layer
- Update video field label/description to mention YouTube support

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 14:39:27 -05:00
Moko Consulting b126817d54 fix(workflows): GITHUB_TOKEN→GH_MIRROR_TOKEN (reserved name) [skip bump]
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-28 14:37:25 -05:00
gitea-actions[bot] 4c4ef2357a chore: update development channel 01.00.02-dev [skip ci] 2026-05-28 19:34:02 +00:00
Moko Consulting 3c2c9ee084 chore(workflows): sync all universal workflows from moko-platform [skip bump]
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-28 14:25:21 -05:00
Moko Consulting c99caf7174 refactor(workflows): rename secrets MOKOGITEA_TOKEN/GITHUB_TOKEN, use x-access-token [skip bump]
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-28 14:23:48 -05:00
Moko Consulting 1f08b9cdd0 fix(workflows): proper suffix handling — use version_set_platform instead of sed [skip bump]
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-28 14:15:33 -05:00
gitea-actions[bot] 7aac0829db chore: update development channel 01.00.02-dev [skip ci] 2026-05-28 19:10:04 +00:00
gitea-actions[bot] bd1ce56588 chore(version): pre-release bump to 01.00.02-dev [skip ci] 2026-05-28 19:10:02 +00:00