7 Commits

Author SHA1 Message Date
Automated Action
ef4fa26931 Remove authentication requirements for open access API
- Replace authentication system with automatic default user creation
- Update all API endpoints to work without authentication
- Modify user endpoints to work with default user
- Update README.md to reflect the open access model
- Fix linting issues and ensure code quality
2025-05-27 19:23:34 +00:00
Automated Action
112ebdbf7d Fix SQLAlchemy 2.0 database migration error
- Update migrations/env.py to use SQLAlchemy 2.0 compatible syntax
- Import text class from sqlalchemy for executing raw SQL
- Convert connection.execute() call to use text() for PRAGMA statements
- Fix the database migration error for SQLite foreign keys
2025-05-27 19:07:24 +00:00
Automated Action
20e3b39596 Fix database migration error by re-exporting Base
- Add Base import to models/base.py to re-export it properly
- Fix issue where models/__init__.py was trying to import Base from models/base.py
- Add noqa comment to suppress unused import warning
- Maintain the same model architecture but with correct imports
2025-05-27 19:04:39 +00:00
Automated Action
2ea89c98f5 Fix dependency conflicts and update to FastAPI 0.100.x
- Update FastAPI from 0.96.x to 0.100.x to support Pydantic 2.x
- Update uvicorn from 0.22.x to 0.23.x for compatibility
- Update Pydantic model configurations to use model_config instead of Config class
- Keep Pydantic 2.x version as required by the project
2025-05-27 19:01:24 +00:00
Automated Action
493289730d Add secure SECRET_KEY generation and improve key documentation
- Update config.py to auto-generate a secure SECRET_KEY if not provided
- Add warning log when using an auto-generated key
- Update README with clearer information about the two different keys
- Add detailed security notes explaining each key's purpose
2025-05-27 18:57:18 +00:00
Automated Action
90c1cdef34 Setup News Aggregation Service
- Fix code linting issues
- Update README with detailed documentation
- Configure database paths for the current environment
- Create necessary directory structure

The News Aggregation Service is now ready to use with FastAPI and SQLite.
2025-05-27 18:50:11 +00:00
Automated Action
7e031648af Initial commit from template 2025-05-27 18:29:33 +00:00