summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole
Commit message (Collapse)AuthorAgeFilesLines
* #944 Fix status in console, when there is only one computer in lab without ↵OpenGnsys2020-11-051-1/+1
| | | | columns and row property.
* #988 Read API token from new json configRoberto Hueso Gómez2020-10-061-2/+2
| | | | | This patch reads configuration from the new json file instead of using the legacy '.cfg' file.
* #1006 Fix RemotePC IP retrieving on running clientsIsaac Vidal Daza2020-09-281-2/+2
| | | | | | | | | | | Error in the REST API response of /ous/:id1/labs/:id2/clients/status that returns the status of the computers in a classroom. It returns running PCs with an X.X.X.1 and X.X.X.2 IP address instead of those that are actually running, which are X.X.X.15 and X.X.X.16. The error cause is, when constructing the JSON response, a foreach that ignores the "keys" of the response array. This commit adds the "keys" to the foreach to iterate also through them.
* #1005 Add support for computer groups in RemotePCJosé Alberto Royo Ratia2020-09-281-0/+4
| | | | | | | | | | | When OpenGnsys is used via RemotePC, a failure occurs when classrooms with groups of computers are included because the processing and recursion is not controlled correctly because attempts are made to add objects to a null array. This commit adds and populates an array with the computers in the group. Reviewed-by: Javier Sánchez Parra <jsanchez@soleta.eu>
* #992: New REST route `/ous/:ouid/labs/:labid/clients/:clntid/init`Ramón M. Gómez2020-09-111-26/+172
| | | | New route to boot up a computer and init session on the operating systems where the image was restored. UDS will request this route when it detects that a reserved computer is turned off.
* #992: Set local session flag on user login or logout.Ramón M. Gómez2020-09-111-7/+10
|
* #998 disable incremental imageIsabel Arrans2020-08-262-26/+0
| | | | This API is not supported by ogClient yet and it uses the obsolete socket hydra API.
* #1001 Remove trailing \r and \n in some scriptsJavier Sánchez Parra2020-08-253-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | We find that scripts sent by "Assistants"/"Asistentes" are losing the last character and scripts send by "Run Script"/"Ejecutar Script" have a trailing line feed (\n). This is happening because shell() function, which calls "/shell/run" of ogServer REST API, expects scripts send by "Asistentes" and "Run Script" to have two trailing characters and removes them. But "Assistants" only put one trailing char (\r) and "Run Script" put three trailing chars (\n\n\r). To avoid problems when running scripts without the last char or with trailing line feed this patch updates WebConsole to: 1) "Assistants" no longer put one trailing character at the end of the script 2) "Run Script" no longer puts three trailing characters at the end of the script 3) shell() expects no trailing chars in scripts sent by "Assistants" and "Run Script".
* #980 Update POST /mode to the new ogServer APIRoberto Hueso Gómez2020-08-147-16/+16
| | | | | This patch selects the machines whose modes need to be changed using the client's IP rather than their scope names.
* #991: Fixs error in line order that caused blank page.Irina Gómez2020-08-051-1/+1
|
* Change GET and POST /modes URI to /modeRoberto Hueso Gómez2020-08-031-2/+2
| | | | This adapts to the ogServer.
* #990 Fix WOL call for RemotePCRoberto Hueso Gómez2020-07-311-2/+3
| | | | | This patch fixes the call to the WOL rest function by adapting it to the new API.
* #993 Send REST request in createBootMode(...)Roberto Hueso Gómez2020-07-292-2/+12
| | | | | This patch replaces a call to the 'setclientmode' script in createBootMode() function for a REST request to the ogServer.
* #992: Release a reserved client if a user logs in a local session.Ramón M. Gómez2020-07-241-9/+19
|
* #992: Set/unset URL to release a client for remote access.Ramón M. Gómez2020-07-231-8/+14
|
* #991: Computers in maintenance mode will not be chosen for remote access.Ramón M. Gómez2020-07-171-0/+1
|
* #991: Enable/disable maintenance flag in computer properties form.Ramón M. Gómez2020-07-175-17/+53
|
* #991: Status screen shows computers in maintenance mode with transparency.Ramón M. Gómez2020-07-161-14/+18
|
* #990 Use client broadcast address on WoLJavier Sánchez Parra2020-07-034-6/+29
| | | | | | | | | | | | | | | | Some universities have computers in a different subnet where the ogServer is, but ogServer WoL functionality only supported to send packet to its own subnets. This commit solves this. Now ogServer sends two WoL packets per client, one with the broadcast address of the interface indicated in the config file, the other with the broadcast address calculated with the address and netmask of the client. To ensure that the second WoL works correctly you must configure correctly the IP and netmask of the clients. Also, you have to configure the network of your organization to route WoL packet to the correct subnet.
* #804: Fix bug when getting day of week number.Ramón M. Gómez2020-07-013-87/+6
| | | | Removing function `_DiaSemana` from class `Almanaque` and use regular PHP functions.
* #980 Add Virtual statusJavier Sánchez Parra2020-06-268-0/+28
| | | | | Since version 1.2.0, OpenGnsys supports ogVDI hypervisor OS. This commit a new status which indicates that clients are running ogVDI
* #986 Rename to ogserverJavier Sánchez Parra2020-06-191-1/+1
| | | | Step forward to rename all ogAdmServer references to ogServer
* #942 add WoL on commands, procedures and tasks (web)Javier Sánchez Parra2020-06-021-2/+1
|
* #942 add immediate commands on the queue (web)Javier Sánchez Parra2020-06-023-23/+31
| | | | | | | | Users can launch immediate commands on the queue to keep an history and to watch the status and the properties. This commit adapt this functionality to new functions and behaviour of the ogAdmServer.
* #942 Fix immediate procedures (web)Javier Sánchez Parra2020-06-022-6/+40
|
* #942 schedule commands (web)Javier Sánchez Parra2020-06-023-8/+34
|
* #942 Add weeks and week_days to the webconsole schedule (web)Javier Sánchez Parra2020-06-022-4/+8
|
* #942 Use /schedule/get in consulta_programaciones (web)Roberto Hueso Gómez2020-06-021-12/+21
|
* #942 Use both task_id and schedule_id in /schedule/get (web)OpenGnSys Support Team2020-06-022-4/+6
|
* #942 Adapt web to use /schedule get on /schedule/create (web)Roberto Hueso Gómez2020-06-022-0/+13
|
* #942 Implement update schedule (web)Roberto Hueso Gómez2020-06-022-4/+28
|
* #580 Removes conmutar/purgar button from the menu (web)Javier Sánchez Parra2020-06-022-42/+0
| | | | | | | | | The new ogAdmServer's improvements and functionalities make the conmutar/purgar button deprecated. Thanks to libev now the ogAdmServer knows itself when a clients has desconected. This commit removes conmutar/purgar button from all the contextual menus (room, room group, computer and computer group).
* #915 Add new case to command shell/run (web)Javier Sánchez Parra2020-06-022-8/+18
| | | | | | | | | | | | | | | I tried to delete a cache image but the character "*" of the command was missing so the command fails. Command received: "rm -r /opt/opengnsys/cache/opt/opengnsys/images/test." Command expected: "rm -r /opt/opengnsys/cache/opt/opengnsys/images/test.*" This command adds a new case to the call shell/run. This new case is needed because in the case of deleting a image from the cache the web only has to delete the last character of the string instead of last two characters.
* #942 Fix run script tasks encoding (web)Roberto Hueso Gómez2020-06-021-1/+4
|
* #942 Fix run script encoding (web)Roberto Hueso Gómez2020-06-021-1/+2
| | | | Run script commands should not be encoded as an URL.
* #942 add create/delete schedule api to web (web)Javier Sánchez Parra2020-06-022-30/+58
| | | | Web updates for #942 Add support for scheduled tasks and commands
* #942 Add /run/task to API REST (web)OpenGnSys Support Team2020-06-022-49/+8
|
* #944: Merge branch 'labgrid'Ramón M. Gómez2020-06-016-40/+137
|\
| * #944: Update locale messages.Ramón M. Gómez2019-12-134-11/+25
| |
| * #944: Show the lab. grid.Ramón M. Gómez2019-12-131-31/+80
| |
| * #944: Add location selection boxes in the computer properties form.Ramón M. Gómez2019-12-132-5/+39
| |
* | Limpiando.Codigo.979Alberto UMA2020-05-202-4/+1
| |
* | Mover.Ordenadores.Aulas_integrar ficherosAlberto UMA2020-05-1611-10/+1713
| |
* | #961 Images properties in console shows data size.Irina Gómez2020-05-154-0/+9
| |
* | #947: Fix bug when counting RemotePC-enabled labs.Ramón M. Gómez2020-05-141-2/+2
| |
* | #841 Fixes bug in partitioning wizard when configure MBR: ogGetBootMbr ↵Irina Gómez2020-05-051-2/+2
| | | | | | | | function is created for detect MBR content and used in wizard.
* | # 911 Fixes bug in partitioning wizard when create Cache: tries to mount ↵Irina Gómez2020-05-041-0/+8
| | | | | | | | cache partition, if not possible formats it. Solution proposed by Antonio Doblas (UMA).
* | #974 Fix task edit formJavier Sánchez Parra2020-04-241-1/+1
| | | | | | | | | | | | | | | | | | We have seen that if you try to edit a task and assign it to a group of computers the form do not work. This happens because the string containing the name of primary key of the table gruposordenadores (Groups of computers) has a trailing white space. This commit fixes this bug removing the trailing whitespace.
* | #959 #679 CreateImage command in console : Fix error in SQL request, only ↵Irina Gómez2020-04-131-2/+2
| | | | | | | | showed images from repository assigned to computer. Now show all images in organization unit.
* | #839: Fix index overflow in REST route `GET ↵Ramón M. Gómez2020-04-021-6/+7
| | | | | | | | /ous/{ouid}/labs/{labid}/clients/status`