summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes
Commit message (Collapse)AuthorAgeFilesLines
* #969 Images tree is adapted to jquery:Irina Gómez2020-07-281-15/+37
| | | | | | | jscripts/imagenes.js and principal/imagenes.php: specific functions are removed and replaced by common functions. jscripts/arbol.js and jscripts/comunes.js: functions include cases for the types of images. includes/arbol.php: the case of the image is separated into the different image types. idiomas/php/esp/informacion_imagenes_esp.php: Fixs a text message.
* #969 arbol.php function 'nodos_arbol': fix bug in SQL request for tasks.Irina Gómez2020-07-221-1/+1
|
* functions nodos_arbol and grupos_arbol: If there isn't elements returns a ↵Irina Gómez2020-04-241-47/+62
| | | | | | | | empty array: element[int_node_tipe]=Array(); functions lista_grupo_arbol and lista_raiz_arbol: The active zone for show contextual menus is asociated to label (before was to 'li' elements). This avoids zones overlapping function lista_grupo_arbol: Fixs error in classrooms tree: before to list groups, the order of elements is incremented function lista_raiz_arbol: If all nodes is equal shows root tree. If nodes are diferent shows root and first level of tree.
* #969 node tree: Left frame shows node tree.irinagomez2020-03-201-21/+133
| | | | Functions lista_raiz_arbol and lista_grupo_arbol are created and used in all left frames.
* #969 node tree: Functions for get nodes and groups of nodes from database ↵irinagomez2020-03-191-0/+254
| | | | | | are created and used in all left frames. For now frames show array of nodes and groups for debug.
* #969 Images tree: lists are used for show tree and context menues.Irina Gómez2020-03-161-0/+2
|
* #914: Delete unused variables.Ramón M. Gómez2019-11-251-7/+0
|
* #914 Software inventory command in console improved info message when no ↵Irina Gómez2019-11-201-1/+1
| | | | operating system is detected.
* #914 Login command in console improved info message when no operating ↵Irina Gómez2019-11-141-1/+1
| | | | 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
|
* #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-301-0/+3
| | | | | This patch fixes run script command as it now uses REST API instead of SocketHidra.
* #915 Remove dead code that uses SocketHidraRoberto Hueso Gómez2019-10-291-79/+0
| | | | This patch removes files that are dead code and that also use SocketHidra.
* #915 Adapt web to use the new run/schedule cmd in REST APIRoberto Hueso Gómez2019-10-251-0/+7
| | | | | | 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 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-111-2/+8
| | | | | | | | | | | | | | | | | | 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-111-0/+53
| | | | 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-111-0/+48
| | | | SocketHidra command has been replaced by POST "image/create/incremental".
* #915 Adapt web to use new image/restore/basic cmd in REST APIJavier Sánchez Parra2019-10-091-0/+55
| | | | SocketHidra command has been replaced by POST image/restore/basic.
* #915 Adapt web to use new image/create/basic cmd in REST APIJavier Sánchez Parra2019-10-081-1/+55
| | | | 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-071-0/+53
| | | | 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.
* #915: Adapt web to use new image/restore cmd in REST APIRoberto Hueso Gómez2019-10-011-0/+26
| | | | SocketHidra restaurar imagen has been replaced by POST image/restore.
* #915: Adapt web to use new image/create cmd in REST APIRoberto Hueso Gómez2019-10-011-0/+29
| | | | SocketHidra crear imagen has been replaced by POST /imagen/create.
* #834: Setting a default value for some PHP variables to avoid warnings.Ramón M. Gómez2019-08-222-4/+8
|
* #802 For EFI partition: in console in 'RestoreImage' command can't select it ↵Irina Gómez2019-08-121-18/+25
| | | | and deploy wizard show a message.
* #915 do not print misleading API error on web consoleJavier Sánchez Parra2019-07-311-1/+1
| | | | | | | | Irina reports a raw array showing in the web console when calling the new ogAdmServer API. var_export() prints the error message on the web instead of syslog. Changing var_export() for print_r() solves this bug.
* #921 Fixs 'Action queue': explode in php 7 don't support several delimiters.Irina Gómez2019-07-301-1/+1
|
* #915 adapt web to use new software cmd in REST APIJavier Sánchez Parra2019-07-031-0/+10
| | | | | SocketHidra software (inventario software) has been replaced by POST /software.
* #915 adapt web to use new hardware cmd in REST APIJavier Sánchez Parra2019-07-031-0/+10
| | | | | SocketHidra hardware (inventario hardware) has been replaced by POST /hardware.
* #915 Correct config file route in web API REST libJavier Sánchez Parra2019-06-251-1/+1
| | | | | The "magic" constant __DIR__ ensure a correct route regardless of where the methods are used
* #915 Add API token to common_request() in web consoleJavier Sánchez Parra2019-06-241-0/+6
| | | | Add token parameter in REST API infrastructure in the web console.
* #915 Remove unused parameter to common_request()Javier Sánchez Parra2019-06-121-1/+1
| | | | Remove unused parameter in REST API infrastructure.
* #915 The order of the json field is irrelevant in GET /clientsJavier Sánchez Parra2019-06-111-1/+3
| | | | | | | | | | Either: { "addr" : "192.168.2.1", "state" : "OPG" } or: { "state" : "OPG", "addr" : "192.168.2.1" } should be accepted, this patch updates the web console parser to accept both.
* #802 Advanced Boot Management sends to 'sendclientmode' script access data ↵Irina Gómez2019-06-101-12/+3
| | | | to the database as environment variables.
* Merge branch 'devel' into uefiIrina Gómez2019-06-051-1/+176
|\ | | | | | | Fast foward with devel branch
| * #915 adapt web console to use new refresh command in REST APIJavier Sánchez Parra2019-05-301-0/+10
| | | | | | | | SocketHidra "actualizar" has been replaced by POST /refresh.
| * #915 adapt web console to use new stop command in REST APIJavier Sánchez Parra2019-05-301-1/+11
| | | | | | | | SocketHidra "purgar" has been replaced by POST /stop.
| * #915 adapt web console to use new reboot command in REST APIJavier Sánchez Parra2019-05-301-0/+10
| | | | | | | | SocketHidra reboot has been replaced by POST /reboot.
| * #915 adapt web console to use new poweroff command in REST APIJavier Sánchez Parra2019-05-301-0/+10
| | | | | | | | SocketHidra poweroff has been replaced by POST /poweroff.
| * #915 adapt web console to use new REST API in OgAdmServerOpenGnSys Support Team2019-05-271-1/+136
| | | | | | | | | | | | Use new REST API in ogAdmServer. This allows us to start removing the old SockHidra code.
* | Merge branch 'devel' into uefi (fast-forward)Irina Gómez2019-05-1319-285/+113
|\|
| * #834: Fix wrong variable type.Ramón M. Gómez2019-02-201-2/+2
| |
| * #834: Fixing more code cleanup: some file encoding, CSS units, Javascript ↵Ramón M. Gómez2019-02-044-262/+97
| | | | | | | | comparisons, HTML tags, PHP variables.
| * #834: Remove all redundant PHP closing tags.Ramón M. Gómez2019-01-2315-17/+12
| |
| * #834: Check for more variable definitions and continue code cleanup.Ramón M. Gómez2019-01-211-2/+2
| |
| * #834: Correct undefined variables and some spell checking.Ramón M. Gómez2019-01-192-4/+2
| |
* | #802 #888 When the computer or repo propierties change, the console ↵Irina Gómez2019-03-151-102/+40
|/ | | | regenerate the PXE files for bios and uefi.
* #872: Code cleaning.Ramón M. Gómez2018-10-221-3/+0
|