You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Igor Bondarenko <je...@gmail.com> on 2015/12/09 17:13:22 UTC

[allura:tickets] #8032 Set up primary emails for test users (paster setup-app)



---

** [tickets:#8032] Set up primary emails for test users (paster setup-app)**

**Status:** open
**Milestone:** unreleased
**Created:** Wed Dec 09, 2015 04:13 PM UTC by Igor Bondarenko
**Last Updated:** Wed Dec 09, 2015 04:13 PM UTC
**Owner:** nobody


If user does not have primary email some functionality is not working (notifications and stuff).

We should set up primary emails for test users. Anytime I'm re-creating my dev environment I'm manually creating emails for at least `root`, `admin` and `test-user-1`. And it's pretty painful, since you need to type email, re-type the password, get confirmation link from server logs.

Its low priority, obviously, but would be good to have.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Re: #8032 Set up primary emails for test users (paster setup-app)

Posted by Pranav Sharma <pr...@gmail.com>.
The "save_new" requires a turbogears session. The session is not available during paster setup-app. So I did a workaroung of user claiming the email address, and then conforming it.

https://forge-allura.apache.org/p/allura/git/merge-requests/66/


---

** [tickets:#8032] Set up primary emails for test users (paster setup-app)**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Wed Dec 09, 2015 04:13 PM UTC by Igor Bondarenko
**Last Updated:** Fri Dec 11, 2015 03:00 PM UTC
**Owner:** nobody


If user does not have primary email some functionality is not working (notifications and stuff).

We should set up primary emails for test users. Anytime I'm re-creating my dev environment I'm manually creating emails for at least `root`, `admin` and `test-user-1`. And it's pretty painful, since you need to type email, re-type the password, get confirmation link from server logs.

Its low priority, obviously, but would be good to have.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Re: #8032 Set up primary emails for test users (paster setup-app)

Posted by Dave Brondsema <da...@brondsema.net>.
`save_new` calls `claim_address` which looks like a useful helper function to run.  And then after that setting the `.confirmed` property directly seems fine to me.


---

** [tickets:#8032] Set up primary emails for test users (paster setup-app)**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Wed Dec 09, 2015 04:13 PM UTC by Igor Bondarenko
**Last Updated:** Fri Dec 11, 2015 03:00 PM UTC
**Owner:** nobody


If user does not have primary email some functionality is not working (notifications and stuff).

We should set up primary emails for test users. Anytime I'm re-creating my dev environment I'm manually creating emails for at least `root`, `admin` and `test-user-1`. And it's pretty painful, since you need to type email, re-type the password, get confirmation link from server logs.

Its low priority, obviously, but would be good to have.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Re: #8032 Set up primary emails for test users (paster setup-app)

Posted by Pranav Sharma <pr...@gmail.com>.
I found only two ways to add a confirmed email.

1. Add the email through post on '/auth/save_new' and then to '/auth/verify_addr'.
2. Changing the Model.EmailAddress.conformed property directly to true.

Is there any other way? If not, which should be preferred from the above?


---

** [tickets:#8032] Set up primary emails for test users (paster setup-app)**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Wed Dec 09, 2015 04:13 PM UTC by Igor Bondarenko
**Last Updated:** Fri Dec 11, 2015 03:00 PM UTC
**Owner:** nobody


If user does not have primary email some functionality is not working (notifications and stuff).

We should set up primary emails for test users. Anytime I'm re-creating my dev environment I'm manually creating emails for at least `root`, `admin` and `test-user-1`. And it's pretty painful, since you need to type email, re-type the password, get confirmation link from server logs.

Its low priority, obviously, but would be good to have.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Re: #8032 Set up primary emails for test users (paster setup-app)

Posted by Igor Bondarenko <je...@gmail.com>.
I'm thinking all of the accoounts created in `bootstrap.py` during setup should have emails.

They can be in a form "<username>@allura.local" or something like that. It's just fake, test data.


---

** [tickets:#8032] Set up primary emails for test users (paster setup-app)**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Wed Dec 09, 2015 04:13 PM UTC by Igor Bondarenko
**Last Updated:** Fri Dec 11, 2015 03:00 PM UTC
**Owner:** nobody


If user does not have primary email some functionality is not working (notifications and stuff).

We should set up primary emails for test users. Anytime I'm re-creating my dev environment I'm manually creating emails for at least `root`, `admin` and `test-user-1`. And it's pretty painful, since you need to type email, re-type the password, get confirmation link from server logs.

Its low priority, obviously, but would be good to have.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8032 Set up primary emails for test users (paster setup-app)

Posted by Pranav Sharma <pr...@gmail.com>.
Specifically which accounts are to be given an email id? And what would they be?


---

** [tickets:#8032] Set up primary emails for test users (paster setup-app)**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Wed Dec 09, 2015 04:13 PM UTC by Igor Bondarenko
**Last Updated:** Fri Dec 11, 2015 02:59 PM UTC
**Owner:** nobody


If user does not have primary email some functionality is not working (notifications and stuff).

We should set up primary emails for test users. Anytime I'm re-creating my dev environment I'm manually creating emails for at least `root`, `admin` and `test-user-1`. And it's pretty painful, since you need to type email, re-type the password, get confirmation link from server logs.

Its low priority, obviously, but would be good to have.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8032 Set up primary emails for test users (paster setup-app)

Posted by Dave Brondsema <da...@brondsema.net>.
- **status**: in-progress --> closed
- **assigned_to**: Pranav Sharma
- **Reviewer**: Dave Brondsema
- **Comment**:

Merged https://forge-allura.apache.org/p/allura/git/merge-requests/87/

Thanks for chasing down and fixing all the tests :)



---

** [tickets:#8032] Set up primary emails for test users (paster setup-app)**

**Status:** closed
**Milestone:** unreleased
**Created:** Wed Dec 09, 2015 04:13 PM UTC by Igor Bondarenko
**Last Updated:** Fri Dec 11, 2015 03:00 PM UTC
**Owner:** Pranav Sharma


If user does not have primary email some functionality is not working (notifications and stuff).

We should set up primary emails for test users. Anytime I'm re-creating my dev environment I'm manually creating emails for at least `root`, `admin` and `test-user-1`. And it's pretty painful, since you need to type email, re-type the password, get confirmation link from server logs.

Its low priority, obviously, but would be good to have.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8032 Set up primary emails for test users (paster setup-app)

Posted by Pranav Sharma <pr...@gmail.com>.
- **status**: open --> in-progress



---

** [tickets:#8032] Set up primary emails for test users (paster setup-app)**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Wed Dec 09, 2015 04:13 PM UTC by Igor Bondarenko
**Last Updated:** Wed Dec 09, 2015 04:13 PM UTC
**Owner:** nobody


If user does not have primary email some functionality is not working (notifications and stuff).

We should set up primary emails for test users. Anytime I'm re-creating my dev environment I'm manually creating emails for at least `root`, `admin` and `test-user-1`. And it's pretty painful, since you need to type email, re-type the password, get confirmation link from server logs.

Its low priority, obviously, but would be good to have.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.