diff --git a/CHANGELOG b/CHANGELOG index 97effcd4b..7bafff920 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,6 +6,22 @@ GitHub, at http://github.com/samilliken/openDCIM/issues, where you can also down the latest development version. However, it is not advised to pull from GitHub unless you are simply testing, as some functionality can break between releases. +Changes in 19.01 +---------------- +* Ability to specify where the pictures and drawings folders are (easier for Containers) +* Ability to specify most of the db.inc.php settings through environment variables (easier for Containers) +* Added in a new Custom Search block which will let you search on any field of the device model +* Added API POST and PUT routes for creating/updating cabinets +* Added routes to retrieve and set audit logs via the API +* Added in an index to the fac_GenericLog table to help speed up queries +* Added a cleanup routine for logs (optional) to trim entries older than specified date +* Added a configuration item for days beyond 'Install Date' for a reservation to be held +* Added a report to show current reservations and the specified 'Install Date' +* Added a configuration item allowing site admin to specify if Warning/Critical sensor polls should be emailed +* Added the ability to pull in custom reports to the Reports page (see Wiki) +* Fixed a CSS issue that kept the RowView from properly displaying Department colors +* A few bug fixes, per usual + Changes in 18.02 ---------------- * Enhanced LDAP integration, with better support for Active Directory environments diff --git a/create.sql b/create.sql index 23d3fd4eb..3cc0077ec 100644 --- a/create.sql +++ b/create.sql @@ -396,7 +396,9 @@ CREATE TABLE `fac_GenericLog` ( Property varchar(40) NOT NULL, OldVal varchar(255) NOT NULL, NewVal varchar(255) NOT NULL, - Time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP + Time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + KEY `Object` (`ObjectID`), + KEY `ObjectTime` (`ObjectID`, `Time`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- @@ -789,7 +791,7 @@ CREATE TABLE fac_Config ( ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; INSERT INTO fac_Config VALUES - ('Version','18.02','','',''), + ('Version','19.01','','',''), ('OrgName','openDCIM Computer Facilities','Name','string','openDCIM Computer Facilities'), ('ClassList','ITS, Internal, Customer','List','string','ITS, Internal, Customer'), ('SpaceRed','80','percentage','float','80'), @@ -876,6 +878,7 @@ INSERT INTO fac_Config VALUES ('LDAPBindDN', 'cn=%userid%,ou=users,dc=opendcim,dc=org', 'DN', 'string', 'cn=%userid%,ou=users,dc=opendcim,dc=org'), ('LDAPBaseSearch', '(&(objectClass=posixGroup)(memberUid=%userid%))', 'DN', 'string', '(&(objectClass=posixGroup)(memberUid=%userid%))'), ('LDAPUserSearch', '(|(uid=%userid%)(sAMAccountName=%userid%))', 'DN', 'string', '(|(uid=%userid%)(sAMAccountName=%userid%))'), + ('LDAPDebug', 'enabled', 'Enabled/Disabled', 'string', 'disabled'), ('LDAPSessionExpiration', '0', 'Seconds', 'int', '0'), ('LDAPSiteAccess', 'cn=openDCIM,ou=groups,dc=opendcim,dc=org', 'DN', 'string', 'cn=openDCIM,ou=groups,dc=opendcim,dc=org'), ('LDAPReadAccess', 'cn=ReadAccess,cn=openDCIM,ou=groups,dc=opendcim,dc=org', 'DN', 'string', 'cn=ReadAccess,cn=openDCIM,ou=groups,dc=opendcim,dc=org'), @@ -911,7 +914,12 @@ INSERT INTO fac_Config VALUES ("LDAPPhone3", "pager", "string", "string", "pager"), ("drawingpath", "drawings/", "string", "string", "drawings/"), ("picturepath", "pictures/", "string", "string", "pictures/"), - ("RackRequestsActions", "disabled", "Enabled/Disabled", "string", "disabled") + ("RackRequestsActions", "disabled", "Enabled/Disabled", "string", "disabled"), + ('logretention', '0', 'days', 'integer', '0'), + ('reportspath', 'assets/reports/', 'string', 'string', 'assets/reports/'), + ('ReservationExpiration', '0', 'days', 'integer', '0'), + ('PowerAlertsEmail', 'disabled', 'Enabled/Disabled', 'string', 'disabled'), + ('SensorAlertsEmail', 'disabled', 'Enabled/Disabled', 'string', 'disabled') ; -- diff --git a/install.php b/install.php index 23ab0a4a1..a3af13502 100644 --- a/install.php +++ b/install.php @@ -1,5 +1,5 @@