Major WHOOSH system refactoring and feature enhancements

- Migrated from HIVE branding to WHOOSH across all components
- Enhanced backend API with new services: AI models, BZZZ integration, templates, members
- Added comprehensive testing suite with security, performance, and integration tests
- Improved frontend with new components for project setup, AI models, and team management
- Updated MCP server implementation with WHOOSH-specific tools and resources
- Enhanced deployment configurations with production-ready Docker setups
- Added comprehensive documentation and setup guides
- Implemented age encryption service and UCXL integration

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-08-27 08:34:48 +10:00
parent 0e9844ef13
commit 268214d971
399 changed files with 57390 additions and 2045 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python3
"""
Generate password hash for Hive admin user
Generate password hash for WHOOSH admin user
Uses the same passlib configuration as the backend
"""
@@ -18,7 +18,7 @@ except ImportError:
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
# Generate hash for the new password
password = "hiveadmin123"
password = "whooshadmin123"
hashed = pwd_context.hash(password)
print(f"Original password: {password}")
@@ -30,11 +30,11 @@ print(f"Verification test: {'✅ PASS' if verified else '❌ FAIL'}")
# Test against old password
old_hash = "$2b$12$EjRUdYXNPgnveP6mgFY00uOj.fBp6u/9ZKqCZPdL4RK7QWg1Tpvp2"
old_password_test = pwd_context.verify("hiveadmin", old_hash)
print(f"Old password 'hiveadmin' verification: {'✅ PASS' if old_password_test else '❌ FAIL'}")
old_password_test = pwd_context.verify("whooshadmin", old_hash)
print(f"Old password 'whooshadmin' verification: {'✅ PASS' if old_password_test else '❌ FAIL'}")
new_password_test = pwd_context.verify("hiveadmin123", old_hash)
print(f"New password 'hiveadmin123' against old hash: {'✅ PASS' if new_password_test else '❌ FAIL (expected)'}")
new_password_test = pwd_context.verify("whooshadmin123", old_hash)
print(f"New password 'whooshadmin123' against old hash: {'✅ PASS' if new_password_test else '❌ FAIL (expected)'}")
print(f"\nSQL UPDATE command:")
print(f"UPDATE users SET hashed_password = '{hashed}' WHERE username = 'admin';")