summaryrefslogtreecommitdiffstats
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* rest: remove scheduler codeOpenGnSys Support Team2024-09-171-3/+2
| | | | Put ogserver into diet, remove this feature, including pending command queue.
* rest: allow repository to have more than one IP addressOpenGnSys Support Team2024-08-211-0/+1
| | | | | | | | | | Repository can have more than one single IP address. * Add alias field to database to represent the extra IPs that are attached to the repository, update schema and add version 9. * Use og_dbi_get_repository_ip() to infer the repository IP address. * Add helper functions (src/repo.c) to build a list of repositories and update rest API to use it.
* #915 Add schedule/commandJose M. Guisado2021-06-091-1/+2
| | | | | | | | | Enables ogserver to schedule commands (also referred as actions in legacy web console jargon). This feature enables ogserver to write in the "acciones" table in order to have full capabilities for command scheduling purposes, thus not depending in the legacy web console to insert into "acciones" table.
* #1042 Update database schema automaticallyJose M. Guisado2021-04-201-0/+1
| | | | | | | | | | | | | | | This patch adds database schema management capabilities to ogServer: - ogServer now tracks the version of its database schema, if no version is detected, creates a 'version' table with a single row starting at 0. - ogServer can upgrade its database schema to a newer version if detected. (ogServer ships required SQL commands to do so) If ogServer is unable to upgrade the schema at startup (if needed be) it *will not* start. Defines schema update v1 which upgrades database engine tables of ogServer database (usually named 'ogAdmBD') from myISAM to innoDB.
* #971 split wake on lan codeOpenGnSys Support Team2020-07-061-1/+2
| | | | Add wol.c and wol.h that implements WakeOnLan.
* #971 rename sources folder to srcOpenGnSys Support Team2020-06-261-11/+11
| | | | Use the same folder as in ogClient.
* #988 add json configuration fileRoberto Hueso Gómez2020-06-261-0/+1
| | | | New configuration file at /opt/opengnsys/cfg/ogserver.json
* #971 split socket core logic and main filesOpenGnSys Support Team2020-06-241-0/+2
| | | | Extract socket core and main from ogAdmServer file.
* #986 rename to ogserverOpenGnSys Support Team2020-06-191-9/+9
|
* #971 split into smaller fileOpenGnSys Support Team2020-06-181-0/+3
| | | | | | | | Split ogAdmServer into several files: * sources/rest.c that implements the server REST API. * sources/client.c that implements the client REST API. * sources/json.c that provides a few JSON helpers.
* #971 move ogAdmLib to ogAdmServerOpenGnSys Support Team2020-06-091-2/+3
| | | | Move remaining ogAdmLib code to ogAdmServer
* #971 add str_toupper()OpenGnSys Support Team2020-06-081-1/+2
| | | | Add new utils.c file and replace old StrToUpper().
* #942 Add support for scheduled tasks and commandsOpenGnSys Support Team2020-06-021-1/+2
| | | | | | | | | | | | | | | | | This field needs to be at least 31 bits long to store all days in a month. Other fields are also set to 32 bits because unsigned int length can change depending on the system. We also need to support the three ways that the ogAdmAgent and the WebConsole have to create an schedule. At first, we only supported the easiest method: * Hour, day, month and year -> 10:00, 28, february, 2020 This commit adds these two ways to create an schedule: * Hour, week day, month and year -> 10:00, Monday, february, 2020 * Hour, week, month and year -> 10:00, first week, february, 2020
* #970 autotools support for ogAdmServerOpenGnSys Support Team2020-06-021-0/+6
To build and to install ogAdmServer: autoreconf -fi ./configure make make install Default prefix is /opt/opengnsys/ as usual. ogAdmServer uses autotools for compilation, so this patch adapts OpenGnsys updater and installer to use autotools for compilation.