Commit Graph

78 Commits

Author SHA1 Message Date
adminuser
8a81712cce Merge branch 'main' of https://git.pusula.blog/endery/voxblog
All checks were successful
Deploy to Production / deploy (push) Successful in 1m52s
2025-10-26 23:11:26 +00:00
adminuser
dbc6bf5362 localhost fix 2025-10-26 23:10:43 +00:00
a9b009685c feat: enhance AI content generation with logging and fallbacks
All checks were successful
Deploy to Production / deploy (push) Successful in 1m48s
- Added comprehensive logging for OpenAI API calls and responses in both AltTextGenerator and MetadataGenerator
- Updated OpenAI model from gpt-5-2025-08-07 to gpt-4o and standardized completion parameters
- Implemented fallback mechanisms for handling empty or invalid AI responses
- Added buildFallback methods to generate reasonable defaults from input text
- Enhanced MetadataGenerator with smart title/tag derivation and URL slugification
2025-10-27 00:04:23 +01:00
36de987b5e feat: implement automatic database migrations on server startup
All checks were successful
Deploy to Production / deploy (push) Successful in 1m45s
- Added new migrate.ts module to handle automatic database migrations using drizzle-orm
- Modified server startup to run migrations before Express initialization
- Added comprehensive documentation in AUTO_MIGRATION_SUMMARY.md explaining the implementation
- Updated DATABASE_SETUP.md to reflect automatic migration process and troubleshooting steps
- Added error handling to exit process if migrations fail during startup
- Implemented clear
2025-10-26 23:21:40 +01:00
5ec4438bce docs: add comprehensive database and testing documentation
- Created DATABASE_SETUP.md with detailed MySQL setup, troubleshooting, and maintenance guides
- Added QUICK_TEST_GUIDE.md with step-by-step testing procedures for mobile responsiveness, image uploads, content statistics, and full workflow
- Included troubleshooting sections in both guides with common issues and solutions
- Added environment variable documentation and database schema details
- Documented backup/restore procedures and verification steps for
2025-10-26 23:21:34 +01:00
2c5c685662 refactor: standardize database credentials and naming
All checks were successful
Deploy to Production / deploy (push) Successful in 1m46s
- Updated database credentials to use consistent naming pattern across variables
- Simplified database name from voxblog_prod to voxblog for clarity
- Added explicit MYSQL_ROOT_PASSWORD and MYSQL_PASSWORD variables for container setup
- Changed DB_USER from voxblog_user to voxblog to match database naming convention
2025-10-26 22:55:11 +01:00
b593ca35d5 feat: update database credentials and add content statistics docs
All checks were successful
Deploy to Production / deploy (push) Successful in 1m47s
- Changed database credentials in .env for improved security
- Added detailed implementation plan for content statistics feature (CONTENT_STATISTICS_PLAN.md)
- Created summary documentation for content statistics feature (CONTENT_STATISTICS_SUMMARY.md)
- Removed legacy MySQL root password and simplified database config variables
- Updated database name to use production naming convention (voxblog_prod)
2025-10-26 22:52:14 +01:00
31f9857804 feat: add mobile image upload support with camera integration
All checks were successful
Deploy to Production / deploy (push) Successful in 1m47s
- Added mobile-optimized image upload functionality allowing users to select from camera/gallery
- Updated upload button to support multiple file selection with progress indicator
- Added documentation for mobile upload testing steps in MOBILE_COMPATIBILITY.md
- Expanded mobile compatibility checklist to include camera/gallery upload verification
2025-10-26 22:36:21 +01:00
be6ce75a77 feat: add file upload button to media library
- Added file upload button with multi-file support alongside existing paste functionality
- Implemented handleFileUpload function to process multiple image files sequentially
- Added file input reference and reset logic to allow repeated uploads
- Included upload progress indicator showing count of files being processed
- Added validation to skip non-image files with error messaging
- Enhanced UI with disabled state during upload to prevent concurrent
2025-10-26 22:36:11 +01:00
adminuser
33354e655e Track deployment env file for workflow
All checks were successful
Deploy to Production / deploy (push) Successful in 1m48s
2025-10-26 21:26:54 +00:00
adminuser
2df902979a Align deployment workflow with production compose stack
Some checks failed
Deploy to Production / deploy (push) Failing after 2m38s
2025-10-26 21:12:01 +00:00
6b2f80cda4 feat: add mobile responsive layouts and touch-friendly controls
Some checks failed
Deploy to Production / deploy (push) Failing after 1m30s
- Updated all components with responsive breakpoints for mobile-first design
- Added touch-friendly controls with proper spacing and small button sizes
- Implemented responsive layouts that stack/wrap on mobile screens
- Created detailed mobile compatibility documentation
- Enhanced horizontal scrolling for data grids and steppers on mobile
- Optimized media library grid for smaller screens
- Added iOS safe area inset padding for bottom
2025-10-26 21:57:54 +01:00
adminuser
31c2b420eb fix: update proxy config and db wiring
Some checks are pending
Deploy to Production / deploy (push) Waiting to run
2025-10-25 23:29:04 +00:00
f160b26564 feat: update service ports from 3000/3001 to 3300/3301
Some checks are pending
Deploy to Production / deploy (push) Waiting to run
- Changed admin frontend port from 3000 to 3300 across all configuration files
- Changed API backend port from 3001 to 3301 across all configuration files
- Updated health check endpoints to use new ports in CI/CD workflow
- Modified documentation and deployment guides to reflect new port numbers
- Updated Caddy and Nginx reverse proxy configurations to use new ports
2025-10-26 00:25:40 +02:00
d8c41cc206 docs: add comprehensive local Docker testing guide
Some checks are pending
Deploy to Production / deploy (push) Waiting to run
- Created new LOCAL_TESTING.md with detailed instructions for setting up local development environment
- Added step-by-step setup guide covering Docker installation, environment configuration, and common commands
- Included troubleshooting section with solutions for common issues like port conflicts and build failures
- Added development workflow guidelines and testing checklist for quality assurance
- Documented performance tips and best practices for Docker
2025-10-25 23:42:24 +02:00
51999669af feat: add deployment and server configuration files
Some checks are pending
Deploy to Production / deploy (push) Waiting to run
- Added .dockerignore to exclude unnecessary files from Docker builds
- Enhanced .env.example with detailed configuration options and added MySQL settings
- Created Gitea CI/CD workflow for automated production deployment with health checks
- Added comprehensive Caddy server setup guide and configuration for reverse proxy
- Created Caddyfile with secure defaults for SSL, compression, and security headers

