seo-generator-server/tests
StillHammer 96b0afc3bc Fix critical authentication and Digital Ocean integration issues
- Fixed OpenAI API key hardcoding in BrainConfig.js causing 401 errors
- Implemented proper Digital Ocean Spaces integration with AWS SDK
  - Added deployArticle() function for HTML upload
  - Fixed fetchXMLFromDigitalOcean() to retrieve from correct path
  - Direct access to root bucket instead of wp-content/XML/
- Added aws-sdk dependency for S3-compatible operations
- Created comprehensive integration test suite
- Validated complete workflow: Google Sheets → DO XML → Processing

All external systems now operational:
 Google Sheets auth and data retrieval
 Digital Ocean Spaces upload/download
 XML template processing
 LLM API authentication

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 23:06:07 +08:00
..
_helpers Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
content Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
dashboard Setup test system extended 2025-09-05 20:09:53 +08:00
integration Fix critical authentication and Digital Ocean integration issues 2025-09-15 23:06:07 +08:00
llm Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
reports Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
runners [200~add step-by-step versioning system with Google Sheets integration 2025-09-06 16:38:20 +08:00
smoke Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
storage Initial commit 2025-09-03 15:29:19 +08:00
systematic setup base for api system 2025-09-15 14:14:32 +08:00
validators [200~add step-by-step versioning system with Google Sheets integration 2025-09-06 16:38:20 +08:00
basic-validation.test.js Improve step by step system, fix modular level 3 and 4 modules 2025-09-11 15:31:53 +08:00
setup-env.js Initial commit 2025-09-03 15:29:19 +08:00