Migración a python #1

Merged
nserrano merged 168 commits from code-review into main 2025-02-26 11:26:36 +01:00

168 Commits (main)

Author SHA1 Message Date
Natalia Serrano cc17975a43 refs #1597 #1605 add Configurar.py 2025-02-25 09:25:01 +01:00
Natalia Serrano 7c9fbc014f refs #1596 add initCache.py 2025-02-21 09:55:31 +01:00
Natalia Serrano 4b4d004743 refs #1594 remove unused variable 2025-02-20 14:19:20 +01:00
Natalia Serrano 3a1435b587 refs #1594 create GPT parttable in ogCreateGptPartitions 2025-02-20 14:18:17 +01:00
Natalia Serrano 2a0737f2c5 refs #1594 more comments and whitespace shuffling 2025-02-20 14:17:12 +01:00
Natalia Serrano 000ea29e70 refs #1594 fix two bugs 2025-02-20 14:03:12 +01:00
Natalia Serrano 45cfe25222 refs #1594 fix a bug 2025-02-20 14:02:37 +01:00
Natalia Serrano ad404f9982 refs #1594 ignore empty slots 2025-02-20 14:02:10 +01:00
Natalia Serrano e6937a211a refs #1594 simplify a couple of lines 2025-02-20 14:00:41 +01:00
Natalia Serrano acf2c1dc49 refs #1594 indent some comments 2025-02-20 13:57:57 +01:00
Natalia Serrano c1dc47f160 refs #1588 fix usage of ogFindCache() 2025-02-20 11:36:09 +01:00
Natalia Serrano caf1f44161 refs #1528 add ogCreatePartitions 2025-02-18 14:17:39 +01:00
Natalia Serrano 5e40504eff refs #1527 add ogCreateGptPartitions 2025-02-17 13:48:03 +01:00
Natalia Serrano bc16613939 refs #1515 add ogSetPartitionSize 2025-02-14 14:22:50 +01:00
Natalia Serrano b193dadf31 refs #1514 add ogSetPartitionType 2025-02-14 14:17:44 +01:00
Natalia Serrano d71e261829 refs #1512 add ogUnhidePartition 2025-02-14 14:02:24 +01:00
Natalia Serrano 158c25f43e refs #1511 add ogHidePartition 2025-02-14 13:56:16 +01:00
Natalia Serrano f7263381b9 refs #1513 add ogSetPartitionId 2025-02-14 13:55:53 +01:00
Natalia Serrano 0d8d543526 refs #1513 add ogSetPartitionId 2025-02-14 13:54:20 +01:00
Natalia Serrano 788ae31b0f refs #1509 add ogDeletePartitionTable 2025-02-13 14:03:28 +01:00
Natalia Serrano 79718100f6 refs #1502 add ogListPrimaryPartitions 2025-02-13 13:24:47 +01:00
Natalia Serrano 941ace29bb refs #1501 add ogListLogicalPartitions 2025-02-13 13:04:06 +01:00
Natalia Serrano 00da7454ec refs #1504 add ogListPartitions 2025-02-13 12:44:00 +01:00
Natalia Serrano 5cc3176d74 refs #1503 add ogGetPartitionType 2025-02-13 12:20:09 +01:00
Natalia Serrano 1fdbdd637c refs #1498 add ogIdToType 2025-02-13 11:32:49 +01:00
Natalia Serrano 4142459c88 refs #1497 add ogGetDiskType 2025-02-13 11:21:53 +01:00
Natalia Serrano b4fe9232ba refs #1496 add ogGetDiskSize 2025-02-12 13:56:11 +01:00
Natalia Serrano e12cc1150f refs #1500 add ogUnlockDisk 2025-02-12 11:27:01 +01:00
Natalia Serrano 8b11b4e08d refs #1499 add ogLockDisk 2025-02-12 11:24:23 +01:00
Natalia Serrano 375a3a8ad0 refs #1495 add ogIsDiskLocked 2025-02-12 11:20:03 +01:00
Natalia Serrano cdb0128cd8 refs #1488 add ogMountFirstFs 2025-02-11 13:55:09 +01:00
Natalia Serrano 3a886c8579 refs #1487 add ogUnsetDirtyBit 2025-02-11 13:50:53 +01:00
Natalia Serrano 04d0b2208b refs #1431 #1430 add ogIsRepoLocked, remove the unused ogCheckProgram 2025-02-03 13:53:30 +01:00
Natalia Serrano c6735b15ee refs #1428 add ogListHardwareInfo 2025-02-03 13:14:37 +01:00
Natalia Serrano 2744273b82 refs #1427 add ogGetOsUuid, fix bugs 2025-02-03 12:48:30 +01:00
Natalia Serrano c8e76614ae refs #1429 add ogGetSerialNumber 2025-01-31 17:36:14 +01:00
Natalia Serrano 56ba419461 refs #1409 add ogCreateCache, fix bugs 2025-01-31 15:54:26 +01:00
Natalia Serrano 0b95027e5e refs #1414 add ogDeleteCache, fix a bug 2025-01-30 17:32:28 +01:00
Natalia Serrano 1c6b5ace16 refs #1415 add ogGetCacheSpace, fix a bug 2025-01-30 17:05:21 +01:00
Natalia Serrano 25901173b9 refs #1413 add ogUpdatePartitionTable 2025-01-30 13:20:27 +01:00
Natalia Serrano 9e02db9136 refs #1412 add ogCreatePartitionTable 2025-01-30 13:17:41 +01:00
Natalia Serrano 34bc9c3c89 refs #1411 add ogUnmountAll 2025-01-30 11:48:44 +01:00
Natalia Serrano e73e91dbc3 refs #1410 add ogGetLastSector 2025-01-30 11:26:00 +01:00
Natalia Serrano 451fa584b5 refs #1402 add listSoftwareInfo.py 2025-01-29 18:33:36 +01:00
Natalia Serrano fab9fe7ddb refs #1401 add ogListSoftware, fix a bug 2025-01-29 18:13:20 +01:00
Natalia Serrano 30c90442b7 refs #1399 remove ogCheckStringInGroup, ogCheckStringInReg 2025-01-29 12:28:25 +01:00
Natalia Serrano 9997e78b31 refs #1397 add createImage.py, fix bugs 2025-01-29 12:13:30 +01:00
Natalia Serrano 424248b353 refs #1333 add ogCreateImage 2025-01-28 18:05:37 +01:00
Natalia Serrano 4cc8b1be1d refs #1334 add ogLockImage 2025-01-28 15:58:12 +01:00
Natalia Serrano ad9c498e38 refs #1332 add ogReduceFs, fix bugs 2025-01-28 15:42:45 +01:00
Natalia Serrano 6538fe90b3 refs #1331 add ogCopyEfiBootLoader 2025-01-28 13:35:46 +01:00
Natalia Serrano 6f59aaaca7 refs #1330 add ogCheckFs 2025-01-28 13:17:12 +01:00
Natalia Serrano e266bf07c9 refs #1329 add ogGetSizeParameters 2025-01-28 12:46:29 +01:00
Natalia Serrano 4062777183 refs #1337 add ogUcastSendFile, fix bugs 2025-01-28 10:08:16 +01:00
Natalia Serrano 6748652d88 refs #1337 add ogTorrentStart, fix bugs 2025-01-27 18:26:14 +01:00
Natalia Serrano 6a02b6f4f1 refs #1337 add ogGrubInstallMbr, fix bugs 2025-01-27 17:41:38 +01:00
Natalia Serrano 87357f4f8e refs #1337 add ucast/mcast functions 2025-01-27 14:52:28 +01:00
Natalia Serrano d54925252f refs #1337 add UEFI commands and a couple of fixes elsewhere 2025-01-24 15:41:23 +01:00
Natalia Serrano a346ba386e refs #1337 add more commands 2025-01-22 10:28:12 +01:00
Natalia Serrano f64f20a88f refs #1337 add some commands 2025-01-21 15:02:46 +01:00
Natalia Serrano 43437d5491 refs #1327 add ogCleanOs() 2025-01-10 14:23:54 +01:00
Natalia Serrano cb3c8b2bf5 refs #1328 add ogCleanLinuxDevices() 2025-01-10 13:41:02 +01:00
Natalia Serrano c4c53d6679 refs #1326 add ogDeleteTree() 2025-01-10 13:35:32 +01:00
Natalia Serrano a68556e8c9 refs #1312 fix contents of postconf.cmd 2024-12-19 17:27:51 +01:00
Natalia Serrano e43a126557 refs #1310 close a file before reading from it again 2024-12-18 16:55:26 +01:00
Natalia Serrano d1b49362a4 refs #1309 fix ogGetRegistryValue 2024-12-18 14:42:29 +01:00
Natalia Serrano 32d5305dc2 refs #1308 fix loop in ogGetPath 2024-12-18 13:38:46 +01:00
Natalia Serrano 93177def1f refs #1307 fix calls to chntpw 2024-12-18 12:12:25 +01:00
Natalia Serrano f6ae950201 refs #1302 fix ogCalculateChecksum 2024-12-17 14:25:58 +01:00
Natalia Serrano f66bf4f507 refs #1245 add several fixes 2024-12-17 14:24:47 +01:00
Natalia Serrano f0c4f7e07a refs #1245 add scripts/deployImage.py 2024-12-12 18:29:39 +01:00
Natalia Serrano 1de8e854ad refs #1242 add scripts/configureOs.py 2024-12-12 13:10:34 +01:00
Natalia Serrano d082bcf916 refs #1218 add ogGrubInstallMbr() 2024-12-12 10:54:45 +01:00
Natalia Serrano 3e64d7377c refs #1218 add all ogNvram...() functions 2024-12-11 10:43:41 +01:00
Natalia Serrano 9f94951f3f refs #1221 add ogUninstallWindowsClient() 2024-12-05 15:02:47 +01:00
Natalia Serrano 7dccc621cb refs #1226 finish and refactor RegistryLib 2024-12-05 14:55:28 +01:00
Natalia Serrano 1332b0b8bc refs #1219 add ogConfigureOgagent() 2024-12-04 16:13:38 +01:00
Natalia Serrano bcc1e7bbe1 refs #1223 add ogUninstallLinuxClient() 2024-12-04 14:40:21 +01:00
Natalia Serrano 9c059ce407 refs #1222 add ogGrubInstallPartition() 2024-12-04 14:20:18 +01:00
Natalia Serrano b54877528c refs #1217 do not translate grubSyntax to python 2024-12-04 10:50:59 +01:00
Natalia Serrano 66e3150b1a refs #1224 add ogConfigureFstab() 2024-12-04 10:49:02 +01:00
Natalia Serrano 57ab927976 refs #1166 add ogFixBootSector() 2024-11-25 18:03:13 +01:00
Natalia Serrano 29752be51c refs #1166 add ogWindowsRegisterPartition() 2024-11-25 17:38:41 +01:00
Natalia Serrano ceb82ef24e refs #1166 add ogWindowsBootParameters() 2024-11-25 17:24:26 +01:00
Natalia Serrano 39ad37e324 refs #1166 add ogSetWindowsName() 2024-11-22 09:59:48 +01:00
Natalia Serrano 9a78f9f2c7 refs #1166 add ogExtendFs() 2024-11-21 17:49:21 +01:00
Natalia Serrano 410f47fba2 refs #1166 add ogSetPartitionActive() 2024-11-21 16:36:04 +01:00
Natalia Serrano 4be9f566a6 refs #1166 add ogGetPartitionActive() 2024-11-21 16:31:19 +01:00
Natalia Serrano 8ba0913684 refs #1166 add ogIsWritable() 2024-11-21 16:11:21 +01:00
Natalia Serrano b4b2ab09cb refs #1166 add ogGetHostname() 2024-11-21 16:07:30 +01:00
Natalia Serrano 6e53c31113 refs #1166 add ogRestoreEfiBootLoader() 2024-11-21 15:54:07 +01:00
Antonio Guerrero 038d432264 refs #1164 ogRaiseError function call correction 2024-11-20 23:33:39 -06:00
Antonio Guerrero bb0805e237 refs #1164 ogRaiseError function call correction 2024-11-20 23:27:46 -06:00
Antonio Guerrero 18339f947c refs #1164 ogCheckProgram function correction 2024-11-20 23:06:28 -06:00
Natalia Serrano 88dce42514 refs #1163 add updateCache.py 2024-11-20 15:34:12 +01:00
Antonio Guerrero 385ddb6ac1 refs #1093 RegistryLib library is added 2024-11-19 08:57:35 -06:00
Antonio Guerrero 6bc47bb157 refs #1164 ogRaiseError function call correction 2024-11-19 08:55:33 -06:00
Antonio Guerrero d061c6116a refs #1164 ogRaiseError function call correction 2024-11-19 08:53:02 -06:00
Natalia Serrano b71e631fb1 refs #1150 add restoreImage.py 2024-11-19 12:03:33 +01:00
Natalia Serrano b755de21be refs #1150 add a temporal ogConnect() and have ogChangeRepo() use it 2024-11-14 17:55:09 +01:00
Natalia Serrano 646d1da734 refs #1101 add ogUpdateCacheIsNecesary() and dependencies 2024-11-14 15:03:31 +01:00
Antonio Guerrero bc3d68e8fb refs #1144 rebuild ogGetHostname 2024-11-14 07:50:51 -06:00
Antonio Guerrero 8db98b1289 refs #1144 rebuild ogGetGroupDir 2024-11-13 22:15:50 -06:00
Antonio Guerrero 976b6367f3 refs #1144 rebuild ogGetGroupName 2024-11-13 22:11:57 -06:00
Antonio Guerrero ea5114a897 refs #1144 rebuild ogChangeRepo 2024-11-13 22:03:11 -06:00
Antonio Guerrero c03455a32f refs #1144 the call to variables from the language file is modified 2024-11-13 14:11:36 -06:00
Antonio Guerrero 6b83fe3f04 refs #1144 global variables that must be in the language files are deleted. 2024-11-13 12:48:30 -06:00
Natalia Serrano 7c1cb0168c refs #1101 add ogTorrentStart() 2024-11-13 18:29:22 +01:00
Natalia Serrano a19e01b078 refs #1101 change "take_from"/"write_to" into "container" 2024-11-13 17:18:53 +01:00
Natalia Serrano 29f91cc00f refs #1101 add ogCreateTorrent() 2024-11-13 17:08:36 +01:00
Natalia Serrano 40f31f784c refs #1101 add ogUcastSendFile() 2024-11-13 11:18:28 +01:00
Natalia Serrano d75e8a56fa refs #1101 add ogUcastReceiverPartition() 2024-11-13 11:02:29 +01:00
Natalia Serrano 1e5a2b79f7 refs #1101 add ogUcastSendPartition() 2024-11-13 10:04:41 +01:00
Antonio Guerrero 646090da3c refs #1093 rebuild ogGetMacAddress 2024-11-13 00:19:04 -06:00
Antonio Guerrero 3058a3798f refs #1093 rebuild ogGetServerIp 2024-11-13 00:18:17 -06:00
Antonio Guerrero c066725bce refs #1093 Script InventarioSoftware is optimized 2024-11-13 00:05:54 -06:00
Antonio Guerrero 381099dcc4 refs #1093 the call to ogListSoftware is optimized 2024-11-13 00:01:32 -06:00
Antonio Guerrero 61fb90d033 refs #1093 the call to ogListSoftware is optimized 2024-11-12 23:59:30 -06:00
Antonio Guerrero cd6f15d3b6 refs #1093 unneeded imported libraries are removed 2024-11-12 23:42:07 -06:00
Antonio Guerrero 1898521ea8 refs #1093 rebuild ogGetOsType 2024-11-12 23:36:50 -06:00
Antonio Guerrero 77a9eb2439 refs #1093 rebuild ogGetOsVersion 2024-11-12 23:34:52 -06:00
Antonio Guerrero 9a1c90234e refs #1093 rebuild ogListSoftware 2024-11-12 23:31:27 -06:00
Antonio Guerrero afec1aad2e refs #1093 adds interface short description messages and complementary messages 2024-11-12 23:21:13 -06:00
Natalia Serrano cb0c2b259d refs #1101 add ogMcastReceiverFile() 2024-11-12 20:11:23 +01:00
Natalia Serrano bddbf6fa57 refs #1101 add ogMcastSendFile() 2024-11-12 19:50:14 +01:00
Natalia Serrano f232fb8bdf refs #1101 add ogMcastReceiverPartition() 2024-11-12 19:13:52 +01:00
Natalia Serrano 3ca8cb6dfe refs #1101 add ogMcastSendPartition() 2024-11-12 19:05:14 +01:00
Natalia Serrano 6e30bc1bdd refs #1101 add ogMcastSyntax() 2024-11-12 19:00:27 +01:00
Natalia Serrano 8e2f35f89e refs #1101 add a missing import 2024-11-12 18:20:36 +01:00
Natalia Serrano b245b5b877 refs #1101 add ogGetRepoIp() 2024-11-12 17:48:38 +01:00
Natalia Serrano e8f7996470 refs #1101 improve ogGetImageInfo() a bit 2024-11-12 12:02:25 +01:00
Natalia Serrano 38cb5ab986 refs #1101 improve ogGetImageInfo() a bit 2024-11-12 11:56:56 +01:00
Natalia Serrano b668a526b0 refs #1101 improve ogGetImageInfo() a bit 2024-11-12 10:52:26 +01:00
Natalia Serrano 79c1ab34c0 refs #1101 add ogUnmount() and its dependency 2024-11-11 17:15:38 +01:00
Natalia Serrano d49e01f9e2 refs #1101 add ogGetParentPath() 2024-11-11 16:54:25 +01:00
Natalia Serrano 4342a5c27e refs #1101 add ogGetPath() and dependencies 2024-11-11 16:28:03 +01:00
Natalia Serrano 961ccb8c66 refs #1101 add ogMcastRequest() 2024-11-08 14:07:43 +01:00
Natalia Serrano dc56be66c7 refs #1101 add ogUcastSyntax() and its dependencies 2024-11-08 13:48:50 +01:00
Antonio Guerrero e73700a57d refs #1114 scripts function call updates 2024-11-07 06:10:58 +00:00
Antonio Guerrero 150685fe75 refs #1113 InterfaceAdm function call updates 2024-11-07 06:08:28 +00:00
Antonio Guerrero 2d94e3742e refs #1099 The syntax for calling libraries into InventoryLib.py has been modified 2024-11-06 04:46:28 +00:00
Antonio Guerrero d46ab35bd6 refs #1099 The syntax for calling libraries has been modified 2024-11-06 04:30:53 +00:00
Natalia Serrano 9953807e79 refs #1098 add ogGetFsType() 2024-11-05 13:58:09 +01:00
Natalia Serrano 9362ea1f0a refs #1099 do not import * 2024-11-05 12:54:06 +01:00
Natalia Serrano 637bdb9295 refs #1098 add ogFindCache() 2024-11-05 10:43:37 +01:00
Natalia Serrano c24b7ca337 refs #1098 add ogDevToDisk() 2024-11-05 10:41:18 +01:00
Antonio Guerrero 269fcd288d refs #1093 initial version of InventorySoftware, pending to fix log functionality 2024-11-05 05:45:25 +00:00
Natalia Serrano 844ae53c05 refs #1098 add ogIsFormated() 2024-11-04 18:18:02 +01:00
Natalia Serrano a5d3d8088d refs #1086 don't use set difference--it isn't stable 2024-11-04 18:13:15 +01:00
Natalia Serrano c94d2bb381 refs #1086 add ogDiskToDev() 2024-11-04 17:36:00 +01:00
Natalia Serrano 063ddb8913 refs #1097 mimic "tee" behaviour 2024-11-04 17:33:57 +01:00
Antonio Guerrero 1c53ce8173 refs #1037 full functionality of InventarioHardware.py script is added; InventoryLib.lib library is renamed to InventoryLib.py and hardware inventory functions are updated. 2024-11-04 04:37:04 +00:00
Natalia Serrano 41012ac0bf refs #1059 remove some comments--they go to the wiki 2024-10-31 10:10:38 +01:00
Natalia Serrano 7995155824 refs #1059 remove management of "help"--to be done elsewhere 2024-10-31 09:47:08 +01:00
Natalia Serrano eb43e67b38 refs #1059 add ogRaiseError() 2024-10-29 18:15:00 +01:00
Natalia Serrano 7cd6e22b0d refs #1085 add language files 2024-10-29 17:03:20 +01:00
Natalia Serrano 2d02f00766 refs #1059 add ogHelp 2024-10-29 16:19:51 +01:00
Natalia Serrano c3a0e8db1c refs #1059 repeat work 2024-10-29 09:57:25 +01:00
Natalia Serrano d519113079 refs #1059 fix conflicts 2024-10-29 09:47:38 +01:00
Antonio Guerrero b2de290a8d refs #1037 References between NetLib, FileLib, SystemLib libraries necessary for the correct operation of InventarioHardware.py are implemented. 2024-10-28 22:55:27 -06:00
Natalia Serrano 83b62179fa refs #1059 fix ogEcho("help") 2024-10-28 18:33:30 +01:00
Natalia Serrano 94813cea3c refs #1059 add ogGetCaller() 2024-10-28 18:20:24 +01:00
Natalia Serrano 9301d9aaaf refs #1059 add ogIsVirtualMachine() 2024-10-28 18:02:33 +01:00
Natalia Serrano eaee15b7d4 refs #1059 add ogEcho(). Implement ogGlobals 2024-10-28 17:50:50 +01:00
Natalia Serrano 5532fb9eec refs #1059 add ogIsEfiActive() 2024-10-28 16:25:04 +01:00
Antonio Guerrero 71be7a1365 refs #693 Reorganization of files based on ogAdministrator paths. 2024-10-27 20:35:50 -06:00
Antonio Guerrero 76f373af77 refs #1051 Revision and correction of errors in the GetConfiguration.py file 2024-10-27 20:32:42 -06:00
Antonio Guerrero b30beadba3 refs #839 Review and correction of bugs in migrated code 2024-10-22 22:30:03 -06:00