Commit Graph

143 Commits (935561e399b9af42e626b6945967a5e01d3a244d)

Author SHA1 Message Date
Juan Manuel Bardallo 1dca0f0194 Creado importador completo de la base de datos Og 1.1 a Og 3.0, usa los comandos migrate ya creados anteriormente
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-05-08 10:17:51 +02:00
Nicolas Arenas a8cdae154b fix(ogcore): fix scheduled task execution and UTC timezone handling
testing/ogcore-api/pipeline/head There was a failure building this commit Details
testing/ogcore-api/pipeline/pr-main There was a failure building this commit Details
- Fix executeReboot response check: use getStatusCode() instead of
  json_decode(body)['status'], which never matched the Client entity body
- Fix executeRunScript: same check fix; remove duplicate trace status
  update since RunScriptAction already handles it via updateExistingTrace
- Normalize executionDate/executionTime to UTC at API boundary in
  CommandTaskScheduleInput to prevent client/server timezone drift
- Use UTC consistently in calculateNextExecutionDate and
  RunScheduledCommandTasksCommand for all datetime comparisons
- Replace 30-second execution window (abs(difference) < 30) with
  isDue && notYetExecuted logic so tasks missed by the cron are
  recovered in the next cycle instead of being skipped forever
- Skip one-time (none) tasks with a past executionDate in
  calculateNextExecutionDate so nextExecution is set to null after
  execution and the task no longer appears in cron logs
