summaryrefslogtreecommitdiffstats
path: root/sources/ogAdmServer.h
Commit message (Collapse)AuthorAgeFilesLines
* #971 remove obsolete codeOpenGnSys Support Team2020-06-021-8/+0
|
* #942 Add /run/task to API RESTOpenGnSys Support Team2020-06-021-1/+0
| | | | | | | | | | | | | | | | | | This patch adds a new command to the REST API to run tasks. A task (tarea) is composed of procedures (procedimientos), each procedure is composed of commands (acciones) that are represented through legacy sockHidra parameters in the database. This results in iterating over the task (tareas_acciones) table in the database to fetch the list of procedures (procedimientos). Then, this iterates over the list commands that compose a procedures represented through procedimientos_acciones table. Finally, this builds and sends the sockHidra legacy message for the client. This patch includes an implementation of the Linux linked list.
* #941 use dbi layer from envioProgramacionOpenGnSys Support Team2020-03-041-1/+0
|
* #941 use dbi layer from actualizaHardwareOpenGnSys Support Team2020-03-041-2/+2
|
* #941 use dbi layer from actualizaCreacionImagen()OpenGnSys Support Team2020-03-041-1/+1
|
* #941 use dbi layer from actualizaConfiguracion()OpenGnSys Support Team2020-03-041-5/+5
|
* #941 use dbi layer from AutoexecCliente()OpenGnSys Support Team2020-03-041-1/+3
|
* #915 Pass array of addresses to WakeUp()OpenGnSys Support Team2019-05-271-1/+1
| | | | To reuse this function to the REST API.
* #897 Do not use socket type in ogAdmServerOpenGnSys Support Team2019-02-061-1/+1
| | | | No need for an extra type, socket descriptors are always integer.
* #883 replace standalone log file by syslogOpenGnSys Support Team2019-01-171-1/+1
|
* #580 fix management of keepalive connections to clientsOpenGnSys Support Team2019-01-171-1/+3
| | | | | | | | | | | | | | | OgAdmServer leaves a connection in keepalive more (similar to HTTP keepalive feature), the existing handling is not correct. The tbsocket table is never cleaned up and properly. Use the new og_client object that represents connections from the clients in tbsocket[] instead. The keepalive field now stores the index in the tbsocket table, so there is no need to consult mysql to fetch the slot that this client is using. This patch also extends syslog() support to include port number when reporting connections from clients.
* #580 rework server socket handlingOpenGnSys Support Team2019-01-171-2/+0
| | | | | | | Modern server side using libev library, includes timeouts for clients. After this patch, your system requires the libev-dev and libev4 packages to compile ogAdmServer.
* #580 constify parameter and statify functionOpenGnSys Support Team2019-01-171-61/+0
| | | | Remove unnecessary function declaration in header files
* #580 move global variable definitions to fileOpenGnSys Support Team2019-01-171-5/+0
| | | | Save us from unnecessary initialization given this is in the .bss area.
* #580 use bool from stdbool.h instead of BOOLEANOpenGnSys Support Team2019-01-171-66/+67
| | | | C99 includes boolean definition in stdbool.h, use them.
* #580 disregard SOCKET type, use int insteadOpenGnSys Support Team2019-01-171-3/+3
| | | | Socket file descriptors are always an integer, no need for typedef.
* #580: No need for runtime initialization of handlers.OpenGnSys Support Team2019-01-171-5/+0
| | | | Removes 70 LoCs.
* #738 #713 Inventario de software: se muestra sistema operativo y se guarda ↵irina2016-04-261-1/+1
| | | | | | en el perfil de software git-svn-id: https://opengnsys.es/svn/branches/version1.1@4901 a21b9725-9963-47de-94b9-378ad31fedc9
* #677: Cambios en {{{ogAdmClient}}} y {{{ogAdmServer}}} para registrar los ↵ramon2014-11-061-1/+1
| | | | | | nuevos datos de creación de imagen (PC modelo, disco, partición y fecha). git-svn-id: https://opengnsys.es/svn/branches/version1.0@4431 a21b9725-9963-47de-94b9-378ad31fedc9
* #677: Actualizar BD y mostrar fecha de despliegue de una imagen. Corregir ↵ramon2014-11-051-1/+1
| | | | | | errata para registrar la imagen desplegada indicando nº de disco y de partición. git-svn-id: https://opengnsys.es/svn/branches/version1.0@4426 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.5, #565: Integrar código del ticket:565 en rama de desarrollo.ramon2012-11-281-2/+2
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.0@3446 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.5, #565 @567: Integrar código del ticket:567 para corregir ↵ramon2012-11-131-0/+9
| | | | | | ejecución duplicada de comandos, incluyendo código del ogAdmServer con soporte para el ticket:565 (imágenes incrementales). git-svn-id: https://opengnsys.es/svn/branches/version1.0@3407 a21b9725-9963-47de-94b9-378ad31fedc9
* #501: Integrar ticket en rama de desarrollo.ramon2012-04-101-0/+2
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.0@2931 a21b9725-9963-47de-94b9-378ad31fedc9
* git-svn-id: https://opengnsys.es/svn/trunk@1314 ↵alonso2010-10-231-0/+118
a21b9725-9963-47de-94b9-378ad31fedc9