37 Commits

Author SHA1 Message Date
alsotang
f13e7ba78d little fix 2014-10-01 15:09:52 +08:00
alsotang
b67ecbb5a4 发布招聘帖时,给出规范 2014-09-30 23:04:52 +08:00
alsotang
b3ca077e5a hotfix 发帖版块选择 2014-09-18 23:52:05 +08:00
alsotang
077fc00738 topic/edit.html tab default is 请选择 2014-09-15 16:03:04 +08:00
alsotang
b55d22f834 必须选择一个版块 2014-09-06 23:05:31 +08:00
alsotang
1f08b22006 版块功能 2014-09-06 22:06:56 +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
a1d257774a prevent repeat submit topic 2014-07-07 15:43:31 +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
4d8a606b03 delegate click items on classes 2014-04-23 19:20:07 +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
jiyinyiyong
613ffe6278 move preview button ahead; focus caret after text 2014-04-01 22:41:36 +08:00
jiyinyiyong
3f97164749 add submit button back 2014-03-27 14:29:36 +08:00
jiyinyiyong
7e1497b35f drop epicEditor and Showdown; just use marked 2014-03-25 00:20:48 +08:00
jiyinyiyong
9bdf4cf566 限制 reply h1 h2 h3 大小; 修改话题发表页面 Markdown 提示 2014-03-19 23:10:07 +08:00
Zongmin Lei
82376ba4c8 发布帖子使用 EpicEditor 编辑器 2013-08-15 13:41:16 +08:00
Jackson Tian
1a57bc5e18 替换debug为mini 2013-06-19 16:05:29 +08:00
Jackson Tian
30064019de 用config.debug判断是否线上状态 2013-06-19 12:07:44 +08:00
Jackson Tian
f7b602f7fd 静态资源重构 2013-06-19 02:40:02 +08:00
fengmk2
d1a953067e 修复reply2的逻辑;暂时屏蔽标签功能 2013-05-28 01:29:06 +08:00
fengmk2
1faeca491e user markd instead showdown, use ace 2013-05-27 16:07:31 +08:00
jiyinyiyong
3ea4155f65 使用加粗的边缘线; 过滤粉红色的边缘线; 加深 panel header 颜色; 去掉 scrollbar 定制 2013-05-27 12:56:40 +08:00
fengmk2
21dc4c81b1 @jiyinyiyong 修改界面布局 fixed #139
* 主页话题和标签的显示比较大的改动, 这是比较不整洁的部分
* 页面背景. 整体去掉了颜色和边框, 还是有限考虑可读性, 主要看截图
* 看 CNode 用的 Bootstrap `2.0`, repo 是 `1.7`. 遇到有错干脆升级解决了.
* `prettyprint.css` 对浅色背景使用了深色的文字颜色的主题
2013-05-17 18:04:50 +08:00
dead-horse
01d8a424b2 add preview 2012-09-18 10:35:18 +08:00
dead-horse
58d72c4a52 don't gen preview every keypress 2012-09-17 00:45:56 +08:00
fengmk2
9459713b46 fixed #52 md编辑器需要完全与github的格式兼容 using showdown.js 2012-06-22 17:50:01 +08:00
fengmk2
0906e6347e fixed reset use not active bug; redefined upload controllers; 2012-06-14 01:52:51 +08:00
张洋
2543dc8c45 markdown语法粗体应为两个星号,原描述有误 2012-02-15 21:12:33 -05:00
muyuan
e524b2f9b5 project init 2012-02-15 21:17:16 +08:00