Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用户注册功能(参与者开发) #13

Closed
windy opened this issue Dec 22, 2012 · 10 comments
Closed

用户注册功能(参与者开发) #13

windy opened this issue Dec 22, 2012 · 10 comments
Labels

Comments

@windy
Copy link
Contributor

windy commented Dec 22, 2012

这是第一个特性节点,大家可以尝试推送 patch 过来。

用户注册功能是指,新用户,包括发起活动者和参加活动者。

可以使用 devise 或者相关 gems 来处理。

有以下要求:

  1. 要有测试
  2. 测试是通过的

如果有任何问题和建议,请补充。

@doitian
Copy link
Member

doitian commented Dec 23, 2012

测试框架是不是确定下来?

@richard-ma
Copy link
Member

由于application.rb的设置,devise很多的代码没法用generator生成了,db无法migrate。

@saberma
Copy link
Member

saberma commented Dec 25, 2012

@richard-ma 具体是什么问题?

@doitian
Copy link
Member

doitian commented Dec 25, 2012

你把 generators false 的都临时删掉再 install

@johnnyworker1012
Copy link
Member

需不需要第三方账户登陆比如微博,人人什么的?

@richard-ma
Copy link
Member

@saberma 应该就是 @doitian 提到的generator设置成false的问题,我先试试暂时修改false这个方案。应该改成true就没问题了。

不过我觉得为了缩减代码,把rails提供的代码自动生成功能去掉,是不是太极端了。

@richard-ma
Copy link
Member

@windduke 这个继承第三方openid方案以后再考虑添加,先实现最基础的功能吧。

@saberma
Copy link
Member

saberma commented Dec 26, 2012

@windduke @richard-ma 第三方登陆现在不考虑了,我看到网站提供太多种登陆方式,要登陆时都忘记之前是用的哪一个了。

@richard-ma 不是全部自动生成功能都去掉,只是去掉生成无用的 css,js,helper 等。先逐步把 generator 打开吧,应该能查出是哪个影响到的,我稍后也查下原因。

@johnnyworker1012
Copy link
Member

@saberma @richard-ma 好的,谢谢回复。

@doitian
Copy link
Member

doitian commented Dec 26, 2012

devise 也能直接集成 omniauth

richard-ma added a commit to richard-ma/19wu that referenced this issue Dec 27, 2012
richard-ma added a commit to richard-ma/19wu that referenced this issue Dec 27, 2012
richard-ma added a commit to richard-ma/19wu that referenced this issue Dec 27, 2012
richard-ma added a commit to richard-ma/19wu that referenced this issue Dec 27, 2012
richard-ma added a commit to richard-ma/19wu that referenced this issue Dec 27, 2012
richard-ma added a commit to richard-ma/19wu that referenced this issue Dec 27, 2012
richard-ma added a commit to richard-ma/19wu that referenced this issue Dec 27, 2012
richard-ma added a commit to richard-ma/19wu that referenced this issue Dec 27, 2012
@saberma saberma closed this as completed Dec 27, 2012
richard-ma added a commit to richard-ma/19wu that referenced this issue Dec 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants