chore: replace MokoJoom references with MokoSuite #253

Merged
jmiller merged 1 commits from feat/manifest-integrity into main 2026-06-07 22:30:31 +00:00
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ src/
├── config.ts # Loads ~/.mcp_mokobackup.json, resolves targets
├── client.ts # Backup execution logic
├── akeeba.ts # Akeeba Backup API integration (Joomla sites)
├── mokobackup.ts # MokoJoomBackup REST API integration
├── mokobackup.ts # MokoSuite Backup REST API integration
└── types.ts # BackupConfig, BackupTarget types
```
+1 -1
View File
@@ -7,7 +7,7 @@ import type { BackupTarget, BackupResult, AkeebaBackupRecord } from './types.js'
const TIMEOUT_MS = 300_000; // 5 min for backup operations
/**
* MokoJoomBackup client using Joomla Web Services API
* MokoSuite Backup client using Joomla Web Services API
* Endpoint: /api/index.php/v1/mokobackup/*
* Auth: Bearer token (Joomla API token)
*
+5 -4
View File
@@ -2,14 +2,15 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
# SPDX-License-Identifier: GPL-3.0-or-later
#
# MokoJoomGallery — Photo gallery management for Joomla
# MokoSuite — Joomla extension template
# Replace EXTENSION_NAME with your extension's element name.
# ==============================================================================
# CONFIGURATION - Customize these for your extension
# ==============================================================================
# Extension Configuration
EXTENSION_NAME := mokojoomgallery
EXTENSION_NAME := mokosuite
EXTENSION_TYPE := package
# Options: module, plugin, component, package, template
EXTENSION_VERSION := 1.0.0
@@ -132,11 +133,11 @@ build: clean minify ## Build extension package
@# --- Build the outer package ZIP ---
@echo " Assembling pkg_$(EXTENSION_NAME)..."
@cp $(SRC_DIR)/pkg_mokojoomgallery.xml $(BUILD_DIR)/pkg_mokojoomgallery.xml
@cp $(SRC_DIR)/pkg_$(EXTENSION_NAME).xml $(BUILD_DIR)/pkg_$(EXTENSION_NAME).xml
@cp $(SRC_DIR)/script.php $(BUILD_DIR)/script.php
@[ -d "$(SRC_DIR)/language" ] && cp -r $(SRC_DIR)/language $(BUILD_DIR)/language || true
@cd $(BUILD_DIR) && $(ZIP) -r "$(CURDIR)/$(DIST_DIR)/pkg_$(EXTENSION_NAME)-$(EXTENSION_VERSION).zip" \
pkg_mokojoomgallery.xml script.php language/ packages/
pkg_$(EXTENSION_NAME).xml script.php language/ packages/
@echo "$(COLOR_GREEN)✓ Package created: $(DIST_DIR)/pkg_$(EXTENSION_NAME)-$(EXTENSION_VERSION).zip$(COLOR_RESET)"
@echo " Contents:"
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "mokoconsulting/mokojoomgallery",
"description": "Photo gallery management for Joomla — galleries, images, thumbnails, lightbox, and frontend display",
"name": "mokoconsulting/mokosuite",
"description": "Joomla extension — replace with your extension description",
"type": "joomla-package",
"version": "01.00.00",
"license": "GPL-3.0-or-later",