Re: Extending the Review Workflow

2013-06-14 Thread David Trowbridge
Winston,

Doing this as an extension is definitely the way to go.

There are django signals that your extension code can listen to. Take a
look at reviewboard/reviews/signals.py for the things you'd want to listen
to, and then your code can attach to those and do whatever you need.

-David


On Fri, Jun 14, 2013 at 8:40 AM,  wrote:

> I have just setup my first instance of ReviewBoard and use JIRA to track
> my bugs/work.  ReviewBoard gives me a basic way to link my review back to
> the JIRA ticket through the Custom Bug Tracker feature.  But I also want to
> link my JIRA ticket to my set of Reviews for that ticket.  JIRA gives me an
> API that allows me to do this, but I would like a way to intercept or
> extend the workflow of a ReviewBoard Review to send these API calls.  At a
> minimum I would like to be able to execute the JIRA API upon a Review being
> created, but ideally I would also like to do an update to JIRA when it is
> out of draft (i.e. first publish) and when it is submitted.  Is there any
> way to do this?  I thought Extensions would do it, just from its name, but
> the more I read, I don't think that sounds correct.   Any thoughts?
>
> Thanks,
> Mike
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Reviews are being mysteriously marked as submitted

2013-06-14 Thread Steve
Thanks for the example - I keep forgetting about rb-site shell.  It's 
nifty.  Here's what I get:

# rb-site manage /var/www/reviewboard shell
Python 2.6.6 (r266:84292, Sep 11 2012, 08:34:23) 
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django.contrib.auth.models import User
>>> u = User.objects.get(username="")
>>> u.is_superuser
False
>>> u.is_staff
False
>>> u.has_perm('reviewrequest.can_change_status')
False
>>> u.has_perm('reviewrequest.can_edit_reviewrequest')
False
>>> 


On Friday, June 14, 2013 2:56:26 PM UTC-7, Christian Hammond wrote:
>
> It's auth_user_user_permissions, which will map user IDs to IDs in 
> auth_permissions.
>
> Alternatively, you can do:
>
> $ rb-site manage /path/to/site shell
> >>> from django.contrib.auth.models import User
> >>> u = User.objects.get(username='youruser')
> >>> u.is_superuser
> >>> u.is_staff
> >>> u.has_perm('reviewrequest.can_change_status')
> >>> u.has_perm('reviewrequest.can_edit_reviewrequest')
>
> (I believe those are the permission names.)
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>  
> On Jun 14, 2013, at 2:36 PM, Steve > 
> wrote:
>
> I just went to a friend's desk and verified he sees the 'Close' button on 
> other people's reviews.  Here are his user settings in the DB:
>
>   id: 7
> username: xx
>   first_name: xx
>last_name: xx
>email: x
> password: x
> is_staff: 0
>is_active: 1
> is_superuser: 0
>   last_login: 2013-05-15 06:59:15
>  date_joined: 2008-07-25 09:25:54
>
>
> What table would I look in to see if he has specific "Can Edit/Can Close 
> privileges"?
>
> The only custom code we have on our servers is a customized ldap 
> authenticator.
>
> Thanks!
>
> --Steve
>
>
> On Friday, June 14, 2013 2:25:37 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Steve,
>>
>> There's no special flag for this. We implemented this functionality 
>> pre-1.0 and it has never changed. The only way you ever see Close or Update 
>> is when you have superuser privileges or the Can Edit/Can Close privileges. 
>> I'm not aware of this ever regressing or changing throughout the history of 
>> Review Board.
>>
>> Both the UI and the API for handling those commands check these 
>> privileges in order to show/allow the operations. There isn't a single 
>> point of failure here.
>>
>> The only other way that this could be set is if somebody modified the 
>> code you're running at some point to hard-code these privileges.
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>  
>> On Jun 14, 2013, at 2:18 PM, Steve  wrote:
>>
>> I do not have staff or superuser set for this account, nor any special 
>> mod permissions.  And everyone here also sees the same 'Close' button on 
>> other people's reviews.  So, something is configured.  I wonder if there's 
>> an old database setting that we've been pulling along since the 1.0.x, 1.5 
>> days that's causing this.  Do you have some ideas on what db tables I can 
>> look in for clues?
>>
>> --Steve
>>
>>
>> On Friday, June 14, 2013 2:09:49 PM UTC-7, Christian Hammond wrote:
>>>
>>> Hi Steve,
>>>
>>> Are you set up as an admin on both servers? Or do you have the Can Close 
>>> privilege set?
>>>
>>> If so, 1.7.x should behave the same as it did in 1.6.x (and certainly 
>>> does in our installs).
>>>
>>> Christian
>>>
>>>
>>> On Jun 14, 2013, at 14:04, Steve  wrote:
>>>
>>> I'd like to back up and break this down into smaller, simpler questions.
>>>
>>> When I go to my 1.6.9 RB server and browse to another user's review, I 
>>> see these buttons along the top, right portion of the page:
>>>
>>> Download DiffReviewShip It!View Diff
>>>
>>> When I go to  both of my 1.7.6 servers and browse to another user's 
>>> review, I see these buttons along the top, right portion of the page:
>>>
>>> CloseUpdateDownload DiffReviewShip It!View 
>>> Diff
>>>
>>> I only see the 'Close' button in 1.6.9 when I'm viewing my own requests. 
>>>
>>> So, is that an intentional change in RB 1.7, or is my site somehow 
>>> misconfigured?
>>>
>>> Thanks!
>>>
>>> --Steve
>>>
>>>
>>> -- 
>>> Want to help the Review Board project? Donate today at 
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~--~~~~--~~--~--~---
>>> To unsubscribe from this group, send email to 
>>> reviewboard...@googlegroups.com
>>> For more options, visit this group at 
>>> http://groups.google.com/group/reviewboard?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "reviewboard" group.
>>> To unsubscrib

