feat(v3.13.0): settings live DB reads, remove Directus/Appwrite, admin stats

Settings fixes:
- MAX_SITES_PER_USER, USER_RATE_LIMIT_PER_MIN/HR now read from DB settings
  table (DB > ENV > default), so dashboard/settings changes apply without
  restart. Sync cache refreshed on every save or delete.
- /api/me reports the live DB value for max_sites_per_user.

Admin improvements:
- Admin users bypass per-user rate limiting entirely (role=admin or ADMIN_EMAILS).
- Admin Overview now shows platform stats: registered users, new users (7d),
  total user sites, available tools.

Plugin cleanup:
- Appwrite and Directus plugins removed from the active registry (8 plugins
  now: WordPress, WooCommerce, WordPress Specialist, Gitea, n8n, Supabase,
  OpenPanel, Coolify). Plugin code is retained for future re-enabling.
- Settings page plugin visibility list updated to match.

Mobile onboarding:
- Stepper steps on narrow viewports stack vertically with correct full border
  and rounded corners on each step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-20 23:33:20 +02:00
parent f203ca88de
commit 43fd2201a0
223 changed files with 36183 additions and 4115 deletions

View File

@@ -18,7 +18,7 @@
# - /system/mcp → System (17 tools, Master Key)
# - /wordpress/mcp → WordPress Core (65 tools)
# - /woocommerce/mcp → WooCommerce (28 tools)
# - /wordpress-advanced/mcp → WordPress Advanced (22 tools)
# - /wordpress-specialist/mcp → WordPress Specialist (51 tools)
# - /gitea/mcp → Gitea (56 tools)
# - /n8n/mcp → n8n Automation (56 tools)
# - /supabase/mcp → Supabase Self-Hosted (70 tools)
@@ -218,39 +218,31 @@ WORDPRESS_SITE1_CONTAINER=coolify-wp-site1 # For WP-CLI access (optional)
# ==============================================================================
# ==============================================================================
# WORDPRESS ADVANCED PLUGIN
# WORDPRESS SPECIALIST PLUGIN
# ==============================================================================
#
# WordPress Advanced provides 22 advanced management tools:
# - Database operations (7 tools): export, import, search, query, repair
# - Bulk operations (8 tools): batch updates/deletes for posts, products, media
# - System operations (7 tools): system info, cache, cron, error logs
# WordPress Specialist provides 51 management tools across read / editor /
# settings / install / admin tiers. Companion-backed (Airano MCP Bridge
# v2.18.0+ — install wordpress-plugin/airano-mcp-bridge.zip on the WP
# site). No Docker socket needed; replaced the deprecated wordpress_advanced
# plugin (sunset 2026-05-04 in F.19.3.2-.3).
#
# REQUIRED: Docker container name for WP-CLI access
# NOTE: WordPress Advanced has the SAME configuration pattern as WordPress
# but requires 'container' configuration for WP-CLI access.
# Tool surface:
# - Read management (9 tools): plugins / themes / users / options / cron
# / maintenance status / system_info / phpinfo / disk_usage
# - Page editing (11 tools): Gutenberg blocks + Elementor + Classic
# - Theme dev (7 tools): install / activate / delete / file CRUD
# - Plugin write (6 tools): install / activate / deactivate / update / delete
# - Site config (6 tools): identity / reading / permalinks
# - Site layout (7 tools): menus / widgets / customizer
# - Database inspection (3 tools): db_size / db_tables / db_search
# (no SQL exposure; db_search wraps WP_Query)
# - Bulk fan-out (2 tools): bulk_post_update / bulk_term_update (50-item
# cap, concurrency=10)
#
# Security Benefits:
# - Separate API keys for advanced vs basic operations
# - Better tool visibility (basic users don't see advanced tools)
# - Granular access control
#
# Site 1 Advanced Configuration
WORDPRESS_ADVANCED_SITE1_URL=https://example1.com
WORDPRESS_ADVANCED_SITE1_USERNAME=admin
WORDPRESS_ADVANCED_SITE1_APP_PASSWORD=your_app_password_here
WORDPRESS_ADVANCED_SITE1_ALIAS=myblog
WORDPRESS_ADVANCED_SITE1_CONTAINER=coolify-wp-site1 # REQUIRED for advanced features
# Site 2 Advanced Configuration
#WORDPRESS_ADVANCED_SITE2_URL=https://example2.com
#WORDPRESS_ADVANCED_SITE2_USERNAME=admin
#WORDPRESS_ADVANCED_SITE2_APP_PASSWORD=your_app_password_here
#WORDPRESS_ADVANCED_SITE2_ALIAS=mystore
#WORDPRESS_ADVANCED_SITE2_CONTAINER=coolify-wp-site2
# Add more sites as needed (wordpress_advanced_site3, wordpress_advanced_site4, etc.)
# Sites are managed via the web dashboard (DB-based), not env vars.
# This section is documentation only — there are no env-var stanzas to
# fill in for wordpress_specialist sites.
# ==============================================================================
# LOGGING & MONITORING