Commit Graph

5 Commits

Author SHA1 Message Date
12774589fc feat(vhost-manager,network-tweaks): major v2.0 upgrade with dashboards and automation
VHost Manager v2.0:
- Add modern dashboard UI with auto-refresh for Internal Services, Redirects, and Virtual Hosts tabs
- Implement template activation system with one-click deployment (19 services, 6 redirects)
- Add section_id parameter to RPC backend for named VHost profiles
- Enhance API with createVHost() wrapper for template-based creation
- Fix redirect support with nginx return directive validation
- Add action buttons (Edit/Enable/Disable/Remove) to all VHost cards
- Implement confirmation modals for destructive actions
- Update README with comprehensive v2.0 feature documentation
- Add templates.json catalog with pre-configured service/redirect templates

Network Tweaks v1.0:
- Create network services dashboard with dynamic component discovery
- Add RPC backend with component filtering by network capabilities
- Implement cumulative impact tracking (DNS entries, VHosts, ports)
- Add network mode integration for profile-based settings
- Create dashboard.css with responsive grid layouts
- Add 10-second auto-refresh polling for live status updates

New Applications:
- Add luci-app-magicmirror (Smart mirror application)
- Add secubox-app-magicmirror with Docker runtime
- Add luci-app-network-tweaks (Network services monitoring)
- Add secubox-app-adguardhome (DNS filtering)
- Add secubox-app-nextcloud (File sync and sharing)
- Add plugin catalog manifests for AdGuard Home, MagicMirror, Nextcloud

Bug Fixes:
- Fix RPC backend shell script errors (remove local declarations from case statements)
- Fix fs.exec usage in vhosts.js (replace with uci module)
- Fix form rendering in Virtual Hosts view (use proper LuCI patterns)
- Fix file ownership issues (ensure root:root for deployed files)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-01 14:30:57 +01:00
db1f8f703c feat(appstore+vhost): add 6 popular self-hosted services
Added 6 new applications to both appstore and VHost templates:

New Apps & Templates:
1. 🐳 Portainer v2.21.4 (Hosting)
   - Docker container management UI
   - VHost: portainer.local → :9000
   - WebSocket support for real-time updates

2. 🏡 Home Assistant v2024.12.5 (IoT)
   - Home automation with 2000+ integrations
   - VHost: home.local → :8123
   - WebSocket for real-time device updates

3. 🎬 Jellyfin v10.10.3 (Media)
   - Free media server (Plex alternative)
   - VHost: jellyfin.local → :8096
   - Hardware transcoding support

4. 🔐 Vaultwarden v1.32.7 (Security)
   - Bitwarden-compatible password manager
   - VHost: vault.local → :80
   - HTTPS REQUIRED for mobile apps

5. 🦊 Gitea v1.22.6 (Productivity)
   - Self-hosted Git service (GitHub alternative)
   - VHost: git.local → :3000
   - SSH access supported

6. 📊 Uptime Kuma v1.23.15 (Network)
   - Uptime monitoring with status pages
   - VHost: uptime.local → :3001
   - WebSocket for real-time status

Catalog Stats:
- Appstore: 11 → 17 apps (+6, +55%)
- VHost Templates: 13 → 19 templates (+6, +46%)
- Appstore size: 9.6KB → 15KB (+5.4KB)
- VHost templates size: 7.7KB → 12KB (+4.3KB)

Version Updates:
- appstore/apps.json: v1.2 → v1.3
- vhost-manager/templates.json: v1.0 → v1.1

All new apps:
- Docker-based for easy deployment
- Stable status
- Pre-configured VHost templates
- SSL/Auth/WebSocket settings included

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-01 09:13:38 +01:00
f59ca75e08 feat(appstore): add Nextcloud and AdGuard Home
Added 2 new applications to SecuBox appstore catalog:

New Apps:
- Nextcloud v30.0.2 - Self-hosted cloud storage and collaboration platform
- AdGuard Home v0.107.54 - Network-wide ad blocker with DNS-over-HTTPS/TLS

Nextcloud (Productivity):
- File sync and share platform (Dropbox alternative)
- Calendar, contacts, mail, video calls, collaborative editing
- Requirements: 512MB RAM, 2GB storage
- Supports SQLite, MySQL, PostgreSQL

AdGuard Home (Network):
- Network-wide ad and tracker blocker (Pi-hole alternative)
- DNS-over-HTTPS/TLS support
- Parental controls and detailed analytics
- Requirements: 128MB RAM, 100MB storage

Catalog Stats:
- Total apps: 11 (was 9)
- File size: 9.6KB (was 7.9KB)
- Metadata version: 1.2

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-01 08:44:07 +01:00
2f86558944 feat(appstore): add LocalAI, Citadel, ISPConfig, and Mail-in-a-Box
Added 4 new applications to SecuBox appstore catalog:

New Apps:
- LocalAI v2.25.0 - Self-hosted OpenAI-compatible API for LLMs
- Citadel v9.99 - Complete groupware solution (email/calendar/collaboration)
- ISPConfig v3.2.12 - Web hosting control panel
- Mail-in-a-Box v70.0 - Easy-to-deploy email server

New Categories:
- AI & Machine Learning (🤖)
- Productivity (📧)
- Hosting & Control Panels (🖥️)

Catalog Stats:
- Total apps: 9 (was 5)
- Total categories: 7 (was 4)
- File size: 7.9KB (was 4.2KB)
- Metadata version: 1.1

All new apps use Docker containers for easy deployment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-01 08:40:56 +01:00
b00d13b84a fix(secubox): rename .appstore to appstore to fix package build
Renamed .appstore directory to appstore (without dot prefix) to ensure
proper inclusion in OpenWrt package builds. Hidden directories (starting
with .) can be problematic during tarball creation and package installation.

Changes:
- Renamed .appstore/ to appstore/
- Updated Makefile install path references
- Updated RPCD script APPSTORE_JSON path
- Fixed file permissions to 644 for apps.json

This fixes the issue where appstore appears empty on fresh firmware
installations.

New path: /usr/share/secubox/appstore/apps.json
Old path: /usr/share/secubox/.appstore/apps.json

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 12:38:47 +01:00