alsotang
9c0b3fdcd3
标记作者的回复
2017-03-06 18:44:17 +08:00
朋也
70fdb7dba0
标记作者的回复
2017-03-06 15:22:00 +08:00
alsotang
e7d329aab9
锚点失效问题
2016-12-27 22:05:04 +08:00
Berwin
35c2a71544
解决回复时间换行问题
...
如题
2016-06-14 11:17:06 +08:00
Jackson Tian
c6cc54729c
fix issue 782
2016-03-03 10:58:13 +08:00
alsotang
996bf7c6b6
当点赞数至少为 3 时,才高亮
2015-08-12 21:01:10 +08:00
alsotang
d7dca79d08
将用户头像代理逻辑,从 model 中迁移至 view 中
2015-08-12 12:05:02 +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
Jason Lee
1618b2119c
增加 BaseModel,用 mongoose plugin 的方式为每个 Model 扩展 static, instance 函数;
...
发现有许多转换 create_at, updated_at 的动作,移到 BaseModel 里面,简化代码;
2015-05-23 21:25:09 +08:00
Jason Lee
57635a7d83
Same name style for views vars;
2015-05-23 20:21:53 +08:00
Jason Lee
4fa0c5c5a4
Ensure current_user always has defined.
2015-05-22 18:04:55 +08:00
feitian124
8026c8d1d8
fix #479 , show user avatar and name together
2015-02-05 01:11:33 +08:00
alsotang
0095c5a8fc
highlight up btn when user up the reply
2014-11-15 21:31:36 +08:00
alsotang
457b36ad83
微调图标
2014-11-12 14:10:49 +08:00
Ricardo_Li
7a8d8ad215
fix #445
2014-11-12 12:29:52 +08:00
alsotang
464861afc4
fix #440
2014-11-02 22:50:38 +08:00
alsotang
cf077ec59f
去掉二级回复的概念
2014-10-02 23:30:49 +08:00
alsotang
15ce207fed
为所有的图片指定宽度和高度,可消除进行不必要重排与重绘的需求,从而加快图片的显示速度。
2014-09-21 21:17:15 +08:00
alsotang
ad735f427c
up_btn 用 visibility 来隐藏
2014-09-21 21:01:24 +08:00
alsotang
12306d3a38
delete unused code
2014-09-21 18:49:40 +08:00
alsotang
7dc2789d6c
优化点赞的显示
2014-09-21 13:43:52 +08:00
alsotang
1c01b4d30d
优化评论点赞按钮
2014-09-21 12:55:56 +08:00
alsotang
b0d946d802
查看对话
2014-09-17 11:31:12 +08:00
alsotang
80e2e77ff9
在 @username 被 hover 时,显示 username 之前的三条回复
2014-09-16 22:42:48 +08:00
alsotang
5599abf22f
评论风格可切换
2014-09-16 21:23:08 +08:00
alsotang
127f060ca3
hotfix
2014-09-07 15:00:19 +08:00
alsotang
2374af5a1d
帮评论点赞
2014-09-07 14:57:08 +08:00
alsotang
e0651aff56
all use staticFile helper
2014-09-06 20:33:42 +08:00
alsotang
ab75e82c25
Merge remote-tracking branch 'vfasky/master'
2014-09-06 19:01:44 +08:00
alsotang
9c6f56ce84
去掉了 User#name 的概念,只保留 User#loginname
2014-09-06 17:46:01 +08:00
vfasky
ff2ec60d1e
Merge remote-tracking branch 'cnode/master'
2014-09-05 15:35:58 +08:00
vfasky
d673b8e36a
回复加入编辑器
...
TODO 加入编辑器后,@插件 返回值会换行,待解决
2014-09-05 15:28:32 +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
bd447f6ea9
在 topic 页面加入回复楼层信息
2014-05-08 13:49:13 +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
9e58b57cbb
fix reply2 button
2014-04-21 22:32:58 +08:00
jiyinyiyong
67c78749c5
update markdown hint
...
show visit count in topic index
2014-04-21 20:42:43 +08:00
jiyinyiyong
23715d56c5
fix bug of current_user
2014-04-04 13:58:31 +08:00
jiyinyiyong
a3a3055e2b
make reply editable to admin
2014-04-03 23:27:02 +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
6b07b6cbcd
merge new editor
2014-04-01 12:12:00 +08:00