100 Commits

Author SHA1 Message Date
alsotang
3fd1fcc8a7 当url中出现 @ 时,不进行关联用户处理 2019-05-07 16:01:36 +08:00
alsotang
8ce14848fc add log dir to config.js 2017-07-14 11:54:18 +08:00
alsotang
fa51bc375d close markdown html 2017-01-09 14:38:47 +08:00
alsotang
ab6ac38614 邮件重试逻辑 2016-11-08 23:47:22 +08:00
alsotang
4474a93a4f add redis_password 2016-07-17 18:01:00 +08:00
alsotang
3ec9a4259e remove any push logic 2016-02-25 15:09:59 +08:00
alsotang
2779464003 Update push.js 2015-12-07 23:29:25 +08:00
alsotang
563f6bcbaa 更精确的打印 2015-12-07 20:16:30 +08:00
alsotang
1f171369bd use log4js 2015-12-07 19:52:06 +08:00
alsotang
5fad4d0e27 update markdown-it to 5.0.2 2015-11-21 21:54:03 +08:00
alsotang
e73c4e954f fix bug from last commit. use pure js bcrypt package 2015-10-28 18:40:28 +08:00
alsotang
fdd80f1912 process.exit when connect redis error 2015-10-28 17:08:30 +08:00
sqrtthree
6a202d156f 升级 nodemailer 包依赖的版本
解决在发送邮件时出现 `this.mailcomposer.setMessageOption is not a function` 错误,导致程序崩溃问题.
2015-10-26 11:29:34 +08:00
alsotang
3e084dc3a0 get /messages api 中,渲染 reply.content 的结果 2015-10-20 13:22:09 +08:00
alsotang
b104a87b6c 不代理访问封锁地址 2015-08-12 12:03:06 +08:00
alsotang
c11cc36f86 改进代理访问的逻辑 2015-08-10 19:55:15 +08:00
alsotang
1bd6134634 正则改进
不会将已经转成超链接的 @ 语法再转换一次
2015-07-17 10:57:42 +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
c11b5a5e65 common/logger.js 在不需要打印时,不进行任何计算 2015-05-27 22:40:00 +08:00
alsotang
acd1626d9e Merge commit 'c1ef713a863eaf3000048233b540ce35c44ac42b' 2015-05-27 22:15:25 +08:00
Jason Lee
c1ef713a86 Logger will check ./log exist on require, if not exist create one. 2015-05-25 21:18:44 +08:00
Jason Lee
106948150e Cache log duration remove () 2015-05-25 21:12:39 +08:00
Jason Lee
01263836d0 Merge branch 'master' into request-log 2015-05-25 18:15:09 +08:00
Jason Lee
cf185edf45 merge master 2015-05-25 18:08:17 +08:00
Jason Lee
828437ca21 Don't stdout log, when config.debug = false or run test env 2015-05-25 17:46:47 +08:00
Jason Lee
88dbbdf86f Add Cache execute duration log; 2015-05-25 17:35:35 +08:00
Jason Lee
93531ec6c3 Logger write to file (info, warn, error) 2015-05-25 16:34:46 +08:00
Jason Lee
a459c0b4b0 Add logger;
Add request log for each requests;
Add log for cache get/set;
2015-05-25 14:52:24 +08:00
alsotang
858ecbe118 fix #528 2015-05-24 15:52:23 +08:00
Jason Lee
7cb8205fe8 对齐等号赋值 2015-05-23 22:43:36 +08:00
alsotang
8836cf956e 代理 ga 文件 2015-04-04 19:01:39 +08:00
alsotang
67c098202b 两项改进
1. nodejs 层面 ratelimit 加入
2. 缓存用上 redis, 包括 common/cache.js 和 session
2015-04-04 17:29:18 +08:00
alsotang
3f1574b6cb 邮箱提取规则 2015-04-03 13:44:25 +08:00
alsotang
9bfad1132c jpush 参数错误 2015-03-19 10:25:07 +08:00
alsotang
51b2e33b5e 去掉 jpush 的日志 2015-03-02 19:02:20 +08:00
alsotang
96faae0c28 fix #487 回复消息时,不 at 消息作者 2015-02-14 21:36:01 +08:00
alsotang
6d206c6c79 test travis on 0.12 2015-02-07 17:42:56 +08:00
alsotang
bd7bf5859f 重复替换 at 用户名的问题,fix #481 2015-02-04 22:51:30 +08:00
Lance Li
96e52152b9 区分推送环境 2015-01-27 17:34:54 +08:00
alsotang
bc292bdadf callback 有默认值 2015-01-27 16:37:59 +08:00
alsotang
8d3de7c4ce little fix 2015-01-27 16:24:18 +08:00
alsotang
56a2398566 Merge remote-tracking branch 'lanceli/master' 2015-01-27 16:22:58 +08:00
Lance Li
eb0686224c 判断是否配置了极光推送 2015-01-27 11:03:16 +08:00
Lance Li
cef8eb92bf 增加极光推送 2015-01-25 22:57:44 +08:00
alsotang
13aa74c0e9 staticFile 2015-01-15 22:17:07 +08:00
alsotang
b7fc9de362 样式微调 2015-01-11 14:48:07 +08:00
alsotang
3587bcabb1 用 markdown-it 代替 remarkable. fix #440 #468
1. 开启了 html 的支持
2. 使用老雷的 js-xss 来防 xss
2015-01-11 14:23:39 +08:00
alsotang
afff071e89 markdown linkuser 小修复 2014-11-19 19:30:24 +08:00
alsotang
f2c1545bad 删除无用代码 2014-11-07 00:33:47 +08:00