28 Commits (a3143ce1723c3cc0a132ed16468b4c2a02d19962)

Author SHA1 Message Date
Digimer 32f29861a4 * Fixed a bug (maybe) that was causing users to get immediately logged out of the WebUI 3 years ago
Digimer daca6c887b * This contains a fairly major change to how time stamps are handled. All INSERT and UPDATE calls now generate a new timestamp via Database->refresh_timestamp, instead of using 'sys::database::timestamp'. This was done in responce to finding a bug where tables in a database differed in both counts of public and private schemas (ip_addresses table, specifically) that failed to resync because the timestamps were re-used too often. 3 years ago
Digimer 24ec17f8f7 * Added a new parameter called 'sensitive' to Database->connect() that returns after connections before any ancilliary checks are done, minimizing connect time. 3 years ago
Digimer fe7cdb18fb * Updated all methods to add (or fix) logging the method entry. 4 years ago
Digimer de43ea3ac1 * Renamed all Validate->is_X to Validate->X. Also created Validate->ipv6() to validate IPv6 addresses using Data::Validate::IP (and added it as a requirement to the .spec base RPM). 4 years ago
digimer 42c9099033 * Renamed all Validate->is_X to Validate->X. Also created Validate->ipv6() to validate IPv6 addresses using Data::Validate::IP (and added it as a requirement to the .spec base RPM). 4 years ago
Digimer 818ef23634 * Moved the fences_unified_metadata file from /tmp, which apache can not read, to /var/www/html/. 5 years ago
Digimer d4a5882bb4 * Created Validate->is_port() to validate TCP/UDP ports 5 years ago
Digimer c3869a2ff6 * Started adding in front-end support for managing email servers and alert recipients. Added the new 'Email' module to (later) habdle all email-related tasks. 5 years ago
Digimer b8816382b8 * Created Log->is_secure() to more cleanly handle conditional logging of strings with passwords or passwords directly. Updated log entries that could benefit from this method to use it. 5 years ago
Digimer 324ef351fe * Updated DRBD->get_devices() to properly identify the peer node, when run on an actual node in the cluster (not DR or Striker). 5 years ago
Digimer 27ba3dcbb9 * Created Database->read() to store and return the handle to whichever database is used for read operations. Also created Database->quote that uses ->read to access the DBI 'quote' method more cleanly. Updated all calls to use these new methods. 6 years ago
Digimer 02c4fe1fa1 * Updated all perl module modes to remove the executable bit. 6 years ago
Digimer 43035ba038 * Fixed a subtle an annoying autovivication bug in Database->write(). 6 years ago
Digimer 9bd5dd9a18 Revert to bfc2204. 6 years ago
Digimer a8369170b4 This is the start of a major change! 6 years ago
Digimer 40aac1d5f6 * Finished adding the 'sessions' database table and associated code. 6 years ago
Digimer b2367bb90b * Started working on moving user sessions to the new 'sessions' table. This is still a work in progress. 6 years ago
Digimer c6e781d80b * Adding database peers (local and bidirectional) now works! 6 years ago
Digimer 51c9d2952d * Fixed a bug with caching database handles in the recent database updates causing Database->write to stop working. 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 1539ef72a8 * Fixed how passwords are supressed in logs. 6 years ago
Digimer 1079c65687 * Finished working on the log in and log out functions of Striker. Still super basic, but it works! 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 6f3537807a * Added Account->read_details to collect data on the given user name. 7 years ago
Digimer 59245a4f0b * Created Account->validate_password to test that a user name and password is valid. 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