summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/gestores
Commit message (Collapse)AuthorAgeFilesLines
* #1032 Use create_schedule_now for tasks and proceduresJose M. Guisado2021-03-111-6/+1
| | | | | | | | | Commit afbfe2a introduced create_schedule_now for commands. Adapt procedures and task to use it instead. Drop $when variable as it is no longer needed for "immediate scheduling" execution of commands, procedures or tasks. Fixes: afbfe2a (Use create_schedule_now for immediate logged commands)
* #1015 Fix updateBootMode and use it when updating computer infoJose M. Guisado2020-12-171-1/+1
| | | | | | | | | | | | | | | | | | | When a computer info is updated sometimes their related pxe files need to be updated accordingly. In order to recreate the file the function createBootMode was being used inside gestor_ordenadores. Eg: createBootMode ($cmd, $arranque, $ip, $idioma) This had some problems because the POST message to gestor_ordenadores was sometimes lacking the ip field. This field is not necessary because updateBootMode takes the id of the computer and queries the database for the ip of the computer associated with it. Use updateBootMode ($cmd, "idordenador", $idordenador, $idioma) instead. Fixes related mass updater and "moving pc to another classroom" issues.
* #980 Update POST /mode to the new ogServer APIRoberto Hueso Gómez2020-08-142-5/+5
| | | | | This patch selects the machines whose modes need to be changed using the client's IP rather than their scope names.
* #991: Enable/disable maintenance flag in computer properties form.Ramón M. Gómez2020-07-171-9/+25
|
* #942 add immediate commands on the queue (web)Javier Sánchez Parra2020-06-021-19/+0
| | | | | | | | Users can launch immediate commands on the queue to keep an history and to watch the status and the properties. This commit adapt this functionality to new functions and behaviour of the ogAdmServer.
* #942 Fix immediate procedures (web)Javier Sánchez Parra2020-06-021-6/+35
|
* #942 schedule commands (web)Javier Sánchez Parra2020-06-021-2/+5
|
* #942 Add weeks and week_days to the webconsole schedule (web)Javier Sánchez Parra2020-06-021-2/+2
|
* #942 Use both task_id and schedule_id in /schedule/get (web)OpenGnSys Support Team2020-06-021-1/+1
|
* #942 Adapt web to use /schedule get on /schedule/create (web)Roberto Hueso Gómez2020-06-021-0/+2
|
* #942 Implement update schedule (web)Roberto Hueso Gómez2020-06-021-4/+7
|
* #942 add create/delete schedule api to web (web)Javier Sánchez Parra2020-06-021-30/+21
| | | | Web updates for #942 Add support for scheduled tasks and commands
* #942 Add /run/task to API REST (web)OpenGnSys Support Team2020-06-021-49/+1
|
* #944: Merge branch 'labgrid'Ramón M. Gómez2020-06-011-3/+11
|\
| * #944: Add location selection boxes in the computer properties form.Ramón M. Gómez2019-12-131-3/+11
| |
* | #948 Fix entity (Entidad) creationJavier Sánchez Parra2020-01-071-1/+1
|/ | | | | | | | | | | | | | | | | | Pepe Frias reports that the creation of a new entity does not work. The WebConsole throws this error: 004 : Comando Error - La sentencia SQL del comando no es correcta. The WebConsole treats the parameter $ogunit as a string but the Database treats $ogunit as a tinyint. So, when the WebConsole tries to do the query the Database throws an error code: 1366. Error number: 1366; Symbol: ER_TRUNCATED_WRONG_VALUE_FOR_FIELD; SQLSTATE: HY000 Message: Incorrect %s value: '%s' for column '%s' at row %ld This commit changes the behaviour of gestor_entidades.php to treat ogunit as an integer.
* #915 Fix WoL command support in procedures and tasksJavier Sánchez Parra2019-11-221-1/+15
| | | | | | | | | | | | | | Irina reports that the Wake on Lan command does not work in procedures. The client/computer does not turn on, causing that any of the other commands are executed. This bug appears when we adapt the procedures and tasks to work with the new API REST of the ogAdmServer. It is caused because the client needs to be on to ask itself for the pending commands, but the WoL command can not work this way because the client is off. This commit changes the behaviour of recorreProcedimientos to send the WoL command without the client has to ask.
* #915 Remove all references to SocketHidraRoberto Hueso Gómez2019-10-296-7/+0
| | | | | This patch removes all remaining references to SocketHidra. The existing code uses the REST API ogAdmServer.
* #915 Remove dead code that uses SocketHidraRoberto Hueso Gómez2019-10-291-122/+0
| | | | This patch removes files that are dead code and that also use SocketHidra.
* #915 Remove dead function EjecutandoTareas() from gestor_tareas.phpRoberto Hueso Gómez2019-10-291-106/+0
| | | | | There are no cases in which gestor_tareas.php is called with $op_ejecucion as an option. Remove this function.
* #915 Adapt web to use the new run/schedule cmd in REST APIRoberto Hueso Gómez2019-10-252-71/+6
| | | | | | This patch implements run/schedule in the set of available PHP functions. It also replaces old SocketHidra commands by run/schedule in gestor_colasacciones.php and gestor_ejecutaracciones.php.
* #915 Fix end date for gestor_colasacciones.phpRoberto Hueso Gómez2019-10-251-1/+1
| | | | | | | | This patch fixes an SQL query bug when trying to upate the end date in the 'acciones' table. The value of 'fechahorafin' cannot be NULL according to the table definition. This bug was introduced in 3ec149cb1 so it has been broken for 9 years.
* #903: Fix bug when returning duplicate check value.Ramón M. Gómez2019-06-071-1/+1
|
* Merge branch 'devel' into uefi (fast-forward)Irina Gómez2019-05-1342-84/+97
|\
| * #903: Rejects values for name, IP and MAC if they are already in useJavier Sánchez Parra2019-02-191-35/+49
| | | | | | | | | | | | | | * This was already checked before but only in the creation, now it is also checked in the edition. * Now it also considers two MACs to be the equals regardless of case (lower/upper).
| * #834: Fixing more code cleanup: CSS units, HTML tags; Javascript ↵Ramón M. Gómez2019-02-122-5/+4
| | | | | | | | comparisons, and PHP variables.
| * #834: Remove all redundant PHP closing tags.Ramón M. Gómez2019-01-2341-41/+41
| |
| * #834: Check for more variable definitions and continue code cleanup.Ramón M. Gómez2019-01-211-3/+3
| |
* | #802 #888 When the computer or repo propierties change, the console ↵Irina Gómez2019-03-152-17/+11
| | | | | | | | regenerate the PXE files for bios and uefi.
* | #802 #888 Fix more error in 8c88e08Irina Gómez2019-02-221-1/+1
| |
* | #802 #888 Console: in management of NetBootAvanzado can use bios and uefi ↵Irina Gómez2019-02-201-1/+6
| | | | | | | | templates.
* | #802 setclientmode: Crea configuración PXE para BIOS y UEFI. Permite pasar ↵Irina Gómez2019-02-131-1/+1
| | | | | | | | la información de acceso a la base de datos en un fichero.
* | #802 NetBootAvanzado: Se muestran las plantillas BIOS y UEFI. Se utiliza el ↵Irina Gómez2019-02-121-40/+22
|/ | | | script setclientmode para crear los archivos PXE de los equipos
* #875: Remove unused field from repositories table and update list of closed ↵Ramón M. Gómez2018-11-211-6/+2
| | | | tickets.
* #875: Remove port from repository properties form and alter the database.Ramón M. Gómez2018-11-201-7/+2
|
* #872: Labs tree will be collapsed after modifying computer properties; ↵Ramón M. Gómez2018-10-151-0/+9
| | | | updating closed tickets list.
* #834: Eliminar algunos espacios sobreantes y saltos de línea tipo CRLF.Ramón M. Gómez2018-05-172-311/+311
|
* #804: Sustituir funciones para compatibilidad con PHP 7 ({{{split}}} por ↵ramon2018-02-275-20/+20
| | | | | | {{{explode}}} y {{{ereg...}}} por {{{preg_...}}}). git-svn-id: https://opengnsys.es/svn/branches/version1.1@5619 a21b9725-9963-47de-94b9-378ad31fedc9
* #816: Integrar código del ticket:816 en rama {{{branches/version1.1}}}ramon2018-02-261-26/+30
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5615 a21b9725-9963-47de-94b9-378ad31fedc9
* #818: Llamar a la nueva función para modificar la IP del repositorio en ↵ramon2018-01-191-0/+4
| | | | | | todos los ficheros PXE de sus ordenadores asociados. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5564 a21b9725-9963-47de-94b9-378ad31fedc9
* #596: Llamada a función {{{createBootMode}}} en el orden correcto al crear ↵ramon2018-01-191-8/+9
| | | | | | nuevo ordenador (corregir r3763 !!). git-svn-id: https://opengnsys.es/svn/branches/version1.1@5563 a21b9725-9963-47de-94b9-378ad31fedc9
* #814: Sustituir las etiquetas cortas de php por el formato largopablombg2017-11-0841-53/+53
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5502 a21b9725-9963-47de-94b9-378ad31fedc9
* #768: Corregir errata en comparación al actualizar ogLive de aula.ramon2017-09-261-1/+1
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5434 a21b9725-9963-47de-94b9-378ad31fedc9
* #789ccabezu2017-06-271-1/+1
| | | | | | Corregido error de sintaxis en línea 43 git-svn-id: https://opengnsys.es/svn/branches/version1.1@5385 a21b9725-9963-47de-94b9-378ad31fedc9
* #789 albertogp2017-06-211-1/+20
| | | | | | Integrando código git-svn-id: https://opengnsys.es/svn/branches/version1.1@5370 a21b9725-9963-47de-94b9-378ad31fedc9
* #768: Cambios para asignar ogLive a toda el aula, mostrando nº de equipos ↵ramon2017-06-081-3/+4
| | | | | | distintos y no hacer cambios si queda vacío. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5356 a21b9725-9963-47de-94b9-378ad31fedc9
* #768albertogp2017-06-081-1/+1
| | | | | | Corrigiendo error en parámetro oglivedir de inserción en la base de datos git-svn-id: https://opengnsys.es/svn/branches/version1.1@5355 a21b9725-9963-47de-94b9-378ad31fedc9
* #768albertogp2017-06-081-1/+1
| | | | | | Corrigiendo error en parámetro oglivedir de inserción en la base de datos git-svn-id: https://opengnsys.es/svn/branches/version1.1@5354 a21b9725-9963-47de-94b9-378ad31fedc9
* #768albertogp2017-06-072-6/+18
| | | | | | Introducir cambios en la consola web para gestionar multiples ogLives git-svn-id: https://opengnsys.es/svn/branches/version1.1@5350 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Incluir propiedad para gestionar acceso remoto en formulario de imágenes.ramon2017-05-151-7/+18
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5298 a21b9725-9963-47de-94b9-378ad31fedc9