summaryrefslogtreecommitdiffstats
path: root/admin
Commit message (Collapse)AuthorAgeFilesLines
* #946: Updating OGAgent installation instructions.Ramón M. Gómez2020-01-281-7/+18
|
* #951: Review default settings of non-null fields in the SQL file.Ramón M. Gómez2020-01-271-3/+3
|
* #951: Script `opengnsys_import.sh` assigns a default value to non-null ↵Ramón M. Gómez2020-01-171-7/+0
| | | | fields before applying database updates.
* #849 Incorporation of Computers reloads computers tree in left frame.Irina Gómez2020-01-161-2/+11
|
* #946: Fix database bug when updating Ubuntu from 16.04 to 18.04Ramón M. Gómez2020-01-161-0/+7
|
* #949: Add session info to the computer properties form.Ramón M. Gómez2020-01-094-15/+128
|
* #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.
* #858 New tips of the day.Irina Gómez2019-12-206-4/+28
|
* #947: Link the statistics page from the help page.Ramón M. Gómez2019-12-184-0/+4
|
* #947: New web page with Organization Unit statistics obtained from de database.Ramón M. Gómez2019-12-184-0/+211
|
* #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.
* #940: Replace obsolete function `platform.linux_distribution` with ↵Ramón M. Gómez2019-12-114-5/+8
| | | | `distro.os_release_attr`.
* #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: Releasing OpenGnsys 1.1.1 (Espeto).Ramón M. Gómez2019-11-291-0/+10
|
* #914: Linking database upgrade file from `pre` version to OpenGnsys 1.1.1Ramón M. Gómez2019-11-292-56/+31
|
* #914: Remove unused files.Ramón M. Gómez2019-11-291-0/+0
|
* #924 Fix that only the commands without session were checkedJavier Sánchez Parra2019-11-251-0/+5
| | | | | | | | | | | 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.
* #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.
* #839: Always update the partition types when obtaining the computer ↵Ramón M. Gómez2019-11-211-1/+2
| | | | configuration.
* #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.
* #915 Test malformed payload for POST commandsRoberto Hueso Gómez2019-11-1416-0/+109
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* #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 Test malformed payload for POST /shell/runRoberto Hueso Gómez2019-11-131-0/+9
| | | | | This test covers requests that do not contain 1 of the parameters in their payloads.
* #915 Test malformed payload for POST /wolRoberto Hueso Gómez2019-11-131-0/+9
| | | | | This test covers requests that do not contain 1 of the parameters in their payloads.
* #915 Test malformed payload for POST /clientsRoberto Hueso Gómez2019-11-131-0/+4
| | | | | This test covers requests that do not contain 1 of the parameters in their payloads.
* #915 Return HTTP 400 error code in og_client_state_process_payload_restRoberto Hueso Gómez2019-11-131-1/+1
| | | | | This patch meets RFC 7235 and returns an HTTP 400 error code when ogAdmServer recieves a wrong request.
* #915 Extend REST API POST no payload tests to all remaining tests.Roberto Hueso Gómez2019-11-1311-0/+44
| | | | | | | | | | | | | | | | | 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
* #915 Rename POST /image/setup for /setup in REST APIRoberto Hueso Gómez2019-11-134-7/+7
| | | | 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
|
* #915 Adapt POST /shell/run test to the 'echo' parameterRoberto Hueso Gómez2019-11-121-1/+3
|
* #915 Add 'echo' parameter to POST /shell/runRoberto Hueso Gómez2019-11-121-4/+31
| | | | 'echo' parameter makes possible for users to request the console output.
* #915 Fix og_json_parse_clients flags for empty arraysRoberto Hueso Gómez2019-11-121-2/+2
| | | | | This patch prevents the flag OG_REST_PARAM_ADDR to be activated when the array is empty.
* #915 Validate POST /run/schedule REST API parametersRoberto Hueso Gómez2019-11-121-0/+3
| | | | This patch ensures that all required parameters are sent in the request.
* #915 Validate POST /image/restore/incremental REST API parametersRoberto Hueso Gómez2019-11-121-10/+40
| | | | This patch ensures that all required parameters are sent in the request.