215 Commits (e0b640f24cb1e82dc5b76908e024233189b96753)

Author SHA1 Message Date
Digimer 4b66379aaa * Added enabling/disabling 'Install Target' feature to Striker's WebUI. 6 years ago
Digimer 7f5ac528ab * Got tools/anvil-manage-install-target to now properly build the install repo source! Installing guests is now working, at a base level. Still need to add Anvil! specific stuff, and firewall support. Also decided to emulate the upstream 'Packages' directory structure and moved all packages in to subdirectories based on the first letter of the package. 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 b815af03df * Created a new RPM (different repo; anvil-striker-extra) for files needed for the Install Target feature but not available in (or reasonably extracted from) RPMs. 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 07c3b405ad * Starting work on adding "Install Target" function (will likely rename this, but basic same function as IT in m2). 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 bfc2204352 * Added a row-count check when deciding if a DB resync is needed. 6 years ago
Digimer 40aac1d5f6 * Finished adding the 'sessions' database table and associated code. 6 years ago
Digimer c6e781d80b * Adding database peers (local and bidirectional) now works! 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 15994727fb * Quick space fix 6 years ago
Digimer 423fda2ad6 * Fixed a bug in anvil-daemon where rebooting was clearing the reboot-needed flag. 6 years ago
Digimer d147e10552 * Changed the call to reboot after OS update to instead set a reboot required flag. 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 252fbf21ef * Fixed a bug where '$anvil->' wasn't referencing '$anvil->data->' when it should have been. 6 years ago
Digimer 0fa3c42f2f * Fixed a bug where setting the debug level to 3 caused a deep recursion and a system hang. 7 years ago
Digimer 839bfc8a2d * Updated Striker to better handle when host.uuid hasn't been generated yet on brand new installs. 7 years ago
Digimer b24b20ec89 * Working on saving the new peer. Made progress on, but not yet finished, sanity checking the new peer form values. 7 years ago
Digimer 56045214f2 * Fixed a problem with tools/anvil-prep-database being called from the anvil-striker RPM where the local DB password wasn't making it into the hash in time to set the DB password. 7 years ago
Digimer 2c52f649ba * Fixed the path of anvil.sql 7 years ago
Digimer eae72ad582 * Rolled back to use stock postgres. 7 years ago
Digimer b87f6c63e2 * Fixed the postgres service variable. 7 years ago
Digimer 8cee9cdcc2 * Updatedb the anvil.spec to be smarter about pre and post (and postun). 7 years ago
Digimer 19672f8b7c * Started work on the Striker menus, adding mechanisms for "back" and "refresh". 7 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. 7 years ago
Digimer 2febb09d72 * Updated anvil-configure-striker to handle network configurations in non-bonded configurations and to remove virsh bridges. 7 years ago
Digimer 2ea506b4d9 * Got the jquery to fill the form IP data is set. 7 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. 7 years ago
Digimer 0272ba8b80 * Moved the network default values into the main defaults hash. 7 years ago
Digimer 38f81fd8eb * Started work on using jquery to more intelligently set the config step 2 form. 7 years ago
Digimer 870a2eb803 * Updated the SQL schema to convert all 'boolean' to 'integer' (using 0 for false). Also made all columns NOT NULL, given they should all always have an empty string. The logic behind this was to standardize the code and avoid bugs. 7 years ago
Digimer 39c06f364f * Got tools/anvil-configure-striker updating the system passwords now. 7 years ago
Digimer b0232c6180 * Made the sysfs directory references static. 7 years ago
Digimer 04cbec30a0 * Created Database->insert_or_update_users() to add/edit users. 7 years ago
Digimer d110bff224 * Created Account->encrypt_password() for creating encrypted hashes of passwords. Set the default algorithm to sha256, a ~16 byte random salt and 500,000 re-encryptions (which takes a total of about 0.7 seconds on an Intel i7-6820HQ CPU). 7 years ago
Digimer 9a37f66468 * Decided to abandon using apache security and to integrate it into Striker itself. This will allow for layers of access, easier account sync'ing, etc. Further, there is no proper way to handle logging out on apache, and they use md5 * 1000 iterations (with a salt, to be fair) for security... Not exactly the strongest. 7 years ago
Digimer de333704b5 * Created System->change_apache_password() to update (and enable) Striker's apache user. For now, it simply enables it in httpd.conf, it doesn't actually set/update the password. 7 years ago
Digimer eafd4fd3f7 * Fixed a couple bugs to get System->change_shell_user_password() working. 7 years ago
Digimer 188cab5ec0 * Fixed a few bugs with how rsync is handled, specifically in the rsync wrapper script. 7 years ago
Digimer ea43896fca * Created the new Remote module, and in it, moved System->remote_call to Remote->call() and created the new add_target_to_known_hosts() method (and two private helper methods). These are adapted from the m2 code. 7 years ago
Digimer a294c6c4fa * Updated the database components to use the name 'anvil' and the user 'admin'. The 'database::user' and 'database::name' variables are still supported, but now hidden. 7 years ago