Re: Reviews are being mysteriously marked as submitted

2013-06-14 Thread Christian Hammond
It's auth_user_user_permissions, which will map user IDs to IDs in 
auth_permissions.

Alternatively, you can do:

$ rb-site manage /path/to/site shell
>>> from django.contrib.auth.models import User
>>> u = User.objects.get(username='youruser')
>>> u.is_superuser
>>> u.is_staff
>>> u.has_perm('reviewrequest.can_change_status')
>>> u.has_perm('reviewrequest.can_edit_reviewrequest')

(I believe those are the permission names.)

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On Jun 14, 2013, at 2:36 PM, Steve  wrote:

> I just went to a friend's desk and verified he sees the 'Close' button on 
> other people's reviews.  Here are his user settings in the DB:
> 
>   id: 7
> username: xx
>   first_name: xx
>last_name: xx
>email: x
> password: x
> is_staff: 0
>is_active: 1
> is_superuser: 0
>   last_login: 2013-05-15 06:59:15
>  date_joined: 2008-07-25 09:25:54
> 
> 
> What table would I look in to see if he has specific "Can Edit/Can Close 
> privileges"?
> 
> The only custom code we have on our servers is a customized ldap 
> authenticator.
> 
> Thanks!
> 
> --Steve
> 
> 
> On Friday, June 14, 2013 2:25:37 PM UTC-7, Christian Hammond wrote:
> Hi Steve,
> 
> There's no special flag for this. We implemented this functionality pre-1.0 
> and it has never changed. The only way you ever see Close or Update is when 
> you have superuser privileges or the Can Edit/Can Close privileges. I'm not 
> aware of this ever regressing or changing throughout the history of Review 
> Board.
> 
> Both the UI and the API for handling those commands check these privileges in 
> order to show/allow the operations. There isn't a single point of failure 
> here.
> 
> The only other way that this could be set is if somebody modified the code 
> you're running at some point to hard-code these privileges.
> 
> Christian
> 
> -- 
> Christian Hammond - chi...@chipx86.com
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
> 
> On Jun 14, 2013, at 2:18 PM, Steve  wrote:
> 
>> I do not have staff or superuser set for this account, nor any special mod 
>> permissions.  And everyone here also sees the same 'Close' button on other 
>> people's reviews.  So, something is configured.  I wonder if there's an old 
>> database setting that we've been pulling along since the 1.0.x, 1.5 days 
>> that's causing this.  Do you have some ideas on what db tables I can look in 
>> for clues?
>> 
>> --Steve
>> 
>> 
>> On Friday, June 14, 2013 2:09:49 PM UTC-7, Christian Hammond wrote:
>> Hi Steve,
>> 
>> Are you set up as an admin on both servers? Or do you have the Can Close 
>> privilege set?
>> 
>> If so, 1.7.x should behave the same as it did in 1.6.x (and certainly does 
>> in our installs).
>> 
>> Christian
>> 
>> 
>> On Jun 14, 2013, at 14:04, Steve  wrote:
>> 
>>> I'd like to back up and break this down into smaller, simpler questions.
>>> 
>>> When I go to my 1.6.9 RB server and browse to another user's review, I see 
>>> these buttons along the top, right portion of the page:
>>> 
>>> Download DiffReviewShip It!View Diff
>>> 
>>> When I go to  both of my 1.7.6 servers and browse to another user's review, 
>>> I see these buttons along the top, right portion of the page:
>>> 
>>> CloseUpdateDownload DiffReviewShip It!View Diff
>>> 
>>> I only see the 'Close' button in 1.6.9 when I'm viewing my own requests. 
>>> 
>>> So, is that an intentional change in RB 1.7, or is my site somehow 
>>> misconfigured?
>>> 
>>> Thanks!
>>> 
>>> --Steve
>>> 
>>> 
>>> -- 
>>> Want to help the Review Board project? Donate today at 
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~--~~~~--~~--~--~---
>>> To unsubscribe from this group, send email to 
>>> reviewboard...@googlegroups.com
>>> For more options, visit this group at 
>>> http://groups.google.com/group/reviewboard?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to reviewboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>> 
>> 
>> -- 
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to reviewboard...@googlegroups.com
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe fr

