23 Commits

Author SHA1 Message Date
alsotang
9b9bfe7deb 用户名不区分大小写 2016-04-20 16:16:07 +08:00
alsotang
7cfc0187a2 fix test 2015-08-07 16:39:46 +08:00
alsotang
183fed23ca Revert "reformat code"
This reverts commit 5426982f5a128ec271738a51f9366dfd5b05565a.
2015-07-01 15:17:45 +08:00
alsotang
5426982f5a reformat code 2015-07-01 15:15:37 +08:00
Jason Lee
7cb8205fe8 对齐等号赋值 2015-05-23 22:43:36 +08:00
alsotang
c7f19cb6b2 Revert "add user cache"
This reverts commit bb0a002831d27dbdd9a1b63db518e6aafefe6e00.
2015-03-12 15:05:32 +08:00
alsotang
436c992f87 Revert "add expire time for user cache"
This reverts commit e7bad5a4cc230ece1b3ae1d1245dc8996d6bf6fe.
2015-03-12 15:05:22 +08:00
alsotang
e7bad5a4cc add expire time for user cache 2015-03-12 15:02:58 +08:00
alsotang
bb0a002831 add user cache 2015-03-12 14:56:39 +08:00
alsotang
0892396934 新用户自动生成 token 2014-10-26 14:31:31 +08:00
alsotang
f42b91b544 add more tests
modified:   test/controllers/message.test.js
	modified:   test/controllers/topic.test.js
	modified:   test/controllers/user.test.js
	modified:   test/support/support.js
2014-09-27 17:18:31 +08:00
alsotang
d468fea211 add tes for sign controller 2014-09-27 02:01:02 +08:00
alsotang
e9a4b31083 update validator to lastest version 3.19.0 2014-09-21 20:26:11 +08:00
alsotang
979119ae58 update mongoose to 3.8.x. fix #389 2014-09-21 17:33:23 +08:00
alsotang
0ec2314ed7 暂不缓存用户信息 2014-09-21 16:47:38 +08:00
alsotang
c49b2d553e 所有用户信息缓存 1s 2014-09-21 16:24:43 +08:00
alsotang
9c6f56ce84 去掉了 User#name 的概念,只保留 User#loginname 2014-09-06 17:46:01 +08:00
alsotang
9e4cffb734 hot fix 2014-08-12 11:57:31 +08:00
alsotang
c1350e73ef getGravatar 2014-08-12 11:54:35 +08:00
alsotang
50ea69d00e gravatar update issue 2014-08-11 11:43:00 +08:00
Jackson Tian
f98c2995b7 unit test cases 2013-03-27 00:46:58 +08:00
Jackson Tian
69e270d207 重构注册和发帖以及发邮件的部分 2013-03-10 02:54:57 +08:00
Jackson Tian
2ca3446c8b 分离controller和数据操作业务逻辑 2013-02-20 02:37:35 +08:00