Commit Graph

850 Commits (97fb0fce6dd97422a92b8c5f2fcd7f057c8db8d6)

Author SHA1 Message Date
Juan Manuel Bardallo 97fb0fce6d fix(inventory): use disk partition selector in software inventory and hide CACHE partition in boot OS view
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head There was a failure building this commit Details
2026-07-31 14:08:16 +02:00
Juan Manuel Bardallo 955a29104f fix(inventory): preserve partition 0 in boot OS view to display disk type
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head There was a failure building this commit Details
2026-07-31 14:05:08 +02:00
Juan Manuel Bardallo 5ece8cfec9 fix(inventory): unify badge colors and fix disk type badge missing in deploy and create image views
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-31 14:03:58 +02:00
Juan Manuel Bardallo 4154e18ab6 fix(inventory): add disk type badge to client details and partition selector views
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-31 13:58:02 +02:00
Juan Manuel Bardallo 70f71ef99b refactor(inventory): use new Angular control flow syntax for diskType
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-31 13:42:36 +02:00
Juan Manuel Bardallo 47d7506877 feat(inventory): display network speed and disk type badges
oggui-debian-package/pipeline/head This commit looks good Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
2026-07-31 13:38:41 +02:00
Juan Manuel Bardallo 824c504573 Fix(image): filter images by client repository on update
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-30 13:11:44 +02:00
Manuel Aranda Rosales 54f4d5aebc Merge branch 'devel' of ssh://ognproject.evlt.uma.es:21987/opengnsys/oggui into devel
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-29 00:04:30 +02:00
Manuel Aranda Rosales 2b77eb8afa Corrected ou-operator bug 2026-07-29 00:02:36 +02:00
Juan Manuel Bardallo b3a59b659f Fix(oggui): keep repository list modal open after deletion
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-28 12:50:57 +02:00
Juan Manuel Bardallo ebc09f8ca5 Refactor client action menu to use shared matMenuContent
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-27 18:36:08 +02:00
Juan Manuel Bardallo 906cab9143 Refactor(OutputDialog): use modern Angular @if control flow
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-22 12:13:31 +02:00
Juan Manuel Bardallo 6525bb08cc Fix(OutputDialog): properly render string outputs without JSON stringification
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-22 12:10:46 +02:00
Manuel Aranda Rosales 3463a59071 ref 3018. Cancel multiple taskj 2026-07-19 17:36:09 +02:00
Manuel Aranda Rosales 0adae7dbae ref 3009. Added excecute task right now
oggui-debian-package/pipeline/head This commit looks good Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
2026-07-15 11:17:34 +02:00
Manuel Aranda Rosales c72d49f576 Merge branch 'devel' of ssh://ognproject.evlt.uma.es:21987/opengnsys/oggui into devel
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-14 10:45:17 +02:00
Manuel Aranda Rosales d739c6b81c ref 3008. Last selected OU 2026-07-14 10:45:01 +02:00
Manuel Aranda Rosales 379886134d ref 2979. Deploy generate instructions 2026-07-14 10:44:18 +02:00
Juan Manuel Bardallo a351883385 Refactor boot-so-partition modal to use shared app-disk-partition-selector component
oggui-debian-package/pipeline/head This commit looks good Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
2026-07-14 09:41:06 +02:00
Manuel Aranda Rosales 9797b14038 ref 3007. Software profile in versioned image 2026-07-13 10:42:33 +02:00
Manuel Aranda Rosales 24517a8649 ref 2994. Hardware profile updated logic in childrens 2026-07-13 10:41:52 +02:00
Manuel Aranda Rosales aa52c89c52 ref 3007. Fixed create software profile bug 2026-07-13 10:39:53 +02:00
Juan Manuel Bardallo dd1b20b9d1 feat(oggui): Add OG Repository selector to deploy image menu
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
- Added OG Repository dropdown for both monolithic and git image flows.

- Fixed CSS layout issues for the select dropdowns.

- Updated translation keys to differentiate between OG Repository and Git Repository.

