josedario87
80b8886762
Merge pull request #4 from josedario87/feat/api-crud-endpoints
...
feat: Implement CRUD API endpoints for core modules
2025-05-30 00:47:07 -06:00
google-labs-jules[bot]
a394c25245
feat: Implement CRUD API endpoints for core modules
...
Adds Express.js routes and Prisma-based handlers for common database operations (Create, Read, Update, Delete) for the following modules:
- Empleados (subset of Cliente model)
- Asistencias
- Tareas (TareaRealizada model)
- Planillas
Each module's routes are separated into their own files within `api/routes/`. The new routes are registered in `api/server.js`.
Basic error handling, including try-catch blocks and checks for common Prisma errors (e.g., P2025 for record not found, P2003 for foreign key violations), has been implemented in each endpoint.
2025-05-30 06:45:54 +00:00
josedario87
b2b7a38f0e
Merge pull request #3 from josedario87/jules_wip_11748544748520558008
...
Jules was unable to complete the task in time. Please review the work…
2025-05-30 00:43:41 -06:00
google-labs-jules[bot]
fe014b677b
Jules was unable to complete the task in time. Please review the work done so far and provide feedback for Jules to continue.
2025-05-30 06:41:49 +00:00
2c43538db3
otra vez
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 4s
build-and-deploy / build (push) Successful in 5s
build-and-deploy / deploy (push) Successful in 15s
2025-05-29 18:51:57 -06:00
4b3ca5ef88
forzaondo la subida
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 4s
build-and-deploy / build (push) Successful in 5s
build-and-deploy / deploy (push) Successful in 14s
2025-05-29 18:51:23 -06:00
096a40959d
subir agresivo a github
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 4s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Successful in 15s
2025-05-29 18:50:04 -06:00
235f5496d5
arreglado docker-compose
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 5s
build-and-deploy / deploy (push) Successful in 14s
2025-05-29 18:46:29 -06:00
f579a2f266
activando contenedores en la red
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Successful in 5s
build-and-deploy / deploy (push) Failing after 2s
2025-05-29 18:42:49 -06:00
925783c1c8
modificado y mejorado el workflow
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 5s
build-and-deploy / deploy (push) Successful in 14s
2025-05-29 18:40:05 -06:00
f8926b2b2f
modo hash para funcion spa
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 9s
build-and-deploy / deploy (push) Successful in 4s
2025-05-29 18:36:17 -06:00
af75b4696e
trucazo 2
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Successful in 9s
build-and-deploy / deploy (push) Successful in 41s
2025-05-29 18:27:05 -06:00
be3fbf4080
trucazo 1
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / deploy (push) Has been cancelled
build-and-deploy / build (push) Has been cancelled
2025-05-29 18:26:52 -06:00
ec7e5a274c
cambiado nombre del archivo
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Failing after 8s
build-and-deploy / deploy (push) Has been skipped
2025-05-29 18:04:01 -06:00
708fa3341a
typo
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 7s
build-and-deploy / deploy (push) Has been skipped
2025-05-29 18:02:03 -06:00
b80d098bea
inicializado documentos
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 7s
build-and-deploy / deploy (push) Has been skipped
2025-05-29 18:00:38 -06:00
83354c2f00
faltaba un template
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Failing after 8s
build-and-deploy / deploy (push) Has been skipped
2025-05-29 17:51:09 -06:00
4a5fe9a8d4
vamos a subir los cambios a gitea
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 5m30s
build-and-deploy / deploy (push) Has been skipped
2025-05-29 17:27:25 -06:00
9a851064d3
Merge remote-tracking branch 'github/main'
2025-05-29 17:25:48 -06:00
josedario87
968516261c
Merge pull request #2 from josedario87/make-sync-commands
...
feat: Add Makefile commands for Gitea/GitHub synchronization
2025-05-29 17:17:01 -06:00
google-labs-jules[bot]
2c0ddf2809
feat: Add Makefile commands for Gitea/GitHub synchronization
...
This commit introduces two new Makefile targets:
- `sync-to-github`: Synchronizes the local repository to a GitHub remote.
It will add the 'github' remote if it doesn't exist and then push all
branches and tags. The GitHub repository URL is configurable via the
`GITHUB_REPO_URL` variable (e.g., `https://github.com/josedario87/your-repo-name.git `).
- `sync-to-gitea`: Synchronizes the local repository to a Gitea remote.
It will add the 'gitea' remote if it doesn't exist and then push all
branches and tags. The Gitea repository URL is configurable via the
`GITEA_REPO_URL` variable, which uses placeholders for server details
(e.g., `ssh://<GITEA_USER>@<GITEA_HOST>:<GITEA_PORT>/nucleo000/your-repo-name.git`).
Both new targets have been added to `.PHONY` to ensure correct behavior.
The repository name is dynamically determined from the local Git configuration.
2025-05-29 23:16:39 +00:00
josedario87
9657e19095
Merge pull request #1 from josedario87/feat/empleado-ui-chat-integration
...
feat: Implement empleado UI and chat integration
2025-05-29 14:34:52 -06:00
google-labs-jules[bot]
2755a2bed5
feat: Implement empleado UI and chat integration
...
This commit introduces the following features:
1. **Empleado UI Components:**
* `EmpleadoForm.vue`: A form for creating and editing employee data.
* `cardEmpleado.vue`: A component to display a summary of employee information in a card format.
* `tablaEmpleados.vue`: A component to display a list of employees in a table format.
* `EmpleadosIndex.vue`: A view that displays both the card and table components, allowing you to switch between views and create new employees.
2. **Chat Interface Integration:**
* Modified `agent/handlers.js` to parse specific chat commands:
* "Quiero crear un nuevo @empleado": Responds with the `EmpleadoForm`.
* "Ver @empleado<CEDULA>": Responds with the `cardEmpleado` for the specified employee.
* "Mostrame los primeros X @empleados": Responds with `tablaEmpleados` displaying the requested number of employees.
* I send formatted messages (e.g., `CHAT_UI_COMPONENT::EmpleadoForm`) that the chat UI can interpret to render the Vue components.
3. **Tests:**
* Added unit tests for the new Vue components (`EmpleadoForm.vue`, `cardEmpleado.vue`, `tablaEmpleados.vue`) using Vitest.
* Added integration tests for the chat command handling in `agent/handlers.js` using Jest.
* (Note: Test execution was inconclusive, but all necessary files and configurations are included).
These changes fulfill the issue requirements by creating the necessary UI for the empleado module and enabling the summoning of these UI elements through the chat interface.
2025-05-27 00:49:49 +00:00
e0276ec4c4
actualizado el readme
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Successful in 3s
2025-05-26 11:55:16 -06:00
ef5942c842
si no funciona me voy para sps
build-and-deploy / filter (push) Successful in 1s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Successful in 3s
2025-05-26 11:51:28 -06:00
457ab5936e
corregido runner equivocado para el workflow
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 0s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Successful in 2s
2025-05-26 11:48:54 -06:00
a27dcb0615
agregado workflow de comunicacion con github
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 5s
build-and-deploy / deploy (push) Successful in 35s
Sync to GitHub / sync (push) Has been cancelled
2025-05-26 11:46:48 -06:00
421ff236ae
avances poderosos en ui
build-and-deploy / filter (push) Successful in 4s
build-and-deploy / build (push) Failing after 19s
build-and-deploy / deploy (push) Has been skipped
2025-05-25 08:21:57 -06:00
55645d0cdd
trucasos para hacer tests
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 8s
build-and-deploy / deploy (push) Successful in 13s
2025-05-14 20:11:44 -06:00
ec40acf5b5
actualizando bd
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 8s
build-and-deploy / deploy (push) Successful in 13s
2025-05-14 20:09:01 -06:00
1b05d739fc
arreglado credenciales
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Successful in 14s
2025-05-14 19:30:05 -06:00
7be5c9742a
no hay runner
build-and-deploy / filter (push) Successful in 5s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Has been cancelled
2025-05-14 19:28:04 -06:00
0e8418dbb5
probando nuevo build
build-and-deploy / filter (push) Has been cancelled
build-and-deploy / build (push) Has been cancelled
build-and-deploy / deploy (push) Has been cancelled
2025-05-14 19:24:58 -06:00
8783dea337
solucionado worker, ahora arreglando api
build-and-push / build (push) Successful in 12s
build-and-push / deploy (push) Successful in 14s
2025-05-14 19:14:01 -06:00
b4c1653d90
el deploy es un poco complicado
build-and-push / build (push) Successful in 27s
build-and-push / deploy (push) Successful in 14s
2025-05-14 18:58:37 -06:00
a59521aafd
worker sigue fallando
build-and-push / build (push) Failing after 28s
build-and-push / deploy (push) Has been skipped
2025-05-14 18:54:47 -06:00
3595d4c76b
seguimos fixeando a esos
build-and-push / build (push) Failing after 18s
build-and-push / deploy (push) Has been skipped
2025-05-14 18:51:18 -06:00
21dbb4f960
fix cronworker y conexion prisma api
build-and-push / build (push) Successful in 13s
build-and-push / deploy (push) Successful in 14s
2025-05-14 18:43:30 -06:00
094eaab0b4
agregado endpoint api para crear cliente random
build-and-push / build (push) Successful in 12s
build-and-push / deploy (push) Successful in 14s
2025-05-14 18:40:08 -06:00
2992bdc588
seguimos mejorando
build-and-push / build (push) Successful in 11s
build-and-push / deploy (push) Successful in 14s
2025-05-14 18:36:17 -06:00
6a1379137f
fixeando
build-and-push / build (push) Successful in 20s
build-and-push / deploy (push) Successful in 15s
2025-05-14 18:25:15 -06:00
6efef92dda
se supone que con esto se actualiza la base de datos
build-and-push / build (push) Successful in 16s
build-and-push / deploy (push) Successful in 15s
2025-05-14 18:14:26 -06:00
8f6b97729a
fix 2
build-and-push / build (push) Successful in 9s
build-and-push / deploy (push) Successful in 15s
2025-05-14 17:17:04 -06:00
0eabf611ea
fix
build-and-push / build (push) Successful in 10s
build-and-push / deploy (push) Successful in 31s
2025-05-14 17:11:15 -06:00
4d9e99331c
lanzando base de datos
build-and-push / build (push) Successful in 11s
build-and-push / deploy (push) Failing after 13s
2025-05-14 17:09:55 -06:00
69dee1e603
otro deplkoy
build-and-push / build (push) Successful in 12s
build-and-push / deploy (push) Successful in 14s
2025-05-14 16:44:02 -06:00
04a19dab46
preparando worker y api test endpoint
build-and-push / build (push) Successful in 12s
build-and-push / deploy (push) Successful in 14s
2025-05-14 16:32:59 -06:00
2858a5e9be
cambios en el deploy v2
build-and-push / build (push) Successful in 10s
build-and-push / deploy (push) Successful in 22s
2025-05-14 16:28:02 -06:00
2fa068645a
cambios en el deploy
build-and-push / build (push) Successful in 10s
build-and-push / deploy (push) Failing after 2s
2025-05-14 16:26:59 -06:00
0c170bfa1a
worker mejorado
build-and-push / build (push) Successful in 1m36s
build-and-push / deploy (push) Failing after 14s
2025-05-14 16:23:36 -06:00