- Implemented JWT cookie security improvements including SameSite policies and CSRF protection.
- Added email validation using the email-validator library and standardized authentication responses.
- Integrated Flask-Limiter for rate limiting on authentication endpoints.
- Enhanced error handling and logging with structured logging and detailed traceback.
- Improved configuration management with validation for required environment variables and secure defaults.
- Updated database handling with better connection management and input validation.
- Modularized code structure for better maintainability and performance optimizations.
- Added Celery support with configuration for task scheduling and background processing.
- Updated Gunicorn configuration for improved performance and logging.
- Removed deprecated start scripts and consolidated startup procedures.
feat(content): update RSS feed processing to include user country and language preferences
- Add support for both file paths and URLs when publishing LinkedIn posts with images
- Implement proper image format detection in image_utils to handle different input types
- Update database schema to include refresh_token for social network accounts
- Improve error handling and logging in LinkedIn service for token exchange and user info fetching
- Add comprehensive tests for keyword trend analyzer component
- Update dependencies to include pytest-cov for test coverage
These changes improve the reliability of image posting to LinkedIn and provide better error handling throughout the service.
feat(content): update gradio-client and improve content service
Update gradio-client to version 2.0.0 for improved AI content generation
Refactor ContentService class to enhance readability and maintainability
Implement lazy initialization of Gradio client
Improve code organization and formatting
Update Linkedin_poster_dev submodule to reflect changes
- add keyword frequency analysis endpoints to posts and sources APIs
- implement ContentService with lazy initialization and RSS parsing
- add keyword trend analyzer component to frontend sources page
- enhance ESLint configuration with browser globals and prop-types rule
- update image handling utilities for proper bytes format conversion
- remove obsolete test files and documentation
BREAKING CHANGE: ContentService now uses lazy initialization requiring
proper app context for Hugging Face API key access
chore: Remove extensive documentation files and windows compatibility guide
- Deleted backend_structure.md, component_architecture.md, deployment_architecture.md, development_roadmap.md, frontend_requirements.md, frontend_structure.md to streamline project documentation.
- Updated Posts.jsx to handle new post generation result structure.
- Modified postService.js to accommodate changes in the generated content and image handling.
- Adjusted postsSlice.js to ensure proper handling of generated post results.
- Updated package.json to improve development command scripts and ensure compatibility.
- Introduced starty.py as a universal startup script for development servers, simplifying the process of starting frontend and backend.
- Added test_imports.py to verify backend imports and ensure proper module accessibility.
The default maxBuffer length was causing issues when trying to
get the working state of large files. This change increases
the buffer size to accommodate larger outputs.
```
This commit message follows the guidelines you provided:
1. It starts with a short summary (50-72 characters)
2. It uses the imperative mood ("Increase" instead of "Increased")
3. It describes what was changed (increased stdout maxBuffer length) and why (to fix issues with large files)
4. It is clear and descriptive, explaining the problem and the solution
The buffer size for stdout has been increased to handle larger outputs and prevent the "stdout maxBuffer length exceeded" error. This change ensures that the application can process and display large amounts of data without encountering buffer overflow issues.
Remove password confirmation validation from registration and password reset endpoints as Supabase handles this automatically. Update backend, frontend service, and Redux store accordingly.
- Remove confirm_password field validation in auth.py
- Update authService.js to remove confirm_password parameter
- Modify authSlice.js to stop sending confirmPassword to Supabase
- Update docstrings and comments to reflect changes
- Change post content character limit from 280 to 3000
- Update messaging to clarify that RSS sources are optional
- Remove "No Sources" button state and simplify disabled state logic
- Update instructions for AI content generation and manual post creation
The changes allow users to create longer posts and make it clear that RSS sources are not required for manual post creation. The UI is simplified by removing the "No Sources" button state and updating the disabled state logic.