feat: Add /print command for authorized users

This commit introduces a new `/print` command that is restricted to authorized users. The command displays non-sensitive configuration details to administrators.

The main changes are:
- Created `app/modules/print.py` to house the handler for the new command.
- The handler uses the existing `is_admin` function from `app/permissions.py` to check for authorization.
- The command displays the Timezone, Calendar ID, and n8n Webhook URL.
- Integrated the new command into `app/main.py`.
- Updated `tasks.md` to document the new feature.
This commit is contained in:
google-labs-jules[bot]
2025-12-15 23:44:15 +00:00
parent 889f60997c
commit 48f932c134
6 changed files with 34 additions and 91 deletions

View File

@@ -31,8 +31,8 @@ This file tracks the development tasks for the Talía project.
## Phase 4: Integrations
- [x] Implement `calendar.py` for Google Calendar integration.
- [x] Implement `llm.py` for AI-powered responses.
- [x] Implement `scheduler.py` for daily summaries.
- [ ] Implement `llm.py` for AI-powered responses.
- [ ] Implement `scheduler.py` for daily summaries.
## Log