- Add SupportDialog React component for user support requests - Add backend /api/support/tickets endpoint with osTicket API integration - Add comprehensive test suite for support tickets (Jest) - Add system_settings table migration for dynamic osTicket config - Fix OpenAI costs API query parameter bug - Clean up ESLint warnings across frontend components - Add Claude AI project configuration (.claude/ directory) - Add comprehensive code quality rules and patterns - Add security review and TDD workflow skills - Add analysis report documenting project state Technical details: - Support dialog with form validation and rate limiting - Database and env var fallback for osTicket credentials - Input sanitization and XSS protection - IP forwarding for ticket context - Full test coverage (backend unit tests: 69/69 passing)
8 lines
287 B
SQL
8 lines
287 B
SQL
CREATE TABLE IF NOT EXISTS system_settings (
|
|
id INT AUTO_INCREMENT PRIMARY KEY,
|
|
setting_key VARCHAR(191) NOT NULL UNIQUE,
|
|
setting_value TEXT NOT NULL,
|
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
|
);
|