461 Commits (a3143ce1723c3cc0a132ed16468b4c2a02d19962)

Author SHA1 Message Date
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 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 b53f688048 * Got tools/anvil-configure-network to the point where it loads the job details. 7 years ago
Digimer 7694847160 * Fixed a bug in Database->insert_or_update_jobs(). 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 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 f72d8e0f70 * Added a version file and Tools->_anvil_version() which reports the version in it. 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 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 1cb42080c3 ** Major Changes ** 7 years ago
Digimer fa11459543 * Updated Log->entry to use the new Log::Journald method, which improved writing to log speed at high log levels dramatically (ie: 33 seconds -> 1 seconds). 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 96670756ab * Created Database->insert_or_update_network_interfaces to handle pushing data into update_network_interfaces. 7 years ago
Digimer c962a9ac79 * Added the loading of the CGI module when the environment is set to 'html'. 7 years ago
Digimer ce607238f8 * Fixed Database->_find_behind_databases(), making it a lot simpler in the process. 7 years ago
Digimer 215d96b983 * Added a check to see if firewalld is running and, if not, start it in System->manage_firewall 7 years ago
Digimer cd5a78091f * Started work on managing the firewall in System. 7 years ago
Digimer 57f1b60bdb * Fixed several minor issues and silenced a lot of logging. 7 years ago
Digimer c6ad16a7a1 * Added a timeout to System->ping to reduce the delay caused by the host being unable to resolve a hostname. 7 years ago
Digimer 9936554cdb * Created Tools->nice_exit 7 years ago
Digimer 13352bad6d * Moved most of 'scancore-database' into the new Database->configure_pgsql() method. I had renamed that script, but now it will be removed soon. 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 66a984adbc NOTE: Certainly a broken commit. 7 years ago
Digimer 13ae1f1701 Some more work on the database (and related methods). Still a long way from working. 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 edf85511f4 * Did more work on Tools.t tests. 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 f948d7a762 * Updated Log->entry() to escape the finished string just prior to calling logger. 7 years ago
Digimer bea6bc5e69 * Updated Tools->new() to check if it is being invoked in a browser and set the environment appropriately. It also sets the PWD environmental variable to the DOCUMENT_ROOT variable. 7 years ago
Digimer 753d7a3ba6 * Created the new System.pm module with the initial read_file() method that reads files. 8 years ago
Digimer 421d970f22 * Added the new 'tools.conf' which can be used to override AN::Tools default values. 8 years ago
Digimer 7b8cb22de0 * Fixed the initial call to Storage->search_directories() in AN::Tools->new() to properly prep the search directory list. 8 years ago
Digimer dab7b17517 * Fixed the double-encoding messages when using XML::Simple to read in words files. Our use for XML is simple, so despite XML::Simple being discouraged, it suits our needs well. 8 years ago
Digimer ec307bc019 * Working on a new way of handling words files. 8 years ago