451 Commits

Author SHA1 Message Date
Alsotang
b58dfbb32d 优化 copyright 信息 2014-02-20 11:14:21 +08:00
AlsoTang
48e9c7cd77 Merge pull request #278 from fundon/copyright-year
add copyright_year
2014-02-20 10:00:05 +08:00
fundon
67649a01b8 add copyright_year 2014-02-19 22:23:54 +08:00
Alsotang
427cd3422f jquery-ujs 自动带上 csrf 标签 2014-02-19 14:57:04 +08:00
Alsotang
58f10a2620 引入 rails 中对于 RESTful hyperlinks 的解决方案:jquery-ujs。 2014-02-19 14:36:23 +08:00
Alsotang
ad97b1d34c 修复 csrf 图片退出登录漏洞 2014-02-18 14:10:43 +08:00
AlsoTang
2afed4a879 Merge pull request #273 from beforeload/fix-params-error
fix mail active params error
2014-02-11 10:26:07 +08:00
AlsoTang
563768dbf8 Merge pull request #274 from xyz2k8/patch-1
Update user.js on star user
2014-02-11 10:25:09 +08:00
Alsotang
c5f6c25ab9 fix tests because update of should.js 2014-02-11 10:24:03 +08:00
xyz2k8
5fb11d7688 Update user.js
设置达人标记错误。
2014-02-10 21:50:09 +08:00
beforeload
09055ed56c fix mail active params error 2014-02-09 21:48:12 +08:00
fengmk2
04a37e0f38 Merge pull request #268 from cnodejs/block-user
增加确认操作。
2014-01-10 05:45:07 -08:00
Alsotang
33e7aabb52 增加确认操作。 2014-01-10 19:03:19 +08:00
fengmk2
e41c067a7c Merge pull request #267 from cnodejs/block-user
增加屏蔽用户功能
2014-01-10 01:53:32 -08:00
Alsotang
f063665028 暂时注释掉关联删帖和删回复的功能 2014-01-10 17:51:41 +08:00
Alsotang
7dfb258451 增加屏蔽用户功能 2014-01-10 17:37:25 +08:00
AlsoTang
87a59e3de4 Merge pull request #259 from cnodejs/oauth 2014-01-08 00:01:06 -08:00
AlsoTang
236ee227b2 Merge pull request #264 from yorkie/patch-1
Mail: mail的hostname与config文件中的host不匹配
2014-01-08 00:00:31 -08:00
Alsotang
360317ec90 Fixed #265
很多人的 GitHub 没有提供公开的 Email 地址,导致注册失败。
2014-01-04 01:23:14 +08:00
Yazhong Liu
9bcccc4de2 Mail: mail的hostname与config文件中的host不匹配 2013-12-30 16:53:03 +08:00
Alsotang
bba13c1efd GitHub link in Settings 2013-12-30 16:04:44 +08:00
Alsotang
8fb2611af1 Fixed #260
https://github.com/cnodejs/nodeclub/issues/260

之前的代码对于 User 的 name 和 loginname 的用法太渣了,
新用户统一它们好了。
2013-12-26 16:49:31 +08:00
Alsotang
7c13283cf8 随着 github 上用户资料的更新而更新 2013-12-26 16:08:41 +08:00
Alsotang
175bbec1e0 Fixed #256 2013-12-26 15:58:01 +08:00
fengmk2
6fa37266bc Merge pull request #258 from cnodejs/oauth
写了 OAuth 部分的测试并小重构了一下
2013-12-25 21:49:56 -08:00
Alsotang
92dbddb7a6 Fix tests 2013-12-26 12:52:29 +08:00
Alsotang
8a23c89350 Fixed #254 2013-12-26 12:46:13 +08:00
Alsotang
75d2c51b5c 写了 OAuth 部分的测试并小重构了一下
重构:
1. 重构 app.js 里面混乱的 app.use
2. 将 midderwares 纠正成了 middlewares
2013-12-26 12:30:00 +08:00
fengmk2
6edb0e93e0 Merge pull request #257 from cnodejs/xss
Update `xss` dependency
2013-12-25 18:45:26 -08:00
Alsotang
eb2174b596 Update xss dependency 2013-12-26 10:43:42 +08:00
fengmk2
f5f4e8e013 Merge pull request #255 from cnodejs/session
Fixed #253
2013-12-25 18:34:17 -08:00
Alsotang
4aa006052f Fixed #253 2013-12-26 10:32:51 +08:00
fengmk2
62555e176d Merge pull request #251 from cnodejs/allow-sign-up
Add allow-sign-up option
2013-12-25 18:08:19 -08:00
fengmk2
bed041b298 Merge pull request #252 from cnodejs/fix-login-name
修复 loginname 的大小写问题
2013-12-25 17:46:03 -08:00
Alsotang
ffd24ebdbf 修复 loginname 的大小写问题 2013-12-25 12:14:41 +08:00
Alsotang
6411a832a9 Add allow-sign-up option
If not allow sign up, then nodeclub would close
local registry. And redirect /signup to login
with GitHub OAuth

[default] allow-sign-up: true
2013-12-24 20:07:20 +08:00
fengmk2
92466b5519 Merge pull request #248 from cnodejs/oauth
GitHub Oauth
2013-12-24 03:38:12 -08:00
Alsotang
b7a978b4d7 避免在没有输入的情况下,两个 null 键报错 2013-12-24 18:01:37 +08:00
Alsotang
d8e2467bea 为没有配置 github oauth 的情况添加了友好提示 2013-12-24 18:01:37 +08:00
Alsotang
72b8245bae 用 github id 取代 accesstoken 来确定唯一用户 2013-12-24 18:01:37 +08:00
Alsotang
da311a8e5f 去掉了不通用的修改 2013-12-24 18:01:36 +08:00
Alsotang
539ec723f7 关联旧账号 2013-12-24 18:01:36 +08:00
Alsotang
700888f5fa 完成了基本的 GitHub OAuth 验证 2013-12-24 18:01:36 +08:00
Alsotang
7fd9070947 Fix admin auth bug 2013-12-24 18:00:35 +08:00
AlsoTang
18ede5ba25 Merge pull request #247 from leizongmin/master
更新依赖模块xss版本至v0.0.9
2013-12-24 01:53:00 -08:00
Zongmin Lei
22134c7939 更新依赖模块xss版本至v0.0.9 2013-12-24 13:56:09 +08:00
fengmk2
f15f8b4958 Merge pull request #227 from superRaytin/master
盒阴影空白的问题,调整图片样式
2013-12-21 04:58:50 -08:00
fengmk2
c49a72084b Merge pull request #242 from JacksonTian/fix_avatar
http://gravatar.qiniudn.com/不可用,换用新的链接
2013-12-17 21:38:28 -08:00
Jackson Tian
90e3d0a8c5 http://gravatar.qiniudn.com/不可用,换用新的链接 2013-12-18 12:47:03 +08:00
fengmk2
cb997dc9b9 on => all 2013-11-22 11:01:26 +08:00