| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Add basic infrastructure to support for the independent database layer.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
fields before applying database updates.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Carmelo reports that EliminarImagenCache (Delete image from cache)
command does not work. The image remains in place after the execution
of the command.
This command is actually a wrapper of the command EjecutarScript
(POST /shell) with a different ID. Since gestor_Comandos.php did not
expect a different ID, EliminarImagenCache did not work.
This commit changes the behaviour of gestor_Comandos.php to handle
the EliminarImagenCache ID and treat it as EjecutarScript.
|
|
|
|
| |
`distro.os_release_attr`.
|
| |
|
|
|
|
|
|
|
|
| |
"pintaConfiguraciones" table
Remote Cloning Wizard shows partition target list as a query to the "pintaConfiguraciones" table.
Code from the other Wizards is reused.
|
|
|
|
|
|
|
|
| |
Remote Cloning Wizard shows "partition configuration table" before the form.
The table shows the content of the images in the cache
Code from the other Wizards is reused.
|
|
|
|
|
|
|
| |
The multidimensional array that is generated from the configurations doubled the entries.
The multidimensional array is changed to a simple array where the index is the string composed of disk id part id
The select "idpartition" form will have the array index as text.
|
|
|
|
|
|
| |
The netboot web form does not correctly filter the computer group scope.
There is a BUG in the "case" to filter the scopes.
The file is boot_grub4dos.php
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Irina reports that the Wake on Lan command does not work in queued
commands.
This bug appeared when we fixed duplicated command execution when added
to the queue (ccb862b). It is caused because the client needs to be ON
to ask itself for the queued command, but the WoL command can not work
this way because the client is OFF.
This commit changes the behaviour of gestor_Comandos.php to always send
the WoL command immediately.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Irina reports that the bug fixed in 78a97c5 happens again when you run a
command with a session (queue of actions).
The bug was introduced in 78a97c5, the goal of the commit was
to change the behaviour of respuestaEstandar to always check
the result of a command, whether it has a session or not. But, instead
of this behaviour, the commit changes respuestaEstandar to only check the
commands without session.
|
| |
|
|
|
|
| |
unit with subdirectory separated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
configuration.
|
| |
|
| |
|
| |
|
|
|
|
| |
operating system is detected.
|
| |
|
|
|
|
| |
`jsonResponseNow` to avoid HTTP error 500 and redefine some log messages.
|
| |
|
|
|
|
|
|
|
|
| |
This patch fixes duplicated command execution by running queue scheduler instead
of directly calling the command's REST API function.
If command is already queued, then execute pending commands. Otherwise,
invoke the OgAdmServer REST API.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch includes tests for the remaining REST API commands:
POST /shell/output
POST /session
POST /poweroff
POST /reboot
POST /stop
POST /refresh
POST /hardware
POST /software
POST /image/create
POST /image/restore
POST /setup
POST /image/create/basic
POST /image/create/incremental
POST /image/restore/basic
POST /image/restore/incremental
POST /run/schedule
This test covers requests that are missing one of the parameters in its
payload.
|
|
|
|
| |
colon characters.
|
|
|
|
| |
system is detected.
|
|
|
|
|
| |
This test covers requests that do not contain 1 of the parameters in their
payloads.
|
|
|
|
|
| |
This test covers requests that do not contain 1 of the parameters in their
payloads.
|
|
|
|
|
| |
This test covers requests that do not contain 1 of the parameters in their
payloads.
|
|
|
|
|
| |
This patch meets RFC 7235 and returns an HTTP 400 error code when ogAdmServer
recieves a wrong request.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch extends tests for requests without any payload in the following REST
API POST functions:
- /clients
- /wol
- /shell/run
- /shell/output
- /session
- /poweroff
- /reboot
- /stop
- /refresh
- /hardware
- /software
|