3174 Commits (942c4c94bfcf1267ced2df1a0dff259e2cd3a6c6)
 

Author SHA1 Message Date
Digimer 6e19d45845 * Updated Template->get to print a useful error message of a template is not found in a file. 7 years ago
Digimer 19672f8b7c * Started work on the Striker menus, adding mechanisms for "back" and "refresh". 7 years ago
Digimer f120866fa5 * Fixed merge issues. 7 years ago
Digimer 96bda1d329 Merge branch 'master' of github.com:digimer/anvil 7 years ago
Digimer 1079c65687 * Finished working on the log in and log out functions of Striker. Still super basic, but it works! 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 a6a5df2496 * Fixed a bug in 'home' not displaying the 'offline' message when it was waiting for a reconfig. 7 years ago
Digimer 66928edb06 * Added logic to check if Striker is configured and, if so, enter main functions. 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 a3d97e4c92 * Updated anvil-update-states to mark interfaces, bonds, bridges and IP addresses as DELETEd when they disappear. 7 years ago
Digimer c208d676cb * Finished the jquery (for now) to pre-fill the step 2 form. 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 86259a4783 * Got the network.xml and network.json files fixed and parsable. 7 years ago
Digimer 66b5c815d0 * Finished recording IP address information in network.json/xml. 7 years ago
Digimer 12afcb9731 * Started working on adding IP data to network.json (and .xml). 7 years ago
Digimer 1245cfc547 * Re-enabled writing of the network.json and network.xml files. 7 years ago
Digimer 76725e9160 * Fixed a bug in Database->insert_or_update_bonds() that caused unneeded UPDATE. 7 years ago
Digimer d600a635d4 * Made 'network_interface_bridge_uuid' allow NULL entries allow NULL entries. 7 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. 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 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 b8bb781c5e * Added the new tools/anvil-cycle-vm-nics, which is the updated version for m2's cycle-vm-nics.pl. 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 b53f688048 * Got tools/anvil-configure-network to the point where it loads the job details. 7 years ago