b21341eef5
dowgrade vite
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 16s
build-and-deploy / deploy (push) Has been skipped
2025-05-30 16:20:17 -06:00
dac36db6df
rollup da erroresa gregado como dependencia
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 16s
build-and-deploy / deploy (push) Has been skipped
2025-05-30 16:18:42 -06:00
08938e05c5
cambios en el dockerfile, no se compila correctamente
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / filter (push) Successful in 1s
build-and-deploy / build (push) Failing after 6s
build-and-deploy / deploy (push) Has been skipped
2025-05-30 16:14:05 -06:00
423ca1d94f
dambiando la version de node del docker de la UI
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 25s
build-and-deploy / deploy (push) Has been skipped
2025-05-30 16:12:14 -06:00
031d5c8344
prisma actualizado. toma en cuenta las relaciones tareas-planilla y planilla-tareas
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 21s
build-and-deploy / deploy (push) Has been skipped
2025-05-30 15:52:54 -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
4066217862
estandarizado el manejo de errores
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 10s
build-and-deploy / deploy (push) Successful in 15s
2025-05-30 11:57:19 -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
918a53529c
mejorado manejo de estados de los stores
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 11:04:12 -06:00
6e45cf2226
funcionalidad basica empleados api y ui 50%
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 15s
2025-05-30 10:56: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
4690197ca4
arreglado problema de CORS
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Successful in 10s
build-and-deploy / deploy (push) Successful in 15s
2025-05-30 10:02:11 -06:00
0119a77cb7
arreglados url de las api en la UI
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 15s
2025-05-30 02:48:28 -06:00
1198bf1ba8
fix base url
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 02:40:05 -06:00
944f4a1567
url correcta para la conexion a la api de la UI
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Successful in 10s
build-and-deploy / deploy (push) Successful in 14s
2025-05-30 02:38:19 -06:00
f5053ab5c1
fixed invalid endtag
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 15s
2025-05-30 02:15:25 -06:00
b6d7759b30
sincronizar cambios
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Failing after 27s
build-and-deploy / deploy (push) Has been skipped
2025-05-30 02:13:01 -06:00
josedario87
98f6105373
Merge pull request #6 from josedario87/feature/docker-container-linking
...
I've configured the container names and linked the UI to the API.
2025-05-30 02:09:29 -06:00
google-labs-jules[bot]
2441fb9066
I've configured the container names and linked the UI to the API.
...
Here's what I did:
- Added `container_name` for `api` and `ui` services in `docker-compose.yml`.
- Created `ui/src/apiClient.js` to configure the API base URL using the API container name (`http://planilla-api:4000/api `).
- Added `axios` as a dependency to the UI project.
- Ensured UI store files correctly import the new `apiClient.js`.
This will allow your UI to reliably connect to the API service using Docker's internal DNS resolution via container names.
2025-05-30 08:08:59 +00:00
josedario87
2538aafc5c
Merge pull request #5 from josedario87/feat/daily-employee-sync
...
feat: Add daily employee data synchronization
2025-05-30 00:48:45 -06:00
google-labs-jules[bot]
3fdba1fe89
feat: Add daily employee data synchronization
...
I've added a new capability to synchronize employee data from the local database to an external database on a daily basis.
Key changes:
- **`worker/sync-empleados.js`**: This new script:
- Connects to the local Prisma database to fetch `Cliente` records where `empleado` is true.
- Provides clear placeholders and guidance for connecting to an external database (you must configure details like host, credentials, DB type, and table name, and implement specific DB client logic).
- Outlines a conceptual "upsert" logic (update existing, insert new) for the external database.
- Includes extensive comments on configuration, operation, and testing considerations.
- **`worker/cron-worker.js`**:
- I modified this to import and schedule the `syncEmpleadosToExternalDB` function from the new script.
- The synchronization is scheduled to run daily at midnight.
- The existing example 5-second cron job has been commented as an example.
- **Documentation**:
- I added in-code comments to both modified/new files to explain functionality.
- `sync-empleados.js` includes sections on external DB configuration and detailed testing considerations (manual and automated).
You will need to provide the actual connection details and logic for your specific external database system.
2025-05-30 06:48:19 +00:00
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