Commit graph

5 commits

Author SHA1 Message Date
vrubel
4dc060d8d6 fix: show all events (including weekly recurring) in Telegram bot
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 20s
get_schedule_for_date, show_items_for_deletion, and send_reminders were
querying events with Event.date == date_str, which only matches one-off
events or a recurring event's anchor date. Recurring events on later
occurrences (and any per-date exception overrides) were silently
skipped, so /today could show just one event when several were
scheduled. Switched all three to materialize_events, already used by
the web frontends, which correctly expands recurring events.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-16 14:37:34 +00:00
vrubel
a18b5ad1ce Enhance schedule retrieval in Telegram bot to include contextual prefixes for today and tomorrow. Updated get_schedule_for_date function to accept an add_prefix parameter, modifying the output text accordingly. Adjusted command handlers to utilize the new functionality for improved user experience. 2025-12-30 18:43:25 +03:00
vrubel
60409362c7 Update timezone from Europe/London to Europe/Moscow across configuration, backend, and frontend files for consistent time handling. 2025-12-30 14:26:14 +03:00
vrubel
457dc74485 Add delete functionality for tasks and events in Telegram bot. Implemented commands for deleting items, including weekly tasks with scope options. Enhanced main menu and button handlers for better user interaction. Updated state management for deletion process. 2025-12-30 13:54:59 +03:00
vrubel
af2ea7be06 Initial commit: Schedule service for son 2025-12-30 12:23:42 +03:00