pmsipilot/Crew — pull request #117 by srogier (2012-09-04 08:56:37+00:00)
Title: Customize the diff 

It's now possible to set which are the references commit (from and to) for a diff.

* add a mode 'read-only' when from or to are used.
* refactor some php components
* add a table to store each review request

**How to update database: **

```SQL
CREATE TABLE IF NOT EXISTS `request` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`branch_id` int(11) NOT NULL,
`commit` varchar(50) NOT NULL,
`created_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `review_FI_1` (`branch_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;

INSERT INTO request (branch_id, commit, created_at)
SELECT id, last_commit, updated_at
FROM branch;

```