16 Commits

Author SHA1 Message Date
Jackson Tian
c6cc54729c fix issue 782 2016-03-03 10:58:13 +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
464861afc4 fix #440 2014-11-02 22:50:38 +08:00
alsotang
12306d3a38 delete unused code 2014-09-21 18:49:40 +08:00
alsotang
e1b23cae66 format code 2014-09-05 13:35:13 +08:00
vfasky
3791012d78 添加编辑器,图片上传
- 添加编辑器 by http://lab.lepture.com/editor/markdown
- 添加图片上传
- 依赖 connect-busboy
- 添加批处理文件,让windows的机器也能跑

> 因为更新了依赖,需要执行:
>  *inux: `make install`
>  windows: `install.bat`
2014-09-04 17:16:11 +08:00
alsotang
1f0954c057 reformat html indent width to 2 2014-08-29 12:19:27 +08:00
alsotang
7e030b5d9f reformat 所有代码 2014-08-12 20:10:50 +08:00
alsotang
49d647d3b5 button 样式扁平化 2014-08-12 17:41:36 +08:00
Alsotang
4b8dc5d706 修复回复问题 2014-05-07 16:05:15 +08:00
Raven WANG
376925338c 修正无法通过 if (locals.variable) 判定 variable 是否存在的问题
由于partial早在Express 3.x已经是被抛弃的特性,几个middleware包括这里使用的ejs-locals已经无人维护,不建议继续使用
而ejs-locals对于locals对象的处理有问题,有时候不能使用 if (locals.variable) 来判定variable是否存在,只能使用 if (typeof(variable) !== 'undefined')
2014-05-07 14:33:55 +08:00
Raven WANG
e4048e9042 解决Express 3以后模板不再支持partial的问题 2014-05-07 14:33:44 +08:00
jiyinyiyong
f5b48138bb update jquery; drop fancybox and ajaxuploader 2014-04-22 23:42:26 +08:00
jiyinyiyong
67c78749c5 update markdown hint
show visit count in topic index
2014-04-21 20:42:43 +08:00
jiyinyiyong
8348ca9189 add methods and page to edit comments 2014-04-02 23:30:31 +08:00