Commit Graph

63 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
e8e61faf61 [style] adjusted logging level to DEBUG for more detailed log output 2025-08-07 22:49:22 +02:00
c19813cbe2 [refactor] replaced info logging with debug for improved logging granularity and removed redundant log statements in backend services 2025-08-07 22:48:35 +02:00
cf163082b2 [update] improved summary generation prompts with stricter location formatting, updated JSON schema to support location field, and enhanced logging for AI operations in backend services 2025-08-07 18:09:05 +02:00
011b256662 [update] added gemma2:9b model to example.env, refactored prompt generation with stricter JSON rules, adjusted context size, integrated system prompt for better summaries, and improved error handling in backend services 2025-08-07 15:05:20 +02:00
0a97a57c76 [update] added validation for article data in NewsList.vue, removed unused Cypress config, expanded LLM models in example.env, adjusted context size and max article length in backend configuration, and updated workspace naming in yarn.lock 2025-08-07 13:15:40 +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
13fbac5009 Merge remote-tracking branch 'origin/main' into rewrite-rust-backend 2025-08-06 18:14:09 +02:00
092c065809 expanded example.env with new LLM model, increased MAX_ARTICLE_LENGTH, updated context size, and extended .gitignore entries 2025-08-06 18:13:50 +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
0f1632ad65 [update] overhauled README.md to reflect new Rust backend, modernized tooling instructions, updated frontend and backend setup guides, and improved clarity on application structure 2025-08-06 12:28:08 +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
e23a8d53d9 updated .gitignore to exclude generated SQLite file and Rust target directory 2025-08-05 03:18:49 +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
99ef24076e added frontend build initialization in backend startup logic, updated imports and threading setup 2025-08-04 22:54:02 +02:00
26c3cc79d7 updated backend imports for clarity, enhanced sync logic, and expanded proxy routes in frontend 2025-08-04 22:38:53 +02:00
c3eb540261 refactored import paths in backend for consistency and maintainability 2025-08-04 22:29:34 +02:00
6255e3dbd5 removed Cypress setup and related dependencies 2025-08-04 22:17:31 +02:00
3c3a8595c4 added user locale support for date formatting and input fields across components, updated TODO.md 2025-08-03 02:47:21 +02:00
4c8bb59bc5 updated TODO.md to include copy button feature for text sections 2025-08-03 01:04:14 +02:00
9af5b88713 refactored NewsList.vue structure to improve layout flexibility and fixed minor styling inconsistencies 2025-08-03 01:04:00 +02:00
ab133d0e4f implemented infinite scrolling with load more functionality, pagination support, and expanded state handling for articles 2025-08-02 23:53:16 +02:00
b82d94c230 added dark mode support across components and improved accessibility styling 2025-08-02 23:15:35 +02:00
93c06d10ee updated LLM configurations and added support for new models 2025-08-02 23:15:26 +02:00
d92ad3eb65 updated todo 2025-08-02 23:14:37 +02:00