84 Commits (0da55725f33931aa0388e7c8a352fd05d1eb7b34)

Author SHA1 Message Date
Digimer 324ef351fe * Updated DRBD->get_devices() to properly identify the peer node, when run on an actual node in the cluster (not DR or Striker). 5 years ago
Digimer 7e4a170382 * Fixed a bug where Tools.pm->_anvil_version() and Get->host_uuid() were storing values in the wrong $anvil hash. 5 years ago
Digimer 9c0f6b8f79 * Added automatic 'echo return_code:$?' to System->call and Remote->call which is parsed out and returned automatically on all calls. 5 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 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 d9e9884e53 * Created Storage->move_file(). 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 02c4fe1fa1 * Updated all perl module modes to remove the executable bit. 6 years ago
Digimer 4b66379aaa * Added enabling/disabling 'Install Target' feature to Striker's WebUI. 6 years ago
Digimer 6f5541b6fd * Created Get->network() that returns the base network address for a given IP/subnet. 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 a8369170b4 This is the start of a major change! 6 years ago
Digimer 00565b123c * Updates Tools->nice_exit to add the caller name to the exit status. 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 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 1539ef72a8 * Fixed how passwords are supressed in logs. 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 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 a89fb24adf * Changed the Storage->copy() 'target' parameter to 'target_file' to avoid confusion with the often-used 'target' parameter for connecting to remote machines. 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 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 4dcaa524c5 * Made Get->switches take a bare word as a valid switch. 7 years ago
Digimer fe4a1d5a1c * Working on timing for DB connections. 7 years ago
Digimer f72d8e0f70 * Added a version file and Tools->_anvil_version() which reports the version in it. 7 years ago
Digimer 2170c00add * Added the 'debug' parameter to System->check_alert_sent. Also updated it to use 'alert_sent_uuid'. 7 years ago
Digimer d03213b860 * Fixed some string and path issues from the 'anvil' merger. 7 years ago
Digimer 9648e8ba43 * Create tools/anvil-jobs and units/anvil-jobs.service, which is a new daemon that will handle jobs that can take some time to finish. 7 years ago
Digimer bb48c090a7 * Created Get->md5sum() to return the md5sum of the specified file. 7 years ago
Digimer 1cb42080c3 ** Major Changes ** 7 years ago
Digimer ee7b68bfb5 * Moved the logic to write the host UUID cache into Get->host_uuid(). 7 years ago
Digimer 1e7fe44c23 * Updated Get->host_uuid to record the UUID to a cache file when run with root privs, but read from the cache when an unpriv user. 7 years ago
Digimer c4a857e8d8 * Created Validate->is_alphanumeric, ->is_domain_name and ->is_positive_integer. 7 years ago
Digimer 3ac52e1724 * Added binary uploading to Get->cgi and moved the variable store to 'cgi::<variable>::value'. Also added "pretty" variable logging for passed-in CGI variables. 7 years ago
Digimer c962a9ac79 * Added the loading of the CGI module when the environment is set to 'html'. 7 years ago
Digimer b5e7054a33 * Added Scalar::Util->weaken to help avoid memory leaks. 7 years ago
Digimer ae58dd6f12 * This commit gets m3 back to being able to compile. It very likely doesn't actually work yet though. 7 years ago
Digimer 3ea562a79c Note: Broken Commit 7 years ago
Digimer e3f782a60c * Finished getting the unit tests caught up with the AN::Tools module methods. 7 years ago
Digimer 6b5185fe61 * Added a lot more testing. 7 years ago
Digimer 648af130cd * Finished scancore-database. It now setups/repairs postgresql database config, user and scancore database. 7 years ago
Digimer 632f677f04 * Added two new modules; Convert.pm for converting data types and Database.pm for managing all things related to databases. 7 years ago
Digimer b571fa043e * Created Validate.pm and created Validate->is_uuid for validating UUID strings. 8 years ago
Digimer 0a712f4a9c * Added Get->switches to read in command line switches. 8 years ago
Digimer dd4fb49e6c * Added the new AN::Log and AN::Get modules. 8 years ago