summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole
Commit message (Collapse)AuthorAgeFilesLines
...
* | #915 Fix EliminarImagenCache command on the WebConsoleJavier Sánchez Parra2019-12-131-0/+2
|/ | | | | | | | | | | | | 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.
* #937 Web form "particionesRemotas": fix bug client syntax disk-partadv2019-12-101-1/+1
|
* #937 #906 formRemotePartitionCloning: Show Target list from the ↵adv2019-12-091-4/+17
| | | | | | | | "pintaConfiguraciones" table Remote Cloning Wizard shows partition target list as a query to the "pintaConfiguraciones" table. Code from the other Wizards is reused.
* #937 #906 formRemotePartitionCloning: show "partition configuration table"adv2019-12-091-0/+11
| | | | | | | | 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.
* #936 form deploy web shows duplicate partitionsadv2019-12-091-4/+3
| | | | | | | 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.
* #934 Web Netboot form not filter the PC group scopeadv2019-12-091-0/+1
| | | | | | 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
* #914 Computer properties: Fix error in cancel button.Irina Gómez2019-12-051-4/+4
|
* #915 Fix WoL command support in queued commandsJavier Sánchez Parra2019-12-031-1/+2
| | | | | | | | | | | | | 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.
* #914: Delete unused variables.Ramón M. Gómez2019-11-251-7/+0
|
* #914 Fix error in repository properties when list images of organization ↵Irina Gómez2019-11-221-6/+44
| | | | unit with subdirectory separated.
* #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.
* #834: Delete duplicate lines in lab properties form.Ramón M. Gómez2019-11-201-2/+0
|
* #915 #932: Fix lost variable in Wake-On-Lan function.Ramón M. Gómez2019-11-201-0/+1
|
* #915 Fix error: run_command needs parameter 'cadenamac' for WOL.Irina Gómez2019-11-201-2/+2
|
* #914 Software inventory command in console improved info message when no ↵Irina Gómez2019-11-202-1/+2
| | | | operating system is detected.
* #839: Clearest code and fix typos in `rest/index.php` file.Ramón M. Gómez2019-11-181-16/+15
|
* #839: Fix a PHP 7 compatibility bug in REST private functions ↵Ramón M. Gómez2019-11-181-28/+16
| | | | `jsonResponseNow` to avoid HTTP error 500 and redefine some log messages.
* #816: Updating web REST API definition.Ramón M. Gómez2019-11-151-43/+45
|
* #915 Fix duplicated command execution when added to the queueRoberto Hueso Gómez2019-11-151-45/+52
| | | | | | | | 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.
* #932: REST route `POST /repository/poweron` accepts MAC addresses without ↵Ramón M. Gómez2019-11-141-13/+15
| | | | colon characters.
* #914 Login command in console improved info message when no operating ↵Irina Gómez2019-11-144-1/+4
| | | | system is detected.
* #915 Rename POST /image/setup for /setup in REST APIRoberto Hueso Gómez2019-11-131-1/+1
| | | | This patch renames the setup command to avoid semantic confusion.
* #915 Adapt web to use 'echo' parameter of POST /shell/runRoberto Hueso Gómez2019-11-121-2/+8
|
* #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.
* #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.
* #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 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 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
|
* #915 Change WebConsole to read API token from ogAdmServer.cfgJavier Sánchez Parra2019-10-141-2/+2
| | | | | | | | | | This commit changes restfunctions.php to read the API token of ogAmdServer from ogAdmRepo.cfg to ogAdmServer.cfg. This way it avoids possible communication errors if ogAdmRepo.cfg and ogAdmServer.cfg are desynced. In order to restfuntions.php can read ogAdmServer.cfg this commit also changes the permissions of the file.
* #915 Fix POST "software" cmd in ogAdmServer and webJavier Sánchez Parra2019-10-112-3/+9
| | | | | | | | | | | | | | | | | | This patch adds the parameters "disk" and "partition" to POST "software" command. This way the client can create a software profile without failure. New request: POST /software { "clients":[ "192.168.56.12" ], "disk":"1", "partition":"1" } Reply: 200 OK
* #915 Adapt web to use new image/restore/incremental cmd in REST APIJavier Sánchez Parra2019-10-112-0/+58
| | | | SocketHidra command has been replaced by POST image/restore/incremental.
* #915 Adapt web to use new REST API "image/create/incremental" commandRoberto Hueso Gómez2019-10-112-0/+53
| | | | SocketHidra command has been replaced by POST "image/create/incremental".
* #928 Multicast ports are allowed from 9000 to 9098. Port 9100 is assigned to ↵Irina Gómez2019-10-101-2/+2
| | | | bacula Director.
* #915 Adapt web to use new image/restore/basic cmd in REST APIJavier Sánchez Parra2019-10-092-0/+60
| | | | SocketHidra command has been replaced by POST image/restore/basic.
* #914: Update OGAgent creation dependencies and installation instructions.Ramón M. Gómez2019-10-091-0/+7
|
* #915 Adapt web to use new image/create/basic cmd in REST APIJavier Sánchez Parra2019-10-082-1/+60
| | | | SocketHidra command has been replaced by POST image/create/basic.
* Adapt web to use new image/setup cmd in REST APIRoberto Hueso Gómez2019-10-072-0/+58
| | | | SocketHidra configurar has been replaced by POST image/setup.
* #915: adapt web to use OG_REST_PARAM_ID constantJavier Sánchez Parra2019-10-031-1/+1
| | | | | Update restore_image() in restfunctions.php to use OG_REST_PARAM_ID constant.