klaussilveira/gitlist — pull request #117 by lyrixx (2012-07-26 14:31:02+00:00)
Title: Cleaning

Hello.

First : you made a very cool app.
Here is my contribution (more to come ;))

I would like to add consistency into your app.

* I Fixed a problem with git if there is a custom git config : "color.ui = true"
* I removed the config.ini file. It's not in the silex philosophy. Silex prefers flat file. More over, it's now very more customizable (think for dev / prod / test environment).
* The `Application` class do not need the take the path of the root project. (if it is really needed, i can create getter / setter)
* I moved the front controller `index.php` into the `web/` folder. It's more secure. The web server should only "show" the content of the web folder. (see symfony standard edition, silex skeleton, zend app, symfony 1 app)
* I added another front controller for the dev env : `index_dev.php`
* I added namespace to the test, and I move them into the `src/` folder
* The application does not catch an exception in dev env.
* I fix the Coding standard (according to PSR0, 1, 2)
* I did not add any new features, except cleaning.
* I move the nginx conf to the `ressources` folder

Then, I think we have to clean the `.gitignore`. People have to add to their global .gitignore files they don't want to see. (see https://help.github.com/articles/ignoring-files @ excludesfile)

Of course all tests are always OK