Re: Reviews are being mysteriously marked as submitted

2013-06-14 Thread Steve
I just went to a friend's desk and verified he sees the 'Close' button on 
other people's reviews.  Here are his user settings in the DB:

  id: 7
username: xx
  first_name: xx
   last_name: xx
   email: x
password: x
is_staff: 0
   is_active: 1
is_superuser: 0
  last_login: 2013-05-15 06:59:15
 date_joined: 2008-07-25 09:25:54


What table would I look in to see if he has specific "Can Edit/Can Close 
privileges"?

The only custom code we have on our servers is a customized ldap 
authenticator.

Thanks!

--Steve


On Friday, June 14, 2013 2:25:37 PM UTC-7, Christian Hammond wrote:
>
> Hi Steve,
>
> There's no special flag for this. We implemented this functionality 
> pre-1.0 and it has never changed. The only way you ever see Close or Update 
> is when you have superuser privileges or the Can Edit/Can Close privileges. 
> I'm not aware of this ever regressing or changing throughout the history of 
> Review Board.
>
> Both the UI and the API for handling those commands check these privileges 
> in order to show/allow the operations. There isn't a single point of 
> failure here.
>
> The only other way that this could be set is if somebody modified the code 
> you're running at some point to hard-code these privileges.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>  
> On Jun 14, 2013, at 2:18 PM, Steve > 
> wrote:
>
> I do not have staff or superuser set for this account, nor any special mod 
> permissions.  And everyone here also sees the same 'Close' button on other 
> people's reviews.  So, something is configured.  I wonder if there's an old 
> database setting that we've been pulling along since the 1.0.x, 1.5 days 
> that's causing this.  Do you have some ideas on what db tables I can look 
> in for clues?
>
> --Steve
>
>
> On Friday, June 14, 2013 2:09:49 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Steve,
>>
>> Are you set up as an admin on both servers? Or do you have the Can Close 
>> privilege set?
>>
>> If so, 1.7.x should behave the same as it did in 1.6.x (and certainly 
>> does in our installs).
>>
>> Christian
>>
>>
>> On Jun 14, 2013, at 14:04, Steve  wrote:
>>
>> I'd like to back up and break this down into smaller, simpler questions.
>>
>> When I go to my 1.6.9 RB server and browse to another user's review, I 
>> see these buttons along the top, right portion of the page:
>>
>> Download DiffReviewShip It!View Diff
>>
>> When I go to  both of my 1.7.6 servers and browse to another user's 
>> review, I see these buttons along the top, right portion of the page:
>>
>> CloseUpdateDownload DiffReviewShip It!View 
>> Diff
>>
>> I only see the 'Close' button in 1.6.9 when I'm viewing my own requests. 
>>
>> So, is that an intentional change in RB 1.7, or is my site somehow 
>> misconfigured?
>>
>> Thanks!
>>
>> --Steve
>>
>>
>> -- 
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to 
>> reviewboard...@googlegroups.com
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>>
> -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to 
> reviewboard...@googlegroups.com 
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard...@googlegroups.com .
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+

