fit to libev.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
prepare for asyn mongo access.
Signed-off-by: Daogang Tang <daogangtang@gmail.com>
add feature for async interface to mongodb.
Signed-off-by: Daogang Tang <daogangtang@gmail.com>
add disable_default_session_management config parameter.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
fix some trivials.
Signed-off-by: Daogang Tang <daogangtang@gmail.com>
add some prompt when handler is error.
Signed-off-by: Daogang Tang <daogangtang@gmail.com>
1. fix a bug in redis slaves config;
2. rename redis connection param as host from ip.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
add RESTFUL style url name feature. Now you can use

req.REST to access these params.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
1. add mongo db module;
2. seperate the redis connection in bamboo_handler.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
change the filters middleware form.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
1. fix a bug in mongo connection return value;
2. change redis' config 'which', rename to 'db'.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
temporarily change to original main to debug.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
change the default upload file path prefix 'media/uploads/' to '/uploads/'
Signed-off-by: Daogang Tang <daogangtang@gmail.com>
fix a bug in export path.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
add _, - characters to RESTful URL matching.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
add form parse for PUT, DELETE.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
1. remove the lgserver's config file reading;
2. add a pair of cmd zmq channels for bamboo;
3. add clear_view_cache cmd to bamboo, to let it reload those view caches.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
1. make session as a seperate middleware for bamboo;

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
remove left Session ref in bamboo_handler.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>
1. fix bug in cmds.lua, shell's location;
2. fix socket lib missing in model.lua;
3. fix session keeping bug.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>