107 Commits

Author SHA1 Message Date
alsotang
20fa6aa12e fix all warnings 2018-11-01 20:51:45 +08:00
alsotang
b65c32295e 无人回复的话题不显示dev区 2017-06-07 17:14:53 +08:00
alsotang
8add8cd9d1 修复帖子修改时间的bug 2016-09-12 16:15:20 +08:00
alsotang
32856e6e7b auto update update_at in Model 2016-09-05 18:22:08 +08:00
alsotang
b4c49bdf7d 删除评论和主题时,也删除积分 2016-06-21 23:26:32 +08:00
alsotang
cbebbdae8c 不可重复收藏和取消收藏 2016-04-20 16:03:29 +08:00
alsotang
da2b3ed3f3 record error topic ip 2016-03-28 20:40:09 +08:00
alsotang
f9c6a5e871 api 也已经加上收藏接口 2016-03-15 23:52:09 +08:00
alsotang
072cca971f 话题收藏 2016-03-15 23:19:05 +08:00
alsotang
e652f25ac7 when upload file reach max size, return friendly error msg. fix #633 2015-11-27 18:06:53 +08:00
alsotang
57d7236624 remove unnecessary escape 2015-09-02 11:15:40 +08:00
alsotang
996bf7c6b6 当点赞数至少为 3 时,才高亮 2015-08-12 21:01:10 +08:00
alsotang
f13ec3badb 去掉收藏功能 2015-08-07 18:13:32 +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
2c5feb63fe controllers/topic.js 对齐等号赋值; 2015-05-23 23:02:23 +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
Jason Lee
1618b2119c 增加 BaseModel,用 mongoose plugin 的方式为每个 Model 扩展 static, instance 函数;
发现有许多转换 create_at, updated_at 的动作,移到 BaseModel 里面,简化代码;
2015-05-23 21:25:09 +08:00
Jason Lee
57635a7d83 Same name style for views vars; 2015-05-23 20:21:53 +08:00
alsotang
8be2e14a29 topic 详情页缓存零回复主题 2015-04-23 22:57:13 +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
457b36ad83 微调图标 2014-11-12 14:10:49 +08:00
alsotang
0fbe86d1ed create topic api 2014-10-26 17:21:24 +08:00
alsotang
c6c001925f Merge remote-tracking branch 'origin/master' 2014-10-18 19:38:51 +08:00
alsotang
38280c9ab5 title error 2 2014-10-18 19:38:42 +08:00
nosqldb
b216dbe67f title error 2014-10-18 19:26:12 +08:00
alsotang
1d566428e5 去除粉丝和关注feature 2014-09-27 23:49:29 +08:00
alsotang
23242dd6db add more tests 2014-09-27 14:37:01 +08:00
alsotang
71ada60a10 seo 2014-09-25 01:22:14 +08:00
alsotang
e9a4b31083 update validator to lastest version 3.19.0 2014-09-21 20:26:11 +08:00
alsotang
c098e08894 重构 common/tools.js 2014-09-21 19:36:51 +08:00
alsotang
d5a6f77597 去除 xss 模块 2014-09-21 19:16:23 +08:00
alsotang
621a0b86f5 rename common/util.js to common/tools.js 2014-09-21 18:58:50 +08:00
alsotang
979119ae58 update mongoose to 3.8.x. fix #389 2014-09-21 17:33:23 +08:00
alsotang
f181eb36c6 hotfix 2014-09-21 17:01:33 +08:00
alsotang
3473c40c9a hotfix 2014-09-21 13:47:05 +08:00
alsotang
7dc2789d6c 优化点赞的显示 2014-09-21 13:43:52 +08:00
alsotang
b3ca077e5a hotfix 发帖版块选择 2014-09-18 23:52:05 +08:00
alsotang
39d941ccb9 hotfix 并 去掉切换评论风格feature 2014-09-17 11:00:45 +08:00
alsotang
80e2e77ff9 在 @username 被 hover 时,显示 username 之前的三条回复 2014-09-16 22:42:48 +08:00
alsotang
5599abf22f 评论风格可切换 2014-09-16 21:23:08 +08:00
alsotang
fe9b216437 精华帖功能 2014-09-15 21:57:31 +08:00
alsotang
54d3fe6422 Merge pull request #392 from strwind/master
格式问题
2014-09-08 03:50:55 +08:00
alsotang
192c383183 Merge remote-tracking branch 'backsapce/master' 2014-09-08 03:20:46 +08:00
backspace
57943406d5 user can delete own topics 2014-09-07 20:23:37 +08:00
alsotang
672b3a3536 hotfix 2014-09-07 20:05:26 +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