|
|
f879050b0c
|
Fix: Add missing socket listeners and fix database calls for surrender/rematch
- server.js: Added missing listeners for surrender, send_rematch, accept_rematch, decline_rematch events (previously missing, causing features to simple do nothing)
- gameManager.js: Removed invalid calls to non-existent incrementWins/incrementLosses methods (abandonGame already handles this internally)
|
2025-12-22 19:19:30 +11:00 |
|
|
|
0a8ea2b603
|
Migrate from Supabase to direct PostgreSQL connection
- Replace @supabase/supabase-js with native pg library
- Rewrite database.js to use PostgreSQL connection pool
- Update server.js with PostgreSQL connection testing
- Create postgres-schema.sql with complete database schema
- Add apply-schema.js script for easy schema deployment
- Update all documentation (README.md, DEPLOYMENT.md, deploy.sh)
- Remove Supabase-specific files and references
- Update db.config.example.js with PostgreSQL format
|
2025-12-22 12:54:36 +11:00 |
|
|
|
054cbf3e77
|
Migrate database from MySQL to Supabase PostgreSQL
- Added @supabase/supabase-js client library
- Rewrote database.js to use Supabase API
- Updated server.js health check for Supabase
- Updated db.config.example.js with Supabase format
- Created comprehensive SUPABASE_SETUP.md guide
- Added SQL schema files for easy deployment
- Updated README_DB_CONFIG.md for Supabase
Benefits:
- Managed PostgreSQL database
- Built-in Row Level Security
- Real-time capabilities
- Easy monitoring via dashboard
- Free tier for development
|
2025-12-21 15:40:57 +11:00 |
|
|
|
5238fc8d22
|
Enhanced SQL connection monitoring and diagnostics - Added detailed database status monitoring with retry functionality - Improved error handling and logging for SQL connections - Updated UI with connection status indicators and error banners
|
2025-12-20 15:50:34 +11:00 |
|
|
|
e7c8d890b9
|
Add database status bar with connection, latency, and write capability monitoring
|
2025-12-15 21:20:29 +11:00 |
|
|
|
831aa0856d
|
Add debug logging and fix registerPlayer UI feedback
|
2025-12-13 20:55:30 +11:00 |
|
|
|
9465409b2f
|
Add complete multiplayer system with real-time gameplay, challenge system, and 50x50 board option
|
2025-12-13 14:59:44 +11:00 |
|