Re: Reviews are being mysteriously marked as submitted

2013-06-14 Thread Christian Hammond
Hi Steve,

There's no special flag for this. We implemented this functionality pre-1.0 and 
it has never changed. The only way you ever see Close or Update is when you 
have superuser privileges or the Can Edit/Can Close privileges. I'm not aware 
of this ever regressing or changing throughout the history of Review Board.

Both the UI and the API for handling those commands check these privileges in 
order to show/allow the operations. There isn't a single point of failure here.

The only other way that this could be set is if somebody modified the code 
you're running at some point to hard-code these privileges.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On Jun 14, 2013, at 2:18 PM, Steve  wrote:

> I do not have staff or superuser set for this account, nor any special mod 
> permissions.  And everyone here also sees the same 'Close' button on other 
> people's reviews.  So, something is configured.  I wonder if there's an old 
> database setting that we've been pulling along since the 1.0.x, 1.5 days 
> that's causing this.  Do you have some ideas on what db tables I can look in 
> for clues?
> 
> --Steve
> 
> 
> On Friday, June 14, 2013 2:09:49 PM UTC-7, Christian Hammond wrote:
> Hi Steve,
> 
> Are you set up as an admin on both servers? Or do you have the Can Close 
> privilege set?
> 
> If so, 1.7.x should behave the same as it did in 1.6.x (and certainly does in 
> our installs).
> 
> Christian
> 
> 
> On Jun 14, 2013, at 14:04, Steve  wrote:
> 
>> I'd like to back up and break this down into smaller, simpler questions.
>> 
>> When I go to my 1.6.9 RB server and browse to another user's review, I see 
>> these buttons along the top, right portion of the page:
>> 
>> Download DiffReviewShip It!View Diff
>> 
>> When I go to  both of my 1.7.6 servers and browse to another user's review, 
>> I see these buttons along the top, right portion of the page:
>> 
>> CloseUpdateDownload DiffReviewShip It!View Diff
>> 
>> I only see the 'Close' button in 1.6.9 when I'm viewing my own requests. 
>> 
>> So, is that an intentional change in RB 1.7, or is my site somehow 
>> misconfigured?
>> 
>> Thanks!
>> 
>> --Steve
>> 
>> 
>> -- 
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to reviewboard...@googlegroups.com
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
> 
> 
> -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Reviews are being mysteriously marked as submitted

2013-06-14 Thread Steve
I do not have staff or superuser set for this account, nor any special mod 
permissions.  And everyone here also sees the same 'Close' button on other 
people's reviews.  So, something is configured.  I wonder if there's an old 
database setting that we've been pulling along since the 1.0.x, 1.5 days 
that's causing this.  Do you have some ideas on what db tables I can look 
in for clues?

--Steve


On Friday, June 14, 2013 2:09:49 PM UTC-7, Christian Hammond wrote:
>
> Hi Steve,
>
> Are you set up as an admin on both servers? Or do you have the Can Close 
> privilege set?
>
> If so, 1.7.x should behave the same as it did in 1.6.x (and certainly does 
> in our installs).
>
> Christian
>
>
> On Jun 14, 2013, at 14:04, Steve > wrote:
>
> I'd like to back up and break this down into smaller, simpler questions.
>
> When I go to my 1.6.9 RB server and browse to another user's review, I see 
> these buttons along the top, right portion of the page:
>
> Download DiffReviewShip It!View Diff
>
> When I go to  both of my 1.7.6 servers and browse to another user's 
> review, I see these buttons along the top, right portion of the page:
>
> CloseUpdateDownload DiffReviewShip It!View Diff
>
> I only see the 'Close' button in 1.6.9 when I'm viewing my own requests. 
>
> So, is that an intentional change in RB 1.7, or is my site somehow 
> misconfigured?
>
> Thanks!
>
> --Steve
>
>  -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to 
> reviewboard...@googlegroups.com 
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard...@googlegroups.com .
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Reviews are being mysteriously marked as submitted

