Commit Graph

15 Commits

Author SHA1 Message Date
Marco Gallegos
cbfcee557a feat: Add database health checks and host configuration, enhance the start command with a quick reply keyboard, and improve general text cleaning. 2025-12-14 15:33:47 -06:00
Marco Gallegos
cf128960cb feat: Add print event webhooks and interactive keyboards for HR requests, refactor webhook handling, and remove unused IMAP configuration. 2025-12-14 14:26:13 -06:00
Marco Gallegos
220b78886d feat: Enhance database connection robustness, update onboarding command to /welcome, and remove /socia_finder functionality. 2025-12-14 11:53:45 -06:00
Marco Gallegos
b0d30928f1 Fix: Explicitly pass MySQL credentials to bot service in docker-compose.yml 2025-12-14 11:42:07 -06:00
Marco Gallegos
c0793db73c feat: Implement AI-powered permit reason classification and add comprehensive project documentation. 2025-12-14 11:42:05 -06:00
Marco Gallegos
7a87a010ae Delete .env 2025-12-14 10:14:45 -06:00
Marco Gallegos
a1fab1888a Update .env 2025-12-14 10:14:32 -06:00
Marco Gallegos
7ce9bacce1 feat: Configure environment variables, refactor onboarding conversation states, and expose database port in Docker Compose. 2025-12-14 10:04:34 -06:00
Marco Gallegos
3f3520188c Merge pull request #3 from marcogll/feat/docker-mysql-logging-13516104967243096474
Feat/docker mysql logging 13516104967243096474
2025-12-13 21:50:09 -06:00
Marco Gallegos
7d59333c09 Merge pull request #2 from marcogll/main
Merge pull request #1 from marcogll/feat/docker-mysql-logging-1351610…
2025-12-13 21:46:51 -06:00
google-labs-jules[bot]
93ec6d335c refactor: Implement Docker, MySQL logging, and SMTP email
This commit refactors the application to run in a containerized environment using Docker and Docker Compose. It also introduces a MySQL database for logging user requests and updates the print functionality to send emails via SMTP.

Key changes:
- Added `Dockerfile` and `docker-compose.yml` for containerization.
- Integrated a MySQL database for logging user requests.
- Updated the print module to send files as email attachments via SMTP.
- Added and updated configuration files (`.env`, `.env.example`) to manage secrets and environment variables.
- Removed hardcoded credentials from version control.
- Updated `Readme.md` with new setup and execution instructions.
2025-12-14 03:44:45 +00:00
Marco Gallegos
efb6a2ebec Merge pull request #1 from marcogll/feat/docker-mysql-logging-13516104967243096474
feat: Dockerize application and add MySQL logging
2025-12-13 21:30:41 -06:00
google-labs-jules[bot]
fec578bd7c feat: Dockerize application and add MySQL logging
This commit introduces Docker and Docker Compose to containerize the application and orchestrate it with a MySQL database.

Key changes include:
- Added a `Dockerfile` to create a container for the Python bot.
- Created a `docker-compose.yml` file to manage the bot and MySQL services.
- Added a `modules/database.py` module to handle database connections and logging with SQLAlchemy.
- Integrated request logging into all command handlers.
- Updated `requirements.txt` with necessary dependencies for MySQL.
- Updated `.env` and `.gitignore` to manage database credentials securely.
- Updated `Readme.md` with instructions on how to run the application using Docker Compose.
2025-12-14 03:28:56 +00:00
Marco Gallegos
4653eda462 feat: add .gitignore with common patterns for Python projects, virtual environments, logs, and editor configurations. 2025-12-13 19:06:49 -06:00
Marco Gallegos
1cb382b4ef first commit 2025-12-13 19:06:14 -06:00