898 Commits (1a0e3612dc014504c909a03ebb24f70454df866a)

Author SHA1 Message Date
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
Digimer 5f06752167 * Finished updating tools/anvil-prep-database to inject the new, local database entry into anvil.conf. This tool works again. 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 eafd4fd3f7 * Fixed a couple bugs to get System->change_shell_user_password() working. 7 years ago
Digimer b42d4a6fea * Tested that the new remote Storage->read_file() works and removed some test code. 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
Digimer e4f7bcf661 * Created Storage->backup() that makes a backup of the given file under the Anvil! backup directory with a time-stamped suffix and preserving the original directory path. 7 years ago
Digimer c88cbf4531 * Got tools/anvil-configure-network writing the first network config file body. 7 years ago
Digimer d6846841a2 * Added the 'job_status' column to the 'jobs' table where progress to be shown to users is stored. 7 years ago
Digimer d86750ba01 * Created System->hostname() to get and optionally set the hostname (static and pretty). 7 years ago
Digimer 217dfaedc7 * Created System->pids() to read in all process data and, optionally, return an array reference of PIDs matching a string (program name). 7 years ago
Digimer 7694847160 * Fixed a bug in Database->insert_or_update_jobs(). 7 years ago
Digimer e38bc826dd * Fixed a bug in resync_databases where undefined column values weren't being handled properly. 7 years ago
Digimer 0370d6acef * Fixed a bug in the network_interfaces SQL procedure that broke how data was recorded in the history schema. 7 years ago
Digimer 527848de97 * Added logging to a plain file to aid in debugging. We will revert to journald logging before first release. 7 years ago
Digimer c21b326f1a * Changed all methods to take a 'debug' argument for setting log level on calls. 7 years ago
Digimer 6f4df4ed22 * Changed 'database::X::ping_before_connect' to 'database::X::ping' and made the value be the actual timeout to wait for pings when trying to connect to a database. 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 f1bd4b99ca * Fixed more issues with anvil-prep-database. 7 years ago
Digimer d864bd6dac * Moved words.xml to /usr/share/anvil/ 7 years ago
Digimer d03213b860 * Fixed some string and path issues from the 'anvil' merger. 7 years ago
Digimer 665f2217d9 * Added 'jobs' to the core tables list. 7 years ago
Digimer 5d78ca6624 * Finished (but still need to test) Database->insert_or_update_jobs(); 7 years ago
Digimer 5976e7ea32 * Adding a new Database->insert_or_update_jobs() method and associated database tables. 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 1c3b3c2c9e * Fixed a bug in calling ethtool in tools/anvil-update-states and added conditionals to reading the data files. 7 years ago
Digimer 2b9c6c26dc * Fixed a couple remaining issues from the recent merger. Specifically, '$$anvil' was fixed from a bad regex and the path/names of our tools were fixed. 7 years ago
Digimer 1cb42080c3 ** Major Changes ** 7 years ago