Ramón M. Gómez
6c69617d3e
#914 : Update Vagrant labs information.
2019-10-18 11:33:16 +02:00
Roberto Hueso Gómez
f2029562bb
#915 Adapt web assistant to use REST API
...
This patch adapts web assistant to use REST API instead of SocketHidra.
2019-10-17 13:59:11 +02:00
Irina Gomez
97914e0a94
#802 #889 Fix problem when windows is updated. ogCopyEfiBootLoader and ogRestoreEfiBootLoader: \ * It saves directory Microsoft/Boot of ESP in directory ogBoot into system partition. \ * When it is creating a image, if in ESP exists the directories Microsoft y Part-X-Y it copy Part-X-Y. \ * When it restore a image, it rename directory Microsoft of ESP to Microsoft.
2019-10-17 13:37:46 +02:00
Ramón M. Gómez
20e5aaade5
#914 : Add definition for Hidden NTFS WinRE partition in MSDOS table.
2019-10-16 14:36:56 +02:00
Ramón M. Gómez
dde2db1684
#925 : Only the installer uses {{{settoken}}} script to generate authentication tokens.
2019-10-16 12:18:22 +02:00
Javier Sánchez Parra
436abc7095
#915 Change WebConsole to read API token from ogAdmServer.cfg
...
This commit changes restfunctions.php to read the API token of
ogAmdServer from ogAdmRepo.cfg to ogAdmServer.cfg. This way it avoids
possible communication errors if ogAdmRepo.cfg and ogAdmServer.cfg are
desynced.
In order to restfuntions.php can read ogAdmServer.cfg this commit
also changes the permissions of the file.
2019-10-14 14:15:34 +02:00
Javier Sánchez Parra
de36dbe3e0
#915 Fix POST "software" cmd in ogAdmServer and web
...
This patch adds the parameters "disk" and "partition" to
POST "software" command. This way the client can create a software
profile without failure.
New request:
POST /software
{
"clients":[
"192.168.56.12"
],
"disk":"1",
"partition":"1"
}
Reply:
200 OK
2019-10-11 13:45:15 +02:00
Javier Sánchez Parra
0ff87c2b7b
#915 Adapt web to use new image/restore/incremental cmd in REST API
...
SocketHidra command has been replaced by POST image/restore/incremental.
2019-10-11 11:57:08 +02:00
Javier Sánchez Parra
55adaee1d8
#915 Add test for POST /image/restore/incremental command
...
This test covers correction of the command.
2019-10-11 11:57:08 +02:00
Javier Sánchez Parra
1707bc6501
#915 Add POST "image/restore/incremental" command to REST API in ogAdmServer
...
This patch implements the command "image/restore/incremental" that provides
partitioning and formatting functionality.
Request:
POST /image/restore/incremental
{
"clients":[
"192.168.56.11",
"192.168.56.12"
],
"disk":"1",
"partition":"1",
"id":"8",
"name":"test",
"repository":"192.168.56.10",
"profile":"25",
"type":"MULTICAST_9000:full-duplex:239.194.2.11:70M:4:60",
"sync_params":{
"diff_id":"10",
"diff_name":"testdiff",
"path":"",
"method":"1",
"sync":"2",
"diff":"0",
"remove":"1",
"compress":"0",
"cleanup":"0",
"cache":"0",
"cleanup_cache":"0",
"remove_dst":"0"
}
}
Reply:
200 OK
2019-10-11 11:57:08 +02:00
Roberto Hueso Gómez
45389c5021
#915 Adapt web to use new REST API "image/create/incremental" command
...
SocketHidra command has been replaced by POST "image/create/incremental".
2019-10-11 11:57:08 +02:00
Roberto Hueso Gómez
ca96a723d1
#915 Add test for POST "image/create/incremental" command
...
This test covers correction of the command.
2019-10-11 11:57:08 +02:00
Roberto Hueso Gómez
f72c984d83
#915 Add POST "image/create/incremental" command to REST API in ogAdmServer
...
This patch implements the command "image/create/incremental".
Request:
{"clients":["192.168.56.11"],
"disk":"1",
"partition":"1",
"id":"3",
"name":"basica1",
"repository":"192.168.56.10",
"sync_params":{"sync":"1",
"path":"",
"diff":"0",
"diff_id":"4",
"diff_name":"p2",
"remove":"1",
"compress":"0",
"cleanup":"0",
"cache":"0",
"cleanup_cache":"0",
"remove_dst":"0"
}
}
Reply:
200 OK
2019-10-11 11:57:08 +02:00
Irina Gomez
7e4b9e0542
#802 #888 PXE template for new computers '00unknown' displays a boot menu with ogLive and the other boot loaders finded.
2019-10-11 11:01:08 +02:00
Irina Gomez
0fd42f40c7
#928 Multicast ports are allowed from 9000 to 9098. Port 9100 is assigned to bacula Director.
2019-10-10 14:06:10 +02:00
OpenGnSys Support Team
6495c7c2ce
#580 remove old windows NT code to update registers
...
There is no clients for this code in the tree, remove it.
2019-10-09 21:31:29 +02:00
Ramón M. Gómez
a134d0e962
#914 : Update version documentation.
2019-10-09 16:43:30 +02:00
Javier Sánchez Parra
8068b8239f
#915 Adapt web to use new image/restore/basic cmd in REST API
...
SocketHidra command has been replaced by POST image/restore/basic.
2019-10-09 15:27:59 +02:00
Javier Sánchez Parra
4d4ec5935a
#915 Add test for POST /image/restore/basic command
...
This test covers correction of the command.
2019-10-09 15:27:59 +02:00
Javier Sánchez Parra
d521845e40
#915 Add POST "image/restore/basic" command to REST API in ogAdmServer
...
This patch implements the command "image/restore/basic" that provides
partitioning and formatting functionality.
Request:
POST /image/restore/basic
{
"clients":[
"192.168.56.11"
],
"disk":"1",
"partition":"1",
"id":"9",
"name":"test",
"repository":"192.168.56.10",
"profile":"17",
"type":"UNICAST",
"sync_params":{
"path":"",
"method":"1",
"sync":"1",
"diff":"0",
"remove":"1",
"compress":"0",
"cleanup":"0",
"cache":"0",
"cleanup_cache":"0",
"remove_dst":"0"
}
}
Reply:
200 OK
2019-10-09 15:27:59 +02:00
Ramón M. Gómez
b468e583ee
#914 : Update OGAgent creation dependencies and installation instructions.
2019-10-09 08:08:23 +02:00
Javier Sánchez Parra
488b14701e
#915 Adapt web to use new image/create/basic cmd in REST API
...
SocketHidra command has been replaced by POST image/create/basic.
2019-10-08 14:01:33 +02:00
Javier Sánchez Parra
8bf781d421
#915 Add test for POST /image/create/basic command
...
This test covers correction of the command.
2019-10-08 14:01:14 +02:00
Javier Sánchez Parra
7258dacbc5
#915 Add POST "image/create/basic" command to REST API in ogAdmServer
...
This patch implements the command "image/create/basic" that provides
partitioning and formatting functionality.
Request:
POST /image/create/basic
{
"clients":[
"192.168.56.11"
],
"disk":"1",
"partition":"1",
"code":"131",
"id":"8",
"name":"debianbasica",
"repository":"192.168.56.10",
"sync_params":{
"sync":"1",
"diff":"0",
"remove":"1",
"compress":"0",
"cleanup":"0",
"cache":"0",
"cleanup_cache":"0",
"remove_dst":"0"
}
}
Reply:
200 OK
2019-10-08 14:00:47 +02:00
Ramón M. Gómez
202d6a38d2
#914 : Fix permissions for some OGAgent scripts.
2019-10-07 14:03:45 +02:00
Ramón M. Gómez
17944ac56e
#914 : Permanently remove unused functions: ogInstallLinuxClient and ogInstallWindowsClient.
2019-10-07 12:57:27 +02:00
Roberto Hueso Gómez
70aef0d1b7
#915 Improve error management for og_json_parse_partition()
...
Validate json input and return an error code when parsing is not correct.
2019-10-07 12:54:53 +02:00
Roberto Hueso Gómez
c857bed55d
Adapt web to use new image/setup cmd in REST API
...
SocketHidra configurar has been replaced by POST image/setup.
2019-10-07 11:15:36 +02:00
Roberto Hueso Gómez
8b1c92b1ac
Add test for POST /image/create command
...
This test covers correction of the command.
2019-10-07 11:15:28 +02:00
Roberto Hueso Gómez
2385710ef3
#915 Add POST "image/setup" command to REST API in ogAdmServer
...
This patch implements the command "image/setup" that provides partitioning and
formatting functionality.
Request:
POST /image/setup
{ "clients" : [ "192.168.56.11" ], "disk" : "1", "cache" : "1", "cache_size" : "0",
"partition_setup":
[{"partition": "1", "code": "LINUX", "filesystem": "EMPTY", "size": "498688", "format": "0"},
{"partition": "2", "code": "LINUX-SWAP", "filesystem": "EMPTY", "size": "199987", "format": "0"},
{"partition": "3", "code": "LINUX", "filesystem": "EMPTY", "size": "31053824", "format": "0"},
{"partition": "4", "code": "EMPTY", "filesystem": "EMPTY", "size": "0", "format": "0"}]}
Reply:
200 OK
2019-10-07 11:14:41 +02:00
OpenGnSys Support Team
5374dd80e2
#915 Remove Apagar, CrearImagen, RestaurarImagen, InventarioHardware, InventarioSoftware
...
These socketHidra calls have been replaced by the REST API, remove them.
2019-10-03 11:34:02 +02:00
Javier Sánchez Parra
dcfa4519b3
#915 : adapt web to use OG_REST_PARAM_ID constant
...
Update restore_image() in restfunctions.php to use OG_REST_PARAM_ID
constant.
2019-10-03 11:32:51 +02:00
Ramón M. Gómez
57200ac6c0
#708 : Fix a typo when composing the software inventory.
2019-10-02 14:39:15 +02:00
Ramón M. Gómez
506c6708cd
#914 : Installer and updater check HTTP and HTTPS connections to avoid proxy configuration errors.
2019-10-01 14:04:27 +02:00
OpenGnSys Support Team
cb1fbed876
#915 : adapt test to use id and profile fields
...
Update restore_image.json to use id and profile fields.
2019-10-01 12:59:50 +02:00
Roberto Hueso Gómez
d233fdbaa8
#915 : Adapt web to use new image/restore cmd in REST API
...
SocketHidra restaurar imagen has been replaced by POST image/restore.
2019-10-01 12:56:10 +02:00
Roberto Hueso Gómez
fc15dd10ce
#915 : Add POST /image/restore command to REST API in ogAdmServer
...
This patch implements the command "image/create" that creates an image
in a client.
Request:
POST /image/restore
{ "clients" : [ "192.168.56.11" ], "disk" : "1", "partition" : "1", "name" : "test", "repository" : "192.168.56.10", "type" : "UNICAST", "filesystem": "1", "image_id": "1"}
Reply:
200 OK
2019-10-01 12:56:10 +02:00
Roberto Hueso Gómez
b636e61b6e
#915 : Adapt web to use new image/create cmd in REST API
...
SocketHidra crear imagen has been replaced by POST /imagen/create.
2019-10-01 12:56:10 +02:00
Roberto Hueso Gómez
70b1e58045
#915 : add og_json_parse_string() and use it
...
This patch avoids repeating similar code by using just one json parser.
2019-10-01 12:56:10 +02:00
Roberto Hueso Gómez
7f2dd15e09
#915 : Add POST /image/create command to REST API in ogAdmServer
...
This patch implements the command "image/create" that creates an image
in a client.
Request:
POST /image/create
{ "clients" : [ "192.168.2.1" ], "disk" : "1", "partition" : "1", "code" : "1", "id" : "1", "name" : "test", "repository" : "192.168.2.2" }
Reply:
200 OK
2019-10-01 12:56:10 +02:00
Roberto Hueso Gómez
fe0e6c493a
#915 : Removes braces for single statement if branch
...
Just a cleanup.
2019-10-01 12:56:10 +02:00
Ramón M. Gómez
74e671261b
#802 #888 : Fix bug when replacing PXE template names.
2019-09-27 12:30:26 +02:00
Irina Gomez
b4d8d51e8d
#802 #888 opengnsys_update.sh: The names of PXE templates for BIOS are changed for compatibility with UEFI computers.
2019-09-27 11:13:44 +02:00
Ramón M. Gómez
84954097c4
#925 : settoken: new server script to generate service access tokens.
2019-09-26 11:37:49 +02:00
Irina Gomez
8645a4a385
#929 setsslkey: Script for configurate public key authentication in ogLive.
2019-09-25 13:51:52 +02:00
Ramón M. Gómez
3dff695541
#914 : Removed code from unused functions: ogInstallLinuxClient and ogInstallWindowsClient.
2019-09-25 10:40:18 +02:00
Ramón M. Gómez
1c23e333b5
#914 : Remove unused files: ogAdmLnxClient, ogAdmWinClient and Chinese Grub4Dos.
2019-09-25 10:30:58 +02:00
Ramón M. Gómez
45f36e23ac
#914 : Updated list of closed tickets.
2019-09-25 10:09:23 +02:00
Ramón M. Gómez
e371a87cda
#802 #888 setclientmode: fix web user detection.
2019-09-24 13:40:59 +02:00
Irina Gomez
4d5cafd674
#802 #888 setclientmode: User must be root or console. mention of the fourth parameter is removed
2019-09-24 09:39:15 +02:00