Commit Graph

19 Commits

Author SHA1 Message Date
c01f10c474 docs(wiki): refonte 126 modules — snapshots WebUI déterministes + READMEs 4 langues (ref #742)
Capture des 126 dashboards authentifiés (JWT minté serveur, injection localStorage)
avec attente de COMPLÉTION d'affichage déterministe (sentinelles de chargement
purgées + réseau calmé, plafond --delay) au lieu d'un sleep fixe. 126/126 OK.

- capture-screenshots.py: _wait_content_ready déterministe, mode --token (bypass
  login), goto domcontentloaded (plus de stall networkidle sur dashboards live)
- generate-docs.py: 23 modules jusqu'ici non documentés ajoutés (descriptions
  réelles depuis debian/control, EN/FR/DE/ZH), licence MIT→LicenseRef-CMSD-1.0,
  images wiki en URL raw.githubusercontent absolue (relatif = 404 sur GitHub wiki)
- 126 snapshots + thumbnails régénérés
- 126 READMEs paquet succincts + pages wiki MODULES/CATEGORIES ×4 langues

Gap modules documentés vs découverts: 23 → 0.
2026-06-26 10:14:14 +02:00
68e7763fc3 docs: Add Eye Remote Multigadget skill and wiki
- Add /multigadget skill covering autorun, storage, round UI, tooling
- Add Eye-Remote-Multigadget.md unified wiki hub
- Add Build-System.md to wiki with build documentation
- Add AI-BUILD-PROMPT.md for GPT/Gemini assistance
- Update sidebar and home page with new links
- Update WIP.md with #70 and #71 done

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-10 09:12:42 +02:00
d8f28ff40f feat(auth): Track IP and User-Agent in sessions
Login endpoint now captures:
- Client IP (from X-Forwarded-For, X-Real-IP, or connection)
- User-Agent header

Session events include this info for session storage.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-09 11:19:45 +02:00
9ec377ab8f docs: Add remaining screenshots and thumbnails
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-09 11:07:56 +02:00
129b1291dd feat(ui): Add domain filtering, error pages, and user sessions
- Add wrong-domain.html landing page for non-admin domains
- Add unknown-module.html for 404 on admin domain
- Metablogizer: auto-publish on startup, republish-all button
- Metablogizer: empty-site.html for sites with no content
- Metablogizer: change default domain suffix to .gk2.secubox.in
- Users: add active sessions display and revocation
- Nginx: domain filtering (only admin.gk2.secubox.in allowed)
- Nginx: /login clean URL without .html extension

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-09 11:02:42 +02:00
950ff7ee09 feat(ui): Add mobile hamburger menu + portal login redirect
- sidebar.js v2.36.0: Mobile responsive hamburger menu toggle
  - Auto-show hamburger button on screens < 768px
  - Overlay to close sidebar on tap outside
  - Close sidebar on nav item click (mobile)
  - Added toggleMobile/closeMobile to public API

- portal/login.html: Transparent redirect to /login.html
  - Preserves query params and hash for external links
  - Fallback for JavaScript disabled browsers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-09 10:18:40 +02:00
72802ad596 docs(screenshots): Add/update 48 module screenshots
Captured via capture-screenshots.py with 30s delay for cache refresh.
Includes thumbnails for wiki index.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-09 10:09:38 +02:00
eef430e123 feat(docs): Add screenshot capture system and multilingual wiki generator
- scripts/capture-screenshots.py: Auto-discovers 117 modules from packages/
  - Playwright-based capture with JWT authentication
  - 30-second delay per page for cache refresh
  - Thumbnail generation (400x225)
  - JSON manifest output

- scripts/generate-docs.py: Extended to 105 modules
  - Multilingual descriptions (EN, FR, DE, ZH)
  - --include-screenshots flag for wiki integration
  - Category index pages (CATEGORIES-XX.md)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-09 10:09:21 +02:00
