352 Commits (37f427aa648e08628ba8662896aed34a11be749c)

Author SHA1 Message Date
Digimer 0d62a28fda * Created Database->insert_or_update_file_locations(). 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 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 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 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 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
Digimer facefeaccc * Fixed a bug in anvil-daemon where completed jobs could be immediately cleared, causing them to re-run (repeatedly). 6 years ago
Digimer d3d28d8ec5 * Updated striker's first config page to pre-fill with values (Org name, prefix, sequence and domain name) if they can be devined from the existing system config. 6 years ago
Digimer 9bd5dd9a18 Revert to bfc2204. 6 years ago
Digimer a8369170b4 This is the start of a major change! 6 years ago
Digimer 40aac1d5f6 * Finished adding the 'sessions' database table and associated code. 6 years ago
Digimer e483d6e9a1 * Updated Database->connect() to delete 'database::<uuid>' when a peer's database is not a matching version to avoid later use attempts. 6 years ago
Digimer c6e781d80b * Adding database peers (local and bidirectional) now works! 6 years ago
Digimer 7bd65f65e5 * Finished the first round of updates to anvil-manage-striker-peers, but the initial resync is failing because of unrelated schema issues. 6 years ago
Digimer 2a03663ecf * Created System->find_matching_ip() which takes a host and finds which local network (if any) is on the same subnet. 6 years ago
Digimer 39c94009e6 * Created System->check_if_configured and then used that to only have anvil-daemon call update_state_file() when the system is unconfigured (to reduce the laod) when it's usually not needed). 6 years ago
Digimer 94d8a9c495 * Fixed a bug where finished jobs with a '0' picked-up time would be written to jobs.json. 6 years ago
Digimer 00565b123c * Updates Tools->nice_exit to add the caller name to the exit status. 6 years ago
Digimer b7e4ba9123 * Made the detection of whether a system has been rebooted a lot smarter, thanks to an idea from Lisa Seelye (@thedoh). 6 years ago
Digimer 545f9a9bb5 * Renamed tools/anvil-reboot-needed to tools/anvil-manage-power and started adding support for rebooting and powering off to it. 6 years ago
Digimer 6210524780 * Fixed a bug where long-finished jobs where being displayed in the Striker maintenance mode display. 6 years ago
Digimer 423fda2ad6 * Fixed a bug in anvil-daemon where rebooting was clearing the reboot-needed flag. 6 years ago
Digimer d82a2114f3 * Removed the '--host-uuid' argument when a job is created for anvil-update-system. 6 years ago
Digimer eecef192b3 * The job progress display in Striker while in maintenance mode is coming along and mostly working now. 6 years ago
Digimer 60584b8cee * Created Database->get_jobs() to be a more general way to retrieve pending and recently finished jobs. 6 years ago
Digimer c3a26c32f0 * Added a power off button to managing the Striker. 6 years ago
Digimer 18455ab5f7 * Created System->reboot_needed() to set/clear/report if a reboot is needed. 6 years ago
Digimer d147e10552 * Changed the call to reboot after OS update to instead set a reboot required flag. 6 years ago
Digimer 51c9d2952d * Fixed a bug with caching database handles in the recent database updates causing Database->write to stop working. 6 years ago
Digimer fe33fbb239 * Created System->maintenance_mode to add "maintenance mode" support to Striker. 6 years ago
Digimer 6aa74d3d96 * Updated Database->_test_access() to use the DBD 'ping' method, and attempt a reconnect of failure. 6 years ago
Digimer dd88051d9b * Finished the initial version of tools/anvil-update-system. 6 years ago
Digimer a63bfb0799 * Added support to reconfigure a Striker system. 6 years ago
Digimer 89c06b9f24 * Started work on tools/anvil-manage-striker-peers to do the actual work on managing local and peer databases in anvil.conf. 6 years ago
Digimer 0fa3c42f2f * Fixed a bug where setting the debug level to 3 caused a deep recursion and a system hang. 6 years ago
Digimer a364141d81 * Added a check/cycle to Remote->call that checks to see if the channel was established and loops up to five times, with a second delay in each try. Also disable the Time::HiRes stuff in this method for now. 6 years ago
Digimer 839bfc8a2d * Updated Striker to better handle when host.uuid hasn't been generated yet on brand new installs. 6 years ago
Digimer 9ab242a117 * Decided to move development to Fedora 28 to prepare for the leap to RHEL 8. So this commit is the first where the Anvil! Striker can be installed. 6 years ago
Digimer b24b20ec89 * Working on saving the new peer. Made progress on, but not yet finished, sanity checking the new peer form values. 6 years ago