2013-06-14 Thread Christian Hammond
Hi Steve,

Are you set up as an admin on both servers? Or do you have the Can Close 
privilege set?

If so, 1.7.x should behave the same as it did in 1.6.x (and certainly does in 
our installs).

Christian


On Jun 14, 2013, at 14:04, Steve  wrote:

> I'd like to back up and break this down into smaller, simpler questions.
> 
> When I go to my 1.6.9 RB server and browse to another user's review, I see 
> these buttons along the top, right portion of the page:
> 
> Download DiffReviewShip It!View Diff
> 
> When I go to  both of my 1.7.6 servers and browse to another user's review, I 
> see these buttons along the top, right portion of the page:
> 
> CloseUpdateDownload DiffReviewShip It!View Diff
> 
> I only see the 'Close' button in 1.6.9 when I'm viewing my own requests. 
> 
> So, is that an intentional change in RB 1.7, or is my site somehow 
> misconfigured?
> 
> Thanks!
> 
> --Steve
> 
> -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Reviews are being mysteriously marked as submitted

2013-06-14 Thread Steve
I'd like to back up and break this down into smaller, simpler questions.

When I go to my 1.6.9 RB server and browse to another user's review, I see 
these buttons along the top, right portion of the page:

Download DiffReviewShip It!View Diff

When I go to  both of my 1.7.6 servers and browse to another user's review, 
I see these buttons along the top, right portion of the page:

CloseUpdateDownload DiffReviewShip It!View Diff

I only see the 'Close' button in 1.6.9 when I'm viewing my own requests. 

So, is that an intentional change in RB 1.7, or is my site somehow 
misconfigured?

Thanks!

--Steve

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GUI tests on reviewboard

2013-06-14 Thread David Trowbridge
What exactly are you trying to do?

-David


On Fri, Jun 14, 2013 at 3:30 AM, Varun Jain wrote:

> Hi All,
>
> If I take xpath via firebug & compares the xpath of same element taken via
> chrome both are different.
>
> Which one should be preferred??
>
> Also, In GUI automation I am facing time.sleep errors too much. Is there
> any way to get rid of it???
>
> Is it required to install selenium web driver before running gui scripts??
> will it make automation faster?
>
> I have been running gui tests without selenium web driver till now.
>
> Thanks,
> Varun
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Extending the Review Workflow

2013-06-14 Thread winston . mike
I have just setup my first instance of ReviewBoard and use JIRA to track my 
bugs/work.  ReviewBoard gives me a basic way to link my review back to the 
JIRA ticket through the Custom Bug Tracker feature.  But I also want to 
link my JIRA ticket to my set of Reviews for that ticket.  JIRA gives me an 
API that allows me to do this, but I would like a way to intercept or 
extend the workflow of a ReviewBoard Review to send these API calls.  At a 
minimum I would like to be able to execute the JIRA API upon a Review being 
created, but ideally I would also like to do an update to JIRA when it is 
out of draft (i.e. first publish) and when it is submitted.  Is there any 
way to do this?  I thought Extensions would do it, just from its name, but 
the more I read, I don't think that sounds correct.   Any thoughts?

Thanks,
Mike

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




GUI tests on reviewboard

2013-06-14 Thread Varun Jain
Hi All,

If I take xpath via firebug & compares the xpath of same element taken via 
chrome both are different.

Which one should be preferred??

Also, In GUI automation I am facing time.sleep errors too much. Is there 
any way to get rid of it???

Is it required to install selenium web driver before running gui scripts?? 
will it make automation faster?

I have been running gui tests without selenium web driver till now.

Thanks,
Varun

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.