4165d6d66c feat(network): Smart auto-IP with ARP collision detection (v1.7.0.2)
- Add ARP-based IP collision detection for multi-device environments
- MAC-based pseudo-random IP offset to spread devices across range
- Gratuitous ARP announcement to prevent IP conflicts
- Fix EspressoBin DSA network: target wan interface, not eth0 CPU port
- Static IP fallback 192.168.255.250 when DHCP unavailable
- Sync all build scripts to version 1.7.0
- Add screenshot script with 90+ module URLs
- Add mock HTML screenshots for documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-14 16:28:02 +02:00
7a34189ed4 feat(kiosk): Add VirtualBox debug logging for X11 troubleshooting
- Add generate_debug_report() to secubox-kiosk-launcher
- Capture system info, virtualization, graphics hardware
- Log DRM/KMS devices, kernel modules, Xorg status
- Enhanced error reporting with dmesg and VT status
- Debug reports saved to /tmp/kiosk-debug-*.log
- Add v1.6.7.2 overlay installer scripts
- Add emoji font fixes for navbar icons
- Add screenshots for v1.6.7.1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-13 08:26:06 +02:00
fbd475351d Update module screenshots with roadmap v1.1.0
- 45 module screenshots captured from VM
- Includes updated roadmap page with full migration tracking
- Shows 102 OpenWRT modules, 38 migrated, 64 pending

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 08:03:47 +01:00
f33b447294 Update all module screenshots and documentation
- Captured 45 module screenshots with new CRT theme
- Updated docs/SCREENSHOTS-VM.md with module gallery
- Updated wiki documentation for OpenWRT and Debian
- All modules now have consistent light theme navbar

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 07:22:52 +01:00
3d42000827 secubox-metrics: P31 phosphor theme for metrics dashboard
- Full inline CSS with CRT phosphor green (#33ff66) spectrum
- Dark tube background (#050803) with bloom text effects
- Removed dependency on external theme.css
- New screenshot showing live metrics dashboard

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 16:15:01 +01:00
129c9e5d46 Add Metrics Dashboard screenshot
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 16:11:37 +01:00
a05b76428f Update screenshots with stable portal service
All 45 modules captured with proper authentication.
Portal service now stable (watchdog fix applied).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 15:26:55 +01:00
c1e4b45d47 Fix screenshot tool login with aiohttp
- Use aiohttp to login via API (bypasses browser SSL issues)
- Inject JWT token into browser localStorage
- All 45 modules now captured with proper authentication
- Portal service watchdog needed (keeps dying)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 13:24:30 +01:00
1f2386b1a8 Update screenshots and wiki documentation
- Refreshed all 45 VM module screenshots
- Updated screenshot-tool.py with better login selectors
- Wiki documentation ready in docs/wiki/
  - secubox-debian-ui.md
  - secubox-openwrt-ui.md
  - UI-COMPARISON.md

Screenshots gallery: docs/SCREENSHOTS-VM.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 13:04:43 +01:00
482ffaf7aa Fix portal auth and add watchdog support
api/main.py:
- Persist default admin user on first load
- Add startup event to ensure users.json exists
- Better error handling for JSON decode errors

secubox-portal.service:
- Restart=always with WatchdogSec=30
- RuntimeDirectory=secubox ensures socket dir exists
- ExecStartPre creates /etc/secubox with proper ownership
- StartLimitBurst=5 prevents restart loops

Fixes authentication issues on fresh boot.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 12:54:04 +01:00
5d2264cadc Add comprehensive module documentation
- docs/MODULES.md: Complete documentation for all 46 modules
  - Organized by category (dashboard, security, network, etc.)
  - API endpoint counts and descriptions
  - CRT P31 phosphor theme documentation
  - Screenshot checklist for visual documentation
  - Module architecture and build instructions
- docs/screenshots/: Directory for module screenshots
- Updated WIP.md with Session 11 documentation work
- Updated MIGRATION-MAP.md with secubox-soc module

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 12:25:27 +01:00