| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Adds ogServer wol state, used to report WoL packet sending. This state
can timeout (returning to off) or change to a new state after clients
report a new one.
|
|
|
|
|
|
|
|
|
|
| |
RemotePC API queues commands only inserting them in the database and
expects ogServer to find them and send them to its respective clients.
Since v1.2.0, ogServer do not seek the database periodically searching
for pending commands. Now ogServer expose an HTTP API to queue commands.
This commit adapts RemotePC API to use new ogServer queue API.
|
|
|
|
| |
The operation isn't remove on timeout.
|
|
|
|
|
| |
Fixes that include global variables, required to add the operating system startup to the action queue.
This route is defined in swagger.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Webconsole is directly querying the database to build the payload for
requesting the ogServer a Wake On Lan.
ogServer is expected to query the database for the netmask and mac
parameters. Do not require the client request to have such parameters.
Adjust calls to the wol php method by other OpenGnsys components.
Fixes: a35b7c4 ("#990 Use client broadcast address on WoL")
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
This patch fixes the call to the WOL rest function by adapting it to the
new API.
|
| |
|
| |
|
| |
|
|
|
|
| |
/ous/{ouid}/labs/{labid}/clients/status`
|
| |
|
| |
|
|
|
|
| |
`jsonResponseNow` to avoid HTTP error 500 and redefine some log messages.
|
| |
|
|
|
|
| |
colon characters.
|
|
|
|
| |
/ous/:ouid/labs/:labid/clients/:clntid/status` when a client has never connected to the server.
|
|
|
|
|
| |
This patch removes all remaining references to SocketHidra. The existing
code uses the REST API ogAdmServer.
|
| |
|
|
|
|
| |
access server (UDS).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
in {{{e57b608}}} commit).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gestor_Comando.php only execute wakeonlan_repo.php when wake up command is called.
* wakeonlan_repo.php send new needed parameters for ogAdmServer WoL.
* repository.php use ogAdmServer WoL instead of wakeonlan perl script.
* opengnsys_installer.sh and opengnsys_update.sh don't have wakeonlan perl script dependency anymore.
# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Date: Mon Jan 28 10:22:57 2019 +0100
#
# On branch devel
# Your branch is ahead of 'origin/devel' by 1 commit.
# (use "git push" to publish your local commits)
#
# Changes to be committed:
# modified: admin/WebConsole/comandos/gestores/gestor_Comandos.php
# modified: admin/WebConsole/comandos/gestores/wakeonlan_repo.php
# modified: admin/WebConsole/rest/repository.php
# modified: installer/opengnsys_installer.sh
# modified: installer/opengnsys_update.sh
#
# Untracked files:
# 0001-892-Use-ogAdmServer-Wake-on-Lan.patch
# 0001-892-Use-ogAdmServer-Wake-on-Lan.zip
#
|
| |
|
| |
|
| |
|
|
|
|
| |
tickets.
|
| |
|
| |
|
|
|
|
|
|
| |
parámetro {{{deadLine=0}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5763 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
comentarios.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5640 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
| |
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5620 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
|
|
|
| |
- Correcciones en comentarios.
- Corrección al actualizar la BD.
- Incluir {{{curl}}} en lista de paquetes a instalar en ogLive.
- Volver a activar Wake-On-Lan al arrancar clientes.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5601 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
| |
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5589 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
| |
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5539 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
|
|
|
| |
* documentar API REST,
* hacer una única llamada múltiple a todos los repositorios afectados,
* mostrar aviso si ha habido algún problema de conexión con un repo,
* incluir dependencias de instalación/actualización.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5534 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
| |
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5533 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
de acceso remoto.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5529 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
operaciones en cola de ejecución de OGAgent.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5519 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
|
|
| |
Remote PC.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5517 a21b9725-9963-47de-94b9-378ad31fedc9
|
|
|
|
| |
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5501 a21b9725-9963-47de-94b9-378ad31fedc9
|