- Prevented loadImages from making a 404 API request when using Git flow.
2026-07-10 09:47:38 +02:00
Juan Manuel Bardallo 3390500f06 fix(deploy-image): show instructions in cache mode and refactor to @if/@for syntax
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-09 13:51:10 +02:00
Manuel Aranda Rosales 97965a346f Merge branch 'devel' of ssh://ognproject.evlt.uma.es:21987/opengnsys/oggui into devel
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-09 10:14:43 +02:00
Manuel Aranda Rosales 06dbcabf50 ref 2995. Updated roles 2026-07-09 10:14:26 +02:00
Juan Manuel Bardallo 003c940b34 refactor: migrate *ngFor to @for in add-user-modal template
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-07-09 09:15:14 +02:00
Juan Manuel Bardallo 6beeee4f0e fix: remove API call from switchLanguage to avoid destructive PUT 2026-07-08 14:19:07 +02:00
Juan Manuel Bardallo ee05f6a2cd fix: use PUT instead of PATCH for language preference update 2026-07-08 14:13:31 +02:00
Juan Manuel Bardallo 5bc7527ce7 feat(user): add language preference to user profile and header
oggui-debian-package/pipeline/head This commit looks good Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
- Add language field to JwtPayload interface and getter in AuthService
- Header applies JWT language on init (server takes priority over localStorage)
- Switching language from header PATCHes preference to API immediately
- Add language selector to add/edit user modal (admin)
- Add userLanguage and userLanguageHint i18n keys to es/en/cat locales
2026-07-08 13:54:44 +02:00
Manuel Aranda Rosales 2a225b9539 ref 2979. Generar instrucciones de deploy imagen actualizado. 2026-07-07 17:23:48 +02:00
Manuel Aranda Rosales fe75009481 ref 2977. Actualizar formato horario 2026-07-07 17:22:58 +02:00
Manuel Aranda Rosales 5755b79bc7 ref 2994. Cambios respecto al hardware profile 2026-07-07 17:21:53 +02:00
Nicolas Arenas 221131718f feat(oggui): añadir infraestructura E2E con Playwright
oggui-debian-package/pipeline/head There was a failure building this commit Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
testing/ogGui-multibranch/pipeline/pr-main Build started... Details
- playwright.config.ts: configuración con globalSetup/Teardown,
  webServer (reuseExistingServer), SSL bypass para cert autofirmado
- e2e/helpers/api.ts: crea/borra usuarios de test vía API de ogCore,
  persiste IRIs en .e2e-state.json para evitar problemas entre procesos
- e2e/helpers/auth.ts: loginAs(), navigateTo(), expectSidebarLink()
- e2e/permissions/: 4 specs (super-admin, ou-admin, ou-operator, ou-minimal)
  que verifican sidebar, rutas y botones de acción por rol
- package.json: scripts e2e, e2e:headed, e2e:ui, e2e:report
  y dependencia @playwright/test
- .gitignore: añade .e2e-state.json y playwright-report/
- elimina test-results/ogGui-junit-report.xml del tracking de git
2026-06-16 10:47:03 +02:00
Nicolas Arenas 583e846b36 test(oggui): añadir tests unitarios de permisos por rol
- auth.service.spec.ts: tests para isSuperAdmin, isOUAdmin, isOUOperator,
  isOUMinimal, userCategory y getCurrentRole con tokens JWT sintéticos
- role.guard.spec.ts: matriz completa 26 rutas × 4 roles, verifica
  redirección a /groups cuando el acceso está bloqueado
- sidebar.component.spec.ts: verifica ítems visibles por rol
  (ou-operator/minimal ven solo /groups; admins ven los 9 ítems)
- ogboot-status.component.spec.ts: corrige import incorrecto
  OgbootStatusComponent → GlobalOgbootStatusComponent
