mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 13:25:19 +00:00
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.
1.7 KiB
1.7 KiB
Talía Development Tasks
This file tracks the development tasks for the Talía project.
Phase 1: Project Scaffolding
- Create
tasks.mdto track project development. - Create the basic directory structure (
app,app/modules). - Create placeholder files in the root directory (
docker-compose.yml,Dockerfile,.env.example). - Create placeholder files in the
appdirectory. - Create placeholder files in the
app/modulesdirectory.
Phase 2: Core Logic Implementation
- Implement
main.pyas the central orchestrator. - Implement
config.pyto handle environment variables. - Implement
permissions.pyfor role-based access control. - Implement
webhook_client.pyfor n8n communication.
Phase 3: Module Implementation
- Implement
onboarding.pymodule. - Implement
agenda.pymodule. - Implement
citas.pymodule. - Implement
equipo.pymodule. - Implement
aprobaciones.pymodule. - Implement
servicios.pymodule. - Implement
admin.pymodule. - Add
/printcommand for authorized users.
Phase 4: Integrations
- Implement
calendar.pyfor Google Calendar integration. - Implement
llm.pyfor AI-powered responses. - Implement
scheduler.pyfor daily summaries.
Log
2024-05-22
- Created
tasks.mdto begin tracking development. - Completed initial project scaffolding.
- Implemented the core logic for the bot, including the central orchestrator, permissions, and onboarding.
- Implemented the
agendaandcitasmodules. - 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
/printcommand for authorized users.