summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* refer to current installation of ogCPHEADmasterOpenGnSys Support Team2024-09-271-1/+1
|
* web console has entered EoLOpenGnSys Support Team2024-09-131-148/+10
| | | | Replace index.php to notification that web console has entered EoL
* search network specific ogclient configurationJose M. Guisado2023-08-281-1/+4
| | | | | | If server= boot param is present and expands to a valid configuration file at "/opt/opengnsys/ogClient/cfg/$server.json", use this configuration file as the ogClient config file.
* oglivecli: more helpful usage error messageJose M. Guisado2022-09-221-1/+1
| | | | | | | | | | Valid commands depend on the "access level" determined by: - You are root (root) - You can read /opt/opengnsys/www/controlacceso.php (web) Users might not know this, so invite to run as sudo if running some command is not valid because of this.
* #1062 Support tiptorrent image transfer modeJavier Sánchez Parra2022-06-146-9/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for tiptorrent image transfer mode to client's bash scripts (aka cloning engine). If desired, clients receive images to restore with the new unicast transfer mode tiptorrent. See also: http://git.soleta.eu/tiptorrent/ #1062 Add tiptorrent support to WebConsole Add tiptorrent option to WebConsole restore image form. #1062 Launch tiptorrent on oglive init This commit adds tiptorrent launch to oglive init process. Clients launch tiptorrent daemon if they have cache partition. #1062 Fix minor tiptorrent integration bugs * Fix md5sum pipe typo * Use correct variable for checksum download #1062 Calculate checksum on image creation Otherwise, OpenGnsys depends on cron and bittorrent specific scripts to obtain images checksums. Support cache cleaning for tiptorrent image parts Tiptorrent downloads and saves images to the cache in parts. With this commit, WebConsole shows and deletes all parts as one. #1062 Rename TIPTORRENT-CACHE in restore image form This commit changes TIPTORRENT for TIPTORRENT-CACHE to keep naming consistency. #1062 tiptorrent stores whole file instead of chunks Tiptorrent now stores the whole file instead of the split chunks. Removes any chunk related code from cloning engine scripts. Requires newer version of tiptorrent installed (tiptorrent-static >= 1.0.0-6). Always compute MD5 of cached image Do not rely on MD5 checksum file from the cache on tiptorrent transfers. Otherwise, cloning engine could restore a corrupted image. #1062 Check tiptorrent exit code Otherwise, the image restoration continues in failed downloads.
* Revert "#1075 Rename boot templates"Javier Sánchez Parra2022-06-1414-0/+0
| | | | | | | | This reverts commit 127248e3454e84ba073e5413075e1e7aafef7c0d. Web Console expects boot templates to have certain names, otherwise it behaves incorrectly. The reverted commit changes this names to ones that the Web Console do not recognize.
* #1075 Rename boot templatesJavier Sánchez Parra2022-06-1414-0/+0
| | | | Rename boot templates to improve readability and clarity.
* Export non standard python path to clientsJose M. Guisado2022-06-141-0/+2
| | | | | | | | | | | | | | | | | | | | New python requirements of programs running in ogLive clients are shared via samba. Appends this Samba directory to the PYTHONPATH of OpenGnsys clients (ogLive). Specific python versions folder in the OpenGnsys server are located at: /opt/opengnsys/client/lib/pythonX.Y/ X = Major version Y = Minor version This is exposed in the client (ogLive) at: /opt/opengnsys/lib/pythonX.Y/ Clients startup script detects python3 version and exports the correct samba directory.
* #915 Remove TEMPLATE_NAME from setclientmodeJavier Sánchez Parra2022-04-081-46/+42
| | | | | | | It is not needed for setting clients' boot mode. Replace TEMPLATE_NAME in error messages with MODE_FILE as both reference the template file.
* #1068 Detect room specific client config fileJose M. Guisado2022-04-081-1/+6
| | | | | | | | | | | | | | | | | Before starting ogClient, script will lookup for specific classroom configuration file, if it is found, then it will use it, otherwise it uses the default configuration file. The specific configuration file allows for finer-grain configurations per room. Spaces in the room name are replaced by underscore. For example. client: pc11, room name: "Virtual room". If "Virtual_room.json" exists in client /opt/opengnsys/ogClient/cfg it will use that config file. If it doesn't exist, start ogclient with default config file (ogclient.json)
* #1071 Rename the function to ogNvramPxeFirstentry and include help messages.Irina Gómez2022-03-294-2/+17
|
* #1071 ogNvramPxeEntryFirst New function that sets network as the default ↵Irina Gómez2022-03-091-0/+31
| | | | boot of NVRAM.
* #1070 Fix SQL query in remotePC unreserve function.Irina Gómez2022-02-251-1/+1
|
* #1069 ogBootMbrGeneric creates the necessary hard drive signature for ↵Irina Gómez2022-02-181-0/+4
| | | | Windows (UEFI).
* #1058 Remove duplicated hidden input for scopeJose M. Guisado2021-07-231-3/+0
| | | | | | | | Partition and format does not work with a subset of clients in a room scope. (ámbito aulas). Remove duplicate hidden input that was problematic to the javascript code involved to fix this.
* Revert "#915 Send command id in remotepc scheduling"Jose M. Guisado2021-07-211-4/+2
| | | | | Due to a regression reported in ticket #1051, ogserver scheduling falls back to use the session value instead of command id.
* #1048: Fix TFTPBOOT directory hardcoded in Advanced Netboot form.Ramón M. Gómez2021-07-211-6/+7
|
* #1048: Fix boot issues in ogLive with Kernel 5.11Ramón M. Gómez2021-07-062-4/+4
|
* #1048: Avoid Awk 5.x warning when escaping quotes.Ramón M. Gómez2021-07-063-6/+6
|
* #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)