90 Commits

Author SHA1 Message Date
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
69d47f4866 创建 topic_collect 的唯一索引 2016-04-20 15:47:01 +08:00
alsotang
072cca971f 话题收藏 2016-03-15 23:19:05 +08:00
alsotang
1f171369bd use log4js 2015-12-07 19:52:06 +08:00
alsotang
1310305f4d updated_at_ago to update_at_ago 2015-09-01 21:50:00 +08:00
alsotang
fd6b447a34 fix schema.methods.updated_at_ago 2015-09-01 21:43:47 +08:00
alsotang
d7dca79d08 将用户头像代理逻辑,从 model 中迁移至 view 中 2015-08-12 12:05:02 +08:00
alsotang
27ad50c102 gravatar 使用 https 2015-08-12 12:04:02 +08:00
alsotang
5430fd457d 使用未被封锁的 gravatar 域名 2015-08-12 12:03:41 +08:00
alsotang
c11cc36f86 改进代理访问的逻辑 2015-08-10 19:55:15 +08:00
alsotang
a3cc3280f4 mongodb poolSize 20 2015-08-07 18:28:18 +08:00
alsotang
307e8a7d3d 去掉无用索引 2015-08-04 22:22:22 +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
4e928d7c43 继续改进代码写法 2015-05-27 21:58:57 +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
e4a1886527 软删除 2015-04-04 20:41:30 +08:00
alsotang
8d62408b66 avatar 通过服务器代理访问 2015-04-04 15:08:05 +08:00
alsotang
3333b399a4 fix #500 。主题可被锁定 2015-03-17 22:02:26 +08:00
alsotang
9ee6ecfa8f update comment 2014-11-14 17:16:11 +08:00
alsotang
2cf34c607e hotfix gravatar 2014-11-14 11:23:27 +08:00
alsotang
104b2b4847 gravatar 使用裸域 2014-11-14 11:20:10 +08:00
alsotang
80f093f76e 头像默认 120px 大小 2014-11-01 13:15:16 +08:00
alsotang
83c86c6566 注释 2014-10-31 12:02:11 +08:00
alsotang
90252252ff github 头像限制大小 2014-10-31 11:53:40 +08:00
alsotang
552ca11f67 add index 2014-10-27 20:17:15 +08:00
alsotang
98096e3786 generate_accesstoken.js 2014-10-26 14:27:54 +08:00
alsotang
eb335786d9 fix #433 2014-10-26 12:18:04 +08:00
alsotang
aa41af263e record github access-token 2014-10-22 18:09:46 +08:00
alsotang
98e9643508 little fix 2014-10-02 01:34:09 +08:00
alsotang
2d9279443c more ssl link 2014-10-02 01:12:01 +08:00
alsotang
cdb13bf766 ssl gravatar 2014-10-02 01:08:45 +08:00
alsotang
685c4717f4 remove user.name index 2014-09-30 15:46:20 +08:00
alsotang
1d566428e5 去除粉丝和关注feature 2014-09-27 23:49:29 +08:00
alsotang
d468fea211 add tes for sign controller 2014-09-27 02:01:02 +08:00
alsotang
26c7674636 star user is advanced user 2014-09-24 23:40:13 +08:00
alsotang
2d552d67f0 Revert "使用 ruby-china 的 gravatar 反向代理".
ruby-china 的代理服务不稳定

This reverts commit 9a9490f4c1f48b70649a5c442b60e16b2dd357f3.
2014-09-21 22:08:19 +08:00
alsotang
9a9490f4c1 使用 ruby-china 的 gravatar 反向代理 2014-09-21 21:35:38 +08:00
alsotang
0ec2314ed7 暂不缓存用户信息 2014-09-21 16:47:38 +08:00
alsotang
53d273b4d1 hotfix. 不是每个人都有 githubId 2014-09-21 16:32:02 +08:00
alsotang
5c5a5392a9 model/user: set github id index unique 2014-09-21 15:39:38 +08:00
alsotang
6ae86ad423 change model message index 2014-09-21 15:12:21 +08:00
alsotang
39d941ccb9 hotfix 并 去掉切换评论风格feature 2014-09-17 11:00:45 +08:00
alsotang
385b03c21d 默认为流式评论布局 2014-09-16 22:47:27 +08:00
alsotang
5599abf22f 评论风格可切换 2014-09-16 21:23:08 +08:00
alsotang
fe9b216437 精华帖功能 2014-09-15 21:57:31 +08:00
alsotang
44076f7e2d hotfix 2014-09-15 01:16:55 +08:00
alsotang
71ab4cd260 高级用户免打扰 2014-09-14 23:58:01 +08:00