2622 Commits (4aa42e680dffa7245874de5181371c3a6aa9acad)
 

Author SHA1 Message Date
Digimer 8a2c97c6c5 * Added a check to determine if the defined gateway in config step 2 matches one of the network and throws and error if not. 7 years ago
Digimer bb89254207 * Added an undocumented (does this count?) parameter 'log_level' to Database->insert_or_update_variables() to allow per-call logging levels. 7 years ago
Digimer 3d385a5731 * Updated the configuration step 2 to properly show interface link changes again (had to add the network status XML generator back), and added displaying the 'up order', which tells the order that interfaces last cycles. This allows a user to unplug and plug the network cables in without watching the screen and be able to determine which interfaces cycled in a given order. This makes it easier to map MAC addresses to desired roles. 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 65636100c6 * Adding support of network routing to config page2. 7 years ago
Digimer 30f87cd7c4 * Created Template->select_form() that builds a <select> form entry based on the old Web->build_select from v2. 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 c4a857e8d8 * Created Validate->is_alphanumeric, ->is_domain_name and ->is_positive_integer. 7 years ago
Digimer 3ac52e1724 * Added binary uploading to Get->cgi and moved the variable store to 'cgi::<variable>::value'. Also added "pretty" variable logging for passed-in CGI variables. 7 years ago
Digimer c962a9ac79 * Added the loading of the CGI module when the environment is set to 'html'. 7 years ago
Digimer fdc8850dfe * A touch of work on the new Striker setup questionair. 7 years ago
Digimer 0acb2c8e18 * Starting work on the Striker configuration workflow. 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 0af03deca9 * Fixed a problem with resync'ing a table with a host_uuid column. 7 years ago
Digimer e68ebe31a0 * Fixed a problem in the resync code where differing time zones on two DB servers caused their time stamps to appear different. 7 years ago
Digimer 1d1258e8b5 * Resync'ing tables works!! (Well, kind of, loooots more testing needed). 7 years ago
Digimer 1aefa7fb8a * Made more progress on the resync code. 7 years ago
Digimer 21694716e8 * Made more progress on the automatic DB resync code. It now pulls the table columns and reads the data from the DB. 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 31dddf95b0 * Created System->_match_port_to_service that matches a TCP or UDP port to a firewalld service name, if possible. 7 years ago
Digimer 9b8922b530 * Created System->is_local that takes a hostname or IP address and returns '1' if that matches the local host or one of the local IPs. 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. 8 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 4aff8a1722 * Fixed bad calls to $an->_hostname and $an->_short_hostname. 8 years ago
Digimer a932b44d28 * Fixed a few more problems with the SQL schema and setting up the database when needed. 8 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. 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 13ae1f1701 Some more work on the database (and related methods). Still a long way from working. 8 years ago
Digimer 3ea562a79c Note: Broken Commit 8 years ago
Digimer e3f782a60c * Finished getting the unit tests caught up with the AN::Tools module methods. 8 years ago
Digimer 6b5185fe61 * Added a lot more testing. 8 years ago
Digimer 367eb1a12f * Some more work done to testing. 8 years ago
Digimer edf85511f4 * Did more work on Tools.t tests. 8 years ago
Digimer 642e162395 * Added a bunch of tests to Tools.t, though many more tests still to add. 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