Javier Sánchez Parra
db537e7658
#915 adapt web to use new hardware cmd in REST API
...
SocketHidra hardware (inventario hardware) has been replaced by
POST /hardware.
2019-07-03 02:56:07 +02:00
OpenGnSys Support Team
a0f41fca6e
#915 add POST software command to REST API in ogAdmServer
...
This patch implements the command "software" that fetches the software
configuration from the clients.
Request:
POST /software
{"clients" : [ "192.168.2.1", "192.168.2.2" ]}
Reply:
200 OK
This allows to refresh the software inventory from clients.
2019-07-03 02:56:07 +02:00
OpenGnSys Support Team
1316c877b4
#915 add POST hardware command to REST API in ogAdmServer
...
This patch implements the command "hardware" that fetches the hardware
configuration from the clients.
Request:
POST /hardware
{"clients" : [ "192.168.2.1", "192.168.2.2" ]}
Reply:
200 OK
This allows to refresh the hardware inventory from clients.
2019-07-03 02:56:07 +02:00
Juan Manuel Bardallo
6d71b90b2a
ogGetEsp has been modified to handle with nvme disks, in that case, blkid returns
...
> /dev/loop0
> /dev/nvme0n1
> /dev/nvme0n1p1
When ogDevToDisk processes the line /dev/nvme0n1, $PART contains only one argument corresponding to the disk number, when occurs, ogGetPartitionId throws an error.
2019-07-01 11:49:05 +02:00
Ramón M. Gómez
f08c09013b
#919 : Defining new link types accepted by the Browser: command+confirm, command+output, command+confirm+output.
2019-06-27 16:22:27 +02:00
Juan Manuel Bardallo
102a50e655
#906 : Fix bug when defining a cache partition on NVMe disks.
2019-06-27 10:27:53 +02:00
Javier Sánchez Parra
31c92b681b
#915 Correct config file route in web API REST lib
...
The "magic" constant __DIR__ ensure a correct route regardless of where
the methods are used
2019-06-25 21:51:16 +02:00
Javier Sánchez Parra
ef61154356
#915 Add API token to common_request() in web console
...
Add token parameter in REST API infrastructure in the web console.
2019-06-24 13:51:22 +02:00
Javier Sánchez Parra
091a2b1a68
#915 Add API token to tests in ogAdmServer/tests/units/*
...
Add token parameter in REST API test infrastructure.
2019-06-24 13:50:43 +02:00
Javier Sánchez Parra
8948748c0c
#915 update installer to add APITOKEN= to ogAdmServer.cfg
...
This is going to be used to protect calls to ogAdmServer
Example line for ogAdmServer.cfg:
APITOKEN=9b5fddfc5d4d1daa74ffd7ce7c3c9925
2019-06-24 13:46:10 +02:00
OpenGnSys Support Team
2ccec27843
#915 add support for HTTP Authorization
...
Add APITOKEN= field to ogAdmServer.cfg to specify the REST API key.
2019-06-24 13:42:25 +02:00
Ramón M. Gómez
72d929592a
#914 : Fixed bug in commit {{{6a2bd87}}} and {{{5050850}}}.
2019-06-17 19:08:08 +02:00
Irina Gomez
418feb1835
#802 #888 ogRefindInstall: ogRefindInstall: rEFInd bootloader is signed with OpenGnsys certificate.
2019-06-13 13:16:30 +02:00
Ramón M. Gómez
5050850175
#802 : Creating certificate to sign boot loaders.
2019-06-13 11:05:35 +02:00
Javier Sánchez Parra
676dd3cbc1
#915 Remove unnecessary return in ogAdmServer/tests/run-tests.py
...
No need to explicit return call, remove it.
2019-06-12 11:02:47 +02:00
Javier Sánchez Parra
41ceac07c5
#915 Remove unused parameter to common_request()
...
Remove unused parameter in REST API infrastructure.
2019-06-12 11:01:53 +02:00
Javier Sánchez Parra
d2a9dd877b
#896 Fix memory leak in wake_up_broadcast()
...
call freeifaddrs() after getifaddrs() to release memory.
2019-06-12 11:01:33 +02:00
Javier Sánchez Parra
e378505f11
#915 The order of the json field is irrelevant in GET /clients
...
Either:
{ "addr" : "192.168.2.1", "state" : "OPG" }
or:
{ "state" : "OPG", "addr" : "192.168.2.1" }
should be accepted, this patch updates the web console parser to accept
both.
2019-06-11 11:50:52 +02:00
Irina Gomez
25d4404fde
#802 Advanced Boot Management sends to 'sendclientmode' script access data to the database as environment variables.
2019-06-10 11:46:26 +02:00
Ramón M. Gómez
0b856b4d06
#914 : Simplyfing oglivecli code.
2019-06-07 14:10:15 +02:00
Ramón M. Gómez
aa9c5f26c9
#914 : Updating README.md and .gitignore files.
2019-06-07 14:08:58 +02:00
Ramón M. Gómez
72d19dab15
#914 : Script {{{oglivecli}}} checks if installed ogLive images are fully compatible.
2019-06-07 12:54:06 +02:00
Ramón M. Gómez
30f8b1dad3
#914 : Install/update the new ogLive release.
2019-06-07 11:49:22 +02:00
Ramón M. Gómez
8cb279bc1c
#888 #914 : Updating UEFI requisites.
2019-06-07 11:17:44 +02:00
Ramón M. Gómez
6a2bd87032
#914 : Removing redundant permissions.
2019-06-07 11:16:31 +02:00
Ramón M. Gómez
3b5c09aa53
#903 : Fix bug when returning duplicate check value.
2019-06-07 10:17:35 +02:00
Ramón M. Gómez
c0e670b9d9
#844 : Fix bug copying files when preparing ogLive client for offline mode.
2019-06-06 13:47:37 +02:00
Ramón M. Gómez
66b04ffce1
#914 Fix ogLive version to be installed.
2019-06-05 13:57:36 +02:00
Irina Gomez
94c6b3a7a2
Merge branch 'devel' into uefi
...
Fast Foward
2019-06-05 13:31:06 +02:00
Ramón M. Gómez
5c82233260
#916 : Setting default values when installing using not interactive mode.
2019-06-05 11:56:54 +02:00
Irina Gomez
527cd97eb5
#802 #888 #890 ogNvramAddEntry function allows disk and partition as params and creates a entry with 'Part-D-P' name that uses generic loader of OpenGnsys. ogGrubInstall uses shimx64.efi.signed of ogLive Ubuntu 18. Previously this function used shim of tftp of server.
2019-06-05 11:24:51 +02:00
Ramón M. Gómez
12e1eef901
#913 : Adapting commit {{{0fcdc63}}} from master branch.
2019-06-05 10:30:39 +02:00
Ramón M. Gómez
a765b4ae5d
#914 : Fix version number.
2019-06-05 09:47:00 +02:00
Ramón M. Gómez
73f9a33e4f
#915 : Installing a new ogAdmServer compilation dependency, if needed.
2019-06-05 09:17:03 +02:00
Irina Gomez
a90a05128f
Merge branch 'devel' into uefi
...
Fast foward with devel branch
2019-06-05 09:03:22 +02:00
Ramón M. Gómez
1d3959b1b6
#915 : Merge branch devel-ogadmserver-rest-api into devel
2019-06-04 18:28:27 +02:00
Irina Gomez
292982df96
For UEFI the format of PXE filename is '01-'. Where is written in lowercase and split up with colon.
2019-06-04 13:51:13 +02:00
Ramón M. Gómez
41974617ed
#914 : Update list of closed tickets.
2019-06-04 13:26:47 +02:00
Ramón M. Gómez
2adfccd002
#917 : Fixed bug when compiling {{{ms-sys}}} command on ogLive.
2019-06-04 13:23:01 +02:00
Ramón M. Gómez
60c06d743c
#917 : Fixed bug when installing 32-bit libraries used by the Browser.
2019-06-04 13:20:56 +02:00
Ramón M. Gómez
dbc61ba226
#917 : Fixed bug when ogLive mounts a Samba share from a server based on Ubuntu 18.04
2019-06-04 13:13:38 +02:00
Ramón M. Gómez
8ca0cc95b0
#916 : Instalation script does not display characters when the user enters a password and asks for password confirmation.
2019-06-04 12:59:33 +02:00
Ramón M. Gómez
fb148e6dda
#872 : Download correct OGAgent version.
2019-06-03 10:22:35 +02:00
Javier Sánchez Parra
c691949093
#915 add test for POST /session REST API
2019-05-31 11:39:43 +02:00
Javier Sánchez Parra
7a276ba019
#915 add test for POST /shell/output REST API
2019-05-31 11:39:29 +02:00
Javier Sánchez Parra
1e88c02e1e
#915 add test for POST /shell/run REST API
2019-05-31 11:39:06 +02:00
Javier Sánchez Parra
78236f8abf
#915 add test for POST /wol REST API
2019-05-31 11:39:01 +02:00
Javier Sánchez Parra
a4ec92b791
#915 add test for POST /clients REST API
2019-05-31 11:38:57 +02:00
Javier Sánchez Parra
7137439d0b
#915 add test for GET /clients REST API
2019-05-31 11:38:52 +02:00
Javier Sánchez Parra
58ac5495f7
#915 add unit test infrastructure for REST API
...
This python script creates a database and starts ogAdmServer to run the
tests. This requires root to be launched:
# ./run-tests.py
From the 'tests' folder.
2019-05-31 11:35:42 +02:00