- Add backup/restore commands to hexoctl (backup, restore, backup list/delete) - Add GitHub clone support (hexoctl github clone <url> [instance] [branch]) - Add Gitea push support (hexoctl gitea push [instance] [message]) - Add quick-publish command (clean + build + publish in one step) - Add 15 new RPCD methods for instance/backup/git management - Rewrite LuCI dashboard with KISS theme: - Multi-instance management with status cards - Instance controls: start/stop, quick publish, backup, editor, preview - GitHub/Gitea clone modals - Backup table with restore/delete - Stats grid: instances, posts, drafts, backups - Update API with 12 new RPC declarations - Update ACL with new permissions Also includes DNS Master app created in previous session. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
94 lines
1.8 KiB
JSON
94 lines
1.8 KiB
JSON
{
|
|
"luci-app-hexojs": {
|
|
"description": "Grant access to Hexo CMS",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.hexojs": [
|
|
"status",
|
|
"site_stats",
|
|
"list_posts",
|
|
"get_post",
|
|
"list_drafts",
|
|
"search_posts",
|
|
"list_categories",
|
|
"list_tags",
|
|
"list_media",
|
|
"list_apps",
|
|
"deploy_status",
|
|
"preview_status",
|
|
"get_config",
|
|
"get_theme_config",
|
|
"list_presets",
|
|
"git_status",
|
|
"git_log",
|
|
"git_get_credentials",
|
|
"gitea_status",
|
|
"list_instances",
|
|
"list_backups",
|
|
"get_workflow_status",
|
|
"list_profiles",
|
|
"get_haproxy_status",
|
|
"get_tor_status",
|
|
"get_instance_endpoints",
|
|
"get_instance_health",
|
|
"get_pipeline_status"
|
|
]
|
|
},
|
|
"uci": ["hexojs"]
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.hexojs": [
|
|
"create_post",
|
|
"update_post",
|
|
"delete_post",
|
|
"publish_post",
|
|
"delete_media",
|
|
"create_app",
|
|
"generate",
|
|
"clean",
|
|
"deploy",
|
|
"preview_start",
|
|
"save_config",
|
|
"save_theme_config",
|
|
"apply_preset",
|
|
"service_start",
|
|
"service_stop",
|
|
"service_restart",
|
|
"git_init",
|
|
"git_clone",
|
|
"git_pull",
|
|
"git_push",
|
|
"git_fetch",
|
|
"git_reset",
|
|
"git_set_credentials",
|
|
"gitea_setup",
|
|
"gitea_clone",
|
|
"gitea_sync",
|
|
"gitea_save_config",
|
|
"gitea_push",
|
|
"create_instance",
|
|
"delete_instance",
|
|
"start_instance",
|
|
"stop_instance",
|
|
"create_backup",
|
|
"restore_backup",
|
|
"delete_backup",
|
|
"github_clone",
|
|
"quick_publish",
|
|
"publish_to_www",
|
|
"apply_profile",
|
|
"publish_to_haproxy",
|
|
"unpublish_from_haproxy",
|
|
"publish_to_tor",
|
|
"unpublish_from_tor",
|
|
"full_publish",
|
|
"handle_webhook",
|
|
"setup_webhook"
|
|
]
|
|
},
|
|
"uci": ["hexojs"]
|
|
}
|
|
}
|
|
}
|