summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest/remotepc.php
Commit message (Collapse)AuthorAgeFilesLines
* #915 Send command id in remotepc schedulingJavier Sánchez Parra2021-06-161-2/+4
| | | | | | | | | Send command (formerly action) id on remotepc scheduling, instead of session number. Otherwise, ogServer can not find the command in the database. This patch is necessary because commit 076a797 in ogServer repo changes command query filter from session to id.
* #942 Adapt RemotePC API to use new queue implementationJavier Sánchez Parra2021-04-261-0/+6
| | | | | | | | | | 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.
* #992 REST route /ous/:ouid/labs/:labid/clients/:clntid/init:Irina Gómez2021-03-041-1/+1
| | | | The operation isn't remove on timeout.
* #992 REST route /ous/:ouid/labs/:labid/clients/:clntid/init:Irina Gómez2021-02-231-1/+9
| | | | | Fixes that include global variables, required to add the operating system startup to the action queue. This route is defined in swagger.
* #990 restfunctions: wol: require clients and wol_type params onlyJose M. Guisado2021-02-151-2/+2
| | | | | | | | | | | | 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")
* #839 Fixes problem of expulsion of the user from the session at 15min.Irina Gómez2021-01-201-1/+2
|
* #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.
* #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.
* #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
|
* #839: Fix bug when creating database event.Ramón M. Gómez2020-04-011-7/+6
|
* #839: Drop database event when remote access reservation is finished.Ramón M. Gómez2019-10-241-2/+4
|
* #915: Adapt RemotePC reservation function to the new ogAdmServer REST API.Ramón M. Gómez2019-10-231-20/+7
|
* #839: Reservation (power-on) operation is also sent to client repository (as ↵Ramón M. Gómez2019-09-231-3/+17
| | | | in {{{e57b608}}} commit).
* #834: Remove all redundant PHP closing tags.Ramón M. Gómez2019-01-231-1/+1
|
* #708: Corregir error en verificación de administrdor de UO.Ramón M. Gómez2018-05-231-12/+12
|
* #839: Correción en API REST para RemotePC: permitir sesión ilimitada si ↵ramon2018-04-301-5/+6
| | | | | | parámetro {{{deadLine=0}}}. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5763 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Corrección errata en consulta SQL que provocaba duplicado de ↵ramon2017-11-271-1/+1
| | | | | | operaciones en cola de ejecución de OGAgent. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5519 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Comprobar parámetro {{{urllogin}}} en los valores de sesión para ↵ramon2017-11-271-2/+2
| | | | | | Remote PC. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5517 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Cambiar política de asignación a recurso no disponible si ↵ramon2017-11-061-16/+13
| | | | | | {{{deadLine}}} es 0 en ruta REST {{{ous/:ouid/labs/:labid/clients/:clntid/session}}} y corregir errata en mensaje de log. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5498 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Tiempo de sesión ilimitado si parámetro {{{deadLine}}} es 0 en ruta ↵ramon2017-11-061-13/+19
| | | | | | REST {{{ous/:ouid/labs/:labid/clients/:clntid/session}}}. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5496 a21b9725-9963-47de-94b9-378ad31fedc9
* #708 #810: Añadir depuración en ruta de RemotePC; adaptar mensajes en ↵ramon2017-11-031-0/+4
| | | | | | propiedades de repositorio. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5495 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Componer correctamente los valores enteros en mensajes JSON de las ↵ramon2017-10-311-5/+8
| | | | | | respuestas REST (sin comillas). git-svn-id: https://opengnsys.es/svn/branches/version1.1@5490 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Corregir otra errata en r5484.ramon2017-10-261-2/+1
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5487 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Corregir errata en r5484.ramon2017-10-261-0/+1
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5486 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Adaptar SQL a la estructura de la tabla de operaciones de OGAgent.ramon2017-10-261-3/+7
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5484 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Guardar datos de fin de sessión remota y comandos de aviso.ramon2017-10-251-9/+70
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5482 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Añadir depuración a rutas REST para proyecto RemotePC y preparar ↵ramon2017-10-161-16/+100
| | | | | | nueva ruta de datos de sesión. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5462 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Comprobar tipo de agente permitido para acceder a rutas REST de RemotePC.ramon2017-09-261-0/+12
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5435 a21b9725-9963-47de-94b9-378ad31fedc9
* #708 #730: Activar calendario de eventos de MySQL; creación correcta de ↵ramon2017-05-261-9/+13
| | | | | | eventos MySQL para liberar reservas sin acción asociada.branches/version1.1/admin/Database git-svn-id: https://opengnsys.es/svn/branches/version1.1@5319 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Timeout para iniciar equipo reservado (prueba comentada).ramon2017-05-251-0/+22
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5317 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Corregir erratas y comprobaciones en ruta para reservar cliente para ↵ramon2017-05-241-79/+76
| | | | | | acceso remoto. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5316 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Refinar consultas SQL en rutas de inicio y fin de reserva.ramon2017-05-241-3/+2
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5314 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Redirigir notificaciones de login y logout usando método GET.ramon2017-05-231-1/+1
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5311 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Elegir PC con una reserva caducada más antigua en vez de aleatoriamente.ramon2017-05-191-11/+12
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5309 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Establecer tiempo máximo de reserva para que un equipo pueda ser ↵ramon2017-04-241-24/+56
| | | | | | usado en acceso remoto. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5275 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Controlar inyección SQL en API REST.ramon2017-04-201-6/+15
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5271 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Actualizar definición de la ruta ↵ramon2017-02-161-15/+15
| | | | | | {{{/ous/:ouid/images/:imageid/software}}} y terminar de aplicar cambios de r5190 al resto de rutas. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5196 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Obtener datos y código HTTP en llamadas {{{curl_multi}}} de PHP; usar ↵ramon2017-02-101-1/+3
| | | | | | fecha en formato ISO 8601 y quitar líneas en blanco al final de ficheros. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5185 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Incluir método REST en registro de errores.ramon2017-02-081-1/+1
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5181 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Corregir errata en revisión r5179 al obtener IP del cliente.ramon2017-02-081-1/+2
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5180 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Implementada ruta {{{DELETE ↵ramon2017-02-081-13/+67
| | | | | | /ous/:ouid/labs/:labid/clients/:clntid/unreserve}}} git-svn-id: https://opengnsys.es/svn/branches/version1.1@5179 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Disponible ruta REST {{{/ous/:ouid/labs/:labid/clients/:clntid/events}}}ramon2017-02-071-8/+3
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5176 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Disponible ruta REST {{{/ous/:ouid/images/:imageid/reserve}}}ramon2017-02-071-51/+66
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5175 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Corregir algunas erratas en r5169 y añadir comprobación de cliente ↵ramon2017-02-061-66/+74
| | | | | | ya reservado en ruta {{{.../reserve}}} git-svn-id: https://opengnsys.es/svn/branches/version1.1@5172 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Crear nuevas rutas REST para reservar inicio de PC y para registrar ↵ramon2017-02-031-0/+243
eventos de UDS. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5169 a21b9725-9963-47de-94b9-378ad31fedc9