The changes focus on setting up a production-
2025-10-25 23:04:04 +02:00
197fd69ce3 fix: resolve streaming content accumulation issue
- Fixed stale closure bug in streaming content by using useRef to properly accumulate content instead of relying on state closure
- Added auto-scrolling functionality to keep latest content visible during generation
- Implemented smooth scrolling behavior and improved HTML styling for better readability
- Added content buffer reset when starting new generation
- Enhanced documentation with detailed explanation of the closure problem and solution
2025-10-25 21:39:40 +02:00
38376ab632 feat: persist AI generation state across navigation
- Moved streaming state (isGenerating, content, tokens, errors) from StepGenerate to usePostEditor hook
- Added new state management to allow continuous AI generation when navigating between editor steps
- Updated EditorShell to pass streaming state and setters down to StepGenerate component
- Added detailed documentation explaining streaming persistence architecture and user experience
- Removed local state from StepGenerate in favor of props
2025-10-25 21:35:43 +02:00
3896f8cad7 feat: add real-time content streaming with live preview
- Added streaming UI components with live content preview and token counter
- Implemented new generateContentStream service for SSE-based content generation
- Created comprehensive STREAMING_UI_GUIDE.md documentation with implementation details
- Added streaming toggle checkbox with default enabled state
- Enhanced StepGenerate component with progress bar and animated streaming display
- Added error handling and graceful fallback for streaming failures
2025-10-25 21:18:22 +02:00
c69863a593 refactor: restructure AI generation into modular architecture
- Split monolithic ai-generate.ts (453 lines) into 12 focused modules with clear responsibilities
- Created new directory structure with routes, services, utils, types, and config folders
- Implemented AIService orchestrator with specialized generators for content, metadata, and alt text
- Added centralized prompt templates and error handling
- Set up parallel routing to allow gradual migration from old implementation
2025-10-25 21:13:42 +02:00
c2eecc2f7c feat: add reference image support for AI content generation 2025-10-25 17:52:39 +02:00
4fd46f4d24 feat: persist generation sources in post editor state and API 2025-10-25 13:36:30 +02:00
4d1f8298de feat: add web search capability with source citations for AI content generation 2025-10-25 13:28:36 +02:00
d6b4109b22 feat: add AI-generated alt text and captions for image placeholders 2025-10-25 12:56:50 +02:00
068bf9be8a feat: add AI-powered metadata generation for blog posts 2025-10-25 00:27:26 +02:00
5685f03b7e feat: implement auto-save functionality for post editor with debouncing 2025-10-25 00:22:06 +02:00
3fee0d1acb docs: add AI content generation feature with OpenAI integration 2025-10-25 00:08:41 +02:00
35aabcd3d3 feat: add keyboard shortcuts, pagination, and auto-upload for audio recordings 2025-10-24 23:31:33 +02:00
706c0e4ae4 style: update layout to use full viewport width and fix overflow issues 2025-10-24 22:58:43 +02:00
8686744c7e refactor: reorganize admin UI with new layout components and top navigation bar 2025-10-24 21:56:19 +02:00
d63f450be0 refactor: remove AdminLayout wrapper and improve editor shell layout responsiveness 2025-10-24 21:35:56 +02:00
a035d19a5a refactor: extract post editor logic into custom hook for better separation of concerns 2025-10-24 21:25:22 +02:00
5efc6c690e feat: wrap assets step components in collapsible sections and remove draft ID display 2025-10-24 21:04:53 +02:00
cdbc5062ca feat: add image selection to Assets step and remove duplicate media library 2025-10-24 20:59:42 +02:00
b3418e3c96 feat: add collapsible sections to StepGenerate component with reusable CollapsibleSection 2025-10-24 20:51:11 +02:00
4afb21c38b refactor: improve editor layout with fixed height grid and scrollable content panels 2025-10-24 20:20:59 +02:00
7ca9b130c3 refactor: split editor shell into separate step components with shared interfaces 2025-10-24 20:18:03 +02:00
bb166f9377 feat: add image selection and transcription review for AI content generation 2025-10-24 19:42:40 +02:00
a05fdda2d2 feat: add responsive styles for media content in editor and preview 2025-10-24 18:19:43 +02:00
b93e0ac9c1 feat: add preview endpoint and UI for Ghost post content with media URL rewriting 2025-10-24 18:13:30 +02:00
7378360104 feat: redesign editor with step-by-step workflow and sticky sidebar layout 2025-10-24 17:55:44 +02:00
7252936657 feat: add AI prompt field to post editor and database schema 2025-10-24 16:37:47 +02:00
b3e6159519 feat: add feature image preview with remove button in MetadataPanel 2025-10-24 16:00:43 +02:00
b36a53fd45 feat: add toast notifications for post save success/failure states 2025-10-24 15:56:29 +02:00
df1a3b726e feat: add post status, delete functionality and improve metadata handling in editor 2025-10-24 15:53:34 +02:00
9e82fad875 feat: add clipboard paste-to-upload for images in media library 2025-10-24 15:46:16 +02:00
b90ca876db style: improve media library card layout with larger grid cells and better text wrapping 2025-10-24 15:42:30 +02:00
a6e86eb976 feat: enhance admin UI with data grid, search and sorting features 2025-10-24 15:38:32 +02:00
99c0d95ef2 feat: configure Material UI theme with custom colors and component styles 2025-10-24 15:20:32 +02:00
4327db242d feat: add posts list view and improve editor navigation flow 2025-10-24 15:17:43 +02:00