summaryrefslogtreecommitdiffstats
path: root/admin
Commit message (Collapse)AuthorAgeFilesLines
...
* #915 Validate POST /image/restore/basic REST API parametersRoberto Hueso Gómez2019-11-121-10/+38
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /image/create/incremental REST API parametersRoberto Hueso Gómez2019-11-121-7/+32
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /image/create/basic REST API parametersRoberto Hueso Gómez2019-11-121-34/+84
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /image/setup REST API parametersRoberto Hueso Gómez2019-11-121-15/+62
| | | | This patch ensures that all required parameters are sent in the request.
* #839 #915: Fix bug in route `GET ↵Ramón M. Gómez2019-11-121-67/+59
| | | | /ous/:ouid/labs/:labid/clients/:clntid/status` when a client has never connected to the server.
* #839: Do not check partition type when obtaining computer configuration to ↵Ramón M. Gómez2019-11-111-15/+8
| | | | hide/unhide NTFS partitions.
* #914 deployImagen shows error message when image file is corrupt or was ↵Irina Gómez2019-11-081-1/+1
| | | | created with other partclone version.
* #915 Validate POST /image/restore REST API parametersRoberto Hueso Gómez2019-11-061-8/+28
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /image/create REST API parametersRoberto Hueso Gómez2019-11-061-7/+27
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /software REST API parametersRoberto Hueso Gómez2019-11-061-2/+11
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /hardware REST API parametersRoberto Hueso Gómez2019-11-061-0/+3
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /refresh REST API parametersRoberto Hueso Gómez2019-11-061-0/+3
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /stop REST API parametersRoberto Hueso Gómez2019-11-061-0/+3
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /reboot REST API parametersRoberto Hueso Gómez2019-11-061-0/+3
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /poweroff REST API parametersRoberto Hueso Gómez2019-11-061-0/+3
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /session REST API parametersRoberto Hueso Gómez2019-11-061-3/+13
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /shell/output REST API parametersRoberto Hueso Gómez2019-11-061-0/+3
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /shell/run REST API parametersRoberto Hueso Gómez2019-11-061-0/+7
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /wol REST API parametersRoberto Hueso Gómez2019-11-061-0/+13
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /clients parametersRoberto Hueso Gómez2019-11-061-0/+15
| | | | | | | This patch adds og_msg_params_validate function as well as some flags that can be used to validate parameters of a REST API request. This patch ensures that all required parameters are sent in the request.
* #915 Fix ogAdmServer POST /software test parametersRoberto Hueso Gómez2019-11-061-1/+3
| | | | This patch adds missing parameters to the test JSON.
* #924 Always check the result of a command to avoid errorsJavier Sánchez Parra2019-11-041-9/+15
| | | | | | | | | | | | | | | Irina reports that if you try to restore an image without success (for example: the disk does not have enough space), the database changes as if no error would happen. So you see the computer in the WebConsole with an image/OS that, actually, does not have. The bug is caused because the function respuestaEstandar only checks the result of a command if it has a session. So the problem is that the commands which use respuestaEstandar without a session can return an error, but the ogAdmServer always works as no error would occur. This commit changes the behaviour of respuestaEstadar to always check the result of a command, whether it has a session or not.
* #915 Add test for POST /run/schedule REST APIRoberto Hueso Gómez2019-10-311-0/+24
| | | | | | | | This test covers 3 scenarios: 1. Correct usage. 2. Incorrect usage, without payload. 3. Incorrect usage, use this command with GET.
* #915 Add test for POST /image/restore/incremental REST APIRoberto Hueso Gómez2019-10-311-0/+43
| | | | | | | | This test covers 3 scenarios: 1. Correct usage. 2. Incorrect usage, without payload. 3. Incorrect usage, use this command with GET.
* #915 Add test for POST /image/restore/basic REST APIRoberto Hueso Gómez2019-10-311-0/+41
| | | | | | | | This test covers 3 scenarios: 1. Correct usage. 2. Incorrect usage, without payload. 3. Incorrect usage, use this command with GET.
* #915 Add test for POST /image/create/incremental REST APIRoberto Hueso Gómez2019-10-311-0/+40
| | | | | | | | This test covers 3 scenarios: 1. Correct usage. 2. Incorrect usage, without payload. 3. Incorrect usage, use this command with GET.
* #915 Add test for POST /image/create/basic REST APIRoberto Hueso Gómez2019-10-311-0/+38
| | | | | | | | This test covers 3 scenarios: 1. Correct usage. 2. Incorrect usage, without payload. 3. Incorrect usage, use this command with GET.
* #915 Add test for POST /image/setup REST APIRoberto Hueso Gómez2019-10-311-0/+47
| | | | | | | | This test covers 3 scenarios: 1. Correct usage. 2. Incorrect usage, without payload. 3. Incorrect usage, use this command with GET.
* #915 Add test for POST /image/restore REST APIRoberto Hueso Gómez2019-10-311-0/+31
| | | | | | | | This test covers 3 scenarios: 1. Correct usage. 2. Incorrect usage, without payload. 3. Incorrect usage, use this command with GET.
* #915 Add test for POST /image/create REST APIRoberto Hueso Gómez2019-10-311-0/+30
| | | | | | | | This test covers 3 scenarios: 1. Correct usage. 2. Incorrect usage, without payload. 3. Incorrect usage, use this command with GET.
* #915: Remove duplicate parameter definitions in `restfunctions.php`.Ramón M. Gómez2019-10-301-3/+0
|
* #915 Fix run script commandRoberto Hueso Gómez2019-10-302-0/+6
| | | | | This patch fixes run script command as it now uses REST API instead of SocketHidra.
* #915 Remove all references to SocketHidraRoberto Hueso Gómez2019-10-2916-199/+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-2913-858/+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 gestor_Comandos.php to use the REST APIRoberto Hueso Gómez2019-10-291-78/+44
| | | | | | | | This patch removes the possibility of commands being executed using SocketHidra and replaces it by the calls to the REST API. It also prevents commands from being executed when they are intended to be added to a task or scheduled.
* #915 Use og_cmd_legacy_send in og_cmd_run_schedule for ogAdmServerRoberto Hueso Gómez2019-10-291-13/+2
| | | | | This patch simplifies the og_cmd_run_schedule function by calling og_cmd_legacy_send.
* #804 Restore image and partition command: Fix the error when ungroup ↵Irina Gómez2019-10-282-0/+10
| | | | computers is selected.
* #915 Adapt web to use the new run/schedule cmd in REST APIRoberto Hueso Gómez2019-10-253-71/+13
| | | | | | 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 Add POST "run/schedule" command to REST API in ogAdmServerRoberto Hueso Gómez2019-10-253-0/+42
| | | | | | | | | | | | | | | | | This patch implements the command "run/schedule" that kicks in pending commands execution. Request: POST /run/schedule { "clients": ["192.168.56.11"] } Reply: 200 OK This patch also adds a simple test to cover correction of the command.
* #915 Add EjecutaComandosPendientes for ogAdmClientOpenGnSys Support Team2019-10-251-0/+9
| | | | | This new command kicks in pending commands execution. This simplies the update of the web console significantly.
* #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.
* #839: Drop database event when remote access reservation is finished.Ramón M. Gómez2019-10-241-2/+4
|
* #839: Avoid error code 500 when redirecting a logout operation to the remote ↵Ramón M. Gómez2019-10-241-4/+5
| | | | access server (UDS).
* #915: Remove REST function `sendCommand` obsoleted by the ogAdmServer REST API.Ramón M. Gómez2019-10-231-38/+0
|
* #915: Adapt RemotePC reservation function to the new ogAdmServer REST API.Ramón M. Gómez2019-10-231-20/+7
|
* #915: REST function to get client status uses new ogAdmServer REST API.Ramón M. Gómez2019-10-231-28/+6
|
* #915: Update the database for Wizards to use the REST API.Ramón M. Gómez2019-10-212-3/+21
|
* #915 Remove asistentes SocketHidra 'gestor_Comandos.php'Roberto Hueso Gómez2019-10-211-285/+0
| | | | | This patch removes asistentes gestor_Comandos.php. Asistentes now uses the REST API.
* #802 deploy wizard: fix undefined variable. asistentes_idioma.js is linked.Irina Gómez2019-10-181-0/+1
|