Commit Graph

136 Commits (1bf33e73d1eb15ac31a2a93871cd31c2d3b02bf4)

Author SHA1 Message Date
Manuel Aranda Rosales 1bf33e73d1 ref 2995. Actualizar roles. 2026-07-09 10:15:09 +02:00
Nicolas Arenas 3d0883a0bd fix(ogcore): corregir rutas de firewall y provider de DELETE en OUs
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
testing/ogcore-api/pipeline/pr-main Build started... Details
Dos bugs introducidos en fix_permissions:

1. access_control paths incorrectos: nginx elimina el prefijo /api/ antes
   de llegar a ogcore, por lo que las rutas reales son /clients y
   /organizational-units (sin /api/). Las reglas anteriores con ^/api/clients$
   y ^/api/organizational-units$ nunca coincidían.

2. OrganizationalUnitProvider no manejaba Delete: el switch del provider
   no tenía case para Delete, devolvía null implícitamente y API Platform
   respondía 404 a cualquier usuario que intentara borrar una OU.
   Quitando el provider del DELETE, el proveedor Doctrine por defecto carga
   la entidad correctamente y la expresión security: del YAML puede evaluarse.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 11:20:43 +02:00
Nicolas Arenas 7f56b6291a fix(ogcore): permisos DELETE de OUs y borrado de clientes sin plantilla 2026-06-15 11:52:44 +02:00
Nicolas Arenas b1903ea321 fix(ogcore): restringir creacion de OUs y clientes a ou-admin y superior
El POST de OrganizationalUnit y Client queda restringido a
ROLE_SUPER_ADMIN o ROLE_ORGANIZATIONAL_UNIT_ADMIN. Los operadores
(ROLE_ORGANIZATIONAL_UNIT_OPERATOR) ya no pueden crear aulas ni
clientes via API.
2026-05-27 12:03:43 +02:00
Nicolas Arenas 6d35163b3f fix(ogcore): restringir escritura de infraestructura a ROLE_SUPER_ADMIN
Las operaciones de creacion, edicion y eliminacion de servidores DHCP,
Boot, Subredes, Comandos y Repositorios de imagenes quedan restringidas
a ROLE_SUPER_ADMIN. Las operaciones de lectura siguen accesibles a
cualquier usuario autenticado.
2026-05-26 15:21:02 +02:00
Nicolas Arenas cb182d98e9 feat(ogcore): ordenar aulas y centros alfabéticamente por defecto
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
testing/ogcore-api/pipeline/pr-main There was a failure building this commit Details
Añade orden ascendente por nombre en el recurso OrganizationalUnit
para que el listado de aulas y centros se devuelva siempre en orden
alfabético sin necesidad de parámetros adicionales en la petición.
2026-05-22 19:41:09 +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 9f65d0083f Added new endpoint. Disk logs 2026-05-05 18:19:31 +02:00
Manuel Aranda Rosales ebf4f92472 Fixed status client bug 2026-04-27 18:27:49 +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
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
Manuel Aranda Rosales dca1377a08 refs #2973. Refactor classroom status
testing/ogcore-api/pipeline/head There was a failure building this commit Details
testing/ogcore-api/pipeline/pr-main Build queued... Details
2026-04-20 18:39:31 +02:00
Manuel Aranda Rosales 0e23464524 refs #2972. Integration remove leases ogDhcp
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2026-04-20 17:59:51 +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 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 0482a3e9e8 Añadida accion Refresh para actualizar el estado de un cliente o clientes. Se actualiza su configuracion de discos y se recarga el ogBrowser por si hubiese cambio del menu.
testing/ogcore-api/pipeline/head There was a failure building this commit Details
testing/ogcore-api/pipeline/pr-main Build queued... Details
2026-03-31 13:18:45 +02:00
Manuel Aranda Rosales 4cfe8ff708 New version 1.2.0 2025-10-21 16:15:14 +02:00
Manuel Aranda Rosales 44ddbd526f refs #2768. Partition bug fixed 2025-09-09 19:20:21 +02:00
Manuel Aranda Rosales 2b0c399a1a refs #2765. Remove git repository 2025-09-09 09:47:53 +02:00
Manuel Aranda Rosales 9fdf8134d1 refs #2061. Added service 'create-backup'
testing/ogcore-api/pipeline/head This commit looks good Details
2025-09-08 18:24:35 +02:00
Manuel Aranda Rosales 4713568a04 refs #2689. Integration get-script data in partition assistant
testing/ogcore-api/pipeline/head Build started... Details
2025-08-28 16:26:50 +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 173f854aa2 refs #2462. ogGit, updateImage 2025-08-04 09:40:10 +02:00
Manuel Aranda Rosales 8305fcc600 refs #2496. Check partition sizes 2025-08-04 09:39:35 +02:00
Manuel Aranda Rosales 3731697aa7 refs #2462. ogGit, updateImage 2025-08-04 09:36:14 +02:00
Manuel Aranda Rosales 65ae79d976 refs #2462. ogGit, updateImage
testing/ogcore-api/pipeline/head This commit looks good Details
2025-07-14 15:01:32 +02:00
Manuel Aranda Rosales 7b74c9ab70 refs #2327. KillJob integration
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-06-26 17:08:40 +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 7d59467acc refs #2120. Remove pxe template when removed client 2025-06-02 00:15:03 +02:00
Manuel Aranda Rosales d99493ac46 refs #2085. RemoveCacheImage 2025-06-02 00:08:57 +02:00
Manuel Aranda Rosales 9be2f5fd9b refs #2085. Boot OS
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-05-23 09:23:41 +02:00
Manuel Aranda Rosales a3f271a9ae Added trace date filter
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-05-20 16:25:54 +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 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 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 4578f29349 refs #1857. Rename image API integration
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-04-10 09:50:59 +02:00
Manuel Aranda Rosales beeda955ef OgRepo createImage improvements. Agent Status fixed
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-04-07 08:23:12 +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 a2e0ced906 refs #1731. New endpoint integration. Convert image to virtual
testing/ogcore-api/pipeline/head This commit looks good Details
2025-03-19 15:45:07 +01:00
Manuel Aranda Rosales 4a76186e97 Test refactor transferImage
testing/ogcore-api/pipeline/head This commit looks good Details
2025-03-17 08:55:42 +01:00
Manuel Aranda Rosales dc9e21b61e refs #1693. Convert Image. Refactor old code
testing/ogcore-api/pipeline/head This commit looks good Details
2025-03-11 17:09:36 +01:00
Manuel Aranda Rosales b180d32843 refs #1692. Import Image. Refactor old code
testing/ogcore-api/pipeline/head This commit looks good Details
2025-03-11 15:49:07 +01:00
Manuel Aranda Rosales e06f681464 refs #1644. Cancel deployImage action
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-03-05 17:20:37 +01:00
Manuel Aranda Rosales 3ebe5cb1bc refs #1603. OGrepo backupImage integration
testing/ogcore-api/pipeline/head This commit looks good Details
2025-02-21 10:53:36 +01:00
Manuel Aranda Rosales 560559bba9 refs #1555. Install Mercure 2025-02-20 16:17:13 +01:00
Manuel Aranda Rosales 7ede1a646a refs #1472. Changes in images and imageRepo
testing/ogcore-api/pipeline/head This commit looks good Details
2025-02-13 08:38:22 +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