| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
images synced with git.
GIT is included as a cloning protocol with options git_option:acl_option with the values [ clone | checkout ] : [ total | user ].
|
|
|
|
|
|
| |
images.
GIT is included as a cloning protocol with options git_option:acl_option with the values [ clone | checkout ] : [ total | user ].
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
They follow the same procedure as monolithic images.
They use the same postconfiguration file.
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
| |
This commit fixes delete image cache (EliminarImagenCache) form to show
cached images as expected when used on a scope group of computers
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
introduced in commit 19528454b.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Otherwise, webconsole fails to fetch status of computers with ogAgent
when there are too many (100 approx.).
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
versions name format.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
resolve'.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
| |
|
|
|
|
| |
distribution is different than advised.
|
|
|
|
| |
The operation isn't remove on timeout.
|
|
|
|
| |
OpenGnsys version prerequisites; in case of update, they also show the current version.
|
|
|
|
| |
to defined clients.
|
|
|
|
|
| |
Fixes that include global variables, required to add the operating system startup to the action queue.
This route is defined in swagger.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
'inremotepc' is removed.
(Reported by Ramón Gómez - US).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|