alsotang
|
20fa6aa12e
|
fix all warnings
|
2018-11-01 20:51:45 +08:00 |
|
alsotang
|
6c5fbe14db
|
updateOneMessagesToRead -> updateOneMessageToRead
|
2017-04-12 11:49:37 +08:00 |
|
alsotang
|
bc2a9b570d
|
updateOneMessagesToRead
|
2017-04-11 23:20:31 +08:00 |
|
jiangyucan
|
8988afce14
|
新增接口 通过消息id设置单个消息为已读状态
|
2017-04-11 15:38:54 +08:00 |
|
alsotang
|
9b9bfe7deb
|
用户名不区分大小写
|
2016-04-20 16:16:07 +08:00 |
|
alsotang
|
a0be08e19e
|
collect api 加上100条的限制
|
2016-03-17 23:08:38 +08:00 |
|
alsotang
|
5da62fa3a5
|
topiccollect 优化
|
2016-03-15 23:58:33 +08:00 |
|
alsotang
|
3a15d4b81c
|
topic collect sort by create_at
|
2016-03-15 23:55:42 +08:00 |
|
alsotang
|
ffd9c6b835
|
软删除的帖子不可见
|
2015-10-14 10:01:41 +08:00 |
|
alsotang
|
7cfc0187a2
|
fix test
|
2015-08-07 16:39:46 +08:00 |
|
alsotang
|
fe3abad3a6
|
invalid message
|
2015-07-03 12:34:36 +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
|
adde0de422
|
优化通知的查询方式;
|
2015-05-29 11:53:13 +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
|
436c992f87
|
Revert "add expire time for user cache"
This reverts commit e7bad5a4cc230ece1b3ae1d1245dc8996d6bf6fe.
|
2015-03-12 15:05:22 +08:00 |
|
alsotang
|
e7bad5a4cc
|
add expire time for user cache
|
2015-03-12 15:02:58 +08:00 |
|
alsotang
|
bb0a002831
|
add user cache
|
2015-03-12 14:56:39 +08:00 |
|
alsotang
|
06c5dc49e8
|
小重构
|
2014-11-07 16:33:56 +08:00 |
|
alsotang
|
a053e50b8b
|
hot fix
|
2014-10-26 22:23:33 +08:00 |
|
alsotang
|
138fcdd245
|
message api
|
2014-10-26 20:12:01 +08:00 |
|
alsotang
|
663fe29789
|
fix linkusers bug
|
2014-10-26 16:53:16 +08:00 |
|
alsotang
|
0892396934
|
新用户自动生成 token
|
2014-10-26 14:31:31 +08:00 |
|
alsotang
|
eb335786d9
|
fix #433
|
2014-10-26 12:18:04 +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
|
1d566428e5
|
去除粉丝和关注feature
|
2014-09-27 23:49:29 +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
|
d468fea211
|
add tes for sign controller
|
2014-09-27 02:01:02 +08:00 |
|
alsotang
|
924790c9ae
|
优化 sitemap 的生成
|
2014-09-25 02:19:49 +08:00 |
|
alsotang
|
e9a4b31083
|
update validator to lastest version 3.19.0
|
2014-09-21 20:26:11 +08:00 |
|
alsotang
|
2334c51ad3
|
hotfix
|
2014-09-21 19:41:37 +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
|
0ec2314ed7
|
暂不缓存用户信息
|
2014-09-21 16:47:38 +08:00 |
|
alsotang
|
c49b2d553e
|
所有用户信息缓存 1s
|
2014-09-21 16:24:43 +08:00 |
|
alsotang
|
7acf4a1c14
|
优化 controller/user#list_replies
|
2014-09-21 16:10:58 +08:00 |
|
alsotang
|
39d941ccb9
|
hotfix 并 去掉切换评论风格feature
|
2014-09-17 11:00:45 +08:00 |
|
alsotang
|
efab34f360
|
topic 中 at 其他用户
|
2014-09-12 15:47:47 +08:00 |
|