Commit Graph

866 Commits (c1da9387dadd2d6df17cc1826d12feb38ea5782e)

Author SHA1 Message Date
Manuel Aranda Rosales c1da9387da Merge pull request 'fix(ogcore): fix scheduled task execution and UTC timezone handling' (#106) from fix_scheduled_tasks into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #106
2026-05-06 17:26:56 +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 7fc2a10ff6 Merge pull request 'Modificada funcion para borrar imagen de cache, no se usa la partición que contenga una imagen desplegada, se usa directamente el nombre del fichero contenido en cache' (#105) from delete-cache-image into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #105
2026-05-06 12:40:40 +02:00
Juan Manuel Bardallo cd7a2484c5 Modificada funcion para borrar imagen de cache, no se usa la partición que contenga una imagen desplegada, se usa directamente el nombre del fichero contenido en cache
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
2026-05-06 12:28:28 +02:00
Manuel Aranda Rosales 2860161d93 Merge pull request 'New endpoint. Disk logs.' (#104) from develop into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #104
2026-05-05 18:22:18 +02:00
Manuel Aranda Rosales 08aeb3b84d 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-05-05 18:19:34 +02:00
Manuel Aranda Rosales 9f65d0083f Added new endpoint. Disk logs 2026-05-05 18:19:31 +02:00
Manuel Aranda Rosales e1f7bcec80 Merge pull request 'Removed status disconnecteed from "status" endpoint.' (#103) from develop into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #103
2026-05-05 10:15:28 +02:00
Manuel Aranda Rosales 4aa57fa984 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-05-05 10:14:08 +02:00
Manuel Aranda Rosales eaaba07f16 Removed disconnected from status 2026-05-05 10:13:51 +02:00
Manuel Aranda Rosales 9feca13722 Merge pull request 'investigar_uds' (#102) from investigar_uds into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #102
2026-05-04 20:16:46 +02:00
Manuel Aranda Rosales fec16cd660 Merge branch 'main' into investigar_uds
testing/ogcore-api/pipeline/pr-main Build queued... Details
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-05-04 20:16:24 +02:00
Manuel Aranda Rosales 7a9e133a92 Updated rempte Pc sync
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-05-04 16:59:57 +02:00
Juan Manuel Bardallo e7e095b8ef Merge pull request 'Corregida llamada a instalar/desinstalar oglives en servidores ogboot' (#101) from manage-ogboot-oglives into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #101
2026-05-04 14:18:00 +02:00
Juan Manuel Bardallo ec4dcbd000 Corregida llamada a instalar/desinstalar oglives en servidores ogboot
testing/ogcore-api/pipeline/head There was a failure building this commit Details
testing/ogcore-api/pipeline/pr-main Build queued... Details
2026-05-04 14:15:18 +02:00
Juan Manuel Bardallo b295f7672e Merge pull request 'Corregida la propagación de parametros de OUs' (#100) from propagate-network-settings into main
ogcore-debian-package/pipeline/head This commit looks good Details
testing/ogcore-api/pipeline/head There was a failure building this commit Details
Reviewed-on: #100
2026-05-04 09:17:23 +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 279e65e92b Fixed image name sync
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-30 16:05:43 +02:00
Manuel Aranda Rosales 42257cf51c Fixed image name sync
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-30 15:41:53 +02:00
Manuel Aranda Rosales 80948dda38 Fixed image name sync
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-30 14:38:25 +02:00
Manuel Aranda Rosales 2b3e0a8350 Fixed urlLogin sync
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-30 13:41:43 +02:00
Manuel Aranda Rosales 869b630bdb Fixed urlLogin sync
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-30 13:04:44 +02:00
Manuel Aranda Rosales 6fec472091 Fixed sync error
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-29 13:00:46 +02:00
Manuel Aranda Rosales f6e4234150 Fixed sync error
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-29 12:40:38 +02:00
Manuel Aranda Rosales 40be572cfc Fixed sync error
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-29 11:38:37 +02:00
Nicolas Arenas a5a0f60c59 Investigar 2
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-29 11:00:49 +02:00
Nicolas Arenas 8569e73fea investigar
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-29 10:54:52 +02:00
Manuel Aranda Rosales 269ed2202e Updated agent endpoint
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
2026-04-28 10:50:03 +02:00
Manuel Aranda Rosales dcd38276b1 Merge pull request 'develop' (#99) from develop into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #99
2026-04-28 09:06:37 +02:00
Manuel Aranda Rosales e59634aba5 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-28 09:06:03 +02:00
Manuel Aranda Rosales 8d0afca21a Fix typo 2026-04-28 09:05:40 +02:00
Manuel Aranda Rosales ff2e5d9462 Merge pull request 'develop' (#98) from develop into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head There was a failure building this commit Details
Reviewed-on: #98
2026-04-28 08:56:49 +02:00
Manuel Aranda Rosales 9fc3953d43 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-28 08:55:55 +02:00
Manuel Aranda Rosales 205fc41b14 Improved status classroom 2026-04-28 08:55:29 +02:00
Manuel Aranda Rosales eb6e021b41 Merge pull request 'develop' (#97) from develop into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #97
2026-04-27 18:29:43 +02:00
Manuel Aranda Rosales 2ea1cded9e Merge branch 'main' into develop
testing/ogcore-api/pipeline/head There was a failure building this commit Details
testing/ogcore-api/pipeline/pr-main Build queued... Details
2026-04-27 18:28:11 +02:00
Manuel Aranda Rosales ebf4f92472 Fixed status client bug 2026-04-27 18:27:49 +02:00
Manuel Aranda Rosales cae05070c8 Merge pull request 'Fixed remotePt. Updated logic uds-service-pool' (#96) from develop into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #96
2026-04-27 17:02:30 +02:00
Manuel Aranda Rosales ee6e98627f Merge branch 'main' into develop
testing/ogcore-api/pipeline/pr-main Build started... Details
2026-04-27 17:02:14 +02:00
Manuel Aranda Rosales b114958516 Fixed remotePt. Updated logic uds-service-pool
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
2026-04-27 17:01:08 +02:00
Manuel Aranda Rosales 13088540e2 Merge pull request 'develop' (#95) from develop into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #95
2026-04-27 13:41:04 +02:00
Manuel Aranda Rosales 4652d6842a Merge branch 'main' into develop
testing/ogcore-api/pipeline/pr-main Build started... Details
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-27 13:40:34 +02:00
Manuel Aranda Rosales b7a9aec928 Fixed remotePd wrong fuction
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-27 13:39:59 +02:00
Manuel Aranda Rosales 6ecff87dc7 Merge pull request 'develop' (#94) from develop into main
ogcore-debian-package/pipeline/head This commit looks good Details
testing/ogcore-api/pipeline/head There was a failure building this commit Details
Reviewed-on: #94
2026-04-27 11:28:13 +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 e817414672 Merge pull request 'Añadida propiedad resolution a las OU para propagar la resolucion del menu en los clientes de dicha OU' (#93) from ou-menu-resolution into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #93
2026-04-24 09:06:25 +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 b13da39eca Merge pull request 'multiple-ogboot' (#92) from multiple-ogboot into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
Reviewed-on: #92
2026-04-23 14:15:56 +02:00
Juan Manuel Bardallo 9a819cbe51 Creacion de plantillas pxe en la propagacion de propiedades de una OU
testing/ogcore-api/pipeline/pr-main Build queued... Details
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-22 10:14:50 +02:00