Initial import master
authorNeutron Soutmun <neo.neutron@gmail.com>
Thu, 31 May 2012 06:48:20 +0000 (13:48 +0700)
committerNeutron Soutmun <neo.neutron@gmail.com>
Thu, 31 May 2012 06:48:20 +0000 (13:48 +0700)
1398 files changed:
api/auth.js [new file with mode: 0644]
api/index.js [new file with mode: 0644]
api/package.js [new file with mode: 0644]
api/radiussync/.postgresql.js.swp [new file with mode: 0644]
api/radiussync/postgresql.js [new file with mode: 0644]
api/routes/.package.js.swp [new file with mode: 0644]
api/routes/package.js [new file with mode: 0644]
api/routes/user.js [new file with mode: 0644]
api/user.js [new file with mode: 0644]
app.js [new file with mode: 0644]
node_modules/.bin/express [new symlink]
node_modules/.bin/jade [new symlink]
node_modules/connect-mongo/index.js [new file with mode: 0644]
node_modules/connect-mongo/lib/connect-mongo.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/.travis.yml [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/Makefile [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/Makefile [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/bson.cc [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/bson.h [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/index.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/test/test_bson.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/test/test_full_bson.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/test/test_stackless_bson.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/wscript [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/index.js [new file with mode: 0755]
node_modules/connect-mongo/node_modules/mongodb/install.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/admin.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/collection.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/commands/base_command.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/commands/db_command.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/commands/delete_command.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/commands/get_more_command.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/commands/insert_command.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/commands/kill_cursor_command.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/commands/query_command.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/commands/update_command.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/connection_utils.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/repl_set.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/server.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/strategies/ping_strategy.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/connection/strategies/statistics_strategy.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursorstream.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/db.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/gridfs/chunk.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/gridfs/grid.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/gridfs/gridstore.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/gridfs/readstream.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/index.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/utils.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/.travis.yml [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/Makefile [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/README [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/ext/Makefile [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/ext/bson.cc [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/ext/bson.h [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/ext/index.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/ext/wscript [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/install.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/binary.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/binary_parser.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/bson.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/code.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/db_ref.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/double.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/float_parser.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/index.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/long.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/max_key.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/min_key.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/objectid.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/symbol.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/lib/bson/timestamp.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/package.json [new file with mode: 0755]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/browser/bson_test.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/browser/nodeunit.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/browser/suite2.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/browser/suite3.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/browser/test.html [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/node/bson_array_test.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/node/bson_parser_comparision_test.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/node/bson_test.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/node/bson_typed_array_test.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/node/data/test_gs_weird_bug.png [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/node/test_full_bson.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/test/node/tools/utils.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/tools/gleak.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/MIT.LICENSE [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine-html.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine.css [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine.js [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png [new file with mode: 0644]
node_modules/connect-mongo/node_modules/mongodb/package.json [new file with mode: 0755]
node_modules/connect-mongo/node_modules/mongodb/test_gs_working_field_read.tmp [new file with mode: 0644]
node_modules/connect-mongo/package.json [new file with mode: 0644]
node_modules/crypto/.md5.js.un~ [new file with mode: 0644]
node_modules/crypto/.package.json.un~ [new file with mode: 0644]
node_modules/crypto/.sha1.js.un~ [new file with mode: 0644]
node_modules/crypto/History.md [new file with mode: 0644]
node_modules/crypto/Readme.md [new file with mode: 0644]
node_modules/crypto/md5.js [new file with mode: 0644]
node_modules/crypto/package.json [new file with mode: 0644]
node_modules/crypto/sha1.js [new file with mode: 0644]
node_modules/crypto/test/test-crypto.js [new file with mode: 0644]
node_modules/everyauth/.npmignore [new file with mode: 0644]
node_modules/everyauth/Makefile [new file with mode: 0644]
node_modules/everyauth/README.md [new file with mode: 0644]
node_modules/everyauth/documentup.json [new file with mode: 0644]
node_modules/everyauth/example/conf.js [new file with mode: 0644]
node_modules/everyauth/example/server.js [new file with mode: 0644]
node_modules/everyauth/example/views/home.jade [new file with mode: 0644]
node_modules/everyauth/example/views/layout.jade [new file with mode: 0644]
node_modules/everyauth/example/views/login.jade [new file with mode: 0644]
node_modules/everyauth/example/views/register.jade [new file with mode: 0644]
node_modules/everyauth/index.js [new file with mode: 0644]
node_modules/everyauth/lib/expressHelper.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/37signals.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/500px.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/angellist.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/azureacs.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/box.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/dropbox.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/dwolla.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/evernote.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/everymodule.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/facebook.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/foursquare.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/github.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/google.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/googlehybrid.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/gowalla.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/instagram.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/justintv.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/ldap.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/linkedin.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/mixi.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/oauth.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/oauth2.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/openid.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/osm.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/password.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/readability.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/skyrock.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/tripit.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/tumblr.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/twitter.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/vimeo.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/vkontakte.js [new file with mode: 0644]
node_modules/everyauth/lib/modules/yahoo.js [new file with mode: 0644]
node_modules/everyauth/lib/promise.js [new file with mode: 0644]
node_modules/everyauth/lib/restler.js [new file with mode: 0644]
node_modules/everyauth/lib/routeTriggeredSequence.js [new file with mode: 0644]
node_modules/everyauth/lib/step.js [new file with mode: 0644]
node_modules/everyauth/lib/stepSequence.js [new file with mode: 0644]
node_modules/everyauth/lib/utils.js [new file with mode: 0644]
node_modules/everyauth/lib/views/auth-fail.jade [new file with mode: 0644]
node_modules/everyauth/media/37signals.ico [new file with mode: 0644]
node_modules/everyauth/media/500px.ico [new file with mode: 0644]
node_modules/everyauth/media/angellist.ico [new file with mode: 0644]
node_modules/everyauth/media/box.ico [new file with mode: 0644]
node_modules/everyauth/media/dropbox.ico [new file with mode: 0644]
node_modules/everyauth/media/dwolla.ico [new file with mode: 0644]
node_modules/everyauth/media/evernote.ico [new file with mode: 0644]
node_modules/everyauth/media/facebook.ico [new file with mode: 0644]
node_modules/everyauth/media/foursquare.ico [new file with mode: 0644]
node_modules/everyauth/media/github.ico [new file with mode: 0644]
node_modules/everyauth/media/google.ico [new file with mode: 0644]
node_modules/everyauth/media/gowalla.ico [new file with mode: 0644]
node_modules/everyauth/media/instagram.ico [new file with mode: 0644]
node_modules/everyauth/media/justintv.ico [new file with mode: 0644]
node_modules/everyauth/media/linkedin.ico [new file with mode: 0644]
node_modules/everyauth/media/mixi.ico [new file with mode: 0644]
node_modules/everyauth/media/openid.ico [new file with mode: 0644]
node_modules/everyauth/media/osm.ico [new file with mode: 0644]
node_modules/everyauth/media/readability.ico [new file with mode: 0644]
node_modules/everyauth/media/skyrock.ico [new file with mode: 0644]
node_modules/everyauth/media/tripit.png [new file with mode: 0644]
node_modules/everyauth/media/tumblr.jpg [new file with mode: 0644]
node_modules/everyauth/media/twitter.ico [new file with mode: 0644]
node_modules/everyauth/media/vimeo.gif [new file with mode: 0644]
node_modules/everyauth/media/vkontakte.ico [new file with mode: 0644]
node_modules/everyauth/media/yahoo.ico [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/.npmignore [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/LICENSE [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/cache.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/connect.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/http.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/https.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/basicAuth.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/bodyParser.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/compiler.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/cookieParser.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/csrf.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/directory.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/errorHandler.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/favicon.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/limit.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/logger.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/methodOverride.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/profiler.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/query.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/responseTime.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/router.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/session.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/session/cookie.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/session/memory.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/session/session.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/session/store.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/static.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/staticCache.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/middleware/vhost.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/patch.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/public/directory.html [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/public/error.html [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/public/favicon.ico [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/public/icons/page.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_add.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_attach.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_code.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_copy.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_delete.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_edit.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_error.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_excel.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_find.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_gear.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_go.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_green.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_key.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_lightning.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_link.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_paintbrush.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_paste.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_red.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_refresh.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_save.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_acrobat.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_actionscript.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_add.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_c.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_camera.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_cd.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_code.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_code_red.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_coldfusion.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_compressed.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_copy.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_cplusplus.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_csharp.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_cup.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_database.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_delete.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_dvd.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_edit.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_error.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_excel.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_find.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_flash.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_freehand.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_gear.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_get.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_go.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_h.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_horizontal.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_key.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_lightning.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_link.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_magnify.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_medal.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_office.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_paint.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_paintbrush.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_paste.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_php.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_picture.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_powerpoint.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_put.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_ruby.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_stack.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_star.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_swoosh.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_text.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_text_width.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_tux.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_vector.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_visualstudio.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_width.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_word.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_world.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_wrench.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_white_zip.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_word.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/icons/page_world.png [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/lib/public/style.css [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/lib/utils.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/..travis.yml.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/.Readme.md.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/.npmignore [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/.package.json.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/.travis.yml [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/Makefile [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/Readme.md [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/TODO [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/benchmark/bench-multipart-parser.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/example/post.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/example/upload.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/lib/.incoming_form.js.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/lib/file.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/lib/incoming_form.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/lib/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/lib/multipart_parser.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/lib/querystring_parser.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/lib/util.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/.common.js.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/.run.js.un~ [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/common.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/fixture/file/funkyfilename.txt [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/fixture/file/plain.txt [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/fixture/http/no-filename/.generic.http.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/info.md [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/fixture/js/.no-filename.js.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/fixture/js/.special-chars-in-filename.js.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/fixture/js/no-filename.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/fixture/js/special-chars-in-filename.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/fixture/multipart.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/integration/.test-fixtures.js.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/integration/test-fixtures.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/legacy/common.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/legacy/integration/test-multipart-parser.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/legacy/simple/.test-incoming-form.js.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/legacy/simple/test-file.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/legacy/simple/test-incoming-form.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/legacy/simple/test-multipart-parser.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/legacy/simple/test-querystring-parser.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/legacy/system/.test-multi-video-upload.js.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/legacy/system/test-multi-video-upload.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/run.js [new file with mode: 0755]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/system/.test-mail-fixture.js.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/tmp/.empty [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/unit/.test-incoming-form.js.un~ [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/test/unit/test-incoming-form.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/formidable/tool/record.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/mime/LICENSE [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/mime/README.md [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/mime/mime.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/mime/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/mime/test.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/mime/types/mime.types [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/mime/types/node.types [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/.gitmodules [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/.npmignore [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/.travis.yml [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/History.md [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/Makefile [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/Readme.md [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/benchmark.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/examples.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/lib/head.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/lib/querystring.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/lib/tail.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/querystring.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/test/browser/expect.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/test/browser/index.html [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/test/browser/jquery.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/test/browser/mocha.css [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/test/browser/mocha.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/test/browser/qs.css [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/test/browser/qs.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/test/parse.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/node_modules/qs/test/stringify.js [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/test/fixtures/.hidden [new file with mode: 0644]
node_modules/everyauth/node_modules/connect/test/fixtures/directory/.hidden [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/.npmignore [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/History.md [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/Makefile [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/Readme.md [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/debug.js [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/example/app.js [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/example/browser.html [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/example/wildcards.js [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/example/worker.js [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/lib/debug.js [new file with mode: 0644]
node_modules/everyauth/node_modules/debug/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/node-swt/.npmignore [new file with mode: 0644]
node_modules/everyauth/node_modules/node-swt/README [new file with mode: 0644]
node_modules/everyauth/node_modules/node-swt/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/node-swt/lib/swt.js [new file with mode: 0644]
node_modules/everyauth/node_modules/node-swt/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/node-wsfederation/.npmignore [new file with mode: 0644]
node_modules/everyauth/node_modules/node-wsfederation/README [new file with mode: 0644]
node_modules/everyauth/node_modules/node-wsfederation/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/node-wsfederation/lib/wsfederation.js [new file with mode: 0644]
node_modules/everyauth/node_modules/node-wsfederation/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/.npmignore [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/LICENSE [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/Makefile [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/Readme.md [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/examples/express-gdata/server.js [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/examples/express-gdata/views/google_calendars.ejs [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/examples/express-gdata/views/google_contacts.ejs [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/examples/express-gdata/views/layout.ejs [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/examples/term.ie.oauth-HMAC-SHA1.js [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/examples/term.ie.oauth-PLAINTEXT.js [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/lib/_utils.js [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/lib/oauth.js [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/lib/oauth2.js [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/lib/sha1.js [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/tests/oauth.js [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/tests/oauth2.js [new file with mode: 0644]
node_modules/everyauth/node_modules/oauth/tests/sha1.js [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/LICENSE [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/README.md [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/lib/base64.js [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/lib/convert.js [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/lib/xrds.js [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/openid.js [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/sample.js [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/test/openid_fast_tests.js [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/test/openid_integration_tests.js [new file with mode: 0644]
node_modules/everyauth/node_modules/openid/test/xrds_tests.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/LICENSE [new file with mode: 0644]
node_modules/everyauth/node_modules/request/README.md [new file with mode: 0644]
node_modules/everyauth/node_modules/request/forever.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/main.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/mimetypes.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/oauth.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/googledoodle.png [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/run.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/server.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/squid.conf [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/ca.cnf [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/ca.crl [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/ca.crt [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/ca.csr [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/ca.key [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/ca.srl [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/server.cnf [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/server.crt [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/server.csr [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/server.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/ca/server.key [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/npm-ca.crt [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/test.crt [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/ssl/test.key [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-body.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-cookie.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-cookiejar.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-defaults.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-errors.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-headers.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-httpModule.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-https-strict.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-https.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-oauth.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-params.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-pipes.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-proxy.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-qs.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-redirect.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-timeout.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-toJSON.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tests/test-tunnel.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/tunnel.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/uuid.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/vendor/cookie/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/request/vendor/cookie/jar.js [new file with mode: 0644]
node_modules/everyauth/node_modules/restler/.npmignore [new file with mode: 0644]
node_modules/everyauth/node_modules/restler/MIT-LICENSE [new file with mode: 0644]
node_modules/everyauth/node_modules/restler/README.md [new file with mode: 0644]
node_modules/everyauth/node_modules/restler/bin/restler [new file with mode: 0755]
node_modules/everyauth/node_modules/restler/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/restler/lib/multipartform.js [new file with mode: 0644]
node_modules/everyauth/node_modules/restler/lib/restler.js [new file with mode: 0644]
node_modules/everyauth/node_modules/restler/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/restler/test/all.js [new file with mode: 0644]
node_modules/everyauth/node_modules/restler/test/restler.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/.npmignore [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/Cakefile [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/LICENSE [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/README.md [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/lib/xml2js.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/AUTHORS [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/LICENSE [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/README.md [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/big-not-pretty.xml [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/example.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/get-products.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/hello-world.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/not-pretty.xml [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/pretty-print.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/shopping.xml [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/strict.dtd [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/switch-bench.js [new file with mode: 0755]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/test.html [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/examples/test.xml [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/lib/sax.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/buffer-overrun.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/case.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/cdata-chunked.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/cdata-end-split.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/cdata-fake-end.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/cdata-multiple.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/cdata.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/index.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/issue-23.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/issue-30.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/issue-35.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/issue-47.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/issue-49.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/parser-position.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/script.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/self-closing-child-strict.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/self-closing-child.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/self-closing-tag.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/stray-ending.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/trailing-non-whitespace.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/unquoted.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/xmlns-issue-41.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/xmlns-rebinding.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/xmlns-strict.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/xmlns-unbound.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/xmlns-xml-default-prefix-attribute.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/xmlns-xml-default-prefix.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/node_modules/sax/test/xmlns-xml-default-redefine.js [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/package.json [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/src/xml2js.coffee [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/test/fixtures/sample.xml [new file with mode: 0644]
node_modules/everyauth/node_modules/xml2js/test/xml2js.test.coffee [new file with mode: 0644]
node_modules/everyauth/package.json [new file with mode: 0644]
node_modules/everyauth/test/creds.dummy.js [new file with mode: 0644]
node_modules/everyauth/test/facebook.tobi.js [new file with mode: 0644]
node_modules/everyauth/test/password.satisfy.js [new file with mode: 0644]
node_modules/everyauth/test/password.tobi.js [new file with mode: 0644]
node_modules/everyauth/test/promise.test.js [new file with mode: 0644]
node_modules/everyauth/test/twitter.satisfy.js [new file with mode: 0644]
node_modules/everyauth/test/twitter.tobi.js [new file with mode: 0644]
node_modules/everyauth/test/util/browser.js [new file with mode: 0644]
node_modules/everyauth/test/util/expect.js [new file with mode: 0644]
node_modules/everyauth/test/util/jquery-1.7.1.min.js [new file with mode: 0644]
node_modules/everyauth/test/util/satisfy.js [new file with mode: 0644]
node_modules/everyauth/tmp.js [new file with mode: 0644]
node_modules/express/.npmignore [new file with mode: 0644]
node_modules/express/History.md [new file with mode: 0644]
node_modules/express/LICENSE [new file with mode: 0644]
node_modules/express/Makefile [new file with mode: 0644]
node_modules/express/Readme.md [new file with mode: 0644]
node_modules/express/bin/express [new file with mode: 0755]
node_modules/express/index.js [new file with mode: 0644]
node_modules/express/lib/express.js [new file with mode: 0644]
node_modules/express/lib/http.js [new file with mode: 0644]
node_modules/express/lib/https.js [new file with mode: 0644]
node_modules/express/lib/request.js [new file with mode: 0644]
node_modules/express/lib/response.js [new file with mode: 0644]
node_modules/express/lib/router/collection.js [new file with mode: 0644]
node_modules/express/lib/router/index.js [new file with mode: 0644]
node_modules/express/lib/router/methods.js [new file with mode: 0644]
node_modules/express/lib/router/route.js [new file with mode: 0644]
node_modules/express/lib/utils.js [new file with mode: 0644]
node_modules/express/lib/view.js [new file with mode: 0644]
node_modules/express/lib/view/partial.js [new file with mode: 0644]
node_modules/express/lib/view/view.js [new file with mode: 0644]
node_modules/express/node_modules/connect/.npmignore [new file with mode: 0644]
node_modules/express/node_modules/connect/LICENSE [new file with mode: 0644]
node_modules/express/node_modules/connect/index.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/cache.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/connect.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/http.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/https.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/index.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/basicAuth.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/bodyParser.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/compiler.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/cookieParser.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/csrf.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/directory.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/errorHandler.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/favicon.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/limit.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/logger.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/methodOverride.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/profiler.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/query.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/responseTime.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/router.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/session.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/session/cookie.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/session/memory.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/session/session.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/session/store.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/static.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/staticCache.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/middleware/vhost.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/patch.js [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/public/directory.html [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/public/error.html [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/public/favicon.ico [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/public/icons/page.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_add.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_attach.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_code.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_copy.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_delete.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_edit.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_error.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_excel.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_find.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_gear.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_go.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_green.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_key.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_link.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_paste.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_red.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_save.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_word.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/icons/page_world.png [new file with mode: 0755]
node_modules/express/node_modules/connect/lib/public/style.css [new file with mode: 0644]
node_modules/express/node_modules/connect/lib/utils.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/..travis.yml.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/.Readme.md.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/.npmignore [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/.package.json.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/.travis.yml [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/Makefile [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/Readme.md [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/TODO [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/benchmark/bench-multipart-parser.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/example/post.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/example/upload.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/index.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/lib/.incoming_form.js.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/lib/file.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/lib/incoming_form.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/lib/index.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/lib/multipart_parser.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/lib/querystring_parser.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/lib/util.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/package.json [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/.common.js.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/.run.js.un~ [new file with mode: 0755]
node_modules/express/node_modules/connect/node_modules/formidable/test/common.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/file/funkyfilename.txt [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/file/plain.txt [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/http/no-filename/.generic.http.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/http/special-chars-in-filename/info.md [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/.no-filename.js.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/.special-chars-in-filename.js.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/no-filename.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/js/special-chars-in-filename.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/fixture/multipart.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/integration/.test-fixtures.js.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/integration/test-fixtures.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/common.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/integration/test-multipart-parser.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/simple/.test-incoming-form.js.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/simple/test-file.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/simple/test-incoming-form.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/simple/test-multipart-parser.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/simple/test-querystring-parser.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/system/.test-multi-video-upload.js.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/legacy/system/test-multi-video-upload.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/run.js [new file with mode: 0755]
node_modules/express/node_modules/connect/node_modules/formidable/test/system/.test-mail-fixture.js.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/tmp/.empty [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/unit/.test-incoming-form.js.un~ [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/test/unit/test-incoming-form.js [new file with mode: 0644]
node_modules/express/node_modules/connect/node_modules/formidable/tool/record.js [new file with mode: 0644]
node_modules/express/node_modules/connect/package.json [new file with mode: 0644]
node_modules/express/node_modules/connect/test/fixtures/.hidden [new file with mode: 0644]
node_modules/express/node_modules/connect/test/fixtures/directory/.hidden [new file with mode: 0644]
node_modules/express/node_modules/mime/LICENSE [new file with mode: 0644]
node_modules/express/node_modules/mime/README.md [new file with mode: 0644]
node_modules/express/node_modules/mime/mime.js [new file with mode: 0644]
node_modules/express/node_modules/mime/package.json [new file with mode: 0644]
node_modules/express/node_modules/mime/test.js [new file with mode: 0644]
node_modules/express/node_modules/mime/types/mime.types [new file with mode: 0644]
node_modules/express/node_modules/mime/types/node.types [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/.gitignore.orig [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/.gitignore.rej [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/.npmignore [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/LICENSE [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/README.markdown [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/examples/pow.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/examples/pow.js.orig [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/examples/pow.js.rej [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/index.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/package.json [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/test/chmod.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/test/clobber.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/test/mkdirp.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/test/perm.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/test/perm_sync.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/test/race.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/test/rel.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/test/sync.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/test/umask.js [new file with mode: 0644]
node_modules/express/node_modules/mkdirp/test/umask_sync.js [new file with mode: 0644]
node_modules/express/node_modules/qs/.gitmodules [new file with mode: 0644]
node_modules/express/node_modules/qs/.npmignore [new file with mode: 0644]
node_modules/express/node_modules/qs/.travis.yml [new file with mode: 0644]
node_modules/express/node_modules/qs/History.md [new file with mode: 0644]
node_modules/express/node_modules/qs/Makefile [new file with mode: 0644]
node_modules/express/node_modules/qs/Readme.md [new file with mode: 0644]
node_modules/express/node_modules/qs/benchmark.js [new file with mode: 0644]
node_modules/express/node_modules/qs/examples.js [new file with mode: 0644]
node_modules/express/node_modules/qs/index.js [new file with mode: 0644]
node_modules/express/node_modules/qs/lib/querystring.js [new file with mode: 0644]
node_modules/express/node_modules/qs/package.json [new file with mode: 0644]
node_modules/express/node_modules/qs/test/mocha.opts [new file with mode: 0644]
node_modules/express/node_modules/qs/test/parse.js [new file with mode: 0644]
node_modules/express/node_modules/qs/test/stringify.js [new file with mode: 0644]
node_modules/express/package.json [new file with mode: 0644]
node_modules/express/testing/foo/app.js [new file with mode: 0644]
node_modules/express/testing/foo/package.json [new file with mode: 0644]
node_modules/express/testing/foo/public/stylesheets/style.css [new file with mode: 0644]
node_modules/express/testing/foo/routes/index.js [new file with mode: 0644]
node_modules/express/testing/foo/views/index.jade [new file with mode: 0644]
node_modules/express/testing/foo/views/layout.jade [new file with mode: 0644]
node_modules/express/testing/index.js [new file with mode: 0644]
node_modules/express/testing/public/test.txt [new file with mode: 0644]
node_modules/express/testing/views/page.html [new file with mode: 0644]
node_modules/express/testing/views/page.jade [new file with mode: 0644]
node_modules/express/testing/views/test.md [new file with mode: 0644]
node_modules/express/testing/views/user/index.jade [new file with mode: 0644]
node_modules/express/testing/views/user/list.jade [new file with mode: 0644]
node_modules/jade/.npmignore [new file with mode: 0644]
node_modules/jade/LICENSE [new file with mode: 0644]
node_modules/jade/bin/jade [new file with mode: 0755]
node_modules/jade/index.js [new file with mode: 0644]
node_modules/jade/jade.js [new file with mode: 0644]
node_modules/jade/jade.md [new file with mode: 0644]
node_modules/jade/jade.min.js [new file with mode: 0644]
node_modules/jade/lib/compiler.js [new file with mode: 0644]
node_modules/jade/lib/doctypes.js [new file with mode: 0644]
node_modules/jade/lib/filters.js [new file with mode: 0644]
node_modules/jade/lib/index.js [new symlink]
node_modules/jade/lib/inline-tags.js [new file with mode: 0644]
node_modules/jade/lib/jade.js [new file with mode: 0644]
node_modules/jade/lib/lexer.js [new file with mode: 0644]
node_modules/jade/lib/nodes/block-comment.js [new file with mode: 0644]
node_modules/jade/lib/nodes/block.js [new file with mode: 0644]
node_modules/jade/lib/nodes/case.js [new file with mode: 0644]
node_modules/jade/lib/nodes/code.js [new file with mode: 0644]
node_modules/jade/lib/nodes/comment.js [new file with mode: 0644]
node_modules/jade/lib/nodes/doctype.js [new file with mode: 0644]
node_modules/jade/lib/nodes/each.js [new file with mode: 0644]
node_modules/jade/lib/nodes/filter.js [new file with mode: 0644]
node_modules/jade/lib/nodes/index.js [new file with mode: 0644]
node_modules/jade/lib/nodes/literal.js [new file with mode: 0644]
node_modules/jade/lib/nodes/mixin.js [new file with mode: 0644]
node_modules/jade/lib/nodes/node.js [new file with mode: 0644]
node_modules/jade/lib/nodes/tag.js [new file with mode: 0644]
node_modules/jade/lib/nodes/text.js [new file with mode: 0644]
node_modules/jade/lib/parser.js [new file with mode: 0644]
node_modules/jade/lib/runtime.js [new file with mode: 0644]
node_modules/jade/lib/self-closing.js [new file with mode: 0644]
node_modules/jade/lib/utils.js [new file with mode: 0644]
node_modules/jade/node_modules/commander/.npmignore [new file with mode: 0644]
node_modules/jade/node_modules/commander/.travis.yml [new file with mode: 0644]
node_modules/jade/node_modules/commander/History.md [new file with mode: 0644]
node_modules/jade/node_modules/commander/Makefile [new file with mode: 0644]
node_modules/jade/node_modules/commander/Readme.md [new file with mode: 0644]
node_modules/jade/node_modules/commander/index.js [new file with mode: 0644]
node_modules/jade/node_modules/commander/lib/commander.js [new file with mode: 0644]
node_modules/jade/node_modules/commander/package.json [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/.gitignore.orig [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/.gitignore.rej [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/.npmignore [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/LICENSE [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/README.markdown [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/examples/pow.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/examples/pow.js.orig [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/examples/pow.js.rej [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/index.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/package.json [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/test/chmod.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/test/clobber.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/test/mkdirp.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/test/perm.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/test/perm_sync.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/test/race.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/test/rel.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/test/sync.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/test/umask.js [new file with mode: 0644]
node_modules/jade/node_modules/mkdirp/test/umask_sync.js [new file with mode: 0644]
node_modules/jade/package.json [new file with mode: 0644]
node_modules/jade/runtime.js [new file with mode: 0644]
node_modules/jade/runtime.min.js [new file with mode: 0644]
node_modules/jade/test.jade [new file with mode: 0644]
node_modules/jade/testing/head.jade [new file with mode: 0644]
node_modules/jade/testing/index.jade [new file with mode: 0644]
node_modules/jade/testing/index.js [new file with mode: 0644]
node_modules/jade/testing/layout.jade [new file with mode: 0644]
node_modules/jade/testing/user.jade [new file with mode: 0644]
node_modules/jade/testing/user.js [new file with mode: 0644]
node_modules/mongodb/.travis.yml [new file with mode: 0644]
node_modules/mongodb/Makefile [new file with mode: 0644]
node_modules/mongodb/external-libs/bson/Makefile [new file with mode: 0644]
node_modules/mongodb/external-libs/bson/bson.cc [new file with mode: 0644]
node_modules/mongodb/external-libs/bson/bson.h [new file with mode: 0644]
node_modules/mongodb/external-libs/bson/index.js [new file with mode: 0644]
node_modules/mongodb/external-libs/bson/test/test_bson.js [new file with mode: 0644]
node_modules/mongodb/external-libs/bson/test/test_full_bson.js [new file with mode: 0644]
node_modules/mongodb/external-libs/bson/test/test_stackless_bson.js [new file with mode: 0644]
node_modules/mongodb/external-libs/bson/wscript [new file with mode: 0644]
node_modules/mongodb/index.js [new file with mode: 0755]
node_modules/mongodb/install.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/admin.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/collection.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/commands/base_command.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/commands/db_command.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/commands/delete_command.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/commands/get_more_command.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/commands/insert_command.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/commands/kill_cursor_command.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/commands/query_command.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/commands/update_command.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/connection/connection.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/connection/connection_pool.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/connection/connection_utils.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/connection/repl_set.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/connection/server.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/connection/strategies/ping_strategy.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/connection/strategies/statistics_strategy.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/cursor.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/cursorstream.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/db.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/gridfs/chunk.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/gridfs/grid.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/gridfs/gridstore.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/gridfs/readstream.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/index.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/responses/mongo_reply.js [new file with mode: 0644]
node_modules/mongodb/lib/mongodb/utils.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/.travis.yml [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/Makefile [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/README [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/.lock-wscript [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/Makefile [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/bson.cc [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/bson.h [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/bson.node [new file with mode: 0755]
node_modules/mongodb/node_modules/bson/ext/build/.wafpickle-7 [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/build/Release/bson.node [new file with mode: 0755]
node_modules/mongodb/node_modules/bson/ext/build/Release/bson_1.o [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/build/c4che/Release.cache.py [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/build/c4che/build.config.py [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/build/config.log [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/index.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/ext/wscript [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/install.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/binary.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/binary_parser.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/bson.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/code.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/db_ref.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/double.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/float_parser.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/index.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/long.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/max_key.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/min_key.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/objectid.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/symbol.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/lib/bson/timestamp.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/package.json [new file with mode: 0755]
node_modules/mongodb/node_modules/bson/test/browser/bson_test.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/browser/nodeunit.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/browser/suite2.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/browser/suite3.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/browser/test.html [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/node/bson_array_test.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/node/bson_parser_comparision_test.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/node/bson_test.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/node/bson_typed_array_test.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/node/data/test_gs_weird_bug.png [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/node/test_full_bson.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/node/to_bson_test.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/test/node/tools/utils.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/tools/gleak.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/MIT.LICENSE [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine-html.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine.css [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine.js [new file with mode: 0644]
node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png [new file with mode: 0644]
node_modules/mongodb/package.json [new file with mode: 0755]
node_modules/mongodb/test_gs_weird_bug_streamed.tmp [new file with mode: 0644]
node_modules/mongodb/test_gs_working_field_read.tmp [new file with mode: 0644]
node_modules/mongoose/.npmignore [new file with mode: 0644]
node_modules/mongoose/.travis.yml [new file with mode: 0644]
node_modules/mongoose/History.md [new file with mode: 0644]
node_modules/mongoose/Makefile [new file with mode: 0644]
node_modules/mongoose/README.md [new file with mode: 0644]
node_modules/mongoose/asdf [new file with mode: 0644]
node_modules/mongoose/benchmarks/clone.js [new file with mode: 0644]
node_modules/mongoose/benchmarks/index.js [new file with mode: 0644]
node_modules/mongoose/benchmarks/mem.js [new file with mode: 0644]
node_modules/mongoose/docs/defaults.md [new file with mode: 0644]
node_modules/mongoose/docs/embedded-documents.md [new file with mode: 0644]
node_modules/mongoose/docs/errors.md [new file with mode: 0644]
node_modules/mongoose/docs/finding-documents.md [new file with mode: 0644]
node_modules/mongoose/docs/getters-setters.md [new file with mode: 0644]
node_modules/mongoose/docs/indexes.md [new file with mode: 0644]
node_modules/mongoose/docs/methods-statics.md [new file with mode: 0644]
node_modules/mongoose/docs/middleware.md [new file with mode: 0644]
node_modules/mongoose/docs/migration-guide.md [new file with mode: 0644]
node_modules/mongoose/docs/model-definition.md [new file with mode: 0644]
node_modules/mongoose/docs/plugins.md [new file with mode: 0644]
node_modules/mongoose/docs/populate.md [new file with mode: 0644]
node_modules/mongoose/docs/query.md [new file with mode: 0644]
node_modules/mongoose/docs/querystream.md [new file with mode: 0644]
node_modules/mongoose/docs/schematypes.md [new file with mode: 0644]
node_modules/mongoose/docs/validation.md [new file with mode: 0644]
node_modules/mongoose/docs/virtuals.md [new file with mode: 0644]
node_modules/mongoose/examples/schema.js [new file with mode: 0644]
node_modules/mongoose/index.js [new file with mode: 0644]
node_modules/mongoose/lib/collection.js [new file with mode: 0644]
node_modules/mongoose/lib/connection.js [new file with mode: 0644]
node_modules/mongoose/lib/document.js [new file with mode: 0644]
node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js [new file with mode: 0644]
node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js [new file with mode: 0644]
node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js [new file with mode: 0644]
node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js [new file with mode: 0644]
node_modules/mongoose/lib/error.js [new file with mode: 0644]
node_modules/mongoose/lib/index.js [new file with mode: 0644]
node_modules/mongoose/lib/model.js [new file with mode: 0644]
node_modules/mongoose/lib/namedscope.js [new file with mode: 0644]
node_modules/mongoose/lib/promise.js [new file with mode: 0644]
node_modules/mongoose/lib/query.js [new file with mode: 0644]
node_modules/mongoose/lib/querystream.js [new file with mode: 0644]
node_modules/mongoose/lib/schema.js [new file with mode: 0644]
node_modules/mongoose/lib/schema/array.js [new file with mode: 0644]
node_modules/mongoose/lib/schema/boolean.js [new file with mode: 0644]
node_modules/mongoose/lib/schema/buffer.js [new file with mode: 0644]
node_modules/mongoose/lib/schema/date.js [new file with mode: 0644]
node_modules/mongoose/lib/schema/documentarray.js [new file with mode: 0644]
node_modules/mongoose/lib/schema/index.js [new file with mode: 0644]
node_modules/mongoose/lib/schema/mixed.js [new file with mode: 0644]
node_modules/mongoose/lib/schema/number.js [new file with mode: 0644]
node_modules/mongoose/lib/schema/objectid.js [new file with mode: 0644]
node_modules/mongoose/lib/schema/string.js [new file with mode: 0644]
node_modules/mongoose/lib/schemadefault.js [new file with mode: 0644]
node_modules/mongoose/lib/schematype.js [new file with mode: 0644]
node_modules/mongoose/lib/statemachine.js [new file with mode: 0644]
node_modules/mongoose/lib/types/array.js [new file with mode: 0644]
node_modules/mongoose/lib/types/buffer.js [new file with mode: 0644]
node_modules/mongoose/lib/types/documentarray.js [new file with mode: 0644]
node_modules/mongoose/lib/types/embedded.js [new file with mode: 0644]
node_modules/mongoose/lib/types/index.js [new file with mode: 0644]
node_modules/mongoose/lib/types/number.js [new file with mode: 0644]
node_modules/mongoose/lib/types/objectid.js [new file with mode: 0644]
node_modules/mongoose/lib/utils.js [new file with mode: 0644]
node_modules/mongoose/lib/virtualtype.js [new file with mode: 0644]
node_modules/mongoose/node_modules/hooks/.npmignore [new file with mode: 0644]
node_modules/mongoose/node_modules/hooks/Makefile [new file with mode: 0644]
node_modules/mongoose/node_modules/hooks/README.md [new file with mode: 0644]
node_modules/mongoose/node_modules/hooks/hooks.alt.js [new file with mode: 0644]
node_modules/mongoose/node_modules/hooks/hooks.js [new file with mode: 0644]
node_modules/mongoose/node_modules/hooks/package.json [new file with mode: 0644]
node_modules/mongoose/node_modules/hooks/test.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/.travis.yml [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/Makefile [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/external-libs/bson/Makefile [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/external-libs/bson/bson.cc [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/external-libs/bson/bson.h [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/external-libs/bson/index.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/external-libs/bson/test/test_bson.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/external-libs/bson/test/test_full_bson.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/external-libs/bson/test/test_stackless_bson.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/external-libs/bson/wscript [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/index.js [new file with mode: 0755]
node_modules/mongoose/node_modules/mongodb/install.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/admin.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/collection.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/commands/base_command.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/commands/db_command.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/commands/delete_command.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/commands/get_more_command.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/commands/insert_command.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/commands/kill_cursor_command.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/commands/query_command.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/commands/update_command.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_utils.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/repl_set.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/strategies/ping_strategy.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/strategies/statistics_strategy.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursorstream.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/gridfs/chunk.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/gridfs/grid.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/gridfs/gridstore.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/gridfs/readstream.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/index.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/lib/mongodb/utils.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/.travis.yml [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/Makefile [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/README [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/Makefile [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/bson.cc [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/bson.h [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/index.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/ext/wscript [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/install.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/binary.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/binary_parser.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/bson.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/code.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/db_ref.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/double.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/float_parser.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/index.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/long.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/max_key.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/min_key.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/objectid.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/symbol.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/timestamp.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/package.json [new file with mode: 0755]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/browser/bson_test.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/browser/nodeunit.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/browser/suite2.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/browser/suite3.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/browser/test.html [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/node/bson_array_test.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/node/bson_parser_comparision_test.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/node/bson_test.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/node/bson_typed_array_test.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/node/data/test_gs_weird_bug.png [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/node/test_full_bson.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/node/to_bson_test.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/test/node/tools/utils.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/gleak.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/MIT.LICENSE [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine-html.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine.css [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine.js [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/node_modules/bson/tools/jasmine-1.1.0/jasmine_favicon.png [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/package.json [new file with mode: 0755]
node_modules/mongoose/node_modules/mongodb/test_gs_weird_bug_streamed.tmp [new file with mode: 0644]
node_modules/mongoose/node_modules/mongodb/test_gs_working_field_read.tmp [new file with mode: 0644]
node_modules/mongoose/package.json [new file with mode: 0644]
node_modules/mongoose/support/expresso/.gitmodules [new file with mode: 0644]
node_modules/mongoose/support/expresso/.npmignore [new file with mode: 0644]
node_modules/mongoose/support/expresso/History.md [new file with mode: 0644]
node_modules/mongoose/support/expresso/Makefile [new file with mode: 0644]
node_modules/mongoose/support/expresso/Readme.md [new file with mode: 0644]
node_modules/mongoose/support/expresso/bin/expresso [new file with mode: 0755]
node_modules/mongoose/support/expresso/docs/api.html [new file with mode: 0644]
node_modules/mongoose/support/expresso/docs/index.html [new file with mode: 0644]
node_modules/mongoose/support/expresso/docs/index.md [new file with mode: 0644]
node_modules/mongoose/support/expresso/docs/layout/foot.html [new file with mode: 0644]
node_modules/mongoose/support/expresso/docs/layout/head.html [new file with mode: 0644]
node_modules/mongoose/support/expresso/lib/bar.js [new file with mode: 0644]
node_modules/mongoose/support/expresso/lib/foo.js [new file with mode: 0644]
node_modules/mongoose/support/expresso/package.json [new file with mode: 0644]
node_modules/mongoose/support/expresso/test/assert.test.js [new file with mode: 0644]
node_modules/mongoose/support/expresso/test/async.test.js [new file with mode: 0644]
node_modules/mongoose/support/expresso/test/bar.test.js [new file with mode: 0644]
node_modules/mongoose/support/expresso/test/foo.test.js [new file with mode: 0644]
node_modules/mongoose/support/expresso/test/http.test.js [new file with mode: 0644]
node_modules/mongoose/support/expresso/test/serial/async.test.js [new file with mode: 0644]
node_modules/mongoose/support/expresso/test/serial/http.test.js [new file with mode: 0644]
node_modules/mongoose/test/collection.test.js [new file with mode: 0644]
node_modules/mongoose/test/common.js [new file with mode: 0644]
node_modules/mongoose/test/connection.test.js [new file with mode: 0644]
node_modules/mongoose/test/crash.test.js [new file with mode: 0644]
node_modules/mongoose/test/document.strict.test.js [new file with mode: 0644]
node_modules/mongoose/test/document.test.js [new file with mode: 0644]
node_modules/mongoose/test/drivers/node-mongodb-native/collection.test.js [new file with mode: 0644]
node_modules/mongoose/test/dropdb.js [new file with mode: 0755]
node_modules/mongoose/test/index.test.js [new file with mode: 0644]
node_modules/mongoose/test/model.querying.test.js [new file with mode: 0644]
node_modules/mongoose/test/model.ref.test.js [new file with mode: 0644]
node_modules/mongoose/test/model.stream.test.js [new file with mode: 0644]
node_modules/mongoose/test/model.test.js [new file with mode: 0644]
node_modules/mongoose/test/model.update.test.js [new file with mode: 0644]
node_modules/mongoose/test/namedscope.test.js [new file with mode: 0644]
node_modules/mongoose/test/promise.test.js [new file with mode: 0644]
node_modules/mongoose/test/query.test.js [new file with mode: 0644]
node_modules/mongoose/test/schema.onthefly.test.js [new file with mode: 0644]
node_modules/mongoose/test/schema.test.js [new file with mode: 0644]
node_modules/mongoose/test/shard.test.js [new file with mode: 0644]
node_modules/mongoose/test/types.array.test.js [new file with mode: 0644]
node_modules/mongoose/test/types.buffer.test.js [new file with mode: 0644]
node_modules/mongoose/test/types.document.test.js [new file with mode: 0644]
node_modules/mongoose/test/types.documentarray.test.js [new file with mode: 0644]
node_modules/mongoose/test/types.number.test.js [new file with mode: 0644]
node_modules/mongoose/test/utils.test.js [new file with mode: 0644]
node_modules/mongoose/test/zzlast.test.js [new file with mode: 0644]
node_modules/pg/.lock-wscript [new file with mode: 0644]
node_modules/pg/.npmignore [new file with mode: 0644]
node_modules/pg/Makefile [new file with mode: 0644]
node_modules/pg/README.md [new file with mode: 0644]
node_modules/pg/benchmark/js-versus-native-bench.js [new file with mode: 0644]
node_modules/pg/benchmark/large-datatset-bench.js [new file with mode: 0644]
node_modules/pg/benchmark/simple-query-bench.js [new file with mode: 0644]
node_modules/pg/build/.wafpickle-7 [new file with mode: 0644]
node_modules/pg/build/Release/binding.node [new file with mode: 0755]
node_modules/pg/build/Release/src/binding_1.o [new file with mode: 0644]
node_modules/pg/build/c4che/Release.cache.py [new file with mode: 0644]
node_modules/pg/build/c4che/build.config.py [new file with mode: 0644]
node_modules/pg/build/config.log [new file with mode: 0644]
node_modules/pg/lib/arrayParser.js [new file with mode: 0644]
node_modules/pg/lib/binaryParsers.js [new file with mode: 0644]
node_modules/pg/lib/client.js [new file with mode: 0644]
node_modules/pg/lib/connection.js [new file with mode: 0644]
node_modules/pg/lib/defaults.js [new file with mode: 0644]
node_modules/pg/lib/index.js [new file with mode: 0644]
node_modules/pg/lib/native/index.js [new file with mode: 0644]
node_modules/pg/lib/native/query.js [new file with mode: 0644]
node_modules/pg/lib/query.js [new file with mode: 0644]
node_modules/pg/lib/result.js [new file with mode: 0644]
node_modules/pg/lib/textParsers.js [new file with mode: 0644]
node_modules/pg/lib/types.js [new file with mode: 0644]
node_modules/pg/lib/utils.js [new file with mode: 0644]
node_modules/pg/lib/writer.js [new file with mode: 0644]
node_modules/pg/node_modules/generic-pool/.npmignore [new file with mode: 0644]
node_modules/pg/node_modules/generic-pool/README.md [new file with mode: 0644]
node_modules/pg/node_modules/generic-pool/fabfile.py [new file with mode: 0644]
node_modules/pg/node_modules/generic-pool/lib/generic-pool.js [new file with mode: 0644]
node_modules/pg/node_modules/generic-pool/package.json [new file with mode: 0644]
node_modules/pg/node_modules/generic-pool/test/generic-pool.test.js [new file with mode: 0644]
node_modules/pg/package.json [new file with mode: 0644]
node_modules/pg/script/create-test-tables.js [new file with mode: 0644]
node_modules/pg/script/dump-db-types.js [new file with mode: 0644]
node_modules/pg/script/list-db-types.js [new file with mode: 0644]
node_modules/pg/script/test-connection.js [new file with mode: 0644]
node_modules/pg/src/binding.cc [new file with mode: 0644]
node_modules/pg/test/buffer-list.js [new file with mode: 0644]
node_modules/pg/test/cli.js [new file with mode: 0644]
node_modules/pg/test/integration/client/api-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/array-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/big-simple-query-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/cancel-query-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/configuration-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/drain-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/empty-query-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/error-handling-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/huge-numeric-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/no-data-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/notice-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/prepared-statement-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/result-metadata-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/simple-query-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/test-helper.js [new file with mode: 0644]
node_modules/pg/test/integration/client/transaction-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/client/type-coercion-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection-pool/double-connection-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection-pool/ending-pool-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection-pool/error-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection-pool/idle-timeout-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection-pool/max-connection-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection-pool/optional-config-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection-pool/single-connection-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection-pool/test-helper.js [new file with mode: 0644]
node_modules/pg/test/integration/connection-pool/unique-name-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection-pool/waiting-connection-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection/bound-command-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection/notification-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection/query-tests.js [new file with mode: 0644]
node_modules/pg/test/integration/connection/test-helper.js [new file with mode: 0644]
node_modules/pg/test/integration/test-helper.js [new file with mode: 0644]
node_modules/pg/test/native/callback-api-tests.js [new file with mode: 0644]
node_modules/pg/test/native/connection-tests.js [new file with mode: 0644]
node_modules/pg/test/native/error-tests.js [new file with mode: 0644]
node_modules/pg/test/native/evented-api-tests.js [new file with mode: 0644]
node_modules/pg/test/native/stress-tests.js [new file with mode: 0644]
node_modules/pg/test/test-buffers.js [new file with mode: 0644]
node_modules/pg/test/test-helper.js [new file with mode: 0644]
node_modules/pg/test/unit/client/cleartext-password-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/client/configuration-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/client/connection-string-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/client/md5-password-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/client/notification-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/client/prepared-statement-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/client/query-queue-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/client/query-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/client/result-metadata-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/client/simple-query-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/client/test-helper.js [new file with mode: 0644]
node_modules/pg/test/unit/client/typed-query-results-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/connection/error-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/connection/inbound-parser-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/connection/outbound-sending-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/connection/startup-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/connection/test-helper.js [new file with mode: 0644]
node_modules/pg/test/unit/test-helper.js [new file with mode: 0644]
node_modules/pg/test/unit/utils-tests.js [new file with mode: 0644]
node_modules/pg/test/unit/writer-tests.js [new file with mode: 0644]
node_modules/pg/wscript [new file with mode: 0644]
node_modules/q/.npmignore [new file with mode: 0644]
node_modules/q/.tmp/makeQ.js [new file with mode: 0644]
node_modules/q/.tmp/map.js [new file with mode: 0644]
node_modules/q/.tmp/markm-mzero.js [new file with mode: 0644]
node_modules/q/.tmp/promiseAllFulfilled.emaker [new file with mode: 0644]
node_modules/q/.tmp/promiseAllResolved.emaker [new file with mode: 0644]
node_modules/q/.tmp/stream.js [new file with mode: 0644]
node_modules/q/.tmp/weak-map.js [new file with mode: 0644]
node_modules/q/.travis.yml [new file with mode: 0644]
node_modules/q/CHANGES.md [new file with mode: 0644]
node_modules/q/LICENSE [new file with mode: 0644]
node_modules/q/README.md [new file with mode: 0644]
node_modules/q/VERSIONS.md [new file with mode: 0644]
node_modules/q/design/README.js [new file with mode: 0644]
node_modules/q/design/q0.js [new file with mode: 0644]
node_modules/q/design/q1.js [new file with mode: 0644]
node_modules/q/design/q2.js [new file with mode: 0644]
node_modules/q/design/q3.js [new file with mode: 0644]
node_modules/q/design/q4.js [new file with mode: 0644]
node_modules/q/design/q5.js [new file with mode: 0644]
node_modules/q/design/q6.js [new file with mode: 0644]
node_modules/q/design/q7.js [new file with mode: 0644]
node_modules/q/examples/all.js [new file with mode: 0644]
node_modules/q/examples/async-generators/0.html [new file with mode: 0644]
node_modules/q/examples/async-generators/1-return.html [new file with mode: 0644]
node_modules/q/examples/async-generators/2-error-propagation.html [new file with mode: 0644]
node_modules/q/examples/async-generators/3-wishful-thinking.html [new file with mode: 0644]
node_modules/q/examples/async-generators/4-shim.html [new file with mode: 0644]
node_modules/q/examples/async-generators/README.md [new file with mode: 0644]
node_modules/q/examples/delay.js [new file with mode: 0644]
node_modules/q/lib/jasmine-1.2.0/MIT.LICENSE [new file with mode: 0644]
node_modules/q/lib/jasmine-1.2.0/jasmine-html.js [new file with mode: 0644]
node_modules/q/lib/jasmine-1.2.0/jasmine.css [new file with mode: 0644]
node_modules/q/lib/jasmine-1.2.0/jasmine.js [new file with mode: 0644]
node_modules/q/lib/jasmine-promise.js [new file with mode: 0644]
node_modules/q/package.json [new file with mode: 0644]
node_modules/q/q-spec.html [new file with mode: 0644]
node_modules/q/q-spec.js [new file with mode: 0644]
node_modules/q/q.js [new file with mode: 0644]
node_modules/q/q.min.js [new file with mode: 0644]
node_modules/q/q.min.js.gz [new file with mode: 0644]
node_modules/q/ref_send.md [new file with mode: 0644]
node_modules/q/test/all-resolved.js [new file with mode: 0644]
node_modules/q/test/all.js [new file with mode: 0644]
node_modules/q/test/bind.js [new file with mode: 0644]
node_modules/q/test/issue/22.js [new file with mode: 0644]
node_modules/q/test/issue/9.js [new file with mode: 0644]
node_modules/q/test/methods.js [new file with mode: 0644]
node_modules/q/test/multiple-listeners.js [new file with mode: 0644]
node_modules/q/test/node.js [new file with mode: 0644]
node_modules/q/test/progress.js [new file with mode: 0644]
node_modules/q/test/promised-chains.js [new file with mode: 0644]
node_modules/q/test/reject.js [new file with mode: 0644]
node_modules/q/test/resolve-reject.js [new file with mode: 0644]
node_modules/q/test/spread.js [new file with mode: 0644]
node_modules/q/test/thenable.js [new file with mode: 0644]
node_modules/q/test/value-of.js [new file with mode: 0644]
package.json [new file with mode: 0644]
public/js/app/dashboard.js [new file with mode: 0644]
public/js/app/logout.js [new file with mode: 0644]
public/js/app/package.js [new file with mode: 0644]
public/js/main.js [new file with mode: 0644]
public/js/models/packagemodel.js [new file with mode: 0644]
public/js/production.js [new file with mode: 0644]
public/js/utils.js [new file with mode: 0644]
public/js/views/dashboard.js [new file with mode: 0644]
public/js/views/package.js [new file with mode: 0644]
public/js/views/paginator.js [new file with mode: 0644]
public/lib/backbone-forms/.backbone-forms.js.swp [new file with mode: 0644]
public/lib/backbone-forms/backbone-forms.amd.js [new file with mode: 0644]
public/lib/backbone-forms/backbone-forms.amd.min.js [new file with mode: 0644]
public/lib/backbone-forms/backbone-forms.css [new file with mode: 0644]
public/lib/backbone-forms/backbone-forms.js [new file with mode: 0644]
public/lib/backbone-forms/backbone-forms.min.js [new file with mode: 0644]
public/lib/backbone-forms/editors/.darksolar.js.swp [new file with mode: 0644]
public/lib/backbone-forms/editors/darksolar.js [new file with mode: 0644]
public/lib/backbone-forms/editors/jquery-ui.js [new file with mode: 0644]
public/lib/backbone-forms/editors/jquery-ui.min.js [new file with mode: 0644]
public/lib/backbone-forms/templates/bootstrap.js [new file with mode: 0644]
public/lib/backbone-forms/templates/minimal.js [new file with mode: 0644]
public/lib/backbone/backbone-min.js [new file with mode: 0644]
public/lib/backbone/backbone-nested-v1.1.2.min.js [new file with mode: 0644]
public/lib/backbone/backbone.debug.js [new file with mode: 0644]
public/lib/backbone/backbone.js [new file with mode: 0644]
public/lib/backbone/backbone.paginator.js [new file with mode: 0644]
public/lib/backbone/underscore-min.js [new file with mode: 0644]
public/lib/backbone/underscore.js [new file with mode: 0644]
public/lib/bootstrap/css/bootstrap-responsive.css [new file with mode: 0644]
public/lib/bootstrap/css/bootstrap-responsive.min.css [new file with mode: 0644]
public/lib/bootstrap/css/bootstrap.css [new file with mode: 0644]
public/lib/bootstrap/css/bootstrap.min.css [new file with mode: 0644]
public/lib/bootstrap/css/docs.css [new file with mode: 0644]
public/lib/bootstrap/img/glyphicons-halflings-white.png [new file with mode: 0644]
public/lib/bootstrap/img/glyphicons-halflings.png [new file with mode: 0644]
public/lib/bootstrap/img/grid-18px-masked.png [new file with mode: 0644]
public/lib/bootstrap/js/bootstrap.js [new file with mode: 0644]
public/lib/bootstrap/js/bootstrap.min.js [new file with mode: 0644]
public/lib/i18next/i18next-1.3.1.js [new file with mode: 0644]
public/lib/i18next/i18next-1.3.1.min.js [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-icons_222222_256x240.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-icons_2e83ff_256x240.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-icons_454545_256x240.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-icons_888888_256x240.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/images/ui-icons_cd0a0a_256x240.png [new file with mode: 0644]
public/lib/jquery/css/smoothness/jquery-ui-1.8.20.css [new file with mode: 0644]
public/lib/jquery/jquery-1.7.2.min.js [new file with mode: 0644]
public/lib/jquery/jquery-ui-1.8.20.min.js [new file with mode: 0644]
public/locales/en-US/translation.json [new file with mode: 0644]
public/stylesheets/style.css [new file with mode: 0644]
public/tpl/DashboardView.html [new file with mode: 0644]
public/tpl/PackageItemView.html [new file with mode: 0644]
public/tpl/PackageTemplateView.html [new file with mode: 0644]
public/tpl/PackageView.html [new file with mode: 0644]
routes/index.js [new file with mode: 0644]
settings.js [new file with mode: 0644]
views/index.jade [new file with mode: 0644]
views/layout.jade [new file with mode: 0644]
views/login.jade [new file with mode: 0644]
views/register.jade [new file with mode: 0644]

diff --git a/api/auth.js b/api/auth.js
new file mode 100644 (file)
index 0000000..e788965
--- /dev/null
@@ -0,0 +1,77 @@
+var User = require ('./user');
+var config = require ('../settings');
+var crypto = require ('crypto');
+
+var auth = function () {
+  this.everyauth = require ('everyauth');
+};
+
+var a = new auth ();
+
+a.everyauth.password
+  .getLoginPath ('/login')
+  .postLoginPath ('/login')
+  .loginView ('login')
+  .authenticate (function (login, password) {
+    var u = new User (config);
+    var promise = this.Promise ();
+    var errors = [];
+/*
+    var model = u.getModel ('user'); 
+    var m = new model ();
+
+    m.set ('username', 'neutron');
+    var current_date = (new Date ()).valueOf().toString();
+    var random = Math.random().toString();
+    m.set ('salt', crypto.createHash ('sha1').update (current_date + random).digest ('hex'));
+
+    var hash = crypto.createHash ('sha1');
+    hash.update ('test');
+    hash.update (m.get ('salt'));
+    var digest = hash.digest ();
+
+    var ssha = new Buffer (digest + m.get ('salt'), 'binary').toString ('base64');
+    m.set ('password', ssha);
+    m.set ('personid', '3320300535602');
+    m.set ('firstname', 'Neutron');
+    m.set ('surname', 'Soutmun');
+    m.set ('email', 'neo.neutron@gmail.com');
+    m.save (function (err) {
+      console.log (err);
+    });
+*/
+
+    u.get (login, function (err, user) {
+      if (err || !user || user.length <= 0) {
+        errors.push ('User not found');
+        return promise.fulfill (errors);
+      }
+
+      var hash = crypto.createHash ('sha1');
+      hash.update (password);
+      hash.update (user.salt);
+      var ssha = new Buffer (hash.digest () + user.salt, 'binary').toString ('base64');
+
+      if (user.password === ssha) {
+        promise.fulfill (user);
+      } else {
+        errors.push ('Username or Password is invalid');
+        promise.fulfill (errors);
+      }
+    });
+
+    return promise;
+  })
+  .loginSuccessRedirect ('/')
+  .getRegisterPath ('/register')
+  .postRegisterPath ('/register')
+  .registerView ('register')
+  .validateRegistration (function (newUserAttributes) {
+
+  })
+  .registerUser (function (newUserAttributes) {
+
+  })
+  .registerSuccessRedirect ('/');
+
+module.exports = a;
diff --git a/api/index.js b/api/index.js
new file mode 100644 (file)
index 0000000..521a8ba
--- /dev/null
@@ -0,0 +1,7 @@
+exports.Package = require ('./routes/package'); 
+exports.User    = require ('./routes/user'); 
+
+exports.initRoutes = function (app) {
+  this.Package.initRoutes (app);
+  this.User.initRoutes (app);
+};
diff --git a/api/package.js b/api/package.js
new file mode 100644 (file)
index 0000000..1bd558d
--- /dev/null
@@ -0,0 +1,267 @@
+var Q = require ('q');
+var mongoose = require ('mongoose');
+var mongoose_conn = undefined;
+
+var Package = function (config, pkgtype) {
+  if (!mongoose_conn)
+    mongoose_conn = mongoose.createConnection (config.DSDb);
+
+  this.pkgtype = pkgtype ? pkgtype : 'inheritance';
+  this.mongoose = mongoose_conn; 
+
+  this.initModel ();
+
+  this.model = this.getModel ('package');
+};
+
+Package.prototype.initModel = function () {
+  var Schema = mongoose.Schema;
+  var ObjectId = Schema.ObjectId;
+
+  var schemas = {
+    package: new Schema({
+      name: { type: String, trim: true, index: { unique: true }},
+      description: String,
+      pkgtype: { type: String, index: true},
+      inherited: String,
+      simulteneous_use: String,
+      session_timeout: String,
+      max_all_session: String,
+      max_daily_session: String,
+      max_monthly_session: String,
+      max_access_period: String,
+    }, { safe: true, strict: true }),
+  };
+
+  var model = this.mongoose.model ('package', schemas.package, 'packages');
+};
+
+Package.prototype.setPkgType = function (pkgtype) {
+  this.pkgtype = pkgtype;
+
+  return this;
+};
+
+Package.prototype.getModel = function (modelname) {
+  var model = this.mongoose.model (modelname);
+
+  if (model)
+    return model;
+  else
+    return undefined;
+};
+
+Package.prototype.numRows = function (callback) {
+  var all = this.model.find ({ pkgtype: this.pkgtype });
+
+  all.count (callback);
+};
+
+Package.prototype.query = function () {
+  return this.model.find ({ pkgtype: this.pkgtype });
+};
+
+Package.prototype.getById = function (id, callback) {
+  return this.model.findById (id, callback);
+};
+
+Package.prototype.addNew = function (data, callback) {
+  this.proc_model = new this.model (data);
+
+  if (!this.proc_model)
+    return new Error ('Could not create model');
+
+  this.proc_model.save (callback);
+
+  return undefined;
+};
+
+Package.prototype.update = function (id, update, callback) {
+  var conditions = { _id: id };
+  var options = { multi: true };
+  var forUpdate = update;
+
+  this.proc_model = new this.model ();
+
+  if (!this.proc_model)
+    return new Error ('Could not create model');
+
+  if (forUpdate._id)
+    delete forUpdate._id;
+
+  if (forUpdate.listno)
+    delete forUpdate.listno;
+
+  switch (this.pkgtype) {
+    case 'template':
+      var o = this;
+
+      function tplUpdate () {
+        d = Q.defer ();
+
+        o.model.update (conditions, forUpdate, options,
+                           function (err, numAffected) {
+          if (err)
+            d.reject (new Error (err));
+          else
+            d.resolve (numAffected);
+        });
+
+        return d.promise
+      }
+
+      function inhPrepare (numAffected) {
+        var d = Q.defer ();
+        var conditions = { inherited: id,
+                           pkgtype: 'inheritance' };
+
+        o.model.find (conditions, function (err, docs) {
+          if (err) {
+            d.reject (new Error (err));
+            return;
+          }
+
+          if (docs.length <= 0) {
+            d.resolve (numAffected);
+            return;
+          }
+
+          numDocs = docs.length;
+          
+          var updateDocs = [];
+
+          docs.forEach (function (doc) {
+            for (var key in doc.schema.paths) {
+              if (typeof doc[key] === 'string') {
+                var tpl = typeof update[key] === 'string' ?
+                            update[key].split ('*') : undefined;
+                var inh = typeof doc[key] === 'string' ?
+                            doc[key].split ('*') : undefined;
+
+                if (inh)
+                  doc[key] = inh[0];
+
+                if (tpl && tpl[1] != undefined)
+                  doc[key] = update[key];
+              }
+            }
+
+            updateDocs.push (doc);
+           
+            if (--numDocs <= 0)
+              d.resolve ({ numAffected: numAffected,
+                           docs: updateDocs });
+          });
+        });
+
+        return d.promise;
+      }
+
+      function inhUpdate (data) {
+        if (data.docs == undefined)
+          return data;
+
+        var d = Q.defer ();
+
+        var numDocs = data.docs.length;
+
+        data.docs.forEach (function (doc) {
+          var upd = JSON.parse (JSON.stringify (doc)); // Copy object
+
+          var inh_id = upd._id;
+          delete upd._id;
+          var conditions = { _id: inh_id };
+
+          var model = o.getModel ('package');
+          model.update (conditions, upd, options,
+                          function (err, numAffected) {
+            if (--numDocs <= 0)
+              d.resolve ({ numAffected: data.numAffected,
+                           inherit: data.docs,
+                         });
+          });
+        });
+       
+        return d.promise; 
+      };
+
+      tplUpdate ()
+        .then (inhPrepare) 
+        .then (inhUpdate) 
+        .then (function (data) {
+          callback (undefined, data.numAffected, data.inherit);
+        })
+        .fail (function (error) {
+          console.log ('Error: ', error);
+        });
+
+      break;
+    case 'inheritance':
+      var o = this;
+      this.getById (id, function (err, doc) {
+        if (err) {
+          callback (err);
+        }
+
+        var prevdoc = doc;
+
+        o.model.update (conditions, forUpdate, options,
+                        function (err, numAffected) {
+          if (err) {
+            callback (err);
+            return;
+          }
+
+          callback (err, numAffected, prevdoc);
+        });
+      });
+      break;
+  }
+
+  return undefined;
+};
+
+Package.prototype.remove = function (id, callback) {
+  switch (this.pkgtype) {
+    case 'template':
+      var o = this;
+
+      this.model.find ({ inherited: id }, function (err, docs) {
+        if (err) {
+          callback (err);
+          return;
+        }
+
+        if (docs && docs.length > 0) {
+          callback (err, docs);
+          return;
+        }
+
+        o.getById (id, function (err, doc) {
+          if (err) {
+            callback (err);
+            return;
+          }
+
+          doc.remove ();
+          callback ();
+        });
+      });
+      break;
+    case 'inheritance':
+      this.getById (id, function (err, doc) {
+        if (err) {
+          callback (err);
+          return;
+        }
+        var docname = doc.name;
+        doc.remove ();
+        callback (undefined, undefined, docname);
+      });
+      break;
+  }
+
+  return undefined;
+};
+
+module.exports = Package;
diff --git a/api/radiussync/.postgresql.js.swp b/api/radiussync/.postgresql.js.swp
new file mode 100644 (file)
index 0000000..26d2454
Binary files /dev/null and b/api/radiussync/.postgresql.js.swp differ
diff --git a/api/radiussync/postgresql.js b/api/radiussync/postgresql.js
new file mode 100644 (file)
index 0000000..76e93bc
--- /dev/null
@@ -0,0 +1,135 @@
+var pg = require ('pg').native;
+var Q = require ('q');
+
+var RadiusSyncPostgreSQL = function (config) {
+  this.connString = config.RadiusDb;
+
+  this.initialize ();
+}
+
+RadiusSyncPostgreSQL.prototype.initialize = function () {
+  this.attrs_map = {
+    simulteneous_use:    { type: 'check', op: ':=', map: 'Simultaneous-Use'   },
+    session_timeout:     { type: 'reply', op: ':=', map: 'Session-Timeout'    },
+    max_all_session:     { type: 'check', op: ':=', map: 'Max-All-Session'    },
+    max_daily_session:   { type: 'check', op: ':=', map: 'Max-Daily-Session'  },
+    max_monthly_session: { type: 'check', op: ':=', map: 'Max-Monthly-Session'},
+    max_access_perios:   { type: 'check', op: ':=', map: 'Max-Access-Period'  },
+    password:            { type: 'check', op: ':=', map: 'SSHA-Password'      },
+  };
+
+  this.sqlTpl = {
+    groupdelete: {
+      check: 'DELETE FROM radgroupcheck WHERE groupname=$1',
+      reply: 'DELETE FROM radgroupreply WHERE groupname=$1',
+    },
+    groupinsert: {
+      check: 'INSERT INTO radgroupcheck(groupname,attribute,op,value) VALUES ($1,$2,$3,$4)',
+      reply: 'INSERT INTO radgroupreply(groupname,attribute,op,value) VALUES ($1,$2,$3,$4)',
+    },
+    userdelete: {
+      check: 'DELETE FROM radcheck WHERE username=$1',
+      reply: 'DELETE FROM radreply WHERE username=$1',
+    },
+    usergroupdelete:
+      'DELETE FROM radusergroup WHERE username=$1',
+    userinsert: {
+      check: 'INSERT INTO radcheck(username,attribute,op,value) VALUES ($1,$2,$3,$4)',
+      reply: 'INSERT INTO radreply(username,attribute,op,value) VALUES ($1,$2,$3,$4)',
+    },
+    usergroupinsert:
+      'INSERT INTO radusergroup(username,groupname) VALUES ($1,$2)',
+
+  };
+};
+
+RadiusSyncPostgreSQL.prototype.groupName = function (name) {
+  this.groupName = name;
+  return this;
+};
+
+RadiusSyncPostgreSQL.prototype.userName = function (name) {
+  this.userName = name;
+  return this;
+};
+
+RadiusSyncPostgreSQL.prototype.attrsData = function (attrsData) {
+  this.attrsData = attrsData;
+  return this;
+};
+
+RadiusSyncPostgreSQL.prototype.groupSync = function (groupname, callback) {
+  var o = this;
+
+  if (!this.groupName) {
+    callback (new Error ('No group name'));
+    return;
+  }
+
+  var client = new pg.Client (o.connString);
+  var query;
+
+  client.connect ();
+
+  function clear () {
+    var d = Q.defer ();
+  
+    client.query ("DELETE FROM radgroupcheck WHERE groupname=$1",
+                  [ o.groupName ]);
+    query = client.query ("DELETE FROM radgroupreply WHERE groupname=$1",
+                  [ o.groupName ]);
+  
+    query.on ('end', function () {
+      console.log ('Clear:', o.groupName);
+      d.resolve ();
+    });
+  
+    return d.promise;
+  }
+
+  function update () {
+    var d = Q.defer ();
+
+    if (!o.attrsData) {
+      d.resolve ();
+      return d.promise;
+    }
+
+    query = client.query (o.sqlTpl.groupinsert.check,
+                          [ o.groupName, 'Auth-Type', ':=', 'PAP' ]);
+
+    for (var key in o.attrsData.schema.paths) {
+      var val = typeof o.attrsData[key] === 'string' ?
+                  o.attrsData[key].split ('*')[0] : o.attrsData[key];
+
+      if (val == 0)
+        continue;
+
+      var attr = o.attrs_map[key];
+      if (attr != undefined) {
+        var sql = o.sqlTpl.groupinsert[attr.type];
+        var values = [ o.groupName, attr.map, attr.op, val ]; 
+        query = client.query (sql, values);
+      }
+    }
+
+    query.on ('end', function () {
+      d.resolve ();
+      client.end ();
+      console.log ('Synced:', o.groupName);
+    });
+
+    return d.promise;
+  }
+
+  clear ()
+    .then (update)
+    .then (function () {
+      callback (undefined, true);
+    })
+    .fail (function (error) {
+      callback (error);
+    });
+}
+
+module.exports = RadiusSyncPostgreSQL;
diff --git a/api/routes/.package.js.swp b/api/routes/.package.js.swp
new file mode 100644 (file)
index 0000000..03b119e
Binary files /dev/null and b/api/routes/.package.js.swp differ
diff --git a/api/routes/package.js b/api/routes/package.js
new file mode 100644 (file)
index 0000000..46cf0ec
--- /dev/null
@@ -0,0 +1,403 @@
+var Package = require ('../package');
+var RadiusSyncPg = require ('../radiussync/postgresql');
+var Q = require ('q');
+
+var PackageRoutes = function () {
+};
+
+PackageRoutes.prototype.initRoutes = function (app) {
+  /* Tpl */
+  app.get ('/api/package/template/selectlist', this.getTplSelectList);
+  app.get ('/api/package/template', this.getTplAll);
+  app.get ('/api/package/template/:id', this.getTpl);
+  app.post ('/api/package/template', this.addTpl,
+                                     this.replyclient);
+  app.put ('/api/package/template/:id', this.updateTpl,
+                                        this.replyclient);
+  app.delete ('/api/package/template/:id', this.deleteTpl,
+                                           this.replyclient);
+
+  /* Inherit */
+  app.get ('/api/package/inheritance', this.getInheritAll);
+  app.get ('/api/package/inheritance/:id', this.getInherit);
+  app.post ('/api/package/inheritance', this.addInherit,
+                                        this.radiusSync,
+                                        this.replyclient);
+  app.put ('/api/package/inheritance/:id', this.updateInherit,
+                                           this.radiusSync,
+                                           this.replyclient);
+  app.delete ('/api/package/inheritance/:id', this.deleteInherit,
+                                              this.radiusSync,
+                                              this.replyclient);
+};
+
+
+/* Tpl */
+PackageRoutes.prototype.getTplAll = function (req, res) {
+  var pkg      = new Package (req.app.config, 'template');
+  var query = pkg.query ();
+  var callback = 'callback';
+
+  query.asc ('name');
+  query.skip (req.query.$skip ? req.query.$skip : 0);
+
+  if (req.query.$top)
+    query.limit (req.query.$top);
+
+  if (req.query.callback)
+    callback = req.query.callback;
+
+  pkg.numRows (function (err, count) {
+    if (!err) {
+      query.exec (function (err, docs) {
+        if (!err) {
+          res.send(callback + '({ "results" : ' + JSON.stringify (docs) +
+                   ', "__count" : ' + count + ' });',
+                   {'Content-Type' : 'text/javascript'}, 200);
+        } else {
+          res.json (404);
+        }
+      });
+    } else {
+      res.json (404);
+    }
+  });
+};
+
+PackageRoutes.prototype.getTplSelectList = function (req, res) {
+  var pkg      = new Package (req.app.config, 'template');
+  var callback = 'callback';
+
+  var query = pkg.query ();
+
+  if (req.query.callback)
+    callback = req.query.callback;
+
+  query.asc ('name');
+
+  query.exec (function (err, docs) {
+    if (!err) {
+      var valpair = [];
+      docs.forEach (function (doc) {
+        var list = {};
+        list['key'] = doc._id;
+        list['label'] = doc.name + ': ' + doc.description;
+
+        valpair.push (list);
+      });
+
+      res.json (valpair);
+    } else {
+      res.json (404);
+    }
+  });
+
+};
+
+PackageRoutes.prototype.getTpl = function (req, res) {
+  var pkg      = new Package (req.app.config, 'template');
+
+  pkg.getById (req.params.id, function (err, doc) {
+    if (!err)
+      res.json (doc);
+    else
+      res.send (404);
+  });
+};
+
+PackageRoutes.prototype.addTpl = function (req, res, next) {
+  var pkg      = new Package (req.app.config, 'template');
+
+  if (req.body.pkgtype != undefined && req.body.pkgtype != 'template') {
+    res.send (400);
+    return;
+  }
+
+  pkg.addNew (req.body, function (err) {
+    if (!err) {
+      console.log ('Success:' + pkg.proc_model);
+      req.model = pkg.proc_model;
+      next ();
+    } else {
+      console.log ('Failed');
+      var test = new String(err);
+
+      if (test.search ('duplicate') >= 0)
+        res.send ('Save failed: Duplicate error', 404);
+      else
+        res.send ('Save failed: ' + err, 404);
+    }
+  });
+};
+
+PackageRoutes.prototype.updateTpl = function (req, res, next) {
+  var pkg      = new Package (req.app.config, 'template');
+
+  if (req.body.pkgtype != undefined && req.body.pkgtype != 'template') {
+    res.send (400); 
+    return;
+  }
+
+  pkg.update (req.params.id, req.body, function (err, numAffected, inherit) {
+    if (!err) {
+      console.log ('Update Success:', numAffected);
+
+      if (inherit) {
+
+        function syncAll (docs) {
+          var d = Q.defer ();
+
+          for (var key in docs) {
+            sync (docs[key]);
+          }
+
+          d.resolve ();
+          return d.promise;
+        }
+
+        function sync (doc) {
+          var d = Q.defer ();
+          var rspg = new RadiusSyncPg (req.app.config);
+          rspg.groupName (doc.name).attrsData (doc);
+
+          rspg.groupSync (doc.name, function (err, synced) {
+            d.resolve ();
+          });
+
+          return d.promise;
+        }
+
+        syncAll (inherit)
+          .then (function () {
+          
+          });
+
+      }
+      next ();
+    } else {
+      console.log ('Update Failed: ' + err);
+      res.send ('Update failed', 404);
+    }
+  });
+};
+
+PackageRoutes.prototype.deleteTpl = function (req, res, next) {
+  var pkg      = new Package (req.app.config, 'template');
+
+  pkg.remove (req.params.id, function (err, deps) {
+    if (err)
+      res.send ('Delete failed', 404);
+
+    if (deps) {
+      var dependency = '';
+      deps.forEach (function (doc) {
+        dependency += ' "' + doc.name + '"';
+      });
+      res.send ('Error dependency' + dependency, 404);
+      return;
+    }
+
+    next ();
+  });
+
+};
+
+/* Inherit */
+PackageRoutes.prototype.getInheritAll = function (req, res) {
+  var pkg = new Package (req.app.config, 'inheritance');
+  var query = pkg.query ()
+  var callback = 'callback';
+
+  query.asc ('name');
+  query.skip (req.query.$skip ? req.query.$skip : 0);
+
+  if (req.query.$top)
+    query.limit (req.query.$top);
+
+  if (req.query.callback)
+    callback = req.query.callback;
+
+  pkg.numRows (function (err, count) {
+    if (!err) {
+      query.exec (function (err, docs) {
+        if (!err) {
+          res.send(callback + '({ "results" : ' + JSON.stringify (docs) +
+                   ', "__count" : ' + count + ' });',
+                   {'Content-Type' : 'text/javascript'}, 200);
+        } else {
+          res.json (404);
+        }
+      });
+    } else {
+      res.json (404);
+    }
+  });
+};
+
+PackageRoutes.prototype.getInherit = function (req, res) {
+  var pkg      = new Package (req.app.config, 'inheritance');
+
+  pkg.getById (req.params.id, function (err, doc) {
+    if (!err)
+      res.json (doc);
+    else
+      res.send (404);
+  });
+};
+
+PackageRoutes.prototype.addInherit = function (req, res, next) {
+  var pkg      = new Package (req.app.config, 'inheritance');
+
+  if (req.body.pkgtype != undefined && req.body.pkgtype != 'inheritance') {
+    res.send (400);
+    return;
+  }
+
+  pkg.addNew (req.body, function (err) {
+    if (!err) {
+      console.log ('Success:' + pkg.proc_model);
+      req.model = pkg.proc_model;
+      req.params.id = pkg.proc_model._id;
+      next ();
+    } else {
+      console.log ('Failed');
+      var test = new String (err);
+
+      if (test.search ('duplicate') >= 0)
+        res.send ('Save failed: Duplicate error', 404);
+      else
+        res.send ('Save failed: ' + err, 404);
+    }
+  });
+};
+
+PackageRoutes.prototype.updateInherit = function (req, res, next) {
+  var pkg = new Package (req.app.config, 'inheritance');
+
+  if (req.body.pkgtype != undefined && req.body.pkgtype != 'inheritance') {
+    res.send (400); 
+    return;
+  }
+
+  pkg.update (req.params.id, req.body,
+                      function (err, numAffected, prevdoc) {
+    if (err || numAffected <= 0) {
+      console.log ('Update Failed: ' + err);
+      res.send ('Update failed', 404);
+    }
+
+    req.prevDoc = prevdoc;
+    console.log ('Update Success: ' + numAffected);
+    next ();
+  });
+};
+
+PackageRoutes.prototype.deleteInherit = function (req, res, next) {
+  var pkg = new Package (req.app.config, 'inheritance');
+
+  pkg.remove (req.params.id, function (err, deps, docname) {
+    if (err)
+      res.send ('Delete failed', 404);
+
+    if (deps) {
+      var dependency = '';
+      deps.forEach (function (doc) {
+        dependency += ' "' + doc.name + '"';
+      });
+      res.send ('Error dependency' + dependency, 404);
+      return;
+    }
+
+    req.params.docname = docname;
+    next ();
+  });
+};
+
+PackageRoutes.prototype.radiusSync = function (req, res, next) {
+  console.log ('Start Sync');
+
+  function getData () {
+    var df = Q.defer ();
+    var pkg = new Package (req.app.config, 'inheritance');
+
+    pkg.model.findOne ({ _id: req.params.id }, function (err, doc) {
+      if (err) {
+        df.reject (err);
+        return;
+      }
+
+      df.resolve (doc);
+    });
+
+    return df.promise;
+  }
+
+  function sync (doc) {
+    var df = Q.defer (); 
+
+    var rspg = new RadiusSyncPg (req.app.config); 
+    var name = doc ? doc.name : req.params.docname;
+
+    rspg.groupName (name);
+    if (doc)
+      rspg.attrsData (doc);
+    else
+      rspg.attrsData (undefined);
+
+    rspg.groupSync (name, function (err, synced) {
+      df.resolve ();
+    });
+
+    return df.promise;
+  }
+
+
+  switch (req.method) {
+    case 'POST':
+    case 'PUT':
+      var d = Q.defer ();
+
+      Q.fcall(getData)
+        .then (sync)
+        .then (function () {
+          next ();
+        })
+
+      return d.promise;
+
+    case 'DELETE':
+      var d = Q.defer ();
+
+      Q.fcall(sync)
+        .then (function () {
+          next ();
+        })
+
+      return d.promise;
+
+    default:
+      res.send (400);
+  }
+};
+
+PackageRoutes.prototype.replyclient = function (req, res) {
+  switch (req.method) {
+    case 'POST':
+      res.json ({ _id: req.model._id });
+      break;
+
+    case 'PUT':
+      res.send ('true', 200);
+      break;
+
+    case 'DELETE':
+      res.send ('true', 200);
+      break;
+
+    default:
+      res.send (400);
+  }
+};
+
+exports = module.exports = new PackageRoutes;
diff --git a/api/routes/user.js b/api/routes/user.js
new file mode 100644 (file)
index 0000000..bf56a92
--- /dev/null
@@ -0,0 +1,11 @@
+var User = require ('../user');
+
+var UserRoutes = function () {
+
+};
+
+UserRoutes.prototype.initRoutes = function (app) {
+  app.get ('/api/package/inheritance', this.getInheritAll);
+};
+
+module.exports = new UserRoutes;
diff --git a/api/user.js b/api/user.js
new file mode 100644 (file)
index 0000000..b0483c9
--- /dev/null
@@ -0,0 +1,57 @@
+var mongoose = require ('mongoose');
+var mongoose_conn = undefined;
+
+var User = function (config) {
+  if (!mongoose_conn)
+    mongoose_conn = mongoose.createConnection (config.DSDb);
+
+  this.mongoose = mongoose_conn;
+
+  this.initModel ();
+  this.model = this.getModel ('user');
+};
+
+User.prototype.initModel = function () {
+  var Schema = mongoose.Schema;
+  var ObjectId = Schema.ObjectId;
+
+  var Role = new Schema ({
+    name: String,
+  });
+
+  var schemas = {
+    user: new Schema({
+      username: { type: String, trim: true, index: { unique: true }},
+      personid: { type: String, index: { unique: true }},
+      firstname: { type: String, index: true },
+      surname: { type: String, index: true },
+      email: { type: String, index: true },
+      salt: String,
+      password: String,
+      role: [ Role ],
+    }, { safe: true, strict: true }),
+  };
+
+  var model = this.mongoose.model ('user', schemas.user, 'users');
+};
+
+User.prototype.getModel = function (modelname) {
+  var model = this.mongoose.model (modelname);
+
+  if (model)
+    return model;
+  else
+    return undefined;
+};
+
+User.prototype.numRows = function (callback) {
+  var all = this.model.find ({});
+
+  all.count (callback);
+};
+
+User.prototype.get = function (login, callback) {
+  this.model.findOne ({ username: login }, callback); 
+};
+
+module.exports = User;
diff --git a/app.js b/app.js
new file mode 100644 (file)
index 0000000..cc52595
--- /dev/null
+++ b/app.js
@@ -0,0 +1,63 @@
+
+/**
+ * Module dependencies.
+ */
+
+var express = require('express'),
+    MongoStore = require ('connect-mongo')(express), 
+    routes = require ('./routes');
+    auth = require ('./api/auth');
+
+var app = module.exports = express.createServer();
+
+var config = require ('./settings'); 
+app.config = config;
+
+
+// Configuration
+
+app.configure(function(){
+  app.set('views', __dirname + '/views');
+  app.set('view engine', 'jade');
+  app.use(express.bodyParser());
+  app.use(express.cookieParser());
+  app.use(express.session({
+    secret: app.config.cookie_secret,
+    cookie: {
+      maxAge: 1800000,
+    },
+    store: new MongoStore (app.config.StoreDb), 
+  }));
+  app.use(auth.everyauth.middleware ());
+  app.use(express.methodOverride());
+  app.use(app.router);
+  app.use(express.static(__dirname + '/public'));
+});
+
+app.configure('development', function(){
+  app.use(express.errorHandler({ dumpExceptions: true, showStack: true }));
+
+  process.on ('uncaughtException', function (err) {
+    console.log ('Caught exception: ', err);
+  });
+});
+
+app.configure('production', function(){
+  app.use(express.errorHandler());
+
+  process.on ('uncaughtException', function (err) {
+    /* Silently ignore */
+  });
+});
+
+auth.everyauth.helpExpress (app, { userAlias: '__user__' });
+auth.everyauth.password
+  .loginLocals ({ title: 'Login: ' + app.config.appName })
+  .registerLocals ({ title: 'Register: ' + app.config.appName });
+
+// Routes
+routes.init (app);
+
+app.listen(3000, function(){
+  console.log("Express server listening on port %d in %s mode", app.address().port, app.settings.env);
+});
diff --git a/node_modules/.bin/express b/node_modules/.bin/express
new file mode 120000 (symlink)
index 0000000..b741d99
--- /dev/null
@@ -0,0 +1 @@
+../express/bin/express
\ No newline at end of file
diff --git a/node_modules/.bin/jade b/node_modules/.bin/jade
new file mode 120000 (symlink)
index 0000000..571fae7
--- /dev/null
@@ -0,0 +1 @@
+../jade/bin/jade
\ No newline at end of file
diff --git a/node_modules/connect-mongo/index.js b/node_modules/connect-mongo/index.js
new file mode 100644 (file)
index 0000000..76aa71b
--- /dev/null
@@ -0,0 +1,4 @@
+
+module.exports = process.env.CONNECT_MONGO_COV
+  ? require('./lib-cov/connect-mongo')
+  : require('./lib/connect-mongo');
\ No newline at end of file
diff --git a/node_modules/connect-mongo/lib/connect-mongo.js b/node_modules/connect-mongo/lib/connect-mongo.js
new file mode 100644 (file)
index 0000000..c002f4d
--- /dev/null
@@ -0,0 +1,261 @@
+/*!
+ * connect-mongo
+ * Copyright(c) 2011 Casey Banner <kcbanner@gmail.com>
+ * MIT Licensed
+ */
+
+/**
+ * Module dependencies
+ */
+
+var mongo = require('mongodb');
+var url = require('url');
+
+
+/**
+ * Default options
+ */
+
+var defaultOptions = {host: '127.0.0.1',
+                      port: 27017,
+                      stringify: true,
+                      collection: 'sessions',
+                      auto_reconnect: false,
+                      clear_interval: -1};
+
+module.exports = function(connect) {
+  var Store = connect.session.Store;
+
+  /**
+   * Initialize MongoStore with the given `options`.
+   * Calls `callback` when db connection is ready (mainly for testing purposes).
+   * 
+   * @param {Object} options
+   * @param {Function} callback
+   * @api public
+   */
+
+  function MongoStore(options, callback) {
+    options = options || {};
+    Store.call(this, options);
+
+    if(options.url) {
+      var db_url = url.parse(options.url);
+
+      if (db_url.port) {
+        options.port = parseInt(db_url.port);
+      }
+      
+      if (db_url.pathname != undefined) {
+        var pathname = db_url.pathname.split('/');
+
+        if (pathname.length >= 2) {
+          options.db = pathname[1];
+        }
+        
+        if (pathname.length >= 3) {
+          options.collection = pathname[2];
+        }
+      }
+      
+      if (db_url.hostname != undefined) {
+        options.host = db_url.hostname;
+      }
+
+      if (db_url.auth != undefined) {
+        var auth = db_url.auth.split(':');
+
+        if (auth.length >= 1) {
+          options.username = auth[0];
+        }
+        
+        if (auth.length >= 2) {
+          options.password = auth[1];
+        }
+      }
+    }
+  
+    if(!options.db) {
+      throw new Error('Required MongoStore option `db` missing');
+    }
+    
+    this.db = new mongo.Db(options.db,
+                           new mongo.Server(options.host || defaultOptions.host,
+                                            options.port || defaultOptions.port, 
+                                            {
+                                              auto_reconnect: options.auto_reconnect ||
+                                                defaultOptions.auto_reconnect
+                                            }));
+    
+    this.db_collection_name = options.collection || defaultOptions.collection;
+
+    if (options.hasOwnProperty('stringify') ? options.stringify : defaultOptions.stringify) {
+      this._serialize_session = JSON.stringify;
+      this._unserialize_session = JSON.parse;
+    } else {
+      this._serialize_session = function(x) { return x; };
+      this._unserialize_session = function(x) { return x; };
+    }
+    
+    var self = this;
+    this._get_collection = function(callback) {
+      if (self.collection) {
+        callback && callback(self.collection);
+      } else {
+        self.db.collection(self.db_collection_name, function(err, collection) {
+          if (err) {
+            throw new Error('Error getting collection: ' + self.db_collection_name);
+          } else {
+            self.collection = collection;
+                
+            var clear_interval = options.clear_interval || defaultOptions.clear_interval;
+            if (clear_interval > 0) {
+              self.clear_interval = setInterval(function() {          
+                self.collection.remove({expires: {$lte: new Date()}});
+              }, clear_interval * 1000, self);
+            }
+            
+            callback && callback(self.collection);
+          }      
+        });    
+      }
+    };
+    
+    this.db.open(function(err, db) {
+      if (err) {
+        throw new Error('Error connecting to database');
+      }
+
+      if (options.username && options.password) {
+        db.authenticate(options.username, options.password, function () {
+          self._get_collection(callback);
+        });
+      } else {
+        self._get_collection(callback);
+      }
+    });
+  };
+
+  /**
+   * Inherit from `Store`.
+   */
+
+  MongoStore.prototype.__proto__ = Store.prototype;
+
+  /**
+   * Attempt to fetch session by the given `sid`.
+   *
+   * @param {String} sid
+   * @param {Function} callback
+   * @api public
+   */
+  
+  MongoStore.prototype.get = function(sid, callback) {
+    var self = this;
+    this._get_collection(function(collection) {    
+      collection.findOne({_id: sid}, function(err, session) {
+        try {
+          if (err) {
+            callback && callback(err, null);
+          } else {      
+            
+            if (session) {
+              if (!session.expires || new Date < session.expires) {
+                callback(null, self._unserialize_session(session.session));
+              } else {
+                self.destroy(sid, callback);
+              }
+            } else {
+              callback && callback();
+            }
+          }
+        } catch (err) {
+          callback && callback(err);
+        }
+      });
+    });
+  };
+
+  /**
+   * Commit the given `sess` object associated with the given `sid`.
+   *
+   * @param {String} sid
+   * @param {Session} sess
+   * @param {Function} callback
+   * @api public
+   */
+
+  MongoStore.prototype.set = function(sid, session, callback) {
+    try {
+          var s = {_id: sid, session: this._serialize_session(session)};
+
+      if (session && session.cookie && session.cookie._expires) {
+        s.expires = new Date(session.cookie._expires);
+      }
+
+      this._get_collection(function(collection) {
+        collection.update({_id: sid}, s, {upsert: true, safe: true}, function(err, data) {
+          if (err) {
+            callback && callback(err);
+          } else {
+            callback && callback(null);
+          }
+        });
+      });
+    } catch (err) {
+      callback && callback(err);
+    }
+  };
+
+  /**
+   * Destroy the session associated with the given `sid`.
+   *
+   * @param {String} sid
+   * @param {Function} callback
+   * @api public
+   */
+
+  MongoStore.prototype.destroy = function(sid, callback) {
+    this._get_collection(function(collection) {
+      collection.remove({_id: sid}, function() {
+        callback && callback();
+      });
+    });
+  };
+
+  /**
+   * Fetch number of sessions.
+   *
+   * @param {Function} callback
+   * @api public
+   */
+
+  MongoStore.prototype.length = function(callback) {
+    this._get_collection(function(collection) {
+      collection.count({}, function(err, count) {
+        if (err) {
+          callback && callback(err);
+        } else {
+          callback && callback(null, count);
+        }
+      });
+    });
+  };
+
+  /**
+   * Clear all sessions.
+   *
+   * @param {Function} callback
+   * @api public
+   */
+
+  MongoStore.prototype.clear = function(callback) {
+    this._get_collection(function(collection) {
+      collection.drop(function() {
+        callback && callback();
+      });
+    });
+  };
+  
+  return MongoStore;
+};
\ No newline at end of file
diff --git a/node_modules/connect-mongo/node_modules/mongodb/.travis.yml b/node_modules/connect-mongo/node_modules/mongodb/.travis.yml
new file mode 100644 (file)
index 0000000..90b208a
--- /dev/null
@@ -0,0 +1,5 @@
+language: node_js
+node_js:
+  - 0.4
+  - 0.6
+  - 0.7 # development version of 0.8, may be unstable
\ No newline at end of file
diff --git a/node_modules/connect-mongo/node_modules/mongodb/Makefile b/node_modules/connect-mongo/node_modules/mongodb/Makefile
new file mode 100644 (file)
index 0000000..de11cbe
--- /dev/null
@@ -0,0 +1,71 @@
+NODE = node
+NPM = npm
+NODEUNIT = node_modules/nodeunit/bin/nodeunit
+DOX = node_modules/dox/bin/dox
+name = all
+
+total: build_native
+
+build_native:
+       # $(MAKE) -C ./external-libs/bson all
+
+build_native_debug:
+       $(MAKE) -C ./external-libs/bson all_debug
+
+build_native_clang:
+       $(MAKE) -C ./external-libs/bson clang
+
+build_native_clang_debug:
+       $(MAKE) -C ./external-libs/bson clang_debug
+
+clean_native:
+       $(MAKE) -C ./external-libs/bson clean
+
+test: build_native
+       @echo "\n == Run All tests minus replicaset tests=="
+       $(NODE) dev/tools/test_all.js --noreplicaset --boot
+
+test_pure: build_native
+       @echo "\n == Run All tests minus replicaset tests=="
+       $(NODE) dev/tools/test_all.js --noreplicaset --boot --noactive
+
+test_junit: build_native
+       @echo "\n == Run All tests minus replicaset tests=="
+       $(NODE) dev/tools/test_all.js --junit --noreplicaset
+
+test_nodeunit_pure:
+       @echo "\n == Execute Test Suite using Pure JS BSON Parser == "
+       @$(NODEUNIT) test/ test/gridstore test/bson
+
+test_js:
+       @$(NODEUNIT) $(TESTS)
+
+test_nodeunit_replicaset_pure:
+       @echo "\n == Execute Test Suite using Pure JS BSON Parser == "
+       @$(NODEUNIT) test/replicaset
+
+test_nodeunit_native:
+       @echo "\n == Execute Test Suite using Native BSON Parser == "
+       @TEST_NATIVE=TRUE $(NODEUNIT) test/ test/gridstore test/bson    
+
+test_nodeunit_replicaset_native:
+       @echo "\n == Execute Test Suite using Native BSON Parser == "
+       @TEST_NATIVE=TRUE $(NODEUNIT) test/replicaset
+
+test_all: build_native
+       @echo "\n == Run All tests =="
+       $(NODE) dev/tools/test_all.js --boot
+
+test_all_junit: build_native
+       @echo "\n == Run All tests =="
+       $(NODE) dev/tools/test_all.js --junit --boot
+
+clean:
+       rm ./external-libs/bson/bson.node
+       rm -r ./external-libs/bson/build
+
+generate_docs:
+       $(NODE) dev/tools/build-docs.js
+       make --directory=./docs/sphinx-docs --file=Makefile html
+
+.PHONY: total
diff --git a/node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/Makefile b/node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/Makefile
new file mode 100644 (file)
index 0000000..ad877d4
--- /dev/null
@@ -0,0 +1,45 @@
+NODE = node
+name = all
+JOBS = 1
+
+all:
+       rm -rf build .lock-wscript bson.node
+       node-waf configure build
+       cp -R ./build/Release/bson.node . || true
+       @$(NODE) --expose-gc test/test_bson.js
+       @$(NODE) --expose-gc test/test_full_bson.js
+       # @$(NODE) --expose-gc test/test_stackless_bson.js
+
+all_debug:
+       rm -rf build .lock-wscript bson.node
+       node-waf --debug configure build
+       cp -R ./build/Release/bson.node . || true
+       @$(NODE) --expose-gc test/test_bson.js
+       @$(NODE) --expose-gc test/test_full_bson.js
+       # @$(NODE) --expose-gc test/test_stackless_bson.js
+
+test:
+       @$(NODE) --expose-gc test/test_bson.js
+       @$(NODE) --expose-gc test/test_full_bson.js
+       # @$(NODE) --expose-gc test/test_stackless_bson.js
+
+clang:
+       rm -rf build .lock-wscript bson.node
+       CXX=clang node-waf configure build
+       cp -R ./build/Release/bson.node . || true
+       @$(NODE) --expose-gc test/test_bson.js
+       @$(NODE) --expose-gc test/test_full_bson.js
+       # @$(NODE) --expose-gc test/test_stackless_bson.js
+
+clang_debug:
+       rm -rf build .lock-wscript bson.node
+       CXX=clang node-waf --debug configure build
+       cp -R ./build/Release/bson.node . || true
+       @$(NODE) --expose-gc test/test_bson.js
+       @$(NODE) --expose-gc test/test_full_bson.js
+       # @$(NODE) --expose-gc test/test_stackless_bson.js
+
+clean:
+       rm -rf build .lock-wscript bson.node
+
+.PHONY: all
\ No newline at end of file
diff --git a/node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/bson.cc b/node_modules/connect-mongo/node_modules/mongodb/external-libs/bson/bson.cc
new file mode 100644 (file)
index 0000000..8906eea
--- /dev/null
@@ -0,0 +1,2165 @@
+#include <assert.h>
+#include <string.h>
+#include <stdlib.h>
+
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-parameter"
+#endif
+
+#include <v8.h>
+
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
+
+#include <node.h>
+#include <node_version.h>
+#include <node_buffer.h>
+#include <cstring>
+#include <cmath>
+#include <cstdlib>
+#include <iostream>
+#include <limits>
+#include <vector>
+
+#include "bson.h"
+
+using namespace v8;
+using namespace node;
+using namespace std;
+
+// BSON DATA TYPES
+const uint32_t BSON_DATA_NUMBER = 1;
+const uint32_t BSON_DATA_STRING = 2;
+const uint32_t BSON_DATA_OBJECT = 3;
+const uint32_t BSON_DATA_ARRAY = 4;
+const uint32_t BSON_DATA_BINARY = 5;
+const uint32_t BSON_DATA_OID = 7;
+const uint32_t BSON_DATA_BOOLEAN = 8;
+const uint32_t BSON_DATA_DATE = 9;
+const uint32_t BSON_DATA_NULL = 10;
+const uint32_t BSON_DATA_REGEXP = 11;
+const uint32_t BSON_DATA_CODE = 13;
+const uint32_t BSON_DATA_SYMBOL = 14;
+const uint32_t BSON_DATA_CODE_W_SCOPE = 15;
+const uint32_t BSON_DATA_INT = 16;
+const uint32_t BSON_DATA_TIMESTAMP = 17;
+const uint32_t BSON_DATA_LONG = 18;
+const uint32_t BSON_DATA_MIN_KEY = 0xff;
+const uint32_t BSON_DATA_MAX_KEY = 0x7f;
+
+const int32_t BSON_INT32_MAX = (int32_t)2147483647L;
+const int32_t BSON_INT32_MIN = (int32_t)(-1) * 2147483648L;
+
+const int64_t BSON_INT64_MAX = ((int64_t)1 << 63) - 1;
+const int64_t BSON_INT64_MIN = (int64_t)-1 << 63;
+
+const int64_t JS_INT_MAX = (int64_t)1 << 53;
+const int64_t JS_INT_MIN = (int64_t)-1 << 53;
+
+static Handle<Value> VException(const char *msg) {
+    HandleScope scope;
+    return ThrowException(Exception::Error(String::New(msg)));
+  };
+
+Persistent<FunctionTemplate> BSON::constructor_template;
+
+void BSON::Initialize(v8::Handle<v8::Object> target) {
+  // Grab the scope of the call from Node
+  HandleScope scope;
+  // Define a new function template
+  Local<FunctionTemplate> t = FunctionTemplate::New(New);
+  constructor_template = Persistent<FunctionTemplate>::New(t);
+  constructor_template->InstanceTemplate()->SetInternalFieldCount(1);
+  constructor_template->SetClassName(String::NewSymbol("BSON"));
+  
+  // Instance methods
+  NODE_SET_PROTOTYPE_METHOD(constructor_template, "calculateObjectSize", CalculateObjectSize);
+  NODE_SET_PROTOTYPE_METHOD(constructor_template, "serialize", BSONSerialize);
+  NODE_SET_PROTOTYPE_METHOD(constructor_template, "serializeWithBufferAndIndex", SerializeWithBufferAndIndex);
+  NODE_SET_PROTOTYPE_METHOD(constructor_template, "deserialize", BSONDeserialize);
+  NODE_SET_PROTOTYPE_METHOD(constructor_template, "deserializeStream", BSONDeserializeStream);
+
+  // Experimental
+  // NODE_SET_PROTOTYPE_METHOD(constructor_template, "calculateObjectSize2", CalculateObjectSize2);
+  // NODE_SET_PROTOTYPE_METHOD(constructor_template, "serialize2", BSONSerialize2);
+  // NODE_SET_METHOD(constructor_template->GetFunction(), "serialize2", BSONSerialize2);  
+
+  target->ForceSet(String::NewSymbol("BSON"), constructor_template->GetFunction());
+}
+
+// Create a new instance of BSON and assing it the existing context
+Handle<Value> BSON::New(const Arguments &args) {
+  HandleScope scope;
+  
+  // Check that we have an array
+  if(args.Length() == 1 && args[0]->IsArray()) {
+    // Cast the array to a local reference
+    Local<Array> array = Local<Array>::Cast(args[0]);
+    
+    if(array->Length() > 0) {
+      // Create a bson object instance and return it
+      BSON *bson = new BSON();
+
+      // Setup pre-allocated comparision objects
+      bson->_bsontypeString = Persistent<String>::New(String::New("_bsontype"));
+      bson->_longLowString = Persistent<String>::New(String::New("low_"));
+      bson->_longHighString = Persistent<String>::New(String::New("high_"));
+      bson->_objectIDidString = Persistent<String>::New(String::New("id"));
+      bson->_binaryPositionString = Persistent<String>::New(String::New("position"));
+      bson->_binarySubTypeString = Persistent<String>::New(String::New("sub_type"));
+      bson->_binaryBufferString = Persistent<String>::New(String::New("buffer"));
+      bson->_doubleValueString = Persistent<String>::New(String::New("value"));
+      bson->_symbolValueString = Persistent<String>::New(String::New("value"));
+      bson->_dbRefRefString = Persistent<String>::New(String::New("$ref"));
+      bson->_dbRefIdRefString = Persistent<String>::New(String::New("$id"));
+      bson->_dbRefDbRefString = Persistent<String>::New(String::New("$db"));
+      bson->_dbRefNamespaceString = Persistent<String>::New(String::New("namespace"));
+      bson->_dbRefDbString = Persistent<String>::New(String::New("db"));
+      bson->_dbRefOidString = Persistent<String>::New(String::New("oid"));
+
+      // total number of found classes
+      uint32_t numberOfClasses = 0;
+      
+      // Iterate over all entries to save the instantiate funtions
+      for(uint32_t i = 0; i < array->Length(); i++) {
+        // Let's get a reference to the function
+        Local<Function> func = Local<Function>::Cast(array->Get(i));
+        Local<String> functionName = func->GetName()->ToString();
+            
+        // Save the functions making them persistant handles (they don't get collected)
+        if(functionName->StrictEquals(String::New("Long"))) {
+          bson->longConstructor = Persistent<Function>::New(func);
+          bson->longString = Persistent<String>::New(String::New("Long"));
+          numberOfClasses = numberOfClasses + 1;
+        } else if(functionName->StrictEquals(String::New("ObjectID"))) {
+          bson->objectIDConstructor = Persistent<Function>::New(func);
+          bson->objectIDString = Persistent<String>::New(String::New("ObjectID"));
+          numberOfClasses = numberOfClasses + 1;
+        } else if(functionName->StrictEquals(String::New("Binary"))) {
+          bson->binaryConstructor = Persistent<Function>::New(func);
+          bson->binaryString = Persistent<String>::New(String::New("Binary"));
+          numberOfClasses = numberOfClasses + 1;
+        } else if(functionName->StrictEquals(String::New("Code"))) {
+          bson->codeConstructor = Persistent<Function>::New(func);
+          bson->codeString = Persistent<String>::New(String::New("Code"));
+          numberOfClasses = numberOfClasses + 1;
+        } else if(functionName->StrictEquals(String::New("DBRef"))) {
+          bson->dbrefConstructor = Persistent<Function>::New(func);
+          bson->dbrefString = Persistent<String>::New(String::New("DBRef"));
+          numberOfClasses = numberOfClasses + 1;
+        } else if(functionName->StrictEquals(String::New("Symbol"))) {
+          bson->symbolConstructor = Persistent<Function>::New(func);
+          bson->symbolString = Persistent<String>::New(String::New("Symbol"));
+          numberOfClasses = numberOfClasses + 1;
+        } else if(functionName->StrictEquals(String::New("Double"))) {
+          bson->doubleConstructor = Persistent<Function>::New(func);
+          bson->doubleString = Persistent<String>::New(String::New("Double"));
+          numberOfClasses = numberOfClasses + 1;
+        } else if(functionName->StrictEquals(String::New("Timestamp"))) {
+          bson->timestampConstructor = Persistent<Function>::New(func);
+          bson->timestampString = Persistent<String>::New(String::New("Timestamp"));
+          numberOfClasses = numberOfClasses + 1;
+        } else if(functionName->StrictEquals(String::New("MinKey"))) {
+          bson->minKeyConstructor = Persistent<Function>::New(func);
+          bson->minKeyString = Persistent<String>::New(String::New("MinKey"));
+          numberOfClasses = numberOfClasses + 1;
+        } else if(functionName->StrictEquals(String::New("MaxKey"))) {
+          bson->maxKeyConstructor = Persistent<Function>::New(func);
+          bson->maxKeyString = Persistent<String>::New(String::New("MaxKey"));
+          numberOfClasses = numberOfClasses + 1;
+        }
+      }
+      
+      // Check if we have the right number of constructors otherwise throw an error
+      if(numberOfClasses != 10) {
+        // Destroy object
+        delete(bson);
+        // Fire exception
+        return VException("Missing function constructor for either [Long/ObjectID/Binary/Code/DbRef/Symbol/Double/Timestamp/MinKey/MaxKey]");
+      } else {
+        bson->Wrap(args.This());
+        return args.This();                  
+      }
+    } else {
+      return VException("No types passed in");
+    }    
+  } else {
+    return VException("Argument passed in must be an array of types");
+  }  
+}
+
+void BSON::write_int32(char *data, uint32_t value) {
+  // Write the int to the char*
+  memcpy(data, &value, 4);  
+}
+
+void BSON::write_double(char *data, double value) {
+  // Write the double to the char*
+  memcpy(data, &value, 8);    
+}
+
+void BSON::write_int64(char *data, int64_t value) {
+  // Write the int to the char*
+  memcpy(data, &value, 8);      
+}
+
+char *BSON::check_key(Local<String> key) {
+  // Allocate space for they key string
+  char *key_str = (char *)malloc(key->Utf8Length() * sizeof(char) + 1);
+  // Error string
+  char *error_str = (char *)malloc(256 * sizeof(char));
+  // Decode the key
+  ssize_t len = DecodeBytes(key, BINARY);
+  DecodeWrite(key_str, len, key, BINARY);
+  *(key_str + key->Utf8Length()) = '\0';
+  // Check if we have a valid key
+  if(key->Utf8Length() > 0 && *(key_str) == '$') {
+    // Create the string
+    sprintf(error_str, "key %s must not start with '$'", key_str);
+    // Free up memory
+    free(key_str);
+    // Throw exception with string
+    throw error_str;
+  } else if(key->Utf8Length() > 0 && strchr(key_str, '.') != NULL) {
+    // Create the string
+    sprintf(error_str, "key %s must not contain '.'", key_str);
+    // Free up memory
+    free(key_str);
+    // Throw exception with string
+    throw error_str;
+  }
+  // Free allocated space
+  free(key_str);
+  free(error_str);
+  // Return No check key error
+  return NULL;
+}
+
+const char* BSON::ToCString(const v8::String::Utf8Value& value) {
+  return *value ? *value : "<string conversion failed>";
+}
+
+Handle<Value> BSON::decodeDBref(BSON *bson, Local<Value> ref, Local<Value> oid, Local<Value> db) {
+  HandleScope scope;
+  Local<Value> argv[] = {ref, oid, db};
+  Handle<Value> dbrefObj = bson->dbrefConstructor->NewInstance(3, argv);    
+  return scope.Close(dbrefObj);
+}
+
+Handle<Value> BSON::decodeCode(BSON *bson, char *code, Handle<Value> scope_object) {
+  HandleScope scope;
+  
+  Local<Value> argv[] = {String::New(code), scope_object->ToObject()};
+  Handle<Value> codeObj = bson->codeConstructor->NewInstance(2, argv);
+  return scope.Close(codeObj);
+}
+
+Handle<Value> BSON::decodeBinary(BSON *bson, uint32_t sub_type, uint32_t number_of_bytes, char *data) {
+  HandleScope scope;
+  
+  // Create a buffer object that wraps the raw stream
+  Buffer *bufferObj = Buffer::New(data, number_of_bytes);
+  // Arguments to be passed to create the binary
+  Handle<Value> argv[] = {bufferObj->handle_, Uint32::New(sub_type)};
+  // Return the buffer handle
+  Local<Object> bufferObjHandle = bson->binaryConstructor->NewInstance(2, argv);
+  // Close the scope
+  return scope.Close(bufferObjHandle);
+}
+
+Handle<Value> BSON::decodeOid(BSON *bson, char *oid) {
+  HandleScope scope;
+
+  // Encode the string (string - null termiating character)
+  Local<Value> bin_value = Encode(oid, 12, BINARY)->ToString();
+
+  // Return the id object
+  Local<Value> argv[] = {bin_value};
+  Local<Object> oidObj = bson->objectIDConstructor->NewInstance(1, argv);
+  return scope.Close(oidObj);
+}
+
+Handle<Value> BSON::decodeLong(BSON *bson, char *data, uint32_t index) {
+  HandleScope scope;
+  
+  // Decode the integer value
+  int32_t lowBits = 0;
+  int32_t highBits = 0;
+  memcpy(&lowBits, (data + index), 4);        
+  memcpy(&highBits, (data + index + 4), 4);        
+  
+  // Decode 64bit value
+  int64_t value = 0;
+  memcpy(&value, (data + index), 8);        
+
+  // If value is < 2^53 and >-2^53
+  if((highBits < 0x200000 || (highBits == 0x200000 && lowBits == 0)) && highBits >= -0x200000) {
+    int64_t finalValue = 0;
+    memcpy(&finalValue, (data + index), 8);        
+    return scope.Close(Number::New(finalValue));
+  }
+
+  // Instantiate the js object and pass it back
+  Local<Value> argv[] = {Int32::New(lowBits), Int32::New(highBits)};
+  Local<Object> longObject = bson->longConstructor->NewInstance(2, argv);
+  return scope.Close(longObject);      
+}
+
+Handle<Value> BSON::decodeTimestamp(BSON *bson, char *data, uint32_t index) {
+  HandleScope scope;
+  
+  // Decode the integer value
+  int32_t lowBits = 0;
+  int32_t highBits = 0;
+  memcpy(&lowBits, (data + index), 4);        
+  memcpy(&highBits, (data + index + 4), 4);        
+
+  // Build timestamp
+  Local<Value> argv[] = {Int32::New(lowBits), Int32::New(highBits)};
+  Handle<Value> timestamp_obj = bson->timestampConstructor->NewInstance(2, argv);
+  return scope.Close(timestamp_obj);      
+}
+
+// Search for 0 terminated C string and return the string
+char* BSON::extract_string(char *data, uint32_t offset) {
+  char *prt = strchr((data + offset), '\0');
+  if(prt == NULL) return NULL;
+  // Figure out the length of the string
+  uint32_t length = (prt - data) - offset;      
+  // Allocate memory for the new string
+  char *string_name = (char *)malloc((length * sizeof(char)) + 1);
+  // Copy the variable into the string_name
+  strncpy(string_name, (data + offset), length);
+  // Ensure the string is null terminated
+  *(string_name + length) = '\0';
+  // Return the unpacked string
+  return string_name;
+}
+
+// Decode a byte
+uint16_t BSON::deserialize_int8(char *data, uint32_t offset) {
+  uint16_t value = 0;
+  value |= *(data + offset + 0);              
+  return value;
+}
+
+// Requires a 4 byte char array
+uint32_t BSON::deserialize_int32(char* data, uint32_t offset) {
+  uint32_t value = 0;
+  memcpy(&value, (data + offset), 4);
+  return value;
+}
+
+//------------------------------------------------------------------------------------------------
+//
+// Experimental
+//
+//------------------------------------------------------------------------------------------------
+Handle<Value> BSON::CalculateObjectSize2(const Arguments &args) {
+  HandleScope scope;
+  // Ensure we have a valid object
+  if(args.Length() == 1 && !args[0]->IsObject()) return VException("One argument required - [object]");
+  if(args.Length() > 1) return VException("One argument required - [object]");  
+  // Calculate size of the object
+  uint32_t object_size = BSON::calculate_object_size2(args[0]);
+  // Return the object size
+  return scope.Close(Uint32::New(object_size));
+}
+
+uint32_t BSON::calculate_object_size2(Handle<Value> value) {
+  // Final object size
+  uint32_t object_size = (4 + 1);
+  uint32_t stackIndex = 0;
+  // Controls the flow
+  bool done = false;
+  bool finished = false;
+
+  // Current object we are processing
+  Local<Object> currentObject = value->ToObject();
+
+  // Current list of object keys
+  #if NODE_MAJOR_VERSION == 0 && NODE_MINOR_VERSION < 6
+    Local<Array> keys = currentObject->GetPropertyNames();
+  #else
+    Local<Array> keys = currentObject->GetOwnPropertyNames();
+  #endif
+  
+  // Contains pointer to keysIndex
+  uint32_t keysIndex = 0;
+  uint32_t keysLength = keys->Length();  
+    
+  // printf("=================================================================================\n");      
+  // printf("Start serializing\n");      
+    
+  while(!done) {
+    // If the index is bigger than the number of keys for the object
+    // we finished up the previous object and are ready for the next one
+    if(keysIndex >= keysLength) {
+      #if NODE_MAJOR_VERSION == 0 && NODE_MINOR_VERSION < 6
+        keys = currentObject->GetPropertyNames();
+      #else
+        keys = currentObject->GetOwnPropertyNames();
+      #endif
+      keysLength = keys->Length();
+    }
+    
+    // Iterate over all the keys
+    while(keysIndex < keysLength) {
+      // Fetch the key name
+      Local<String> name = keys->Get(keysIndex++)->ToString();
+      // Fetch the object related to the key
+      Local<Value> value = currentObject->Get(name);
+      // Add size of the name, plus zero, plus type
+      object_size += name->Utf8Length() + 1 + 1;      
+
+      // If we have a string
+      if(value->IsString()) {
+        object_size += value->ToString()->Utf8Length() + 1 + 4;
+      } else if(value->IsNumber()) {
+        // Check if we have a float value or a long value
+        Local<Number> number = value->ToNumber();
+        double d_number = number->NumberValue();
+        int64_t l_number = number->IntegerValue();
+        // Check if we have a double value and not a int64
+        double d_result = d_number - l_number;    
+        // If we have a value after subtracting the integer value we have a float
+        if(d_result > 0 || d_result < 0) {
+          object_size = object_size + 8;      
+        } else if(l_number <= BSON_INT32_MAX && l_number >= BSON_INT32_MIN) {
+          object_size = object_size + 4;
+        } else {
+          object_size = object_size + 8;
+        }        
+      } else if(value->IsBoolean()) {
+        object_size = object_size + 1;
+      } else if(value->IsDate()) {
+        object_size = object_size + 8;
+      } else if(value->IsRegExp()) {
+        // Fetch the string for the regexp
+        Handle<RegExp> regExp = Handle<RegExp>::Cast(value);    
+        ssize_t len = DecodeBytes(regExp->GetSource(), UTF8);
+        int flags = regExp->GetFlags();
+
+        // global
+        if((flags & (1 << 0)) != 0) len++;
+        // ignorecase
+        if((flags & (1 << 1)) != 0) len++;
+        //multiline
+        if((flags & (1 << 2)) != 0) len++;
+        // if((flags & (1 << 2)) != 0) len++;
+        // Calculate the space needed for the regexp: size of string - 2 for the /'ses +2 for null termiations
+        object_size = object_size + len + 2;
+      } else if(value->IsNull() || value->IsUndefined()) {
+      }
+      // } else if(value->IsNumber()) {
+      //   // Check if we have a float value or a long value
+      //   Local<Number> number = value->ToNumber();
+      //   double d_number = number->NumberValue();
+      //   int64_t l_number&nb