93 Commits
Author SHA1 Message Date
Sanders 1f919b056d Fix Dockerfile 2025-02-19 21:00:04 +03:00
Sanders 127801df3b Fix AI filter and suggest 2025-02-19 20:47:27 +03:00
Sanders 6c7839e477 feat: Add book context to AI request processing 2025-02-19 20:18:40 +03:00
Sanders 1ca8f506a9 Add AI filter and suggest 2025-02-19 20:14:23 +03:00
Sanders 548c2f9d40 Fix AI 2025-02-17 20:18:04 +03:00
Sanders 6cd79f689c Fix schedule 2025-02-17 18:06:07 +03:00
Sanders 1dc1172202 feat: add daily book reading reminder scheduler with JobRunr 2025-02-17 17:31:40 +03:00
Sanders b029c3acad Add lastReadDate 2025-02-17 17:17:13 +03:00
Sanders 081284eee3 Fix small 2025-02-17 16:36:48 +03:00
Sanders ebc27f3755 refactor: Extract book creation logic into separate function 2025-02-17 16:32:07 +03:00
Sanders a65e797b70 fix: Escape exclamation mark in book addition confirmation message 2025-02-17 16:32:02 +03:00
Sanders 426829d6db Fix imports 2025-02-17 15:53:13 +03:00
Sanders 2d93ba5ca1 Small fix 2025-02-17 15:48:17 +03:00
Sanders 5f8fb29364 Add target books completion 2025-02-16 22:52:52 +03:00
Sanders 0d7e1b76d3 Add deleting books 2025-02-16 22:33:52 +03:00
Sanders 3d6496e26e feat: Add book deletion functionality to BookEditingService 2025-02-16 22:15:33 +03:00
Sanders 82b63c8ab3 feat: Add delete button to book editing keyboard 2025-02-16 21:48:20 +03:00
Sanders e284a52401 Fix small 2025-02-16 21:46:51 +03:00
Sanders b5e7f6e2c8 refactor: Improve profile editing structure for future extensibility 2025-02-16 21:39:54 +03:00
Sanders 2b89c9d581 Fix small 2025-02-16 21:11:00 +03:00
Sanders 8af75a64f5 Fix chat interactions 2025-02-16 20:37:00 +03:00
Sanders ed09bcc549 Small fixes 2025-02-16 19:26:43 +03:00
Sanders 505307883a Small fixes 2025-02-16 19:10:10 +03:00
Sanders cd81772e34 feat: Add reading statistics to book creation message 2025-02-16 19:09:40 +03:00
Sanders 0da26e98ee refactor: Simplify prompt and update TextRole in BookCreationServiceImpl 2025-02-16 19:09:34 +03:00
Sanders f3356758c7 feat: Add AI-generated congratulation after book creation 2025-02-16 19:03:57 +03:00
Sanders dc1ac12213 feat: Add role-based responses and context handling to OpenRouterService 2025-02-16 18:56:18 +03:00
Sanders 4d912b6bc9 Small fixes 2025-02-16 17:53:09 +03:00
Sanders ebf0357c59 feat: Add date editing functionality for books 2025-02-16 17:43:31 +03:00
Sanders 2d9cf5c892 feat: Add date editing functionality for books 2025-02-16 17:32:37 +03:00
Sanders b957ba5ca5 Move props 2025-02-16 16:02:00 +03:00
Sanders febb1b5e3c feat: Add RestTemplate bean to OpenRouterConfig 2025-02-15 19:25:32 +03:00
Sanders b19745a413 test: Add integration test for OpenRouterService with real API connection 2025-02-15 19:07:50 +03:00
Sanders 1371af04ff test: Add OpenRouterService integration test with SpringBootTest 2025-02-15 19:05:13 +03:00
Sanders 5dc7ab5e59 test: fix mock initialization and dependency injection in OpenRouterServiceTest 2025-02-15 18:50:24 +03:00
Sanders bd050c9658 test: Add OpenRouterConfig mock to OpenRouterServiceTest 2025-02-15 18:50:21 +03:00
Sanders fc283bb295 fix: enable property loading in OpenRouterConfig 2025-02-14 19:12:54 +03:00
Sanders 7e4d6aea19 Fix OpenRouter 2025-02-14 19:00:51 +03:00
Sanders a4269a5d8c feat: Add OpenRouter AI integration with config, service, and tests 2025-02-14 18:52:57 +03:00
Sanders 99ef7161b9 Fix docker 2025-02-14 18:27:34 +03:00
Sanders 17d57efab0 t 2025-02-14 12:07:11 +03:00
Sanders 2066376453 t 2025-02-14 12:03:53 +03:00
Sanders c600d74ff8 fix: update Dockerfile to use Gradle instead of Maven 2025-02-14 10:58:33 +03:00
Sanders e2907e83ba feat: Add Docker setup with environment variable configuration 2025-02-14 10:38:38 +03:00
Sanders 942f5eaa6f Add secret 2025-02-14 10:34:16 +03:00
Sanders 751f4e4c04 refactor: move sensitive data to application-secrets.properties 2025-02-14 10:26:04 +03:00
Sanders 6126e6f83a chore: update .gitignore to exclude secret configuration files 2025-02-14 10:25:03 +03:00
Sanders 5f4a7f356d feat: Add read date display in formatBookEntry 2025-02-13 19:58:09 +03:00
Sanders d5b1854753 Fixes for adding read date 2025-02-13 19:40:37 +03:00
Sanders 8cceeb9c08 feat: Add read date field to book creation with tests 2025-02-13 19:19:24 +03:00
Sanders 5a212f6024 Addad flyway + fixes 2025-02-13 18:54:37 +03:00
Sanders fbd6f0adfa build: Add Hibernate Tools dependency to build.gradle 2025-02-13 18:09:46 +03:00
Sanders 2f6ba63a4e fix: Correct migration version generation in build.gradle 2025-02-13 18:00:38 +03:00
Sanders cc3e3f6f17 feat: add initial Flyway migration for database schema 2025-02-13 17:56:11 +03:00
Sanders f31af9a2e7 small fix 2025-02-13 17:51:45 +03:00
Sanders d8af02e0df small fix 2025-02-13 17:51:41 +03:00
Sanders 59113f3ddc feat: add Flyway and migration generation support 2025-02-13 17:43:29 +03:00
Sanders a3af7a1c57 chore: Remove unused JPA schema generation properties 2025-02-13 17:43:26 +03:00
Sanders 1d7a279211 small fix 2025-02-13 16:58:58 +03:00
Sanders c12e8c2039 feat: Add profile editing mode case in Telegram bot service 2025-02-13 16:57:00 +03:00
Sanders e42d50b444 feat: Add profile editing mode case in Telegram bot service 2025-02-13 16:52:29 +03:00
Sanders dc10492524 feat: Add profile editing service with books goal tracking 2025-02-13 16:45:03 +03:00
Sanders 247f110fe6 Fix tests 2025-02-13 16:26:24 +03:00
Sanders 35a9092368 test: Enhance book creation state transition test with detailed verification 2025-02-10 19:03:28 +03:00
Sanders 39f982d72f Remove strange check 2025-02-09 20:24:47 +03:00
Sanders d381f42691 Fix tests 2025-02-09 20:22:37 +03:00
Sanders b307543228 test: enhance handleNewAddRequest test with ArgumentCaptor and explicit assertions 2025-02-09 20:18:26 +03:00
Sanders e307278e4b test: Add BookCommonService import to BookCreationServiceImplTest 2025-02-09 20:18:22 +03:00
Sanders 84ec79d444 test: add unit tests for book services 2025-02-09 20:00:51 +03:00
Sanders 04fb31ec3d Add cache logic 2025-02-09 19:31:44 +03:00
Sanders 48ecce8ef8 fix: Remove duplicate cache declaration and fix switch statement syntax 2025-02-09 19:07:44 +03:00
Sanders 5378ab9707 fix: ensure proper state initialization in book creation flow 2025-02-09 18:46:30 +03:00
Sanders 5f868a0351 refactor: optimize imports and add BookCommonService dependency 2025-02-09 18:39:48 +03:00
Sanders 4f62edc014 test: enhance Telegram bot application tests with context and token validation 2025-02-09 18:33:00 +03:00
Sanders 668a2d328f Add saving logic 2025-02-09 00:19:51 +03:00
Sanders c26a28709c refactor: extract formatting logic to utility class and improve code consistency 2025-02-09 00:00:13 +03:00
Sanders b2d7ad643f Merge remote-tracking branch 'origin/master' 2025-02-08 23:59:08 +03:00
Sanders 2a9d725a8c Add constants 2025-02-08 23:58:53 +03:00
Sanders da393536af Add constants 2025-02-08 23:54:36 +03:00
Sanders 6b9406bd9f refactor: Centralize constants and improve error handling 2025-02-08 23:53:06 +03:00
Sanders bd2bbd5f25 refactor: create BookCommonService for shared book operations 2025-02-08 23:50:48 +03:00
Sanders 49b31ae5d4 Add change books 2025-02-08 23:39:37 +03:00
Sanders be6d0ce68f refactor: Extract common logic in handle functions of BookEditingServiceImpl 2025-02-08 23:37:45 +03:00
Sanders e97f4eb92c refactor: Remove code duplication in BookEditingServiceImpl methods 2025-02-08 23:28:17 +03:00
Sanders 2ebf525cea feat: Add handleRestartMessage method to BookEditingServiceImpl 2025-02-08 23:28:16 +03:00
Sanders aafc94ba36 fix: Correct imports in Book service implementation files 2025-02-08 15:56:02 +03:00
Sanders 16c90a17c6 refactor: Remove unused method and streamline service dependencies 2025-02-08 15:56:01 +03:00
Sanders dae8563bf3 fix: Remove extra closing brace in BookEditingServiceImpl.java 2025-02-08 15:51:17 +03:00
Sanders 834687bd49 refactor: Complete BookListingServiceImpl and BookEditingServiceImpl logic 2025-02-08 15:49:28 +03:00
Sanders 41a59cb00e refactor: Split BookManageService into creation, editing, and listing services 2025-02-08 15:26:04 +03:00
Sanders 9fae772099 Add change books 2025-02-07 19:40:51 +03:00
Sanders 3e8a43807c Fix paginated book list 2025-02-07 16:07:21 +03:00
Sanders 61137438c2 Initial commit 2025-02-07 14:00:16 +03:00