62 Commits

Author SHA1 Message Date
alsotang
deea1c012b 分离屏蔽用户和删除发言接口 2014-10-26 18:11:05 +08:00
alsotang
5a281f7735 验证用户接口 2014-10-26 15:57:56 +08:00
alsotang
aa41af263e record github access-token 2014-10-22 18:09:46 +08:00
alsotang
6bea58b765 fix tests 2014-10-10 02:51:10 +08:00
alsotang
a9c7e4a03c add getstart page 2014-10-03 00:14:41 +08:00
alsotang
cf077ec59f 去掉二级回复的概念 2014-10-02 23:30:49 +08:00
alsotang
723b32343d update express 2014-10-01 20:57:20 +08:00
alsotang
9681c0529c 增强安全性 2014-10-01 02:03:50 +08:00
alsotang
dcd3b9a416 use bcrypt 2014-10-01 01:00:19 +08:00
alsotang
860eb1f372 fix test 2014-09-29 12:16:35 +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
23242dd6db add more tests 2014-09-27 14:37:01 +08:00
alsotang
72c50e97ed fix test 2014-09-27 02:36:44 +08:00
alsotang
e27d1917e3 add tests for github controller 2014-09-27 02:32:10 +08:00
alsotang
a31fb029d2 hotfix: remove mocha .only 2014-09-27 02:01:52 +08:00
alsotang
d468fea211 add tes for sign controller 2014-09-27 02:01:02 +08:00
alsotang
d04ca65d98 add more tests
* test/controllers/message.test.js
* test/controllers/reply.test.js
* test/support/support.js
2014-09-27 00:10:39 +08:00
alsotang
a97939edb8 session secret 2014-09-26 20:38:49 +08:00
alsotang
450fb95f2c fix github test_create test 2014-09-25 23:54:20 +08:00
Fei Yao
157c26b1d5 Revert "Revert "jshint检查出来的格式问题""
This reverts commit 30a83dc1db976e7e91b85bfa939cb46885d54832.
2014-09-07 17:21:55 +08:00
Fei Yao
8f84cde428 Revert "Revert "Revert "jshint检查出来的格式问题"""
This reverts commit b473f15cd676a2488416e7fb31f1983ee98a2ddc.
2014-09-07 16:42:42 +08:00
Fei Yao
b473f15cd6 Revert "Revert "jshint检查出来的格式问题""
This reverts commit 30a83dc1db976e7e91b85bfa939cb46885d54832.
2014-09-07 16:41:15 +08:00
Fei Yao
30a83dc1db Revert "jshint检查出来的格式问题"
This reverts commit 41fd359412369f1ec7d65c87107fc9cc16afa105.
2014-09-07 16:38:48 +08:00
Fei Yao
41fd359412 jshint检查出来的格式问题 2014-09-07 16:38:39 +08:00
alsotang
a0a8002d01 fix tests 2014-09-06 23:08:09 +08:00
alsotang
1f08b22006 版块功能 2014-09-06 22:06:56 +08:00
alsotang
deb7beae1f 抽象出 commmon/store.js 模块 2014-09-06 18:56:28 +08:00
alsotang
3866f35cb3 refactor common dir 2014-09-06 18:04:34 +08:00
alsotang
e32edaff6a delete unused code 2014-08-29 11:48:41 +08:00
dead_horse
6df3f87de9 rename all test file to *.test.js 2014-08-20 23:40:43 +08:00
alsotang
7e030b5d9f reformat 所有代码 2014-08-12 20:10:50 +08:00
Liucw
0b164f742b fix get /?page=-1 occur 500 2014-07-06 20:59:03 +08:00
alsotang
c740e1d590 fix tests due to update of should.js 2014-07-01 22:37:41 +08:00
Alsotang
590cbebb06 小修正。感谢 @ravenwang 的工作 2014-05-07 15:14:01 +08:00
Raven WANG
a4edc89cce 修复失败的测试 2014-05-07 14:34:07 +08:00
Alsotang
e4b8fbce27 update tests 2014-04-25 12:15:52 +08:00
Alsotang
be55e8392b fix tests 2014-04-23 15:53:20 +08:00
Alsotang
c5f6c25ab9 fix tests because update of should.js 2014-02-11 10:24:03 +08:00
Alsotang
7c13283cf8 随着 github 上用户资料的更新而更新 2013-12-26 16:08:41 +08:00
Alsotang
175bbec1e0 Fixed #256 2013-12-26 15:58:01 +08:00
Alsotang
92dbddb7a6 Fix tests 2013-12-26 12:52:29 +08:00
Alsotang
75d2c51b5c 写了 OAuth 部分的测试并小重构了一下
重构:
1. 重构 app.js 里面混乱的 app.use
2. 将 midderwares 纠正成了 middlewares
2013-12-26 12:30:00 +08:00
fengmk2
37d2f169de 使用七牛 gravatar.qiniudn.com 镜像 2013-08-22 16:17:53 +08:00
Jackson Tian
f98c2995b7 unit test cases 2013-03-27 00:46:58 +08:00
fengmk2
50e5a99308 修复node 0.6 test cases 2013-03-10 21:06:18 +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
Jackson Tian
c65f24d2c9 改完下划线驼峰为小驼峰式风格 2013-02-19 20:54:43 +08:00
Jackson Tian
26b0884008 修正rewire.reset()导致的单元测试异常 2013-02-19 10:55:23 +08:00
Jackson Tian
a4ba20c921 Refine coding style 2013-02-19 10:47:29 +08:00