- Added a detailed deployment guide (DEPLOYMENT_GUIDE.md) for frontend and backend setup.
- Created an index documentation (INDEX.md) summarizing changes and available resources.
- Established Nginx security configuration (NGINX_SECURITY_CONFIG.md) to protect backend IP and enforce rate limiting.
- Developed a backend security guide (SECURITY_BACKEND_GUIDE.md) outlining security measures and best practices.
- Introduced middleware for security, including rate limiting, CORS, and Cloudflare validation.
- Updated frontend components and services to improve security and user experience.
- Implemented logging and monitoring strategies for better security oversight.
feat: Create WelcomeItem component for displaying welcome messages
feat: Implement various icon components for the welcome section
feat: Add theme management functionality with multiple color themes
feat: Integrate internationalization support with Spanish and English locales
feat: Set up Vue Router with authentication callback handling
feat: Implement authentication service for Discord OAuth2 login
feat: Create bot service for fetching bot statistics and information
feat: Add AuthCallback view for handling authentication responses
chore: Configure Vite for development and production environments
- Introduced GeminiSettings component for configuring Gemini AI settings including API key, model selection, and inline suggestions.
- Updated App.vue to include GeminiSettings in the view management.
- Enhanced MonacoEditor with AI action buttons for code fixing, explaining, refactoring, and optimizing.
- Implemented responsive design for GeminiSettings and MonacoEditor components.
- Added sidebar button to toggle Gemini settings.
- Integrated API calls for saving and testing Gemini configuration.
- Agregar selector de directorio multi-OS con validación y persistencia
- Implementar preview en tiempo real del código generado en CommandCreator y EventCreator
- Activar TypeScript strict mode y añadir snippets nativos para mejorar la experiencia de desarrollo
- Crear documentación detallada sobre las nuevas funcionalidades y cambios realizados
- Actualizar README con instrucciones de uso y solución de problemas comunes
- Modificar archivos clave para integrar las nuevas características y mejorar la usabilidad
feat: Add new commands for Discord bot
- Implemented "Everyone" command that replies to the user when executed.
- Added "sdfsdfsdf" command with an alias "dfsf" that also replies to the user.
- Enhanced the command structure with type definitions for better type safety.
- Added feature flag helpers and decorators for easy usage in commands.
- Created a feature flag service for managing flags, including initialization, caching, and evaluation strategies.
- Implemented a loader to initialize the feature flag service on bot startup.
- Defined types for feature flags, including configurations, contexts, evaluations, and statistics.
- Provided examples of feature flag usage in commands, demonstrating various patterns such as A/B testing, gradual rollouts, and access control.
- Added utility functions for cookie parsing, string sanitization, and date formatting in `src/server/lib/utils.ts`.
- Introduced encryption and decryption methods for JSON objects to enhance data security.
- Implemented functions to handle HTTP request encoding and response compression.
- Created a safe upsert function for guild data using Prisma ORM.
test: Add syntax validation for dashboard items
- Created a script to validate the syntax of EJS templates in `test/.validate_dashboard_items_syntax.js`.
- Implemented error handling for unmatched brackets and unterminated strings in the script.
feat: Enhance Discord bot interaction with modals
- Developed a Discord bot feature to open modals with user input fields and selections in `test/example.ts.txt`.
- Added functionality to handle modal submissions and respond with user input.
chore: Backup invalid mob data and scheduled mob attacks
- Created JSON backups for invalid mob entries and scheduled mob attacks in `test/invalid_mobs_backup.json` and `test/scheduled_mob_attack_backup.json`.
test: Add various scripts for debugging and error tracing
- Introduced multiple scripts for parsing and validating JavaScript code using Acorn, including error tracing and token inspection in `test/tmp_*`.
- Updated the dashboard settings partial to include a semi-transparent background for better visibility.
- Introduced a new script for validating the syntax of dashboard item scripts, ensuring better error handling and diagnostics.
- Added a comprehensive JavaScript file for managing dashboard items, including fetching, rendering, editing, and deleting items.
- Implemented various utility functions for handling alerts, rewards, and modal interactions within the item management interface.
- Created temporary scripts for debugging and parsing errors in item scripts, aiding in development and maintenance.