Frug/AJAX-Chat — pull request #177 by stevleibelt (2014-08-21 20:45:42+00:00)
Title: Implemented Command Line Tools

I've implemented some command line tools.
Take a look below "bin" to see all available commands.

Beside a basic installation help, there is also a backup, restore, upgrade, user, channel and verify installation command.
I've also tried to create this commands as reusable as possible (also with in mind to use them in http environment).
The user and channel commands are the working horses for this pull request. Both commands can handle actions "add", "delete", "edit" and list.

Furthermore, I've created a bootstrap and a autoLoader file that supports the chat files also.

Why I did it? Well, because it easy up user management and I have something in mind for the upgrade command already.
If you are pleased with my implementation, I will go on and create a new pull request afterwards that changes the way how passwords are stored right now. I would like to store them in sha1 checksum with a salted hash.
Thats the point where the upgrade command comes into play. I could adapt the chat file and implement a migration script that migrates the existing user passwords to the new checksum way.
Right now, I'm using this checksum way on my installation, meaning I have to adapt the code after an update manually.

Pretty much, thats it so far. I have not touched any code and pushed the code quality as far as possible with php 5.

Hope you like it.