Skip to content

Commit

Permalink
Ready for liftoff.
Browse files Browse the repository at this point in the history
Fixed #1132
  • Loading branch information
samilliken committed Mar 4, 2019
1 parent d4a083f commit e5ffa37
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 11 additions & 3 deletions create.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;

--
Expand Down Expand Up @@ -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'),
Expand Down Expand Up @@ -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'),
Expand Down Expand Up @@ -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')
;

--
Expand Down
2 changes: 1 addition & 1 deletion install.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$codeversion="18.02";
$codeversion="19.01";

require_once( "preflight.php" );

Expand Down

0 comments on commit e5ffa37

Please sign in to comment.