summaryrefslogtreecommitdiffstats
path: root/admin
Commit message (Collapse)AuthorAgeFilesLines
* #1008 Add support for partitioning several disksJavier Sánchez Parra2020-11-258-15/+65
| | | | | | | WebConsole only supports for partitioning and formatting the first disk of the client. POST /setup calls in ogserver and ogclient support for multiple disks. Update WebConsole to allow to choose which disk do you want to partition and format.
* #988 Fix opengnsys startup script.Irina Gómez2020-11-091-12/+13
| | | | The port value for 'faucet' is fixed, it does not depend on the ogserver configuration. Required for multicast transfer.
* #944 Fix status in console, when there is only one computer in lab without ↵OpenGnsys2020-11-051-1/+1
| | | | columns and row property.
* #992: Expand URL fields to support long hostnames.Ramón M. Gómez2020-10-212-6/+7
| | | | Thanks to Jorge Fernandez Marín for the solution provided.
* #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
|
* #992: Add field to indicate if a local session is open.Ramón M. Gómez2020-09-112-9/+18
| | | | This flag controls that a computer with a local session open cannot be reserved to remote access.
* #1004 Add new fields to imagenes tableJavier Sánchez Parra2020-09-102-0/+13
| | | | | | | Extend database to store new fields that contain information about "clonator", "compressor", "filesystem" and "datasize". This patch also creates a /tmp/image.info file that is consumed by ogClient.
* #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.
* #993 Remove ogAdmServerAuxRoberto Hueso Gómez2020-07-312-57/+0
| | | | | | This patch removes ogAdmServerAux which is no longer needed. This script is replaced by the modifications performed on 'setclientmode' and a call to the ogServer API POST /modes.
* #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-233-12/+29
|
* #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: Updating SQL files.Ramón M. Gómez2020-07-1710-27/+43
|
* #991: Status screen shows computers in maintenance mode with transparency.Ramón M. Gómez2020-07-162-16/+22
|
* #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
* #985 Remove ogAdmServer folderJavier Sánchez Parra2020-06-2360-7985/+0
| | | | | ogAdmServer now has its own repo as ogServer. Check: https://github.com/opengnsys/ogServer
* #986 Rename to ogserverJavier Sánchez Parra2020-06-192-2/+2
| | | | Step forward to rename all ogAdmServer references to ogServer
* #981 Use new ogServer systemd unit fileJavier Sánchez Parra2020-06-191-13/+0
| | | | | This commit adapts installer, updater and init scripts to work with new ogServer systemd unit file.
* #981 Fix typo on OpenGnsys systemd unit fileJavier Sánchez Parra2020-06-191-1/+1
| | | | | | This commit escape the "%" character with another "%" character as systemd unit manual says: https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Specifiers
* #981 Add ogAdmServer own systemd unit fileJavier Sánchez Parra2020-06-161-0/+13
| | | | | This commit is a step in the direction to remove the old unit file. It also allow us to move ogAdmServer to its own repo.
* #971 remove empty folderOpenGnSys Support Team2020-06-111-9/+0
| | | | Used to have the ogAdmClient code.
* #971 remove old Database and ogAdmLib codeOpenGnSys Support Team2020-06-094-1657/+0
|
* #971 move ogAdmLib to ogAdmServerOpenGnSys Support Team2020-06-094-3/+482
| | | | Move remaining ogAdmLib code to ogAdmServer
* #971 add str_toupper()OpenGnSys Support Team2020-06-084-9/+31
| | | | Add new utils.c file and replace old StrToUpper().
* #971 do not use og_log()OpenGnSys Support Team2020-06-081-5/+0
| | | | ogAdmServer uses syslog for logging.
* #971 replace og_info() by syslog()OpenGnSys Support Team2020-06-081-9/+16
|
* #971 replace reservaMemoria() by calloc()OpenGnSys Support Team2020-06-081-3/+3
|
* #971 replace liberaMemoria() by free()OpenGnSys Support Team2020-06-081-11/+11
|
* #971 remove ogAdmClient and ogAdmAgentOpenGnSys Support Team2020-06-028-3594/+0
| | | | | ogAdmClient has been replaced by ogClient. ogAdmAgent has been integrated into ogAdmServer.
* #942 add WoL on commands, procedures and tasks (web)Javier Sánchez Parra2020-06-021-2/+1
|
* #942 add WoL on commands, procedures and tasksJavier Sánchez Parra2020-06-021-64/+68
| | | | | | | | | | These cases are different from a basic WoL command because they all use the queue. The queue standard behaviour waits for the client to be ON to send orders, but in WoL commands the client is going to be OFF. The behaviour of WoL must be different. This commit implements WoL for queued commands, procedures and tasks. The queue now sends Wol commands without waiting to the client to be ON.
* #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.
* #980 add procedure auto executionJavier Sánchez Parra2020-06-021-1/+36
| | | | | | | Users can configure clients to execute a procedure at start. 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 Fix immediate proceduresJavier Sánchez Parra2020-06-023-6/+7
| | | | | | | | | New versions of ogAdmServer handle pending commands in a different way. Instant procedures uses the old way, now unsupported, so we need to adapt instant procedures. This commit adapts instant procedures to work with the new pending commands implementation.
* #942 ignore stale schedules on startOpenGnSys Support Team2020-06-023-23/+55
|
* #942 schedule commands (web)Javier Sánchez Parra2020-06-023-8/+34
|