2026-06-16 10:46:36 +02:00
Nicolas Arenas 8ce68cbaa3 Merge branch 'devel' of ssh://ognproject.evlt.uma.es:21987/opengnsys/oggui into devel 2026-06-16 10:41:13 +02:00
Juan Manuel Bardallo 15265b7a67 Merge branch 'devel' of https://ognproject.evlt.uma.es/gitea/opengnsys/oggui into devel
oggui-debian-package/pipeline/head There was a failure building this commit Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
2026-06-15 09:01:00 +02:00
Juan Manuel Bardallo 3bbca40dbb Modificado comportamiento al hacer click en un aula, la petición de mostrar ordenadores y la de actualizar el estado de cada uno, se hacen secuencialmente y no en paralelo, asi evitamos el loader general mientras se resuelven los estados de los equipos 2026-06-15 08:56:51 +02:00
Juan Manuel Bardallo a26a1727d7 Modificado comportamiento al hacer click en un aula, la petición de mostrar ordenadores y la de actualizar el estado de cada uno, se hacen secuencialmente y no en paralelo, asi evitamos el loader general mientras se resuelven los estados de los equipos
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-06-12 10:28:34 +02:00
Juan Manuel Bardallo bc3190380e Añadido botón de cerrar en la ventana de plano de aula
oggui-debian-package/pipeline/head This commit looks good Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
2026-06-12 09:03:24 +02:00
Nicolas Arenas 7fca193c2a fix(oggui): ocultar botones de creacion de OU y cliente para ou-operator
Los botones 'Nueva Unidad Organizativa' y 'Nuevo Cliente' (cabecera y
menu contextual del arbol) quedan ocultos para ou-operator, alineando
la UI con la restriccion de backend en ogcore.
2026-05-27 12:03:57 +02:00
Nicolas Arenas 1e1319d10c fix(oggui): permitir acceso de ou-operator a despliegue, particion e imagen
Las rutas clients/deploy-image, clients/partition-assistant,
clients/run-script y clients/:id/create-image ahora incluyen
'ou-operator' en allowedRoles.

El execute-command ya tenia deploy-image y partition en la lista de
comandos permitidos para ou-operator; solo faltaba el acceso a la ruta.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 11:44:58 +02:00
Nicolas Arenas 9872b9c7e4 fix(oggui): ocultar botones de escritura de infraestructura para ou-admin
Los botones de crear, editar y eliminar en servidores DHCP, Boot,
Comandos y Repositorios quedan visibles unicamente para super-admin,
alineando la UI con las restricciones de backend anadidas en ogcore.
2026-05-26 15:21:18 +02:00
Juan Manuel Bardallo 9addf93660 ficheros de idiomas ordenados alfabeticamente, fichero catalan revisado
testing/ogGui-multibranch/pipeline/pr-main There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details
2026-05-18 15:00:39 +02:00
Juan Manuel Bardallo cb1e6a0fa9 Resuelve conflicto de fusión en CHANGELOG.md
testing/ogGui-multibranch/pipeline/head Build started... Details
testing/ogGui-multibranch/pipeline/pr-devel Build queued... Details
2026-05-18 14:20:04 +02:00
Nicolas Arenas 647fa5079e feat(oggui): soporte de múltiples SYSLOG_IDENTIFIER en visor de logs de disco
oggui-debian-package/pipeline/head This commit looks good Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
- StatusLogsComponent: @Input identifiers[] en lugar de identifier string,
  parseo de entries JSON estructurado con formato [timestamp] ID: mensaje
- Templates ogboot, ogdhcp, ogrepository, ogcore-status: identifiers correctos
  por componente y host basado en IP en lugar de nombre del servidor
- Añadidos métodos getSelectedXxxIp() en ogboot, ogdhcp y ogrepository status
2026-05-14 21:38:35 +02:00
Juan Manuel Bardallo 1d8e5b38c6 modificada recepcion de mensajes de mercure durante la importación
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
2026-05-14 14:40:02 +02:00
Juan Manuel Bardallo 6a3c75ccb7 Creada vista de logs de disco de cada componente de OG en la vista estado global, llama al endpoint de ogcore /opengnsys/system/disk-logs 2026-05-14 13:19:52 +02:00
Juan Manuel Bardallo b0d1f743a8 Añadida opción en Administración para importar una base de datos OG 1.1 en la nueva version. Permite subir fichero .sql o .zip o usar parametros de conexión a la base de datos de OG 1.1
testing/ogGui-multibranch/pipeline/head Build started... Details
testing/ogGui-multibranch/pipeline/pr-main Build queued... Details
2026-05-08 15:38:47 +02:00
Nicolas Arenas df3ff55fb8 feat(oggui): ask to queue reboot/poweroff if client is busy
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
testing/ogGui-multibranch/pipeline/pr-main Build started... Details
Show a confirmation modal before sending reboot and poweroff requests,
allowing the user to choose whether to queue the command when the client
is busy (HTTP 409). Passes the 'queue' flag to the API accordingly.
2026-05-08 07:14:06 +02:00