summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* #918 The web console commands for cloning synchronized images adapt to ↵918-git-imagesIrina Gómez2021-07-046-19/+71
| | | | | | images synced with git. GIT is included as a cloning protocol with options git_option:acl_option with the values [ clone | checkout ] : [ total | user ].
* #918 Console interface scripts for synchronized images adapts to git-synced ↵Irina Gómez2021-07-042-2/+28
| | | | | | images. GIT is included as a cloning protocol with options git_option:acl_option with the values [ clone | checkout ] : [ total | user ].
* #918 Script to prepare the OpenGnsys repository to use images synchronized ↵Irina Gómez2021-07-041-0/+109
| | | | | | | with git. Provisional, if the behavior is included by default it should be done in the normal installation file. Windows and Linux images must go in separate repositories. By mistake there is a single repository with two working trees, one for Linux and the other for Windows. It is not corrected now because the scripts are prepared for this configuration.
* #918 Commands to backup and restore acl.Irina Gómez2021-07-045-0/+6
| | | | | Provisional: they are initially shared from the server but should be included in the ogLive. The images made with git do not save the acl, it is necessary to make a backup when creating the image and restore them when they are deployed.
* #918 Environment variables for git-synced images.Irina Gómez2021-07-042-0/+15
|
* #918 Scripts to create and restore git-synced images.Irina Gómez2021-07-044-0/+515
| | | | | They follow the same procedure as monolithic images. They use the same postconfiguration file.
* #918 ogSaveImageInfo.lib (provisional)Irina Gómez2021-07-041-0/+78
| | | | Function to create an image information file, this file is required to restore synchronized images. The function is provisional until it is decided how to save this information.
* #918 Git.lib: Library to synchronized images with git.Irina Gómez2021-07-041-0/+607
|
* #1048: Installer detects container network interface as "eth0@ifNN".Ramón M. Gómez2021-07-012-2/+2
|
* #915 Send command id in remotepc schedulingJavier Sánchez Parra2021-06-161-2/+4
| | | | | | | | | Send command (formerly action) id on remotepc scheduling, instead of session number. Otherwise, ogServer can not find the command in the database. This patch is necessary because commit 076a797 in ogServer repo changes command query filter from session to id.
* #1037 Add disk typealbertogp2021-05-262-10/+55
| | | | | | | | | | | | | | | To help users choosing which preparation a computer needs according to its disk type, this commit: * Adds cloning engine support to retrieve disk type data from the computer when refreshing disks partition schema. * Adds WebConsole support to read disk type data from the database and show it on partition drawing. See also commits with #1037 in ogClient and ogServer repo. Co-authored-by: Javier Sánchez Parra <jsanchez@soleta.eu>
* #995 Fix client speed view inside a roomJose M. Guisado2021-05-191-8/+12
| | | | | | | | | | | | Before, speed information was not shown in the corresponding computer, but from first to last element in the table, this did not take into account for shutdown computers or the position inside the room for a given computer. This fix maps ips to speed information so it can later be indexed to show information correctly. Fixes: 8634dd3 (#995 Show client link speed if available)
* #997 CHANGELOG: Ticket #984 is included in version 1.2.0.Irina Gómez2021-05-182-0/+2
|
* #1040 Fix delete cache image on computer groupsalbertogp2021-05-121-2/+1
| | | | | This commit fixes delete image cache (EliminarImagenCache) form to show cached images as expected when used on a scope group of computers
* #1047 console - status:Irina Gómez2021-05-111-0/+3
| | | | | | | | There is a function that collects the computers in the classroom and another that paints them, passing the computers from one to another through a global variable. If a classroom has fewer computers than the previous one, they paint more than necessary. The problem has arisen when including the layout of the classroom in the status: when it was painted in an old way there was an index that limited the number of computers, with the new layout of the classroom it takes all of those in the variable. The variable is flushed every time the computers are collected.
* #1046 Import scriptIrina Gómez2021-05-111-1/+1
| | | | | Fixes the error when there is a record with the string 'usuario' in the original database. The SQL statement includes a stricter condition when modifying the 'usuario' table.
* #1045 Fix duplicate software profiles bugJose M. Guisado2021-05-101-0/+1
| | | | | | | | | | | | | | Sometimes a software profile creation does not fail although there is already an existing one with the same components. After some investigation, the reason seems to be that legacy code from ogAdmServer (deprecated) executes a SQL query using GROUP_CONCAT grouping all software components id in increasing order but this concatenated string ends up being truncated due to a maximul length variable in MySQL server. This variable is: "group_concat_max_len" and its default value is 1024. Fix this by increasing group_concat max length in MySQL.
* #768: Fix a little bug in `oglivecli` scriptRamón M. Gómez2021-05-101-1/+1
| | | | introduced in commit 19528454b.
* #804 Limit legacy SocketHidra key-value splitJavier Sánchez Parra2021-05-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This bug was found by USAL and UPV. They reported that WebConsole was showing scripts incompletely if they contain "=". SocketHidra stores key-value pair as "<key>=<value>" string, and the parser splits the string on "=" characters and pick the first two elements. Thus, if the value also contains "=", the parser splits it and only picks the first part. Note: keys strings never contain "=". With "scp=this=is=a=test" as example BEFORE this commit the parser returns "scp" as key "this" as value AFTER this commit the parser returns "spc" as key "this=is=a=test" as value Limit legacy SocketHidra key-value split to two elements, key and value. This commit also removes script decoding because WebConsole stores them decoded since v1.2.0.
* #995 Show client link speed if availableJose M. Guisado2021-05-102-0/+31
| | | | | | | If the clients API response included speed information, show it in the default room view. In case link speed is less than 1000 Mbit, highlight so.
* #718 Increase ogAgent probe timeoutJavier Sánchez Parra2021-05-101-1/+4
| | | | | Otherwise, webconsole fails to fetch status of computers with ogAgent when there are too many (100 approx.).
* #949 Fix ogagent.log parserJavier Sánchez Parra2021-05-031-1/+1
| | | | | | | | | Webconsole parses ogagent.log searching an IP without terminator character. Thus, it takes entries with the selected IP and with IPs that start as the selected IP. For example, if it searches for 10.1.30.10, it shows entries of 10.1.30.10, 10.1.30.100, 10.1.30.101... Fix ogagent.log parser to only show entries of the selected IP.
* #1043 Add WOL_SENT state supportJose M. Guisado2021-04-297-5/+11
| | | | | | Adds ogServer wol state, used to report WoL packet sending. This state can timeout (returning to off) or change to a new state after clients report a new one.
* #942 Adapt RemotePC API to use new queue implementationJavier Sánchez Parra2021-04-261-0/+6
| | | | | | | | | | RemotePC API queues commands only inserting them in the database and expects ogServer to find them and send them to its respective clients. Since v1.2.0, ogServer do not seek the database periodically searching for pending commands. Now ogServer expose an HTTP API to queue commands. This commit adapts RemotePC API to use new ogServer queue API.
* #1036 Vagrant file to use libvirt, modifying Vagrant file for vbox.Irina Gómez2021-04-191-0/+187
|
* #997: Defining new development version.Irina Gómez2021-04-131-1/+1
|
* #1041 Fix poweroffconf scriptJose M. Guisado2021-04-131-1/+2
| | | | | | | | | | | poweroffconf is checking if the system is idle by doing a pgrep of processes starting with "/opt/opengnsys/" and ignoring the ones containing $OGETC or "poweroffconf". ogclient process always falls under this process lookup thus making the system seem as always active. Ignore the ogclient process when checking if the system is not idle.
* #997: opengnsys_update.sh: The work directory name changes with the new ↵Irina Gómez2021-04-121-9/+8
| | | | versions name format.
* #997: opengnsys_installer.shIrina Gómez2021-04-081-21/+23
| | | | | The choice of ogLive is commented for compatibility with the new version of ogClient. The work directory name changes with the new versions name format.
* #997: Fix change log errata.Ramón M. Gómez2021-04-071-2/+2
|
* #997: Adding change log in english.Ramón M. Gómez2021-04-071-0/+60
|
* #997 CHANGELOG.es.txt: Add tickets relsoves as 'duplicates' or 'will not ↵Irina Gómez2021-04-071-2/+6
| | | | resolve'.
* #997 Vagrantfile-prod-vbox points to Vagrantfile-1.2.0-vbox.Irina Gómez2021-04-071-1/+1
|
* #997 CHANGELOG.es.txt: Updating list of closed tickets 1.2.0.Irina Gómez2021-04-071-20/+43
|
* #997: Updating OpenGnsys 1.2.0 documentation.Ramón M. Gómez2021-04-073-14/+12
|
* #997: Using tags with format `vX.Y.Z` instead of `opengnsys-X.Y.Z`Ramón M. Gómez2021-04-072-2/+3
|
* #1033: Formatear la caché compatible con versiones 4.x y 5.x de Linux.RAMON MARIA GOMEZ LABRADOR2021-03-191-2/+4
|
* #1032 Use create_schedule_now for tasks and proceduresJose M. Guisado2021-03-112-13/+2
| | | | | | | | | Commit afbfe2a introduced create_schedule_now for commands. Adapt procedures and task to use it instead. Drop $when variable as it is no longer needed for "immediate scheduling" execution of commands, procedures or tasks. Fixes: afbfe2a (Use create_schedule_now for immediate logged commands)
* #1032 Use create_schedule_now for immediate logged commandsJose M. Guisado2021-03-112-1/+25
| | | | | | | | | | | Avoid stale commands from being executed when given a time schedule that include past dates, ie. when they are manually scheduled. Use create_schedule_now for immediate execution commands (no manual schedule) that the user want to be logged (by automatic scheduling to the right moment they are processed). Fixes #1032 (https://opengnsys.es/trac/ticket/1032#comment:2)
* #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.