203 Commits (a3143ce1723c3cc0a132ed16468b4c2a02d19962)

Author SHA1 Message Date
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. 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 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 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. 6 years ago
Digimer 2c52f649ba * Fixed the path of anvil.sql 6 years ago
Digimer eae72ad582 * Rolled back to use stock postgres. 6 years ago
Digimer b87f6c63e2 * Fixed the postgres service variable. 6 years ago
Digimer 8cee9cdcc2 * Updatedb the anvil.spec to be smarter about pre and post (and postun). 6 years ago
Digimer 19672f8b7c * Started work on the Striker menus, adding mechanisms for "back" and "refresh". 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 2febb09d72 * Updated anvil-configure-striker to handle network configurations in non-bonded configurations and to remove virsh bridges. 6 years ago
Digimer 2ea506b4d9 * Got the jquery to fill the form IP data is set. 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 38f81fd8eb * Started work on using jquery to more intelligently set the config step 2 form. 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 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
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 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 527848de97 * Added logging to a plain file to aid in debugging. We will revert to journald logging before first release. 7 years ago
Digimer f72d8e0f70 * Added a version file and Tools->_anvil_version() which reports the version in it. 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 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