530 Commits (462ec6d903843c0f457affde867b50b656bdb89d)

Author SHA1 Message Date
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 962ff89fc5 * Fixed a bug in Words->parse_banged_string() where values with commas was breaking the processing of the string of variable/value pairs. 6 years ago
Digimer 423fda2ad6 * Fixed a bug in anvil-daemon where rebooting was clearing the reboot-needed flag. 6 years ago
Digimer eaca4c885f * Updated tools/anvil-daemon to use the JSON module to build the JSON strings going into jobs.json, instead of doing it manually. 6 years ago
Digimer 831ff14d93 * Created Words->parse_banged_string to process strings in the format '<key>[,!!var1!value1!!,!!var2!value2!!,...,!!varN!valueN!!'. Still testing this. 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 bd862b2e5e * Made more progress on anvil-daemon's invokation of jobs. 6 years ago
Digimer 633da25d07 * Fixed a bug in Database->connect where an empty 'database::<key>' would cause an error. Updated Database->disconnect to delete the 'database' hash key as part of the same fix. 6 years ago
Digimer 18455ab5f7 * Created System->reboot_needed() to set/clear/report if a reboot is needed. 6 years ago
Digimer 0191f93bad * Created tools/anvil-maintenance-mode to enable/disable maintenance mode from the command line. 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 28f3aaae43 * Disabled caching and forcing read in Storage->read_config. 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. 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 1f8c27ccfb * Updated Remote->call to use timeout again. 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
Digimer 458ef94851 * Fixed a bug where the config page would be shown while a job was pending. 6 years ago
Digimer 9e8ce6dec4 * Fixed up security handling. 6 years ago
Digimer 2c52f649ba * Fixed the path of anvil.sql 6 years ago
Digimer 1539ef72a8 * Fixed how passwords are supressed in logs. 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 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 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 76725e9160 * Fixed a bug in Database->insert_or_update_bonds() that caused unneeded UPDATE. 6 years ago
Digimer d600a635d4 * Made 'network_interface_bridge_uuid' allow NULL entries allow NULL entries. 6 years ago
Digimer 67c4f50bdc * Updated Database->insert_or_update_network_interfaces() to work like other similar methods. Also re-enabled NULL for 'network_interface_bond_uuid' as an empty string can't be used on a 'uuid' column type and it's not always set. 6 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 66f280c9a7 * Added Database->insert_or_update_bridges() and finished Database->insert_or_update_bonds (both need testing still). 7 years ago
Digimer d6c94e9d28 * Started working on Database->insert_or_update_bonds. 7 years ago
Digimer a6e50f15a9 * Updated System->get_ips() to determine which interface is the default gateway and set the gateway IP and active DNS servers. 7 years ago
Digimer 4e6f492c4f * Updated Log->variables to add dots when printing a variable/value pair per line so that variables line up vertically. 7 years ago
Digimer 2163739b93 * Created Storage->update_config that will update a variable in anvil.conf (locally or remotely). 7 years ago
Digimer 6f3537807a * Added Account->read_details to collect data on the given user name. 7 years ago
Digimer 59245a4f0b * Created Account->validate_password to test that a user name and password is valid. 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