Commit Graph

1068 Commits

Author SHA1 Message Date
00fef783e0 Change test to passing 2014-02-26 02:54:24 -05:00
d1b0a855af Add build status badge 2014-02-26 02:49:47 -05:00
5d215165ec Added a failing test for travis-ci 2014-02-26 02:46:35 -05:00
c8535fe4a1 Moved assertion of code 11000 inside if (err) 2014-02-26 02:46:21 -05:00
232f91bf37 Merge branch 'master' of github.com:sahat/hackathon-starter
* 'master' of github.com:sahat/hackathon-starter:
  hack to exclude internal links from the list
  Added Windows Azure deployment instructions
2014-02-26 02:41:13 -05:00
88b3da68c6 Changed mongoStore db property to url 2014-02-26 02:35:57 -05:00
657692c277 test folder reorganization 2014-02-26 02:34:49 -05:00
af682428fd Added extra User model tests 2014-02-26 02:34:34 -05:00
b87b2051a3 Added mocha.opts that sets reporter style to "spec" 2014-02-26 02:20:00 -05:00
5dddb91621 Code refactoring 2014-02-25 22:39:28 -05:00
ae25cc208e Simplified scripts.test 2014-02-25 22:31:11 -05:00
0b400bb7ae Updated travis.yml 2014-02-25 21:16:48 -05:00
ca58b143f0 Renamed tests folder to test 2014-02-25 21:16:15 -05:00
453bf80046 Merge pull request #87 from ammit/master
hack to exclude internal links from the list
2014-02-25 19:38:40 -05:00
e08830df35 hack to exclude internal links from the list 2014-02-26 05:26:59 +05:30
4fbeef185b Added Windows Azure deployment instructions 2014-02-25 11:24:47 -05:00
8d0a4aa444 ensure travis ci provides mongoDB 2014-02-24 23:29:58 -07:00
4b4b4d3b8b add .travis.yml file and test Travis execution 2014-02-24 23:25:39 -07:00
2b51023938 add User password test 2014-02-24 23:24:38 -07:00
3dc900b725 bring in basic controller testing. NOTE: changes solve Mongo Session issue,
Error: Error setting TTL index on collection : sessions
    at /Users/weston/git/hackathon-starter/node_modules/connect-mongo/lib/connect-mongo.js:161:23
    at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1404:28
    at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1542:30
    at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:159:22
    at commandHandler (/Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:678:48)
    at /Users/weston/git/hackathon-starter/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1806:9
2014-02-24 23:15:55 -07:00
400de520c6 add simple User model testing 2014-02-24 22:58:49 -07:00
e4fe5019f2 add mocha and chai for testing setup 2014-02-24 22:58:35 -07:00
fb391916fe Merge branch 'master' of github.com:sahat/hackathon-starter
* 'master' of github.com:sahat/hackathon-starter:
  Updated validator.js version
  Added node-inspector debugging tool to the list
2014-02-24 08:58:02 -05:00
e513cabd19 Updated README 2014-02-24 08:57:58 -05:00
babcdd3afe Adding clockwork SMS to the API mix 2014-02-24 11:25:51 +00:00
1f148c8887 Updated validator.js version 2014-02-22 04:06:01 -05:00
d02e793cda Added node-inspector debugging tool to the list 2014-02-21 18:03:09 -05:00
eff0c28b54 Update README note 2014-02-21 17:41:35 -05:00
507217e59a Merge remote-tracking branch 'origin/master'
* origin/master:
  Added guide for how forgot password feature works
  Update request version
2014-02-21 17:39:49 -05:00
43df13b12a Update connect-assets to v3.0-beta1 2014-02-21 17:29:06 -05:00
b46ec72d4d Added guide for how forgot password feature works 2014-02-20 14:31:37 -05:00
1229504806 Update request version 2014-02-19 22:04:44 -05:00
d324369e68 Updated README 2014-02-18 04:27:49 -05:00
b4df736398 Updated features list 2014-02-18 04:11:27 -05:00
a9ff2dbe90 Merge branch 'dstroot-reset'
* dstroot-reset: (27 commits)
  Added comments to User model on instance methods and mongoose middleware.
  Updated login template
  Add success flash notification on successful password reset
  Forgot password token changed to hex instead of base64 to avoid having slashes in the url
  Merged first and second waterfall steps into one, added var secrets = require('../config/secrets');, and mongoose query now returns a user object instead of an array
  Converted reset controller from eventemitter to async.waterfall.
  Added callback to async.waterfall for error handling via express middleware
  Renamed forgot password link
  Updated reset password template
  Cleaned up and refactored reset password template
  Updated schema's default values for password token and expires fields
  Update flash message on successful forgot password request
  Update contributing section
  Update POST /forgot description.
  Refactor Forgot controller
  Converted workflow/eventemitter code to async.waterfall
  Update error flash message, redirect to /forgot if no reset token is found or if it has expired
  Updated expiration of password token to 1hr, updated flash message when email is sent with password recovery instructions.
  Removed user _id from reset route. Use only token value. It's random enough that you don't need to include user id as well.
  Updated email template text, removed token salting, changed token to base64 (24bit)
  ...
2014-02-18 04:07:08 -05:00
e23919c4eb Added comments to User model on instance methods and mongoose middleware. 2014-02-18 04:05:46 -05:00
b0daedd3a6 Updated login template 2014-02-18 03:49:31 -05:00
8aeae3f254 Add success flash notification on successful password reset 2014-02-18 03:46:03 -05:00
b7b74e70b3 Forgot password token changed to hex instead of base64 to avoid having slashes in the url 2014-02-18 03:33:32 -05:00
d24045ec49 Merged first and second waterfall steps into one, added var secrets = require('../config/secrets');, and mongoose query now returns a user object instead of an array 2014-02-18 03:29:25 -05:00
4d434aef3c Converted reset controller from eventemitter to async.waterfall. 2014-02-18 03:21:05 -05:00
6d3bdaeaea Added callback to async.waterfall for error handling via express middleware 2014-02-18 03:13:00 -05:00
85ab327432 Renamed forgot password link 2014-02-18 03:10:46 -05:00
1a12c07810 Updated reset password template 2014-02-18 03:10:24 -05:00
ac61a33867 Cleaned up and refactored reset password template 2014-02-18 02:58:16 -05:00
b29b0c7965 Updated schema's default values for password token and expires fields 2014-02-18 02:57:57 -05:00
597f137a2b Update flash message on successful forgot password request 2014-02-18 02:38:31 -05:00
43e2afd607 Update contributing section 2014-02-18 02:33:57 -05:00
71c5d31521 Update POST /forgot description. 2014-02-18 02:20:56 -05:00
ffb2c7b798 Refactor Forgot controller 2014-02-18 02:15:03 -05:00