| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This patch selects the machines whose modes need to be changed using the
client's IP rather than their scope names.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Web updates for #942 Add support for scheduled tasks and commands
|
| |
|
|\ |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This patch removes all remaining references to SocketHidra. The existing
code uses the REST API ogAdmServer.
|
|
|
|
| |
This patch removes files that are dead code and that also use SocketHidra.
|
|
|
|
|
| |
There are no cases in which gestor_tareas.php is called with $op_ejecucion as
an option. Remove this function.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
* 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).
|
| |
| |
| |
| | |
comparisons, and PHP variables.
|
| | |
|
| | |
|
| |
| |
| |
| | |
regenerate the PXE files for bios and uefi.
|
| | |
|
| |
| |
| |
| | |
templates.
|
| |
| |
| |
| | |
la información de acceso a la base de datos en un fichero.
|
|/
|
|
| |
script setclientmode para crear los archivos PXE de los equipos
|
|
|
|
| |
tickets.
|
| |
|
|
|
|
| |
updating closed tickets list.
|
| |
|
|
|
|
|
|
| |
{{{explode}}} y {{{ereg...}}} por {{{preg_...}}}).
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5619 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
| |
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5615 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
todos los ficheros PXE de sus ordenadores asociados.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5564 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
nuevo ordenador (corregir r3763 !!).
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5563 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
| |
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5502 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
| |
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5434 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
Corregido error de sintaxis en línea 43
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5385 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
Integrando código
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5370 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5298 a21b9725-9963-47de-94b9-378ad31fedc9
|