172 Commits (bd778144d6140acb189ecb4d080851318331ac00)

Author SHA1 Message Date
Digimer 6f5541b6fd * Created Get->network() that returns the base network address for a given IP/subnet. 6 years ago
Digimer 9fe774071e * Started work on making text config files based on templates, started with the tftp 'default' file. 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 40aac1d5f6 * Finished adding the 'sessions' database table and associated code. 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 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 12073ffa08 * Added --no-start to tools/anvil-daemon to allow for updating just the jobs.json file. Fixed a bug where a comma was missing when 2+ jobs were written to the JSON file as well. 6 years ago
Digimer 423fda2ad6 * Fixed a bug in anvil-daemon where rebooting was clearing the reboot-needed flag. 6 years ago
Digimer 93124ea3ae * Added a message to anvil-update-system to report when no updates were needed. 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 1d31593ea6 * Added missing power icon. 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 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 a63bfb0799 * Added support to reconfigure a Striker system. 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 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
Digimer 578c23b0a3 * Finished the form for adding peers (but no logic to support it yet, it's just filled and formatted). 6 years ago
Digimer 1ac1bc5ffb * Made more progress on the peer database configuration page. 6 years ago
Digimer 2d88502f6a * Continued work on the sync page. 6 years ago
Digimer ee649ff2dd * Started work on the Striker sync function. It shows (without formatting yet) the ways the local dashboard can be accessed. 6 years ago
Digimer 6e19d45845 * Updated Template->get to print a useful error message of a template is not found in a file. 6 years ago
Digimer 19672f8b7c * Started work on the Striker menus, adding mechanisms for "back" and "refresh". 6 years ago
Digimer f120866fa5 * Fixed merge issues. 6 years ago
Digimer 1079c65687 * Finished working on the log in and log out functions of Striker. Still super basic, but it works! 6 years ago
Digimer 3fce021498 * Making good progress on the internal login/account methods. The user can now log in, though the first reload logs them right back out. Lots still broken. 6 years ago
Digimer a6a5df2496 * Fixed a bug in 'home' not displaying the 'offline' message when it was waiting for a reconfig. 6 years ago
Digimer 66928edb06 * Added logic to check if Striker is configured and, if so, enter main functions. 6 years ago
Digimer c208d676cb * Finished the jquery (for now) to pre-fill the step 2 form. 6 years ago
Digimer 2ea506b4d9 * Got the jquery to fill the form IP data is set. 6 years ago
Digimer 97441831e6 * Started reworking the jquery to read through the network.json file and parse the form, instead of looping through the form and reading the json file repeatedly. 6 years ago
Digimer 0272ba8b80 * Moved the network default values into the main defaults hash. 6 years ago
Digimer 38f81fd8eb * Started work on using jquery to more intelligently set the config step 2 form. 6 years ago
Digimer 86259a4783 * Got the network.xml and network.json files fixed and parsable. 6 years ago
Digimer b53f688048 * Got tools/anvil-configure-network to the point where it loads the job details. 7 years ago
Digimer 7694847160 * Fixed a bug in Database->insert_or_update_jobs(). 7 years ago
Digimer c21b326f1a * Changed all methods to take a 'debug' argument for setting log level on calls. 7 years ago
Digimer 5976e7ea32 * Adding a new Database->insert_or_update_jobs() method and associated database tables. 7 years ago
Digimer 886331c756 * Created the new System->get_ips method which records IP addresses, subnet masks and MAC addresses of interfaces as reported by 'ip addr'. 7 years ago
Digimer 27fe291524 * Started work on config_step3. 7 years ago
Digimer 8a2c97c6c5 * Added a check to determine if the defined gateway in config step 2 matches one of the network and throws and error if not. 7 years ago
Digimer bb89254207 * Added an undocumented (does this count?) parameter 'log_level' to Database->insert_or_update_variables() to allow per-call logging levels. 7 years ago