alsotang
|
ffd9c6b835
|
软删除的帖子不可见
|
2015-10-14 10:01:41 +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 |
|
alsotang
|
e73e1b5c55
|
缺失作者topic处理
|
2015-05-31 02:47:02 +08:00 |
|
Jason Lee
|
58645c7675
|
Fix getTopicsByQuery, 修正排序,last_reply 获取;
|
2015-05-29 11:14:14 +08:00 |
|
Jason Lee
|
5f1a543895
|
remove unsed require
|
2015-05-28 13:10:53 +08:00 |
|
Jason Lee
|
11352cfa39
|
修正 getTopicsByQuery 的查询,避免无谓的多条 Topic find by id 对数据库带来多余的开销;
|
2015-05-28 13:02:49 +08:00 |
|
Jason Lee
|
7cb8205fe8
|
对齐等号赋值
|
2015-05-23 22:43:36 +08:00 |
|
Jason Lee
|
1618b2119c
|
增加 BaseModel,用 mongoose plugin 的方式为每个 Model 扩展 static, instance 函数;
发现有许多转换 create_at, updated_at 的动作,移到 BaseModel 里面,简化代码;
|
2015-05-23 21:25:09 +08:00 |
|
alsotang
|
7e696d7e72
|
调整格式
|
2015-04-20 10:46:40 +08:00 |
|
DavidCai
|
f6ff838333
|
删除回复后更新对应帖子的last_reply
|
2015-04-20 09:04:35 +08:00 |
|
alsotang
|
e4a1886527
|
软删除
|
2015-04-04 20:41:30 +08:00 |
|
alsotang
|
c7f19cb6b2
|
Revert "add user cache"
This reverts commit bb0a002831d27dbdd9a1b63db518e6aafefe6e00.
|
2015-03-12 15:05:32 +08:00 |
|
alsotang
|
bb0a002831
|
add user cache
|
2015-03-12 14:56:39 +08:00 |
|
alsotang
|
663fe29789
|
fix linkusers bug
|
2014-10-26 16:53:16 +08:00 |
|
lijie
|
e61f2bb8b9
|
use pluck of lodash
|
2014-10-19 08:58:56 +08:00 |
|
lijie
|
291a579eb5
|
feature: use id instead of _id for mongoose document
|
2014-10-19 08:37:54 +08:00 |
|
alsotang
|
4d85fd5058
|
防止 topic 没 author 时报错
|
2014-09-28 17:51:07 +08:00 |
|
alsotang
|
924790c9ae
|
优化 sitemap 的生成
|
2014-09-25 02:19:49 +08:00 |
|
alsotang
|
c098e08894
|
重构 common/tools.js
|
2014-09-21 19:36:51 +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
|
efab34f360
|
topic 中 at 其他用户
|
2014-09-12 15:47:47 +08:00 |
|
alsotang
|
1f08b22006
|
版块功能
|
2014-09-06 22:06:56 +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
|
bd447f6ea9
|
在 topic 页面加入回复楼层信息
|
2014-05-08 13:49:13 +08:00 |
|
Alsotang
|
dc53d840e9
|
delete tag-related code
|
2014-04-24 16:01:46 +08:00 |
|
Alsotang
|
005cc40111
|
查询 topic 时不查询 tags
|
2014-04-24 13:49:43 +08:00 |
|
fengmk2
|
5dc7681fc4
|
fix #237 if topic not exists, do not modified it.
|
2013-11-22 10:11:07 +08:00 |
|
Jackson Tian
|
1cf61d28b2
|
修复给空值设置属性的错误
|
2013-10-31 22:26:39 +08:00 |
|
Jackson Tian
|
f98c2995b7
|
unit test cases
|
2013-03-27 00:46:58 +08:00 |
|
fengmk2
|
af4935ffaa
|
修复 exports.updateLastReply 没有callback的bug
|
2013-03-10 20:48:06 +08:00 |
|
Jackson Tian
|
2ca3446c8b
|
分离controller和数据操作业务逻辑
|
2013-02-20 02:37:35 +08:00 |
|