2026-05-06 15:30:37 +02:00
Juan Manuel Bardallo 997ef40f0a Corregida la propagación de parametros de OUs
testing/ogcore-api/pipeline/head Build started... Details
testing/ogcore-api/pipeline/pr-main Build queued... Details
2026-05-04 09:15:52 +02:00
Manuel Aranda Rosales 99907f4b47 Merge branch 'main' into develop
testing/ogcore-api/pipeline/pr-main Build queued... Details
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-27 11:26:55 +02:00
Manuel Aranda Rosales 8e83fce136 Updated remote PC and bug status classrom 2026-04-27 11:26:27 +02:00
Juan Manuel Bardallo d5abd87d52 Añadida propiedad resolution a las OU para propagar la resolucion del menu en los clientes de dicha OU
testing/ogcore-api/pipeline/head There was a failure building this commit Details
testing/ogcore-api/pipeline/pr-main Build started... Details
2026-04-24 08:52:05 +02:00
Juan Manuel Bardallo 60e692ba21 Gestion de múltiples OgBoot con sus plantillas pxes y oglives. Cambios en Network Settings para que relacione plantilla pxe y oglive con un servidor ogboot específico
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-21 14:44:38 +02:00
Juan Manuel Bardallo 233543843a Merge branch 'main' of https://ognproject.evlt.uma.es/gitea/opengnsys/ogcore into multiple-ogdhcp 2026-04-17 08:33:12 +02:00
Juan Manuel Bardallo 3160b22c55 Implementación para poder administrar varios DHCP, se ha creado la clase padre DhpcServer y se ha creado una relacion 1-N con subnet, de manera que ahora tenemos varios dhcp y cada uno de ellos pueden tener varias subredes.
testing/ogcore-api/pipeline/head This commit looks good Details
2026-04-16 14:58:22 +02:00
Manuel Aranda Rosales 07101267a7 refs #2944. New datasize column in Imange entity
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-15 12:13:37 +02:00
Manuel Aranda Rosales 6a9d8bf8b2 refs #2956. Added new param clientsPerPage
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-14 18:18:38 +02:00
Manuel Aranda Rosales 2513cef6f3 refs #2947. New notes field in CLient entity
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-14 17:58:30 +02:00
Manuel Aranda Rosales d422a46a3c Merge branch 'main' into develop 2026-04-13 12:35:00 +02:00
Manuel Aranda Rosales beb0b946d2 refs #2939. Propagate network settings
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-13 12:00:27 +02:00
Juan Manuel Bardallo b990a3d894 Partition: añadido campo deployDate a la BBDD extraído automáticamente y de forma idempotente de la variable img= del getConfiguration del cliente, y securización de fallbacks a null por seguridad.
testing/ogcore-api/pipeline/head This commit looks good Details
2026-04-08 11:07:05 +02:00
Manuel Aranda Rosales 2d11a84141 refs #2916. Fixed models entity
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-07 17:37:46 +02:00
Juan Manuel Bardallo 1156b5b99e Modificada columna cacheContent de una partición para que sea de tipo TEXT y contener la lista de ficheros que tiene la cache. Se envía desde el ogagent al obtener la configuración mediante el campo [cac]
testing/ogcore-api/pipeline/head Build started... Details
testing/ogcore-api/pipeline/pr-main Build queued... Details
2026-03-30 12:06:07 +02:00
Manuel Aranda Rosales 44d7bb5df9 New version 1.1.0
testing/ogcore-api/pipeline/pr-main Build queued... Details
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-10-16 12:40:05 +02:00
Manuel Aranda Rosales 70dff6a7a5 refs #2693. Updated backend
testing/ogcore-api/pipeline/head Build started... Details
2025-09-23 08:35:12 +02:00
Manuel Aranda Rosales edd85e5d99 refs #2812. Fixed bug in delete repository. Added constraints
testing/ogcore-api/pipeline/head This commit looks good Details
2025-09-15 18:37:04 +02:00
Manuel Aranda Rosales c89062375b refs #2630. Create service MarkTracesAssSuccess
testing/ogcore-api/pipeline/head This commit looks good Details
2025-08-25 12:31:16 +02:00
Manuel Aranda Rosales 17bb13393f refs #2629. ImageRepository name, ip unique constraint
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-08-25 12:27:30 +02:00
Manuel Aranda Rosales f627f0a86d refs #2585. CommandTask schedule. Update several scripts with new logic
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-08-04 09:49:07 +02:00
Manuel Aranda Rosales af5ad81199 refs #1975. Integration ogGit. Crete image and deploy
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-06-26 17:01:16 +02:00
Manuel Aranda Rosales ca4cdafc01 refs #2181. Changed Output messages 2025-06-09 11:43:14 +02:00
Manuel Aranda Rosales 326ff47edd Some improvements
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-05-14 13:25:57 +02:00
Manuel Aranda Rosales 9673c9c09a refs #1975. Integration ogGit. Create table and init API 2025-05-13 09:10:10 +02:00
Manuel Aranda Rosales 1f6f4164d0 refs #1984. Git integration UX changes 2025-05-12 16:35:40 +02:00
Manuel Aranda Rosales 43f81a833e refs #1975. Integration ogGit. Create table and init API
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-05-08 17:02:27 +02:00
Manuel Aranda Rosales 6df1057b20 refs #1973. Linked image to partition
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-05-08 16:36:04 +02:00
Manuel Aranda Rosales 7f5ed49f97 refs #1967. Sync ogBoot API when put template 2025-05-07 17:26:08 +02:00
Manuel Aranda Rosales 53a8c04e76 refs #1951. Added isDefault in PxeTemplate entity
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-05-07 16:57:55 +02:00
Manuel Aranda Rosales e48917181f refs #1943. Added PXE template to NetworkSettings 2025-04-30 12:34:20 +02:00
Manuel Aranda Rosales 531c56630f refs #1942. Updated COmmandTask logic. Created new tables and API commandTaskScript and commandTaskSchedule
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-04-30 12:30:59 +02:00
Manuel Aranda Rosales 9a96b04e7f refs #1864. Added ssh_port and user in imageRepository
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-04-10 09:53:28 +02:00
Manuel Aranda Rosales 927677ddc0 refs #1858. Added description into imageImageRepositort
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-04-08 15:42:53 +02:00
Manuel Aranda Rosales 097c6a710e refs #1851. Added script/funcionality to check PC availability
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-04-08 15:34:25 +02:00
Manuel Aranda Rosales d8306f78a7 refs #1797. Rename image. Versions added
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-04-03 08:41:59 +02:00
Manuel Aranda Rosales bc036b65cf refs #1740. Run assistant logic
testing/ogcore-api/pipeline/head This commit looks good Details
2025-04-01 10:58:55 +02:00
Manuel Aranda Rosales 0cf373303a Updated migrations
testing/ogcore-api/pipeline/head This commit looks good Details
2025-03-04 12:53:05 +01:00
Manuel Aranda Rosales 6b26b78995 refs #1567. New subnet field: 'dns'
testing/ogcore-api/pipeline/head This commit looks good Details
2025-02-28 09:12:44 +01:00
Manuel Aranda Rosales b3b3bf892d refs #1558. Add client/subnet new UX modal
testing/ogcore-api/pipeline/head This commit looks good Details
2025-02-27 11:12:27 +01:00
Manuel Aranda Rosales 560559bba9 refs #1555. Install Mercure 2025-02-20 16:17:13 +01:00
Manuel Aranda Rosales 9089224522 refs #1523. Hierarchy networkSettings.
testing/ogcore-api/pipeline/tag This commit looks good Details
testing/ogcore-api/pipeline/head This commit looks good Details
2025-02-17 14:43:15 +01:00
Manuel Aranda Rosales 546546bb42 refs #1523. Hierarchy networkSettings
testing/ogcore-api/pipeline/head This commit looks good Details
2025-02-17 13:11:49 +01:00
Manuel Aranda Rosales ca3e547b56 Some improvements. Added new filters
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-02-17 09:13:48 +01:00
Manuel Aranda Rosales 083aa9db7e FIxed client/trace constraint onDelete
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-02-14 09:38:54 +01:00
Manuel Aranda Rosales dde936be67 refs #1472. Changes in images and imageRepo
testing/ogcore-api/pipeline/head This commit looks good Details
2025-02-12 19:03:42 +01:00
Manuel Aranda Rosales 7ff5c87884 refs #1472. Changes in images and imageRepo
testing/ogcore-api/pipeline/head This commit looks good Details
2025-02-12 17:14:39 +01:00
Manuel Aranda Rosales 81bb1c5268 refs #1480. Fixed test
testing/ogcore-api/pipeline/head This commit looks good Details
2025-02-10 08:15:20 +01:00