summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* #991: Fix lab status legend in Catalan.Ramón M. Gómez2021-03-091-1/+1
|
* #991: Add maintenace status to lab status legend.Ramón M. Gómez2021-03-095-6/+9
|
* #986: Updating help and messages from script `setclientmode`.Ramón M. Gómez2021-03-091-11/+11
|
* #1026 The installation script displays information message only when ↵Irina Gómez2021-03-041-6/+20
| | | | distribution is different than advised.
* #992 REST route /ous/:ouid/labs/:labid/clients/:clntid/init:Irina Gómez2021-03-041-1/+1
| | | | The operation isn't remove on timeout.
* #1026 The installation and upgrade scripts display messages with the ↵Irina Gómez2021-03-042-0/+24
| | | | OpenGnsys version prerequisites; in case of update, they also show the current version.
* #997: Vagrant files adapted to use ogServer REST API to assign PXE template ↵Ramón M. Gómez2021-02-252-10/+12
| | | | to defined clients.
* #992 REST route /ous/:ouid/labs/:labid/clients/:clntid/init:Irina Gómez2021-02-232-1/+38
| | | | | Fixes that include global variables, required to add the operating system startup to the action queue. This route is defined in swagger.
* #1008 Improve Setup form user experienceJavier Sánchez Parra2021-02-221-7/+17
| | | | | | | | | | Setup (Particionar y Formatear) forms do not show new features clearly. Table type selector goes unnoticed and change disk button might be taken (incorrectly) as the accept button. This commit improves user experience of the setup command form: * Highlights and centers table type selector. * Changes text of change disk button.
* #1031 Admin console: in the SQL query the ambiguity in the field ↵Irina Gómez2021-02-181-1/+1
| | | | | | 'inremotepc' is removed. (Reported by Ramón Gómez - US).
* #802 UEFI: Add boot entries to last boot orderJose M. Guisado2021-02-171-2/+2
| | | | | | | | | | | | | | It's been reported that some UEFI implementations of several manufacturers do not comply with the standard and behave oddly. In this case it has been noted that when a BootEntry was created (with efibootmgr) but not added to the BootOrder this new entry did not survive a reboot. Thus, UEFI booting of a client from the ogLive menu was not possible. Adjust calling ogNvramAddEntry so that it adds the new entry to the BootOrder, but in last place so network boot, usually first option, remains in place.
* #1028 setserveraddr restarts ogserver service.Irina Gómez2021-02-161-1/+1
|
* #990 restfunctions: wol: require clients and wol_type params onlyJose M. Guisado2021-02-155-39/+7
| | | | | | | | | | | | Webconsole is directly querying the database to build the payload for requesting the ogServer a Wake On Lan. ogServer is expected to query the database for the netmask and mac parameters. Do not require the client request to have such parameters. Adjust calls to the wol php method by other OpenGnsys components. Fixes: a35b7c4 ("#990 Use client broadcast address on WoL")
* #1029 Installation and update show a warning about debug level of syslog.Irina Gómez2021-02-152-4/+4
|
* #1027 opengnsys_update.sh and opengnsys_installer.sh configure ogclient.Irina Gómez2021-02-152-1/+8
|
* #1028 opengnsys_uninstall.sh remove ogserver service.OpenGnsys2021-02-151-0/+8
|
* #988 opengnsys_export.sh compatibility with 1.1.1c versionIrina Gómez2021-02-151-6/+10
|
* #1018 opengnsys_update.sh starts ogserver after compilation.Irina Gómez2021-02-101-0/+1
|
* #1024 disable option to move a single computerID-1020_logrotateBugantoniodoblas2021-02-091-6/+6
|
* #1020 logrotate ignore non-existent logs with missingokantoniodoblas2021-02-092-1/+2
| | | | | | | If the logrotate files for opengnsys indicate to rotate files that do not exist, the process ignores them and continues with the next one. The missingok clause is added to the logrotate configuration files.
* #1019 Fix decoding of shell command parameters in queue modeJavier Sánchez Parra2021-02-081-1/+14
| | | | | | | | | | UMA report that "delete cached image" and "partition asistant" commands in queue mode do not work (non-queue mode works fine). WebConsole decodes and handles quirks of shell command parameters only when it is not queued. See shell() at restfunctions.php. Add shell command parameters decoding and handling when queued.
* #1021 remove LOG_INFO syslogJavier Sánchez Parra2021-02-041-2/+0
| | | | | | | Some distros enable *.* in syslog.conf to add all logging information to /var/log/syslog. The existing LOG_INFO syslog() entry that WebConsole generates fill up the log files very quickly. It writes every time WebConsole calls ogServer. Remove the LOG_INFO syslog() call.
* #997 Updating release in Vagrantfile and VERSION.json.Irina Gómez2021-01-214-5/+178
|
* #839 Fixes problem of expulsion of the user from the session at 15min.Irina Gómez2021-01-201-1/+2
|
* #997 CHANGELOG.es.txt: Updating list of closed tickets 1.2.Irina Gómez2021-01-201-0/+39
|
* #1008 Remove unused variableJavier Sánchez Parra2021-01-121-2/+0
| | | | | | | | | | | Apache reports: [Tue Dec 22 12:07:01.664403 2020] [proxy_fcgi:error] [pid 1386] [client 10.1.12.17:46950] AH01071: Got error 'PHP message: PHP Notice: Undefined variable: cadenaid in /opt/opengnsys/www/comandos/Configurar.php on line 158\nPHP message: PHP Notice: Undefined variable: mindisks in /opt/opengnsys/www/comandos/Configurar.php on line 201\n'
* #1008 Restore support for >4 partitionsJavier Sánchez Parra2021-01-122-15/+30
| | | | | | | | | | | | | WebConsole "Partition and Format"/"Particionar y Formatear" supported more than 4 partitions when it used SocketHidra. When we changed it to use HTTP requests we introduced a limit of 4 partitions. This commit: * Restores "Partition and Format" support for more than 4 partitions. * Adapts client-side checks (JavaScript) for more than 4 partitions and GPT.
* #1015 Fix updateBootMode and use it when updating computer infoJose M. Guisado2020-12-173-2/+4
| | | | | | | | | | | | | | | | | | | When a computer info is updated sometimes their related pxe files need to be updated accordingly. In order to recreate the file the function createBootMode was being used inside gestor_ordenadores. Eg: createBootMode ($cmd, $arranque, $ip, $idioma) This had some problems because the POST message to gestor_ordenadores was sometimes lacking the ip field. This field is not necessary because updateBootMode takes the id of the computer and queries the database for the ip of the computer associated with it. Use updateBootMode ($cmd, "idordenador", $idordenador, $idioma) instead. Fixes related mass updater and "moving pc to another classroom" issues.
* #997 Installer and updater download the latest versions of OGAgent and ogLive.Irina Gómez2020-12-173-5/+4
|
* #1014 ogGetImageInfo: Support Windows update october 2020.Irina Gómez2020-12-161-1/+1
|
* #1012 Change database field type of the partition size to support disk and ↵Irina Gómez2020-12-102-1/+5
| | | | partitions bigger 2Tb.
* #1011 Fix the error when Windows is hibernated. "Error code 6" was displayed ↵Irina Gómez2020-12-091-1/+18
| | | | in the boot menu.
* #1009 Add ogclient.json update to setsmbpassJavier Sánchez Parra2020-12-011-0/+3
| | | | | | | | | ogclient.json has samba user and pass because ogVDI needs them to upload qcow2 images to the repository. setsmbpass sets user and pass and updates ogLives to match. If a user executes setsmbpass, then ogclient.json samba info becomes outdated. Add ogclient.json samba user and pass update to setsmbpass script.
* #1009 Fix ogclient.json ownership and permissionsJavier Sánchez Parra2020-11-301-0/+2
| | | | | ogclient.json has the samba password in plain text. This commit changes ownership and permissions to improve the security.
* #1008 Deprecate "Partitioning Assistant"Javier Sánchez Parra2020-11-301-0/+1
| | | | | | | | "Partition and Format"/"Particionar y Formatear" command now has all functionalities from "Partitioning Assistant"/"Asistente de Particionado". Add a warning message to "Partition Assistant".
* #1008 Add support to work with GPT tablesJavier Sánchez Parra2020-11-274-12/+36
| | | | | | | | | | | | | | | | | | WebConsole needs to rely on /shell/run to work with GPT tables. Because "Partition and Format"/"Particionar y Formatear" form always supposes that the partition table is MBR/MSDOS. "Setup"/"Configurar" script from "Cloning Engine" also supposes that the partition table is MBR/MSDOS. But it uses "Boot.lib" library, that can create MBR and GTP partitions. This commit: * Adds WebConsole support to work with GPT tables. - Adds input field where the user can select between MSDOS and GPT table types. * Adds "Setup" support to work with GPT tables. - Adds script parameter that expects a string with "MSDOS" or "GPT".
* #1008 Add support for partitioning several disksJavier Sánchez Parra2020-11-258-15/+65
| | | | | | | WebConsole only supports for partitioning and formatting the first disk of the client. POST /setup calls in ogserver and ogclient support for multiple disks. Update WebConsole to allow to choose which disk do you want to partition and format.
* #988 checkperms sets permissions on ogserver.jsonIrina Gómez2020-11-171-2/+2
|
* #988 Fix opengnsys startup script.Irina Gómez2020-11-091-12/+13
| | | | The port value for 'faucet' is fixed, it does not depend on the ogserver configuration. Required for multicast transfer.
* #997: Fix oglivecli.Irina Gómez2020-11-051-1/+1
| | | | | The script was not detecting the Initrd compression program, could not get the samba password and needed to ask for it.
* #944 Fix status in console, when there is only one computer in lab without ↵OpenGnsys2020-11-051-1/+1
| | | | columns and row property.
* #988 Add ogserver.json creation when running opengnsys_update.shJavier Sánchez Parra2020-11-031-3/+24
| | | | | | | | | | This patch enables the creation of a default json config for the ogserver when running opengnsys_update.sh, if no prior json config is detected. Eg. when updating from 1.1.1c to 1.2.0 Reviewed-by: Jose M. Guisado <jguisado@soleta.eu>
* #804 Fix updater php package retrievingJavier Sánchez Parra2020-10-301-1/+1
| | | | | | | | Updater script retrieves php7.1-mapi package instead of php7.2 metapackage. Otherwise, updating from 1.1.1c to 1.2.0 fails. This commit changes "apt-cache" search for the "php7.2" specific package dependency which is available in Ubuntu 18.04.
* #988 Fix settoken json handlingIrina Gómez2020-10-291-0/+1
| | | | source_json_config loads config values.
* #988 Fix setserveraddr json handlingJavier Sánchez Parra2020-10-241-3/+13
| | | | | | | | setserveraddr script modified ogserver.json values with "sed". This caused unwanted changes in database.ip. This commit replaces "sed" with "jq" for modifying ogserver.json, ensuring only rest.ip and wol.interface values change.
* #988 Read json config file in scriptsRoberto Hueso Gómez2020-10-2215-30/+50
| | | | | | | | This patch implements the function source_json_config() that is used to read the new ogserver.json config file in the scripts. This replaces the old 'source .../ogserver.cfg'. Co-authored-by: Javier Sánchez Parra <jsanchez@soleta.eu>
* #992: Expand URL fields to support long hostnames.Ramón M. Gómez2020-10-212-6/+7
| | | | Thanks to Jorge Fernandez Marín for the solution provided.
* #988 remove reference to ogserver.cfg setclientmodeOpenGnSys Support Team2020-10-161-1/+0
| | | | Not used, and now there is a configuration ogserver.json
* #988 Adapt settoken to the new json config fileRoberto Hueso Gómez2020-10-161-3/+2
| | | | This patch sets the renewed api_token in the config file ogserver.json
* #988 Add ogServer JSON config to installerJavier Sánchez Parra2020-10-161-6/+18
| | | | | This commit changes legacy ogServer configuration file to new ogServer JSON configuration file.