6d7f95fc71
seguimos habilitando la funcion realtime
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 12s
build-and-deploy / deploy (push) Successful in 26s
2025-06-09 17:36:27 -06:00
513c305971
agregada funcionalidad realtime postgress, api y ui.
2025-06-09 16:35:36 -06:00
josedario87
bec28b74ab
Add SSE triggers for all modules and central listener
2025-06-09 15:26:35 -06:00
josedario87
031314d662
refactor: isolate SSE setup
2025-06-09 15:16:02 -06:00
05ee5b46fc
agregando logers de env variables
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 25s
build-and-deploy / deploy (push) Successful in 41s
2025-06-06 15:11:18 -06:00
b751cb2911
este agent quedo funcionando al 100 en local al menos
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 48s
build-and-deploy / deploy (push) Successful in 27s
2025-06-06 14:56:44 -06:00
google-labs-jules[bot]
8d5b29ff42
feat: Implement custom request logging for API
...
Replaced external 'morgan' library with a native custom logging middleware in api/server.js.
The new middleware logs:
- Incoming requests: Timestamp, HTTP method, URL, and client IP.
- Outgoing responses: Timestamp, status code, status message, original method, URL, and request duration.
This enhances debugging capabilities by providing clear insights into API traffic and performance directly from the server logs.
2025-06-05 22:08:57 +00:00
josedario87
d00b67442b
Add search endpoints for all modules
2025-06-05 02:42:48 -06:00
josedario87
85c51e7355
fix: restrict id routes
2025-06-05 02:29:19 -06:00
db92f48ecd
Remove */node_modules from tracking
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 7s
build-and-deploy / deploy (push) Successful in 26s
2025-06-03 16:44:18 -06:00
josedario87
361e70fcec
Merge pull request #34 from josedario87/codex/update-.gitignore-files-to-cover-common-files
...
Improve gitignore coverage across repo
2025-06-03 16:23:16 -06:00
josedario87
c8d43ee283
Update gitignore files
2025-06-03 16:15:47 -06:00
e3a39decda
ya funcionando el mcp, vamos a continuar
2025-06-03 16:09:43 -06:00
32f2686f14
se supone que volvio
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 54s
build-and-deploy / deploy (push) Successful in 15s
2025-05-30 23:51:22 -06:00
254beb897a
Revert commits indeseados
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 6s
build-and-deploy / deploy (push) Has been skipped
2025-05-30 23:48:22 -06:00
205641aad2
probando compilar api al menos
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 6s
build-and-deploy / deploy (push) Has been skipped
2025-05-30 18:12:38 -06:00
6fd6750d8d
quitados node_modules
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 8s
build-and-deploy / deploy (push) Has been skipped
2025-05-30 17:54:40 -06:00
google-labs-jules[bot]
242dc66983
Refactor: Centralize Prisma schema and restrict DB access
...
This commit refactors the project to use a shared Prisma schema and restricts direct database access to the API service.
Key changes:
- Created a new shared package `core/prisma` containing the Prisma schema, generated client, and types.
- Configured the monorepo to use NPM workspaces, including `core/prisma` and all services.
- Updated all services (`api`, `ui`, `mcp`, `agent`, and the background processing service) to depend on `@empresa/prisma-schema`.
- The API service now imports `PrismaClient` from `@empresa/prisma-schema/client`.
- Other services import only types from `@empresa/prisma-schema`.
- Removed redundant Prisma configurations from `api` and the background processing service.
- Updated the background processing service's `sync-empleados.js` to fetch data via an API call instead of direct database access.
- Updated TypeScript configurations (`tsconfig.base.json` and service-specific ones) to support the new structure and path aliases.
- Updated `README.md` to reflect the new architecture and added convenience scripts for Prisma operations.
This change promotes a single source of truth for data models, reduces code duplication, and improves the overall architecture by centralizing database operations within the API service.
2025-05-30 23:40:00 +00:00
4f1ec58a99
nueva migracion agregada
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 7s
build-and-deploy / deploy (push) Successful in 15s
2025-05-30 16:27:32 -06:00
3c2c80d5ee
agregada la relacion planilla-tareas en schema prisma
build-and-deploy / filter (push) Successful in 1s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 8s
build-and-deploy / deploy (push) Successful in 14s
2025-05-30 13:11:13 -06:00
d7df07dbc2
agregada relacion tarea-planilla en el schema prisma
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 8s
build-and-deploy / deploy (push) Successful in 15s
2025-05-30 13:08:02 -06:00
0bcc340043
mejorando manejo de errores aun mas
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Successful in 12s
build-and-deploy / deploy (push) Successful in 14s
2025-05-30 13:03:53 -06:00
49829d9d2e
seguimos depurando la api
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 8s
build-and-deploy / deploy (push) Successful in 15s
2025-05-30 12:51:47 -06:00
97b879433d
implementado el manejo de errores correcto de prisma
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 14s
2025-05-30 12:44:51 -06:00
1eccd8d424
los mensajes de errores se envian como message
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 12s
build-and-deploy / deploy (push) Successful in 15s
2025-05-30 11:45:23 -06:00
6c7e008164
mejorando el handling de los errores
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 15s
2025-05-30 11:21:35 -06:00
faa18be61d
captura correcta de errores para crear asistencia
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 12s
build-and-deploy / deploy (push) Successful in 15s
2025-05-30 11:14:17 -06:00
2a844d275d
actualizada API empleados, conectando UI con API
build-and-deploy / filter (push) Successful in 3s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 13s
build-and-deploy / deploy (push) Successful in 14s
2025-05-30 10:51:21 -06:00
30f85bf602
agregado npm cors
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 26s
build-and-deploy / deploy (push) Successful in 15s
2025-05-30 10:27:36 -06:00
3d1bf3286a
modificado uso de CORS en la api, ahora acepta localhost y planilla.interno.com
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Successful in 13s
build-and-deploy / deploy (push) Successful in 14s
2025-05-30 10:17:41 -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
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
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
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
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
745168cf51
sistema creado v0.5.0
build-and-push / deploy (push) Has been skipped
build-and-push / build (push) Failing after 6s
2025-05-14 16:10:41 -06:00
022086f49d
fixeando api
build-and-push / build (push) Successful in 18s
build-and-push / deploy (push) Successful in 3s
2025-05-02 19:18:02 -06:00
e1dc751397
Modulo planilla v1
build-and-push / build (push) Successful in 33s
build-and-push / deploy (push) Failing after 1s
2025-05-02 17:59:47 -06:00