161 Commits (a2e2b5b235b36709cd507cafa13315f1b65e808b)

Author SHA1 Message Date
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
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
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 20d3f0e90b * Got some more work done on config_stage2. Working on sanity checking requested IFNs versus available interfaces. 7 years ago
Digimer c962a9ac79 * Added the loading of the CGI module when the environment is set to 'html'. 7 years ago
Digimer 692e3a1d97 * Started work on the database archiving method, but won't be continuing it until enough data is being collected to have a working data set. 7 years ago
Digimer ce607238f8 * Fixed Database->_find_behind_databases(), making it a lot simpler in the process. 7 years ago
Digimer 3ce3a80c98 * Started working on the updated Databse->_find_behind_databases logic. 7 years ago
Digimer b5e7054a33 * Added Scalar::Util->weaken to help avoid memory leaks. 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 eaf900d5c3 * Added a check in System->manage_firewall to check iptables-save for the requested port and return immediately if the requested port is open and the task wasn't 'close'. This speeds up firewall checks substantially. 7 years ago
Digimer c1b21f96be * Finished updating System->manage_firewall to be much faster than before. 7 years ago
Digimer 189ca3bfce * Created System->_load_firewalld_zones and -> _load_specific_firewalld_zone to more efficiently load information about firewall zones. 7 years ago
Digimer d7fd0c564f * Making good progress of speeding up firewalld stuff. Still room for improvement. 7 years ago
Digimer cd5a78091f * Started work on managing the firewall in System. 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. 8 years ago
Digimer 04f49cdd41 * Fixed a couple problems with an-report-memory and related methods. 8 years ago
Digimer 9936554cdb * Created Tools->nice_exit 8 years ago
Digimer 6080ae0bb3 * Connecting to a database now adds/updates the host in the database via the new Database->insert_or_update_hosts and Database->get_hosts(). 8 years ago
Digimer ae58dd6f12 * This commit gets m3 back to being able to compile. It very likely doesn't actually work yet though. 8 years ago
Digimer 66a984adbc NOTE: Certainly a broken commit. 8 years ago
Digimer 3ea562a79c Note: Broken Commit 8 years ago
Digimer 6b5185fe61 * Added a lot more testing. 8 years ago
Digimer edf85511f4 * Did more work on Tools.t tests. 8 years ago
Digimer 648af130cd * Finished scancore-database. It now setups/repairs postgresql database config, user and scancore database. 8 years ago
Digimer 632f677f04 * Added two new modules; Convert.pm for converting data types and Database.pm for managing all things related to databases. 8 years ago
Digimer 8c42b78e63 * Made some progress on displaying the network state on an HTML page using jquery. It's ugly as sin, but it works. 8 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. 8 years ago
Digimer 753d7a3ba6 * Created the new System.pm module with the initial read_file() method that reads files. 8 years ago
Digimer 0ee84cd31e * Created the new Templates module to handle reading and preparing templates. 8 years ago
Digimer b571fa043e * Created Validate.pm and created Validate->is_uuid for validating UUID strings. 8 years ago
Digimer 0a712f4a9c * Added Get->switches to read in command line switches. 8 years ago
Digimer 421d970f22 * Added the new 'tools.conf' which can be used to override AN::Tools default values. 8 years ago
Digimer dd4fb49e6c * Added the new AN::Log and AN::Get modules. 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 a844136c3b * Added the new Words->string() method to insert variables, data and other strings into the requested 'key'. This is a condensed and cleaned up version of v2's String->get() method. 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
Digimer 4ac37e239f * Added the new AN::Tools::Storage and ::Alert modules (basic as they are at this point).. 8 years ago