34 Commits (7e63cfbcc4865ab2ba4c2ac3dfbb2e4bba24dbd0)

Author SHA1 Message Date
Digimer 1539ef72a8 * Fixed how passwords are supressed in logs. 7 years ago
Digimer ee649ff2dd * Started work on the Striker sync function. It shows (without formatting yet) the ways the local dashboard can be accessed. 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 0272ba8b80 * Moved the network default values into the main defaults hash. 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 6f3537807a * Added Account->read_details to collect data on the given user name. 7 years ago
Digimer 04cbec30a0 * Created Database->insert_or_update_users() to add/edit users. 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 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 d6846841a2 * Added the 'job_status' column to the 'jobs' table where progress to be shown to users is stored. 7 years ago
Digimer 7694847160 * Fixed a bug in Database->insert_or_update_jobs(). 7 years ago
Digimer e38bc826dd * Fixed a bug in resync_databases where undefined column values weren't being handled properly. 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 527848de97 * Added logging to a plain file to aid in debugging. We will revert to journald logging before first release. 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 fe4a1d5a1c * Working on timing for DB connections. 7 years ago
Digimer f72d8e0f70 * Added a version file and Tools->_anvil_version() which reports the version in it. 7 years ago
Digimer 2170c00add * Added the 'debug' parameter to System->check_alert_sent. Also updated it to use 'alert_sent_uuid'. 7 years ago
Digimer f1bd4b99ca * Fixed more issues with anvil-prep-database. 7 years ago
Digimer d03213b860 * Fixed some string and path issues from the 'anvil' merger. 7 years ago
Digimer 5d78ca6624 * Finished (but still need to test) Database->insert_or_update_jobs(); 7 years ago
Digimer 5976e7ea32 * Adding a new Database->insert_or_update_jobs() method and associated database tables. 7 years ago
Digimer 1cb42080c3 ** Major Changes ** 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 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 c4a857e8d8 * Created Validate->is_alphanumeric, ->is_domain_name and ->is_positive_integer. 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 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 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