56 Commits

Author SHA1 Message Date
alsotang
8add8cd9d1 修复帖子修改时间的bug 2016-09-12 16:15:20 +08:00
alsotang
b4c49bdf7d 删除评论和主题时,也删除积分 2016-06-21 23:26:32 +08:00
alsotang
a38dd581c3 use validator.js with only strings 2016-02-23 13:58:27 +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
Jason Lee
53b2a37b47 给 Response 扩展 render404, renderError 函数,替代之前重复 render 错误页面的代码; 2015-05-23 22:03:31 +08:00
alsotang
e4a1886527 软删除 2015-04-04 20:41:30 +08:00
alsotang
3333b399a4 fix #500 。主题可被锁定 2015-03-17 22:02:26 +08:00
alsotang
138a576a35 管理员可以删除评论 2015-03-16 17:24:05 +08:00
jysperm
aedccbcb3e fix bug: don't trim before update reply 2014-10-26 20:06:41 +08:00
alsotang
cf077ec59f 去掉二级回复的概念 2014-10-02 23:30:49 +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
e9a4b31083 update validator to lastest version 3.19.0 2014-09-21 20:26:11 +08:00
alsotang
b5b9bec86d 不能帮自己点赞 2014-09-21 13:55:06 +08:00
alsotang
80e2e77ff9 在 @username 被 hover 时,显示 username 之前的三条回复 2014-09-16 22:42:48 +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
2267b8c306 hotfix 2014-09-07 15:08:56 +08:00
alsotang
2374af5a1d 帮评论点赞 2014-09-07 14:57:08 +08:00
alsotang
3866f35cb3 refactor common dir 2014-09-06 18:04:34 +08:00
alsotang
7e030b5d9f reformat 所有代码 2014-08-12 20:10:50 +08:00
alsotang
34f3e45151 fix reply at feature 2014-07-22 19:18:16 +08:00
alsotang
72ef6d4609 fix #352 2014-07-01 23:12:16 +08:00
Alsotang
bf3ecf8c4f 修复二级回复重复通知 2014-05-07 18:46:32 +08:00
jiyinyiyong
8348ca9189 add methods and page to edit comments 2014-04-02 23:30:31 +08:00
Alsotang
7dfb258451 增加屏蔽用户功能 2014-01-10 17:37:25 +08:00
fengmk2
cb997dc9b9 on => all 2013-11-22 11:01:26 +08:00
fengmk2
3be7adea45 emit topic 2013-11-22 10:58:49 +08:00
fengmk2
6554e03624 fix #238 topic not exists reply 2013-11-22 10:53:54 +08:00
fengmk2
cdf6ff2a85 fixed "TypeError: Cannot read property author_id of null" 2013-09-04 09:37:05 +08:00
fengmk2
188fbfa3f5 增加邮件提示内容 2013-05-27 17:08:36 +08:00
fengmk2
1faeca491e user markd instead showdown, use ace 2013-05-27 16:07:31 +08:00
fengmk2
6ab41a0d3c 修复删除评论异常 2013-03-10 20:54:35 +08:00
fengmk2
af4935ffaa 修复 exports.updateLastReply 没有callback的bug 2013-03-10 20:48:06 +08:00
Jackson Tian
0fa43fba42 去除掉req.method的判断,分拆方法 2013-02-20 15:42:16 +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
a4ba20c921 Refine coding style 2013-02-19 10:47:29 +08:00
fengmk2
cb62ca84cc empty author 2012-11-05 00:38:40 +08:00
fengmk2
507fa1be6f fixed author empty bug 2012-11-05 00:37:12 +08:00
Lei Zongmin
d497dc63f9 使用xss模块来过滤主题及回复内容 2012-09-21 10:21:03 +08:00
dead-horse
89b358f55a change @me to markdown 2012-09-18 13:19:57 +08:00
dead-horse
4489a1c480 use escape replace of xss() 2012-09-18 01:16:06 +08:00
fengmk2
ed2c15b4f9 fixed reply xss 2012-09-17 22:35:43 +08:00
fengmk2
51d991b617 fixed #68 #75 remove html script 2012-09-11 23:07:36 +08:00
fengmk2
9459713b46 fixed #52 md编辑器需要完全与github的格式兼容 using showdown.js 2012-06-22 17:50:01 +08:00