Commit Graph

30 Commits

Author SHA1 Message Date
57a7b42b9d [refactor] removed analytics, config, and modular crates to simplify the codebase and streamline architecture 2025-08-20 16:46:27 +02:00
d37daf02f6 [feat] introduced server and cli crates with foundational HTTP server and CLI implementation, including routing, health check, and configuration setup 2025-08-20 09:58:21 +02:00
16167d18ff [feat] modularized backend with plugin architecture, added module-api, module-host, and summarizer crates, and integrated dynamic module loading into main.rs 2025-08-20 08:51:38 +02:00
7c6724800f [refactor] removed unused api.rs module to streamline code structure 2025-08-20 08:28:36 +02:00
af304266a4 [refactor] removed unused EnvFilter import to clean up dependencies in main.rs 2025-08-07 22:51:33 +02:00
815e3b22fd [refactor] expanded ConfigFile with additional modular structures and default implementations for improved configuration handling and extensibility 2025-08-07 22:49:55 +02:00
338b3ac7c1 [refactor] abstracted logging initialization and app settings loading into dedicated functions to streamline main.rs and improve code readability 2025-08-06 18:27:39 +02:00
9b805e891a [update] enhanced tracing-subscriber setup with compact JSON logging and environment-based filter for streamlined production logging 2025-08-06 17:43:59 +02:00
78073d27d7 [update] refactored configuration handling with comprehensive ConfigFile structure, added default settings, expanded support for new modules, and enhanced directory creation logic 2025-08-06 16:54:10 +02:00
c3b0c87bfa [update] added migration scripts for migrating news data to articles, geographic and category tagging, and default sharing templates 2025-08-06 16:39:49 +02:00
0aa8d9fa3a [update] added /config.toml to .gitignore to exclude local configuration files from version control 2025-08-06 16:39:33 +02:00
cbbd0948e6 [update] added validation for AppSettings with ConfigError, ensuring non-zero port enforcement in config.rs 2025-08-06 14:07:55 +02:00
3a5b0d8f4b [update] added JSON logging support with tracing-subscriber for production, updated dependencies in Cargo.toml and Cargo.lock 2025-08-06 14:02:33 +02:00
0ce916c654 [update] improved error handling in handlers.rs by differentiating database errors, providing clearer response messages, and adding error logging with tracing 2025-08-06 14:00:58 +02:00
f853213d15 [update] enhanced database connection pooling with configurable options (max_connections, min_connections, timeouts) and added detailed error context for migration failures 2025-08-06 13:31:22 +02:00
300845c655 [update] improved configuration path handling in config.rs, fixed path-to-string conversion errors, and adjusted paths for renamed project and user-specific directories 2025-08-06 13:27:54 +02:00
d90c618ee3 [update] added development dependencies (tokio-test, axum-test) in Cargo.toml and updated Cargo.lock with required packages for testing enhancements 2025-08-06 13:27:46 +02:00
e7a97206a9 [update] added new services (scraping, tagging, analytics, sharing) and models (tag, analytics, settings), modularized into Rust backend structure 2025-08-06 13:20:04 +02:00
c2adfa711d [update] renamed project from owly-news-summariser to owly-news across all files for consistency and simplified branding 2025-08-06 12:45:47 +02:00
b2d82892ef [update] enhanced ROADMAP.md with advanced geographic tagging, hierarchical filtering, migration strategies, and expanded analytics features, clarified project phase details, and incorporated tagging upgrades into future plans 2025-08-06 12:38:21 +02:00
7b114a6145 [cleanup] removed redundant trailing line in ROADMAP.md 2025-08-06 12:24:55 +02:00
4edb2b2179 [update] expanded ROADMAP.md to include detailed feature descriptions, enhanced database schema overview, and additional planned system modules 2025-08-06 12:21:57 +02:00
aa520efb82 [update] updated ROADMAP.md with new project architecture details, enhanced phase descriptions, and added configuration/system design elements 2025-08-06 11:46:43 +02:00
f22259b863 added config.toml support for flexible server configuration, integrated toml crate for parsing, refactored configuration management to use AppSettings, and updated database initialization logic 2025-08-05 11:24:59 +02:00
a30f8467bc implemented foundational API routes (/articles, /summaries) using Axum, added graceful shutdown handling, improved database initialization with connection pooling and directory creation, and integrated tracing for logging 2025-08-05 08:59:01 +02:00
79e4d7f1de refactored backend initialization logic: added centralized configuration management, improved database setup with connection pooling, and modularized core components (config, models, services) 2025-08-05 08:02:29 +02:00
37ebf45d82 migrated backend structure to Axum API setup, added core modules (models, services, api), integrated dotenv for configuration management, and added project roadmap for future phases 2025-08-05 08:02:07 +02:00
bc1735448a removed custom migration logic, integrated sqlx native migrations, and reorganized migration files for clarity and maintainability 2025-08-05 05:00:38 +02:00
59b19a22ff migrated migration logic from rusqlite to sqlx and updated relevant async methods for better database interaction 2025-08-05 04:18:42 +02:00
86b5f83140 added database migration and initialization logic to backend, including migration loader and async migration runner 2025-08-05 03:16:36 +02:00