72 Commits

Author SHA1 Message Date
George Wu
e6c46ed828 修正自定义 config.auth_cookie_name 导致测试不通过的问题 2017-02-12 02:46:29 +01:00
alsotang
cbebbdae8c 不可重复收藏和取消收藏 2016-04-20 16:03:29 +08:00
alsotang
63121c4136 update shouldjs to 7 2015-11-21 23:09:42 +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
43d9de28e5 Route methods use lowerCamelCase style 2015-05-25 11:14:14 +08:00
alsotang
3333b399a4 fix #500 。主题可被锁定 2015-03-17 22:02:26 +08:00
alsotang
3fa3f0aace 样式优化 2015-02-09 00:32:46 +08:00
alsotang
f1d1be20f2 fix tests 2015-01-21 11:12:46 +08:00
alsotang
fc9707a9f2 create reply in support.js 2014-10-26 20:41:08 +08:00
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