summaryrefslogtreecommitdiffstats
path: root/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* #915 add seconds since ogserver has been launchedOpenGnSys Support Team2022-03-251-0/+4
| | | | | | | | | | | | Extend GET /stats to show the number of seconds since the ogserver started. { "time": { "now": 1647262765, /* Seconds since 1970 */ "boot": 2151909 /* Seconds since boot */ "start" : 1647262854,, /* Seconds since 1970 */ }, [...]
* ogServer is AGPLv3+OpenGnSys Support Team2021-05-041-2/+3
| | | | Update license header in files.
* #1042 Update database schema automaticallyJose M. Guisado2021-04-201-0/+3
| | | | | | | | | | | | | | | 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.
* #988 remove legacy configurationOpenGnSys Support Team2020-10-071-2/+0
| | | | | Use og_server_cfg everywhere. Convert port to string to make it easy for the dbi API since it expects a string. Remove legacy example configuration file.
* #988 rename og_server_cfg to cfgOpenGnSys Support Team2020-10-071-4/+4
| | | | to avoid clash with existing variable cfg in client.c
* #1004 set default path to repositoryOpenGnSys Support Team2020-10-061-1/+6
| | | | This is /opt/opengnsys/images if not specified.
* #988 remove legacy configuration fileOpenGnSys Support Team2020-10-051-11/+32
| | | | Add getopt parser and use json configuration file instead.
* #988 Add global config variableJavier Sánchez Parra2020-09-291-1/+2
| | | | | | This commit makes configuration variable global. To use this variable you have to #import "cfg.h".
* #998 disable incremental image APIOpenGnSys Support Team2020-08-141-6/+0
| | | | This API is not supported by ogClient yet and it uses the obsolete socket hydra API.
* #971 rename sources folder to srcOpenGnSys Support Team2020-06-261-0/+84
Use the same folder as in ogClient.