feat: Add /print command for authorized users

This commit introduces a new `/print` command that is restricted to authorized users.

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.
- 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:31:39 +00:00
parent 0e8cfef055
commit 490f55bfcf
3 changed files with 20 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ This file tracks the development tasks for the Talía project.
- [x] Implement `aprobaciones.py` module.
- [x] Implement `servicios.py` module.
- [x] Implement `admin.py` module.
- [x] Add `/print` command for authorized users.
## Phase 4: Integrations
@@ -43,3 +44,7 @@ This file tracks the development tasks for the Talía project.
- Implemented the `agenda` and `citas` modules.
- Implemented the conversational flow for proposing and approving activities.
- Completed Phase 3 by implementing all modules and refactoring the main dispatcher.
### 2024-05-23
- Add `/print` command for authorized users.