701 Commits (fe6fd9d11cf14b26f3190913a1b2a587e4889b30)

Author SHA1 Message Date
Digimer 5d91211dff * Continued work on 'anvil-download-file', in-progress adding support for job processing. 6 years ago
Digimer 605c3c4ffb * Got anvil-download-file downloading files. Much testing is needed, and it's just the barebones so far. 6 years ago
Digimer c41adb17ff * Finished converting Remote->call() to use Net::OpenSSH. Also updated all calls to this method to expect the output as a single (sometimes multi-line) string instead of an array reference. Also updated all calles to expect 'output' first, 'error' second. 6 years ago
Digimer 559dbafb39 * Finished Convert->time (needs testing). 6 years ago
Digimer b1326e1b4e * Created tools/anvil-download-file which will handle downloading, aborting and reporting status of downloads. 6 years ago
Digimer dc95b8c4e3 * Got anvil-manage-files able to find and pull down missing files. 6 years ago
Digimer e8afd2efe4 * Created anvil-file-details that is (meant to be) called by anvil-file-details on a remote machine. 6 years ago
Digimer 48d9f70c87 * Started the new Database->get_alert_recipients() method. 6 years ago
Digimer 27ba3dcbb9 * Created Database->read() to store and return the handle to whichever database is used for read operations. Also created Database->quote that uses ->read to access the DBI 'quote' method more cleanly. Updated all calls to use these new methods. 6 years ago
Digimer ff5ef43940 * Continued work on the ssh configuration system in anvil-daemon. 6 years ago
Digimer 80e7bc5ce0 * Started work on a system to provide inter-machine ssh communication without needing to track or record passwords in the database or config files (outside the database access passwords). Added 'host_key' to the 'hosts' table that stores the host public key. Also now create ssh public/private key pairs for the 'root' and 'admin' users. 6 years ago
Digimer 47280c8fd9 * Added 'files -> file_directory' to help distinquish cases where two different files of the same name exist in different directories. 6 years ago
Digimer 529c12d2e2 * Updated anvil-manage-files to scan all /mnt/shared/* directories to search for new files. Only files in incoming are moved though, as before. Starting work on pulling files now. 6 years ago
Digimer d9e9884e53 * Created Storage->move_file(). 6 years ago
Digimer e3d11fd938 * Did some more work on anvil-manage-files. 6 years ago
Digimer 0d62a28fda * Created Database->insert_or_update_file_locations(). 6 years ago
Digimer d3b2f2fd35 * Started Storage->scan_directory() that searches a directory (optionally recursively), recording details about files it finds, including mimetypes./ 6 years ago
Digimer dd2b9ec026 * Refined upload.pl a lot, moving it into Anvil::Tools. It also now handles file name collisions and reports basic info about the uploaded file. 6 years ago
Digimer d68b85fe9e * Working on a file upload with progress bar feature. Expect more changes as it is refined. 6 years ago
Digimer 0979402ecf * Improved handling of failed connection attempts to remote machines in Remote->call(); 6 years ago
Digimer d240f3ae2e * Created files and prep-host icons. 6 years ago
Digimer 9fd0aa3e0f * Finished getting the Jobs page working. Needs more testing, but seems to be working fine. 6 years ago
Digimer 3c980a5c6d * Created Job->running() to return '1' when one or more jobs are in progress on the host. 6 years ago
Digimer 3e2a1faf06 * Updated System->get_os_type() to add comments for RHEL8 and remove Fedora support. 6 years ago
Digimer b7b4e79e95 * Updated System->check_firewall to use firewall-cmd and the contents of iptables-save is not available/reliable under RHEL8. 6 years ago
Digimer 3f83e3c310 * Fixed the problem with rendering the webUI... The recursive loop counter was set to 1000, and that was triggering when reading a file longer than 1000 lines. Pushed the counter up to 500000 to prevent this in the future, but still allow infinite loops to exit before too long. 6 years ago
Digimer 2c23c6beba * Improved infinite loop handling in Log->entry, but broke the Striker UI in the process. To be fixed next... 6 years ago
Digimer 02c4fe1fa1 * Updated all perl module modes to remove the executable bit. 6 years ago
Digimer 53295a0d7f * Updated the variables used for logging and log handles to be more inline with other variable names. 6 years ago
Digimer 8fad67fc5a * Updated Words->read to default to 'path::words::words.xml' when the 'file' parameter is not passed. Also updated it to check to see if the words file was read before and, if so, clear the data from the previous read before re-reading it. 6 years ago
Digimer 946fce018a * Renamed the 'ScanCore' executable to just 'scancore', moved it into the standard 'tools' directory and changed the agents directory to '/usr/sbin/scancore-agents'. 6 years ago
Digimer 1c70fceb70 * Fixed a minor bug in Template->get() where a bad template name being passed would call Words->string() without proper arguments and generate error messages. 6 years ago
Digimer f5ae90c941 * Started work on M3 ScanCore! 6 years ago
Digimer 5f77ff5885 * Finished (for now) anvil-manage-firewall. It's been added to anvil-daemon as well. 6 years ago
Digimer 0ca80d0599 * Started work on System->check_firewall() that will collect existing firewall information. 6 years ago
Digimer b5dc83d39c * Renamed anvil-configure-striker -> striker-configure-host and anvil-manage-install-target -> striker-manage-install-target as they're both Striker-specific. 6 years ago
Digimer 4b66379aaa * Added enabling/disabling 'Install Target' feature to Striker's WebUI. 6 years ago
Digimer ea65fa08aa * Added generation of kickstart files from a single template and made them more configurable by the user via anvil.conf. 6 years ago
Digimer 45f290d5e7 * Updated all System->*_daemon methods to not append '.service' to the daemon parameter. Also make all daemon names variables stored in 'sys::daemon::<foo>' and updated existing calls to these methods to use those variables. 6 years ago
Digimer 6f5541b6fd * Created Get->network() that returns the base network address for a given IP/subnet. 6 years ago
Digimer 380b11ce55 * Created Storage->update_file() that will update a file _if_ the contents have changed, locally or remotely and log the diff of the changes that triggered the update. 6 years ago
Digimer 706052105e * Changed Storage->read_file() to default 'force_read' to '1', causing it to always read from disk and ignore cache unless set to '0'. 6 years ago
Digimer 3045deb09d * Created tools/anvil-manage-install-target to setup a Striker machine as an install target. Still early in development. 6 years ago
Digimer 702cb0f102 * Almost finished the first draft of the 'plan_partitions' kickstart (sub)script. 6 years ago
Digimer 07c3b405ad * Starting work on adding "Install Target" function (will likely rename this, but basic same function as IT in m2). 6 years ago
Digimer 9a4cefe3fb * Fixed a bug (which is really more of a work-around for a deeper bug to be addressed later) where the database would keep thinking it needed to resync, even after it had successfully. 6 years ago
Digimer 6f0bc0d86f * Fixed a major bug where anvil-daemon would reset the job_progress to 0 when clearing the 'reboot_needed' flag, causing anvil-daemon to pick the job up and again reboot, repeatedly. 6 years ago
Digimer 510321d634 * It looks like adding and removing Striker peers (and all the sync'ing stuff behind it) is finally sorted out. Obviously, time will tell for sure, but currently things look good. 6 years ago
Digimer 43035ba038 * Fixed a subtle an annoying autovivication bug in Database->write(). 6 years ago
Digimer e79e7fd4f4 * Added 'check_if_configured' to Database->connect(), disabled off, that triggers the check to see if the system is configured or not. Updated anvil-daemon to invoke this at the same time that the md5sums are calculated to see if a reload is needed. This reduces the background system load a fair bit. 6 years ago