Re: Text/plain emails contain html syntax after upgrading Review Board from 5.0.5 to 7.0.1

2024-08-19 Thread David Trowbridge
Hi,

Definitely a bug. We'll get a fix in for 7.0.2.

David

On Mon, Aug 12, 2024 at 10:09 AM Minh Huy Vo  wrote:

> Hi,
>
> One of our reviewboard users complains that when he's viewing a
> ReviewBoard email in plain text mode, he's also seeing the html syntax. I
> can confirm this. Attached are 2 plain text emails sent from our Review
> Board instance before and after the upgrade.
>
> It seems to happen only with emails that contain replies to a review
> comment. For others, there's no html syntax included.
>
> Is this intended?
>
> Thanks,
> Huy
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/ea199daf-93be-475e-9b11-21267196e8adn%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/ea199daf-93be-475e-9b11-21267196e8adn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAFS3VNUk52ns9R3wLe7zYG722oQMWKW7Gd3bYXzG4517F65qrg%40mail.gmail.com.


Text/plain emails contain html syntax after upgrading Review Board from 5.0.5 to 7.0.1

2024-08-12 Thread Minh Huy Vo
Hi,

One of our reviewboard users complains that when he's viewing a ReviewBoard 
email in plain text mode, he's also seeing the html syntax. I can confirm 
this. Attached are 2 plain text emails sent from our Review Board instance 
before and after the upgrade.

It seems to happen only with emails that contain replies to a review 
comment. For others, there's no html syntax included.

Is this intended?

Thanks,
Huy

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/ea199daf-93be-475e-9b11-21267196e8adn%40googlegroups.com.
--===5930696883484714475==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit



 On August 7th, 2024, 3:13 p.m. UTC, John 
Doe wrote:
 
  



 
(truncated_output)  --===7129076899341828476==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit



> On June 21, 2024, 1:41 p.m., John Doe wrote:
(truncated output)
> >
> > I assume these set ABI options. They're not necessary?
(truncated output)

Re: The eviewboard api does not change users emails

2024-03-04 Thread Lyova Pogosyan
It works just with:  PUT  -F

Thanks
On Friday, March 1, 2024 at 9:49:18 PM UTC+4 David Trowbridge wrote:

> Parameters to PUT and POST operations in the API need to be specified as 
> form-data, not query parameters or JSON. This can be done with the -F 
> parameter to curl:
>
> curl -H "Authorization: ..." -H "Accept: ..." -X PUT-F "email=" 
> https:///api/users//
>
> David
>
> On Fri, Mar 1, 2024 at 10:45 AM Lyova Pogosyan  wrote:
>
>> Hi,
>>
>> I am using RB 6.0.2 and I want to change multiply users emails, so I need 
>> to use the api.
>> I tried many options, but I could not update any user's email.
>>
>> My query is:
>> curl -H "Authorization: token " -H "Accept: application/json" -X 
>> PUT "https:///api/users//?email="
>>
>> The response is as expected in example:
>> User Resource | Review Board latest Documentation | Review Board 
>> <https://www.reviewboard.org/docs/manual/latest/webapi/2.0/resources/user/#examples>
>>
>> Just the users email is not updated
>>
>> Also I have tried to send json header but the result is same:
>> curl -H "Authorization: token " -H "Accept: application/json" -X 
>> PUT "https:///api/users//" -H "Content-Type: 
>> application/json" -d "{'email': ''}"
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/bd8cc1df-dbae-4b7c-a133-9637f1e74166n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/bd8cc1df-dbae-4b7c-a133-9637f1e74166n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/4c5085b1-331b-4642-9869-b233f329e2bdn%40googlegroups.com.


Re: The eviewboard api does not change users emails

2024-03-01 Thread David Trowbridge
Parameters to PUT and POST operations in the API need to be specified as
form-data, not query parameters or JSON. This can be done with the -F
parameter to curl:

curl -H "Authorization: ..." -H "Accept: ..." -X PUT-F "email="
https:///api/users//

David

On Fri, Mar 1, 2024 at 10:45 AM Lyova Pogosyan  wrote:

> Hi,
>
> I am using RB 6.0.2 and I want to change multiply users emails, so I need
> to use the api.
> I tried many options, but I could not update any user's email.
>
> My query is:
> curl -H "Authorization: token " -H "Accept: application/json" -X
> PUT "https:///api/users//?email="
>
> The response is as expected in example:
> User Resource | Review Board latest Documentation | Review Board
> <https://www.reviewboard.org/docs/manual/latest/webapi/2.0/resources/user/#examples>
>
> Just the users email is not updated
>
> Also I have tried to send json header but the result is same:
> curl -H "Authorization: token " -H "Accept: application/json" -X
> PUT "https:///api/users//" -H "Content-Type:
> application/json" -d "{'email': ''}"
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/bd8cc1df-dbae-4b7c-a133-9637f1e74166n%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/bd8cc1df-dbae-4b7c-a133-9637f1e74166n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAFS3VNUVbTMK%3DTxCFAmQxAEZuQ%2B-dGSWyni4RjRtqNNqoS3iWA%40mail.gmail.com.


The eviewboard api does not change users emails

2024-03-01 Thread Lyova Pogosyan
Hi,

I am using RB 6.0.2 and I want to change multiply users emails, so I need 
to use the api.
I tried many options, but I could not update any user's email.

My query is:
curl -H "Authorization: token " -H "Accept: application/json" -X 
PUT "https:///api/users//?email="

The response is as expected in example:
User Resource | Review Board latest Documentation | Review Board 
<https://www.reviewboard.org/docs/manual/latest/webapi/2.0/resources/user/#examples>

Just the users email is not updated

Also I have tried to send json header but the result is same:
curl -H "Authorization: token " -H "Accept: application/json" -X 
PUT "https:///api/users//" -H "Content-Type: 
application/json" -d "{'email': ''}"

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/bd8cc1df-dbae-4b7c-a133-9637f1e74166n%40googlegroups.com.


to stop receiving emails from it

2023-02-12 Thread 'W001' via Review Board Community
to stop receiving emails from it
--

W001
825772...@qq.com



 




-- Original --
From:  "Luke Plaisance";https://www.reviewboard.org/powerpack/
 Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
 Happy user? Let us know! https://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
 To unsubscribe from this group and stop receiving emails from it, send an 
email to reviewboard+unsubscr...@googlegroups.com.
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/32baa268-eb26-4582-b92e-78b4a4fe8a57n%40googlegroups.com.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/tencent_7D8872B4956E30EF3F8772B6A05D5007%40qq.com.


Re: Overwhelmed with Error Message emails

2022-02-04 Thread Josh Davis
Well, whatever caused this has cleared itself up. It behaved normally 
during today's Nessus scan. I have no idea what might have caused it to 
start or stop. In any event, this is no longer an issue. 

Here is my install process in case it might be useful:




*yum install gcc python3-devel libffi-devel openssl-devel memcached patch 
git-core mod_wsgi libsodium python3-pynacl python3 -m pip install 
mysqlclient==2.0.3python3 -m pip install ReviewBoardpython3 -m pip install 
ReviewBoard[ldap]*

On Thursday, February 3, 2022 at 9:16:06 PM UTC-6 Christian Hammond wrote:

> Hmmm, the root cause is that ValueError, which you should not be getting. 
> A request to an invalid URL should never generate a 500. Something 
> somewhere is going wrong, and the emails are a symptom of it.
>
> What was the installation method for Review Board? (e.g., pip?)
>
> Is there anything non-default about your setup?
>
> Christian
>
>
> On Mon, Jan 24, 2022 at 08:51 Josh Davis  wrote:
>
>> Hello,
>>
>> I have ReviewBoard 4.0.4 installed. Our organization has a Nessus 
>> vulnerability scanner and every time it scans ReviewBoard, I am bombarded 
>> with error emails as the scanner tries every vulnerability it can think of. 
>> A single scan might generate 500+ emails that look like this:
>> SUBJECT: [Review Board] ERROR (EXTERNAL IP): Internal Server Error: /
>> index.pl 
>> MESSAGE:
>> Internal Server Error: /index.pl
>>
>> ValueError at /index.pl
>> The file 'rb/images/favicon_notify.ico' could not be found with 
>> .
>>
>> Request Method: GET
>> Request URL: http://redacted/index.pl
>> Django Version: 1.11.29
>> Python Executable: /usr/bin/python3
>> Python Version: 3.6.8
>> Python Path: ['/var/www/html/conf', '/usr/lib64/python36.zip', 
>> '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', 
>> '/usr/local/lib64/python3.6/site-packages', 
>> '/usr/local/lib/python3.6/site-packages', 
>> '/usr/lib64/python3.6/site-packages', 
>> '/usr/lib/python3.6/site-packages']
>> Server time: Mon, 24 Jan 2022 10:31:23 -0600 
>> ...
>> Of course the subject will change to whatever vulnerability the scanner 
>> is trying such as:
>>
>>- /cgi-sys/defaultwebpage.cgi
>>- /ucsm/isSamInstalled.cgi 
>>- /system/login 
>>
>> From what I've found, this is caused by django trying to be helpful. I'm 
>> wondering if there is a way to disable this "feature". I don't mind it 
>> logging the errors, but I can't figure out how to disable it emailing me 
>> without completely disabling email.
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/eb75c5c2-408b-422a-adce-80cdcd9a13den%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/eb75c5c2-408b-422a-adce-80cdcd9a13den%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> -- 
> -- 
> Christian Hammond
> President/CEO of Beanbag
> Makers of Review Board
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/6377669b-997d-49a1-81e5-f137fb804c3dn%40googlegroups.com.


Re: Overwhelmed with Error Message emails

2022-02-03 Thread Christian Hammond
Hmmm, the root cause is that ValueError, which you should not be getting. A
request to an invalid URL should never generate a 500. Something somewhere
is going wrong, and the emails are a symptom of it.

What was the installation method for Review Board? (e.g., pip?)

Is there anything non-default about your setup?

Christian


On Mon, Jan 24, 2022 at 08:51 Josh Davis  wrote:

> Hello,
>
> I have ReviewBoard 4.0.4 installed. Our organization has a Nessus
> vulnerability scanner and every time it scans ReviewBoard, I am bombarded
> with error emails as the scanner tries every vulnerability it can think of.
> A single scan might generate 500+ emails that look like this:
> SUBJECT: [Review Board] ERROR (EXTERNAL IP): Internal Server Error: /
> index.pl
> MESSAGE:
> Internal Server Error: /index.pl
>
> ValueError at /index.pl
> The file 'rb/images/favicon_notify.ico' could not be found with
> .
>
> Request Method: GET
> Request URL: http://redacted/index.pl
> Django Version: 1.11.29
> Python Executable: /usr/bin/python3
> Python Version: 3.6.8
> Python Path: ['/var/www/html/conf', '/usr/lib64/python36.zip',
> '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload',
> '/usr/local/lib64/python3.6/site-packages', 
> '/usr/local/lib/python3.6/site-packages',
> '/usr/lib64/python3.6/site-packages', '/usr/lib/python3.6/site-packages']
> Server time: Mon, 24 Jan 2022 10:31:23 -0600
> ...
> Of course the subject will change to whatever vulnerability the scanner is
> trying such as:
>
>- /cgi-sys/defaultwebpage.cgi
>- /ucsm/isSamInstalled.cgi
>- /system/login
>
> From what I've found, this is caused by django trying to be helpful. I'm
> wondering if there is a way to disable this "feature". I don't mind it
> logging the errors, but I can't figure out how to disable it emailing me
> without completely disabling email.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/eb75c5c2-408b-422a-adce-80cdcd9a13den%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/eb75c5c2-408b-422a-adce-80cdcd9a13den%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
-- 
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7VndmujSxEbkQei%2BKx3vtnGaZLUzyzyQv9e8ONmYS9TydWUg%40mail.gmail.com.


Overwhelmed with Error Message emails

2022-01-24 Thread Josh Davis
Hello,

I have ReviewBoard 4.0.4 installed. Our organization has a Nessus 
vulnerability scanner and every time it scans ReviewBoard, I am bombarded 
with error emails as the scanner tries every vulnerability it can think of. 
A single scan might generate 500+ emails that look like this:
SUBJECT: [Review Board] ERROR (EXTERNAL IP): Internal Server Error: 
/index.pl 
MESSAGE:
Internal Server Error: /index.pl

ValueError at /index.pl
The file 'rb/images/favicon_notify.ico' could not be found with 
.

Request Method: GET
Request URL: http://redacted/index.pl
Django Version: 1.11.29
Python Executable: /usr/bin/python3
Python Version: 3.6.8
Python Path: ['/var/www/html/conf', '/usr/lib64/python36.zip', 
'/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', 
'/usr/local/lib64/python3.6/site-packages', 
'/usr/local/lib/python3.6/site-packages', 
'/usr/lib64/python3.6/site-packages', '/usr/lib/python3.6/site-packages']
Server time: Mon, 24 Jan 2022 10:31:23 -0600 
...
Of course the subject will change to whatever vulnerability the scanner is 
trying such as:

   - /cgi-sys/defaultwebpage.cgi
   - /ucsm/isSamInstalled.cgi 
   - /system/login 

>From what I've found, this is caused by django trying to be helpful. I'm 
wondering if there is a way to disable this "feature". I don't mind it 
logging the errors, but I can't figure out how to disable it emailing me 
without completely disabling email.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/eb75c5c2-408b-422a-adce-80cdcd9a13den%40googlegroups.com.


Re: Site-root being applied twice to links sent in emails in upgraded 3.0.1 install

2017-12-14 Thread Christian Hammond
That's such an annoying problem. Chrome has removed all ability to prevent
that from happening. We're going to need to consider some alternative to
password fields...

As for where to look, there's https://hellosplat.com/s/beanbag/tickets/ (or
https://www.reviewboard.org/bugs/, which redirects there), but I'm not sure
if this was filed already.

Christian

On Thu, Dec 14, 2017 at 5:01 AM, Peter Hodgson 
wrote:

> "Possibly related but it seems that comments on existing reviews aren't
> generating emails." - Disregard this, chrome remembering my
> Username/Password was autopopulating those fields in the email settings
> page which got picked up when I saved something else. My bad.
>
>
> On Thursday, 14 December 2017 11:23:40 UTC, Peter Hodgson wrote:
>>
>> Hi Christian,
>>
>> No problem, that's the price of progress. Is there somewhere else I
>> should be looking for these known bugs before reporting them and adding
>> noise?
>>
>> Possibly related but it seems that comments on existing reviews aren't
>> generating emails.
>>
>> Thanks,
>> Peter
>>
>> On Thursday, 14 December 2017 00:23:50 UTC, Christian Hammond wrote:
>>>
>>> Hi Peter,
>>>
>>> That's definitely a regression in 3.0 with subdirectory installs. We
>>> have a fix in progress already, and will be shipping that in 3.0.2. Sorry
>>> for the trouble!
>>>
>>> Christian
>>>
>>> On Wed, Dec 13, 2017 at 4:11 PM, Peter Hodgson 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am in the position of emails being generated with the site config
>>>> applied twice eg. The below from a mail.
>>>>
>>>> “This is an automatically generated e-mail. To reply, visit:
>>>> https://reviewboard.redacted.com/ReviewBoard//ReviewBoard/r/237/“
>>>>
>>>> This is the same for the diff link in the email but I can’t find
>>>> anywhere else it happens, ie. all links on the review page/info boxes work.
>>>>
>>>> One consideration that could be how I got here is that I did a fresh
>>>> site install of v3 against the v2 DB, letting it perform the evolutions
>>>> then. Could that be relevant?
>>>>
>>>> Thanks in advance,
>>>> Peter
>>>>
>>>> --
>>>> Supercharge your Review Board with Power Pack:
>>>> https://www.reviewboard.org/powerpack/
>>>> Want us to host Review Board for you? Check out RBCommons:
>>>> https://rbcommons.com/
>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>> ---
>>>> 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/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Site-root being applied twice to links sent in emails in upgraded 3.0.1 install

2017-12-14 Thread Peter Hodgson
"Possibly related but it seems that comments on existing reviews aren't 
generating emails." - Disregard this, chrome remembering my 
Username/Password was autopopulating those fields in the email settings 
page which got picked up when I saved something else. My bad.

On Thursday, 14 December 2017 11:23:40 UTC, Peter Hodgson wrote:
>
> Hi Christian,
>
> No problem, that's the price of progress. Is there somewhere else I should 
> be looking for these known bugs before reporting them and adding noise?
>
> Possibly related but it seems that comments on existing reviews aren't 
> generating emails.
>
> Thanks,
> Peter
>
> On Thursday, 14 December 2017 00:23:50 UTC, Christian Hammond wrote:
>>
>> Hi Peter,
>>
>> That's definitely a regression in 3.0 with subdirectory installs. We have 
>> a fix in progress already, and will be shipping that in 3.0.2. Sorry for 
>> the trouble!
>>
>> Christian
>>
>> On Wed, Dec 13, 2017 at 4:11 PM, Peter Hodgson  
>> wrote:
>>
>>> Hi,
>>>
>>> I am in the position of emails being generated with the site config 
>>> applied twice eg. The below from a mail.
>>>
>>> “This is an automatically generated e-mail. To reply, visit: 
>>> https://reviewboard.redacted.com/ReviewBoard//ReviewBoard/r/237/“
>>>
>>> This is the same for the diff link in the email but I can’t find 
>>> anywhere else it happens, ie. all links on the review page/info boxes work.
>>>
>>> One consideration that could be how I got here is that I did a fresh 
>>> site install of v3 against the v2 DB, letting it perform the evolutions 
>>> then. Could that be relevant?
>>>
>>> Thanks in advance,
>>> Peter
>>>
>>> --
>>> Supercharge your Review Board with Power Pack: 
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons: 
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> 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/d/optout.
>>>
>>
>>
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Site-root being applied twice to links sent in emails in upgraded 3.0.1 install

2017-12-14 Thread Peter Hodgson
Hi Christian,

No problem, that's the price of progress. Is there somewhere else I should 
be looking for these known bugs before reporting them and adding noise?

Possibly related but it seems that comments on existing reviews aren't 
generating emails.

Thanks,
Peter

On Thursday, 14 December 2017 00:23:50 UTC, Christian Hammond wrote:
>
> Hi Peter,
>
> That's definitely a regression in 3.0 with subdirectory installs. We have 
> a fix in progress already, and will be shipping that in 3.0.2. Sorry for 
> the trouble!
>
> Christian
>
> On Wed, Dec 13, 2017 at 4:11 PM, Peter Hodgson  > wrote:
>
>> Hi,
>>
>> I am in the position of emails being generated with the site config 
>> applied twice eg. The below from a mail.
>>
>> “This is an automatically generated e-mail. To reply, visit: 
>> https://reviewboard.redacted.com/ReviewBoard//ReviewBoard/r/237/“
>>
>> This is the same for the diff link in the email but I can’t find anywhere 
>> else it happens, ie. all links on the review page/info boxes work.
>>
>> One consideration that could be how I got here is that I did a fresh site 
>> install of v3 against the v2 DB, letting it perform the evolutions then. 
>> Could that be relevant?
>>
>> Thanks in advance,
>> Peter
>>
>> --
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> 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/d/optout.
>>
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Site-root being applied twice to links sent in emails in upgraded 3.0.1 install

2017-12-13 Thread Christian Hammond
Hi Peter,

That's definitely a regression in 3.0 with subdirectory installs. We have a
fix in progress already, and will be shipping that in 3.0.2. Sorry for the
trouble!

Christian

On Wed, Dec 13, 2017 at 4:11 PM, Peter Hodgson 
wrote:

> Hi,
>
> I am in the position of emails being generated with the site config
> applied twice eg. The below from a mail.
>
> “This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.redacted.com/ReviewBoard//ReviewBoard/r/237/“
>
> This is the same for the diff link in the email but I can’t find anywhere
> else it happens, ie. all links on the review page/info boxes work.
>
> One consideration that could be how I got here is that I did a fresh site
> install of v3 against the v2 DB, letting it perform the evolutions then.
> Could that be relevant?
>
> Thanks in advance,
> Peter
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Site-root being applied twice to links sent in emails in upgraded 3.0.1 install

2017-12-13 Thread Peter Hodgson
Hi,

I am in the position of emails being generated with the site config applied 
twice eg. The below from a mail.

“This is an automatically generated e-mail. To reply, visit: 
https://reviewboard.redacted.com/ReviewBoard//ReviewBoard/r/237/“

This is the same for the diff link in the email but I can’t find anywhere else 
it happens, ie. all links on the review page/info boxes work.

One consideration that could be how I got here is that I did a fresh site 
install of v3 against the v2 DB, letting it perform the evolutions then. Could 
that be relevant?

Thanks in advance,
Peter

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Customizing emails sent by reviewboard

2017-12-07 Thread Christian Hammond
Hi,

Right now, custom fields can't augment the e-mails, but I think that's a
feature worth adding. Right now, I'd say if anyone is available to
contribute patches, that would be the fastest way to get this added, but
otherwise I can add it to our roadmap.

Christian

On Wed, Dec 6, 2017 at 8:06 AM,  wrote:

> Hi over there!
>
> Is there any way to change content of emails sent by reviewboard after
> creating / changing review request ?
>
> As we can see in attached file email consists of "Description" and "Diffs"
> sections. But is there any way to add "Note to Reviewers" section to sent
> emails?
>
>
>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Customizing emails sent by reviewboard

2017-12-06 Thread czybla
Hi over there!

Is there any way to change content of emails sent by reviewboard after 
creating / changing review request ?

As we can see in attached file email consists of "Description" and "Diffs" 
sections. But is there any way to add "Note to Reviewers" section to sent 
emails?




-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Invalid HTTP_HOST header Emails

2017-08-22 Thread Stephen Wanhella
One solution, if anybody else happens to find this thread and just wants 
the emails to stop, is to add the ip address to the list of allowed hosts.
I did this in 
/opt/bitnami/apps/reviewboard/htdocs/rb-sites/reviewboard/conf/settings_local.py.
You can add the ip address to the ALLOWED_HOSTS array.

On Tuesday, February 9, 2016 at 7:51:55 AM UTC-8, Mike Baker wrote:
>
> Mapped the Apache logs. Seems it's just random servers pinging the IP and 
> snooping around for vulnerabilities. 
> Some map to these guys: http://74.82.47.3/
> The other brings up a variety of results in Google 
> https://www.google.ca/?gws_rd=ssl#safe=off&q=199.115.117.88
>
> In any case, just seems like random bot traffic. I'll look into either 
> outright rejecting web traffic targeted directly at the server's IP or 
> redirecting them with mod_rewrite.
>
> Thanks for the help guys. I'll report back when I have a solution so 
> anyone else having this issue can solve it too. I'm betting most people 
> running Review Board on an EC2 instance see this.
>
> On Monday, February 8, 2016 at 8:33:01 PM UTC-5, Mike Baker wrote:
>>
>> I'll have to look more closely at the Apache logs to figure out if there 
>> is a mapping. To be honest, I don't really care if the site doesn't load 
>> from the direct IP. I just don't want to get the emails all the time :P
>>
>> I'll take a closer look at the logs tomorrow.
>> The mod_rewrite idea is a good one. That will at least stop the emails. I 
>> need to setup the forced rewrite to https for insecure connections anyway 
>> so I'll just add that to the list.
>>
>> Thanks for the quick response and ideas guys!
>>
>> On Monday, February 8, 2016 at 7:47:11 PM UTC-5, Stephen Gallagher wrote:
>>>
>>> Another alternative would be to set up mod_rewrite so that requests to 
>>> the IP address are externally redirected to the hostname (which is probably 
>>> a necessity if you're using HTTPS anyhow).
>>>
>>> On Mon, Feb 8, 2016 at 5:35 PM Christian Hammond  
>>> wrote:
>>>
>>>> Hi Mike,
>>>>
>>>> We don't (currently) use Django's logging settings, so that can't be 
>>>> disabled the same way. There might be a way to turn off the behavior in a 
>>>> more specific way, but I don't know it (I haven't seen this come up yet so 
>>>> I haven't looked into it).
>>>>
>>>> Is there anything in your Apache logs that correspond to these access 
>>>> times that can help point you to what's accessing the server with that IP?
>>>>
>>>> Alternatively, you could add the IP to ALLOWED_HOSTS.
>>>>
>>>> Christian
>>>>
>>>> -- 
>>>> Christian Hammond - chri...@beanbaginc.com
>>>> Review Board - https://www.reviewboard.org
>>>> Beanbag, Inc. - https://www.beanbaginc.com
>>>>
>>>> On Mon, Feb 8, 2016 at 2:32 PM, Mike Baker <
>>>> mba...@karmaninteractive.com> wrote:
>>>>
>>>>> I've been getting the odd email from my Review Board install.
>>>>>
>>>>> *Subject:*
>>>>> [Review Board] ERROR: Invalid HTTP_HOST header: ''.You may 
>>>>> need to add u'' to ALLOWED_HOSTS.
>>>>>
>>>>> *Body:*
>>>>> No stack trace available
>>>>>
>>>>> Request repr() unavailable.
>>>>>
>>>>>
>>>>> In this example  is my servers IP address.
>>>>>
>>>>> The email gets sent at really odd and infrequent intervals (1-3 times 
>>>>> per day). A little Googling around seems to indicate the issue is that 
>>>>> someone (or something) is trying to access my server directly by IP 
>>>>> rather 
>>>>> than using the domain name(s).
>>>>>
>>>>> Looking at this SO post it seems I can disable the logging in the 
>>>>> Django settings but I'm usure of where those are in the RB installation. 
>>>>> Can anyone point me in the right direction?
>>>>>
>>>>> http://stackoverflow.com/questions/22416027/invalid-http-host-header-in-django-1-6-2
>>>>>
>>>>> Thanks
>>>>>
>>>>> -- 
>>>>> Supercharge your Review Board with Power Pack: 
>>>>> https://www.reviewboard.org/powerpack/
>>>>> Want us to host Review Board for you? Chec

Re: reviewboard can't send emails to users.It says dns time out?

2017-08-04 Thread Christian Hammond
Hi,

Sounds like when Review Board is looking up the mail records for the
recipient (which it does to check DMARC policies in order to determine how
it can represent the e-mail's sender), it's timing out when talking to the
DNS server. Can you attempt to look up the DNS records for the domain of
the recipient from that computer and see if it works?

Is the DNS server hosted in-house, by a cloud provider, or by your ISP?

Christian

On Tue, Aug 1, 2017 at 8:12 PM, tangkai  wrote:

>
> <https://lh3.googleusercontent.com/-Kdhbhv36Yw4/WYFCtEQ-TsI/AHg/Ucv-dleNcvwzYXjC-u9qlsqnKR7bCnjdwCLcBGAs/s1600/1.png>
>
> but I check the DNS server,it works well?
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


reviewboard can't send emails to users.It says dns time out?

2017-08-01 Thread tangkai


<https://lh3.googleusercontent.com/-Kdhbhv36Yw4/WYFCtEQ-TsI/AHg/Ucv-dleNcvwzYXjC-u9qlsqnKR7bCnjdwCLcBGAs/s1600/1.png>

but I check the DNS server,it works well?

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Administrative Emails

2017-06-07 Thread Chris Eagan
C090752, comment: In 
>> order to perform this operation a successful bind must be completed on the 
>> connection., data 0, v2580', 'desc': 'Operations error'}
>>
>>
>>
>> On Monday, June 5, 2017 at 5:52:51 PM UTC-4, Christian Hammond wrote:
>>>
>>> Hi Chris,
>>>
>>> I'm surprised you're getting e-mails for this, but I'd have to see the 
>>> entirety of the e-mail, probably. If it's an exception traceback e-mail, 
>>> then likely this particular failure wasn't getting caught and handled 
>>> gracefully, leading to a HTTP 500 being shown to the user who tried to log 
>>> in. Generally speaking, you should only get such e-mails if we have a crash 
>>> bug.
>>>
>>> I did a bunch of work to improve the LDAP support in 2.5.12, which 
>>> should also better catch exceptions. Upgrading might prevent those errors 
>>> from showing up.
>>>
>>> Do you have a full traceback shown in there?
>>>
>>> Christian
>>>
>>> On Mon, Jun 5, 2017 at 12:04 PM, Chris Eagan  wrote:
>>>
>>>> Sometimes our Review Board server sends emails to the Administrator 
>>>> email account to report errors. I don't see a setting anywhere to control 
>>>> what gets sent to the administrators, but some of these issues are ones 
>>>> that we aren't particularly interested in receiving. For instance, the 
>>>> following error gets sent whenever someone mistypes their password when 
>>>> attempting to login to Review Board.
>>>>
>>>> OPERATIONS_ERROR: {'info': '04DC: LdapErr: DSID-0C090752, comment: 
>>>> In order to perform this operation a successful bind must be completed on 
>>>> the connection., data 0, v2580', 'desc': 'Operations error'}
>>>>
>>>> It is a little odd because we can see other ERROR level log entries 
>>>> from today, but we didn't get emails for all of them so the emails don't 
>>>> appear to be related to the log level of the error. It might be useful to 
>>>> let the user customize the log level threshold for which emails are sent 
>>>> to 
>>>> the Administrator, including turning off the automated emails completely.
>>>>
>>>> Is there anything we can do to customize what gets sent to the 
>>>> Administrator email account? We are currently running Review Board 2.5.9.
>>>>
>>>> -- 
>>>> Supercharge your Review Board with Power Pack: 
>>>> https://www.reviewboard.org/powerpack/
>>>> Want us to host Review Board for you? Check out RBCommons: 
>>>> https://rbcommons.com/
>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>> --- 
>>>> 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/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> 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/d/optout.
>>
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Administrative Emails

2017-06-06 Thread Christian Hammond
Hi Chris,

I'm afraid the changes I talked about were limited to the LDAP support, not
Active Directory. The newer version won't fix your problem.

I think it's important to figure out why this is failing in the first
place, though. We perform a bind every time we go to authenticate a user.
We know that's succeeding because we then immediately go to perform a
search (which wouldn't happen if the bind failed), and that's where this is
failing. It sounds like this only happens periodically, and not every time
someone authenticates?

Christian

On Tue, Jun 6, 2017 at 12:33 PM, Chris Eagan  wrote:

> I am planning to upgrade our version soon so hopefully that resolves the
> problem, but either way, here is the traceback from the email in case you
> would like to take a look.
>
> Traceback (most recent call last):
>
>   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py",
> line 112, in get_response
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>
>   File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py",
> line 52, in _wrapped_view_func
> response = view_func(request, *args, **kwargs)
>
>   File "/usr/lib/python2.7/site-packages/django/views/decorators/vary.py",
> line 19, in inner_func
> response = func(*args, **kwargs)
>
>   File "/usr/lib/python2.7/site-packages/djblets/webapi/resources/base.py",
> line 135, in __call__
> auth_result = check_login(request)
>
>   File 
> "/usr/lib/python2.7/site-packages/djblets/webapi/auth/backends/__init__.py",
> line 87, in check_login
> result = auth_backend_cls().authenticate(request)
>
>   File 
> "/usr/lib/python2.7/site-packages/djblets/webapi/auth/backends/base.py",
> line 84, in authenticate
> result = self.login_with_credentials(request, **credentials)
>
>   File 
> "/usr/lib/python2.7/site-packages/djblets/webapi/auth/backends/base.py",
> line 141, in login_with_credentials
> user = auth.authenticate(**credentials)
>
>   File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py",
> line 49, in authenticate
> user = backend.authenticate(**credentials)
>
>   File "/usr/lib/python2.7/site-packages/reviewboard/accounts/backends.py",
> line 792, in authenticate
> userdomain)
>
>   File "/usr/lib/python2.7/site-packages/reviewboard/accounts/backends.py",
> line 641, in search_ad
> filterstr=filterstr)
>
>   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 552,
> in search_s
> return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,
> None,None,timeout=self.timeout)
>
>   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 546,
> in search_ext_s
> return self.result(msgid,all=1,timeout=timeout)[1]
>
>   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 458,
> in result
> resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
>
>   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 462,
> in result2
> resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,
> timeout)
>
>   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 469,
> in result3
> resp_ctrl_classes=resp_ctrl_classes
>
>   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 476,
> in result4
> ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_
> ctrls,add_intermediates,add_extop)
>
>   File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 99,
> in _ldap_call
> result = func(*args,**kwargs)
>
> OPERATIONS_ERROR: {'info': '04DC: LdapErr: DSID-0C090752, comment: In
> order to perform this operation a successful bind must be completed on the
> connection., data 0, v2580', 'desc': 'Operations error'}
>
>
>
> On Monday, June 5, 2017 at 5:52:51 PM UTC-4, Christian Hammond wrote:
>>
>> Hi Chris,
>>
>> I'm surprised you're getting e-mails for this, but I'd have to see the
>> entirety of the e-mail, probably. If it's an exception traceback e-mail,
>> then likely this particular failure wasn't getting caught and handled
>> gracefully, leading to a HTTP 500 being shown to the user who tried to log
>> in. Generally speaking, you should only get such e-mails if we have a crash
>> bug.
>>
>> I did a bunch of work to improve the LDAP support in 2.5.12, which should
>> also better catch exceptions. Upgrading might prevent those 

Re: Administrative Emails

2017-06-06 Thread Chris Eagan
I am planning to upgrade our version soon so hopefully that resolves the 
problem, but either way, here is the traceback from the email in case you 
would like to take a look.

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", 
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", 
line 52, in _wrapped_view_func
response = view_func(request, *args, **kwargs)

  File "/usr/lib/python2.7/site-packages/django/views/decorators/vary.py", 
line 19, in inner_func
response = func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/djblets/webapi/resources/base.py", 
line 135, in __call__
auth_result = check_login(request)

  File 
"/usr/lib/python2.7/site-packages/djblets/webapi/auth/backends/__init__.py", 
line 87, in check_login
result = auth_backend_cls().authenticate(request)

  File 
"/usr/lib/python2.7/site-packages/djblets/webapi/auth/backends/base.py", 
line 84, in authenticate
result = self.login_with_credentials(request, **credentials)

  File 
"/usr/lib/python2.7/site-packages/djblets/webapi/auth/backends/base.py", 
line 141, in login_with_credentials
user = auth.authenticate(**credentials)

  File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", 
line 49, in authenticate
user = backend.authenticate(**credentials)

  File "/usr/lib/python2.7/site-packages/reviewboard/accounts/backends.py", 
line 792, in authenticate
userdomain)

  File "/usr/lib/python2.7/site-packages/reviewboard/accounts/backends.py", 
line 641, in search_ad
filterstr=filterstr)

  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 552, 
in search_s
return 
self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)

  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 546, 
in search_ext_s
return self.result(msgid,all=1,timeout=timeout)[1]

  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 458, 
in result
resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)

  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 462, 
in result2
resp_type, resp_data, resp_msgid, resp_ctrls = 
self.result3(msgid,all,timeout)

  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 469, 
in result3
resp_ctrl_classes=resp_ctrl_classes

  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 476, 
in result4
ldap_result = 
self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)

  File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 99, in 
_ldap_call
result = func(*args,**kwargs)

OPERATIONS_ERROR: {'info': '04DC: LdapErr: DSID-0C090752, comment: In 
order to perform this operation a successful bind must be completed on the 
connection., data 0, v2580', 'desc': 'Operations error'}



On Monday, June 5, 2017 at 5:52:51 PM UTC-4, Christian Hammond wrote:
>
> Hi Chris,
>
> I'm surprised you're getting e-mails for this, but I'd have to see the 
> entirety of the e-mail, probably. If it's an exception traceback e-mail, 
> then likely this particular failure wasn't getting caught and handled 
> gracefully, leading to a HTTP 500 being shown to the user who tried to log 
> in. Generally speaking, you should only get such e-mails if we have a crash 
> bug.
>
> I did a bunch of work to improve the LDAP support in 2.5.12, which should 
> also better catch exceptions. Upgrading might prevent those errors from 
> showing up.
>
> Do you have a full traceback shown in there?
>
> Christian
>
> On Mon, Jun 5, 2017 at 12:04 PM, Chris Eagan  > wrote:
>
>> Sometimes our Review Board server sends emails to the Administrator email 
>> account to report errors. I don't see a setting anywhere to control what 
>> gets sent to the administrators, but some of these issues are ones that we 
>> aren't particularly interested in receiving. For instance, the following 
>> error gets sent whenever someone mistypes their password when attempting to 
>> login to Review Board.
>>
>> OPERATIONS_ERROR: {'info': '04DC: LdapErr: DSID-0C090752, comment: 
>> In order to perform this operation a successful bind must be completed on 
>> the connection., data 0, v2580', 'desc': 'Operations error'}
>>
>> It is a little odd because we can see other ERROR level log entries from 
>> today, but we didn'

Re: Administrative Emails

2017-06-05 Thread Christian Hammond
Hi Chris,

I'm surprised you're getting e-mails for this, but I'd have to see the
entirety of the e-mail, probably. If it's an exception traceback e-mail,
then likely this particular failure wasn't getting caught and handled
gracefully, leading to a HTTP 500 being shown to the user who tried to log
in. Generally speaking, you should only get such e-mails if we have a crash
bug.

I did a bunch of work to improve the LDAP support in 2.5.12, which should
also better catch exceptions. Upgrading might prevent those errors from
showing up.

Do you have a full traceback shown in there?

Christian

On Mon, Jun 5, 2017 at 12:04 PM, Chris Eagan  wrote:

> Sometimes our Review Board server sends emails to the Administrator email
> account to report errors. I don't see a setting anywhere to control what
> gets sent to the administrators, but some of these issues are ones that we
> aren't particularly interested in receiving. For instance, the following
> error gets sent whenever someone mistypes their password when attempting to
> login to Review Board.
>
> OPERATIONS_ERROR: {'info': '04DC: LdapErr: DSID-0C090752, comment: In
> order to perform this operation a successful bind must be completed on the
> connection., data 0, v2580', 'desc': 'Operations error'}
>
> It is a little odd because we can see other ERROR level log entries from
> today, but we didn't get emails for all of them so the emails don't appear
> to be related to the log level of the error. It might be useful to let the
> user customize the log level threshold for which emails are sent to the
> Administrator, including turning off the automated emails completely.
>
> Is there anything we can do to customize what gets sent to the
> Administrator email account? We are currently running Review Board 2.5.9.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Administrative Emails

2017-06-05 Thread Chris Eagan
Sometimes our Review Board server sends emails to the Administrator email 
account to report errors. I don't see a setting anywhere to control what 
gets sent to the administrators, but some of these issues are ones that we 
aren't particularly interested in receiving. For instance, the following 
error gets sent whenever someone mistypes their password when attempting to 
login to Review Board.

OPERATIONS_ERROR: {'info': '04DC: LdapErr: DSID-0C090752, comment: In 
order to perform this operation a successful bind must be completed on the 
connection., data 0, v2580', 'desc': 'Operations error'}

It is a little odd because we can see other ERROR level log entries from 
today, but we didn't get emails for all of them so the emails don't appear 
to be related to the log level of the error. It might be useful to let the 
user customize the log level threshold for which emails are sent to the 
Administrator, including turning off the automated emails completely.

Is there anything we can do to customize what gets sent to the 
Administrator email account? We are currently running Review Board 2.5.9.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Review Board doesn't send emails

2016-11-01 Thread Christian Hammond
Try upgrading to 2.5.7. We made some significant changes to email sending
that should help satisfy some of the more protective email servers.

Christian


On Tuesday, November 1, 2016,  wrote:

> I'm basically in the same situation except a test email will not send. For
> what's its worth telnet email worked ok.
> How do i troubleshoot this? I don't see anything in any logs. I even tried
> bogus smtp server and nothing.
>
> board review 2.5.6.1
>
> doug
>
> On Wednesday, July 27, 2016 at 1:18:55 PM UTC-4, Steve Thompson wrote:
>>
>> Hi,
>>
>> I have a Review Board installation hosted on Google Cloud and using
>> SendGrid as its SMTP server. When I go to the Admin > E-Mail settings page,
>> click the checkbox labelled "Send a test email after saving" and click
>> Save, I receive a test email.
>>
>> However, this is the only email I ever receive from RB. Today I upgraded
>> to 2.5.6.1 which is working fine but I'm still not receiving emails.
>>
>> On looking through this forum, for a lot of people who have encountered
>> this problem it's turned out to be because of a restrictive mail server
>> (which is a good thing). However, not only do I not have a problem with the
>> test email but /var/log/reviewboard/reviewboard.log makes no mention of
>> email being sent either successfully or unsuccessfully. So before I can
>> diagnose why my emails aren't being sent I need to find out why email
>> transactions aren't being logged (or if they're being logged somewhere else
>> and I missed that bit).
>>
>> RB was installed (and upgraded) using easy_install. Is there a chance
>> there's another Python module that I should've installed manually but
>> missed in the instructions?
>>
>> My logging is set to Debug - does anyone know why my logs aren't showing
>> email transactions? For example
>>
>> root@reviewboard-2:/var/log/reviewboard# grep -i debug reviewboard.log |
>> wc -l
>> 63241
>>
>> So it's definitely logging debug messages. But
>>
>> root@reviewboard-2:/var/log/reviewboard# grep -i smtp reviewboard.log |
>> wc -l
>> 0
>> root@reviewboard-2:/var/log/reviewboard# grep -i mail reviewboard.log |
>> wc -l
>> 0
>>
>> Just to clarify - all the "Send e-mails when " checkboxes are checked and
>> all the registered users have valid email addresses.
>>
>> Any suggestions for things I can poke or tweak gratefully received.
>>
>> Steve
>>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>


-- 
-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Review Board doesn't send emails

2016-11-01 Thread mooredp4
I'm basically in the same situation except a test email will not send. For 
what's its worth telnet email worked ok.
How do i troubleshoot this? I don't see anything in any logs. I even tried 
bogus smtp server and nothing.

board review 2.5.6.1

doug

On Wednesday, July 27, 2016 at 1:18:55 PM UTC-4, Steve Thompson wrote:
>
> Hi,
>
> I have a Review Board installation hosted on Google Cloud and using 
> SendGrid as its SMTP server. When I go to the Admin > E-Mail settings page, 
> click the checkbox labelled "Send a test email after saving" and click 
> Save, I receive a test email.
>
> However, this is the only email I ever receive from RB. Today I upgraded 
> to 2.5.6.1 which is working fine but I'm still not receiving emails.
>
> On looking through this forum, for a lot of people who have encountered 
> this problem it's turned out to be because of a restrictive mail server 
> (which is a good thing). However, not only do I not have a problem with the 
> test email but /var/log/reviewboard/reviewboard.log makes no mention of 
> email being sent either successfully or unsuccessfully. So before I can 
> diagnose why my emails aren't being sent I need to find out why email 
> transactions aren't being logged (or if they're being logged somewhere else 
> and I missed that bit).
>
> RB was installed (and upgraded) using easy_install. Is there a chance 
> there's another Python module that I should've installed manually but 
> missed in the instructions? 
>
> My logging is set to Debug - does anyone know why my logs aren't showing 
> email transactions? For example
>
> root@reviewboard-2:/var/log/reviewboard# grep -i debug reviewboard.log | 
> wc -l
> 63241
>
> So it's definitely logging debug messages. But
>
> root@reviewboard-2:/var/log/reviewboard# grep -i smtp reviewboard.log | wc 
> -l
> 0
> root@reviewboard-2:/var/log/reviewboard# grep -i mail reviewboard.log | wc 
> -l
> 0
>
> Just to clarify - all the "Send e-mails when " checkboxes are checked and 
> all the registered users have valid email addresses. 
>
> Any suggestions for things I can poke or tweak gratefully received.
>
> Steve
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Review Board doesn't send emails

2016-07-28 Thread Christian Hammond
Hi Steve,

Given what you said, it seems the e-mails *are* sending correctly (to
SendGrid, anyway). The test e-mail went out fine, and you would have seen
errors in reviewboard.log if sending had failed at any point.

So what's happening is not a failure in sending to your e-mail provider.
It's a failure in your e-mail provider to accept the message (in a way
we're not notified of) or a failure to deliver to the recipients.

We send on behalf of users, and this can get tricky depending on how things
are configured. Since the test e-mail went out, but others aren't, this is
likely where things are failing.

A couple of questions:

1) What your "Sender e-mail address" is in the Review Board e-mail
settings. Specifically, is the domain for that address a domain under your
control (configured with SendGrid)?

2) Do you have SPF/DKIM records set up properly?

3) What sort of e-mail addresses are you sending to? Are they all at a
certain domain?

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Wed, Jul 27, 2016 at 8:59 AM, Steve Thompson  wrote:

> Hi,
>
> I have a Review Board installation hosted on Google Cloud and using
> SendGrid as its SMTP server. When I go to the Admin > E-Mail settings page,
> click the checkbox labelled "Send a test email after saving" and click
> Save, I receive a test email.
>
> However, this is the only email I ever receive from RB. Today I upgraded
> to 2.5.6.1 which is working fine but I'm still not receiving emails.
>
> On looking through this forum, for a lot of people who have encountered
> this problem it's turned out to be because of a restrictive mail server
> (which is a good thing). However, not only do I not have a problem with the
> test email but /var/log/reviewboard/reviewboard.log makes no mention of
> email being sent either successfully or unsuccessfully. So before I can
> diagnose why my emails aren't being sent I need to find out why email
> transactions aren't being logged (or if they're being logged somewhere else
> and I missed that bit).
>
> RB was installed (and upgraded) using easy_install. Is there a chance
> there's another Python module that I should've installed manually but
> missed in the instructions?
>
> My logging is set to Debug - does anyone know why my logs aren't showing
> email transactions? For example
>
> root@reviewboard-2:/var/log/reviewboard# grep -i debug reviewboard.log |
> wc -l
> 63241
>
> So it's definitely logging debug messages. But
>
> root@reviewboard-2:/var/log/reviewboard# grep -i smtp reviewboard.log |
> wc -l
> 0
> root@reviewboard-2:/var/log/reviewboard# grep -i mail reviewboard.log |
> wc -l
> 0
>
> Just to clarify - all the "Send e-mails when " checkboxes are checked and
> all the registered users have valid email addresses.
>
> Any suggestions for things I can poke or tweak gratefully received.
>
> Steve
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Review Board doesn't send emails

2016-07-27 Thread Steve Thompson
Hi,

I have a Review Board installation hosted on Google Cloud and using 
SendGrid as its SMTP server. When I go to the Admin > E-Mail settings page, 
click the checkbox labelled "Send a test email after saving" and click 
Save, I receive a test email.

However, this is the only email I ever receive from RB. Today I upgraded to 
2.5.6.1 which is working fine but I'm still not receiving emails.

On looking through this forum, for a lot of people who have encountered 
this problem it's turned out to be because of a restrictive mail server 
(which is a good thing). However, not only do I not have a problem with the 
test email but /var/log/reviewboard/reviewboard.log makes no mention of 
email being sent either successfully or unsuccessfully. So before I can 
diagnose why my emails aren't being sent I need to find out why email 
transactions aren't being logged (or if they're being logged somewhere else 
and I missed that bit).

RB was installed (and upgraded) using easy_install. Is there a chance 
there's another Python module that I should've installed manually but 
missed in the instructions? 

My logging is set to Debug - does anyone know why my logs aren't showing 
email transactions? For example

root@reviewboard-2:/var/log/reviewboard# grep -i debug reviewboard.log | wc 
-l
63241

So it's definitely logging debug messages. But

root@reviewboard-2:/var/log/reviewboard# grep -i smtp reviewboard.log | wc 
-l
0
root@reviewboard-2:/var/log/reviewboard# grep -i mail reviewboard.log | wc 
-l
0

Just to clarify - all the "Send e-mails when " checkboxes are checked and 
all the registered users have valid email addresses. 

Any suggestions for things I can poke or tweak gratefully received.

Steve

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Invalid HTTP_HOST header Emails

2016-02-09 Thread Mike Baker
Mapped the Apache logs. Seems it's just random servers pinging the IP and 
snooping around for vulnerabilities. 
Some map to these guys: http://74.82.47.3/
The other brings up a variety of results in Google 
https://www.google.ca/?gws_rd=ssl#safe=off&q=199.115.117.88

In any case, just seems like random bot traffic. I'll look into either 
outright rejecting web traffic targeted directly at the server's IP or 
redirecting them with mod_rewrite.

Thanks for the help guys. I'll report back when I have a solution so anyone 
else having this issue can solve it too. I'm betting most people running 
Review Board on an EC2 instance see this.

On Monday, February 8, 2016 at 8:33:01 PM UTC-5, Mike Baker wrote:
>
> I'll have to look more closely at the Apache logs to figure out if there 
> is a mapping. To be honest, I don't really care if the site doesn't load 
> from the direct IP. I just don't want to get the emails all the time :P
>
> I'll take a closer look at the logs tomorrow.
> The mod_rewrite idea is a good one. That will at least stop the emails. I 
> need to setup the forced rewrite to https for insecure connections anyway 
> so I'll just add that to the list.
>
> Thanks for the quick response and ideas guys!
>
> On Monday, February 8, 2016 at 7:47:11 PM UTC-5, Stephen Gallagher wrote:
>>
>> Another alternative would be to set up mod_rewrite so that requests to 
>> the IP address are externally redirected to the hostname (which is probably 
>> a necessity if you're using HTTPS anyhow).
>>
>> On Mon, Feb 8, 2016 at 5:35 PM Christian Hammond  
>> wrote:
>>
>>> Hi Mike,
>>>
>>> We don't (currently) use Django's logging settings, so that can't be 
>>> disabled the same way. There might be a way to turn off the behavior in a 
>>> more specific way, but I don't know it (I haven't seen this come up yet so 
>>> I haven't looked into it).
>>>
>>> Is there anything in your Apache logs that correspond to these access 
>>> times that can help point you to what's accessing the server with that IP?
>>>
>>> Alternatively, you could add the IP to ALLOWED_HOSTS.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chri...@beanbaginc.com
>>> Review Board - https://www.reviewboard.org
>>> Beanbag, Inc. - https://www.beanbaginc.com
>>>
>>> On Mon, Feb 8, 2016 at 2:32 PM, Mike Baker >> > wrote:
>>>
>>>> I've been getting the odd email from my Review Board install.
>>>>
>>>> *Subject:*
>>>> [Review Board] ERROR: Invalid HTTP_HOST header: ''.You may 
>>>> need to add u'' to ALLOWED_HOSTS.
>>>>
>>>> *Body:*
>>>> No stack trace available
>>>>
>>>> Request repr() unavailable.
>>>>
>>>>
>>>> In this example  is my servers IP address.
>>>>
>>>> The email gets sent at really odd and infrequent intervals (1-3 times 
>>>> per day). A little Googling around seems to indicate the issue is that 
>>>> someone (or something) is trying to access my server directly by IP rather 
>>>> than using the domain name(s).
>>>>
>>>> Looking at this SO post it seems I can disable the logging in the 
>>>> Django settings but I'm usure of where those are in the RB installation. 
>>>> Can anyone point me in the right direction?
>>>>
>>>> http://stackoverflow.com/questions/22416027/invalid-http-host-header-in-django-1-6-2
>>>>
>>>> Thanks
>>>>
>>>> -- 
>>>> Supercharge your Review Board with Power Pack: 
>>>> https://www.reviewboard.org/powerpack/
>>>> Want us to host Review Board for you? Check out RBCommons: 
>>>> https://rbcommons.com/
>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>> --- 
>>>> 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/d/optout.
>>>>
>>>
>>> -- 
>>> Supercharge your Review Board with Power Pack: 
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons: 
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> --- 
>>> 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/d/optout.
>>>
>>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Invalid HTTP_HOST header Emails

2016-02-08 Thread Mike Baker
I'll have to look more closely at the Apache logs to figure out if there is 
a mapping. To be honest, I don't really care if the site doesn't load from 
the direct IP. I just don't want to get the emails all the time :P

I'll take a closer look at the logs tomorrow.
The mod_rewrite idea is a good one. That will at least stop the emails. I 
need to setup the forced rewrite to https for insecure connections anyway 
so I'll just add that to the list.

Thanks for the quick response and ideas guys!

On Monday, February 8, 2016 at 7:47:11 PM UTC-5, Stephen Gallagher wrote:
>
> Another alternative would be to set up mod_rewrite so that requests to the 
> IP address are externally redirected to the hostname (which is probably a 
> necessity if you're using HTTPS anyhow).
>
> On Mon, Feb 8, 2016 at 5:35 PM Christian Hammond  > wrote:
>
>> Hi Mike,
>>
>> We don't (currently) use Django's logging settings, so that can't be 
>> disabled the same way. There might be a way to turn off the behavior in a 
>> more specific way, but I don't know it (I haven't seen this come up yet so 
>> I haven't looked into it).
>>
>> Is there anything in your Apache logs that correspond to these access 
>> times that can help point you to what's accessing the server with that IP?
>>
>> Alternatively, you could add the IP to ALLOWED_HOSTS.
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chri...@beanbaginc.com 
>> Review Board - https://www.reviewboard.org
>> Beanbag, Inc. - https://www.beanbaginc.com
>>
>> On Mon, Feb 8, 2016 at 2:32 PM, Mike Baker > > wrote:
>>
>>> I've been getting the odd email from my Review Board install.
>>>
>>> *Subject:*
>>> [Review Board] ERROR: Invalid HTTP_HOST header: ''.You may 
>>> need to add u'' to ALLOWED_HOSTS.
>>>
>>> *Body:*
>>> No stack trace available
>>>
>>> Request repr() unavailable.
>>>
>>>
>>> In this example  is my servers IP address.
>>>
>>> The email gets sent at really odd and infrequent intervals (1-3 times 
>>> per day). A little Googling around seems to indicate the issue is that 
>>> someone (or something) is trying to access my server directly by IP rather 
>>> than using the domain name(s).
>>>
>>> Looking at this SO post it seems I can disable the logging in the Django 
>>> settings but I'm usure of where those are in the RB installation. Can 
>>> anyone point me in the right direction?
>>>
>>> http://stackoverflow.com/questions/22416027/invalid-http-host-header-in-django-1-6-2
>>>
>>> Thanks
>>>
>>> -- 
>>> Supercharge your Review Board with Power Pack: 
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons: 
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> --- 
>>> 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/d/optout.
>>>
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> 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/d/optout.
>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Invalid HTTP_HOST header Emails

2016-02-08 Thread Stephen Gallagher
Another alternative would be to set up mod_rewrite so that requests to the
IP address are externally redirected to the hostname (which is probably a
necessity if you're using HTTPS anyhow).

On Mon, Feb 8, 2016 at 5:35 PM Christian Hammond 
wrote:

> Hi Mike,
>
> We don't (currently) use Django's logging settings, so that can't be
> disabled the same way. There might be a way to turn off the behavior in a
> more specific way, but I don't know it (I haven't seen this come up yet so
> I haven't looked into it).
>
> Is there anything in your Apache logs that correspond to these access
> times that can help point you to what's accessing the server with that IP?
>
> Alternatively, you could add the IP to ALLOWED_HOSTS.
>
> Christian
>
> --
> Christian Hammond - christ...@beanbaginc.com
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
> On Mon, Feb 8, 2016 at 2:32 PM, Mike Baker 
> wrote:
>
>> I've been getting the odd email from my Review Board install.
>>
>> *Subject:*
>> [Review Board] ERROR: Invalid HTTP_HOST header: ''.You may
>> need to add u'' to ALLOWED_HOSTS.
>>
>> *Body:*
>> No stack trace available
>>
>> Request repr() unavailable.
>>
>>
>> In this example  is my servers IP address.
>>
>> The email gets sent at really odd and infrequent intervals (1-3 times per
>> day). A little Googling around seems to indicate the issue is that someone
>> (or something) is trying to access my server directly by IP rather than
>> using the domain name(s).
>>
>> Looking at this SO post it seems I can disable the logging in the Django
>> settings but I'm usure of where those are in the RB installation. Can
>> anyone point me in the right direction?
>>
>> http://stackoverflow.com/questions/22416027/invalid-http-host-header-in-django-1-6-2
>>
>> Thanks
>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> 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/d/optout.
>>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Invalid HTTP_HOST header Emails

2016-02-08 Thread Christian Hammond
Hi Mike,

We don't (currently) use Django's logging settings, so that can't be
disabled the same way. There might be a way to turn off the behavior in a
more specific way, but I don't know it (I haven't seen this come up yet so
I haven't looked into it).

Is there anything in your Apache logs that correspond to these access times
that can help point you to what's accessing the server with that IP?

Alternatively, you could add the IP to ALLOWED_HOSTS.

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - https://www.reviewboard.org
Beanbag, Inc. - https://www.beanbaginc.com

On Mon, Feb 8, 2016 at 2:32 PM, Mike Baker 
wrote:

> I've been getting the odd email from my Review Board install.
>
> *Subject:*
> [Review Board] ERROR: Invalid HTTP_HOST header: ''.You may need
> to add u'' to ALLOWED_HOSTS.
>
> *Body:*
> No stack trace available
>
> Request repr() unavailable.
>
>
> In this example  is my servers IP address.
>
> The email gets sent at really odd and infrequent intervals (1-3 times per
> day). A little Googling around seems to indicate the issue is that someone
> (or something) is trying to access my server directly by IP rather than
> using the domain name(s).
>
> Looking at this SO post it seems I can disable the logging in the Django
> settings but I'm usure of where those are in the RB installation. Can
> anyone point me in the right direction?
>
> http://stackoverflow.com/questions/22416027/invalid-http-host-header-in-django-1-6-2
>
> Thanks
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Invalid HTTP_HOST header Emails

2016-02-08 Thread Mike Baker
I've been getting the odd email from my Review Board install.

*Subject:*
[Review Board] ERROR: Invalid HTTP_HOST header: ''.You may need 
to add u'' to ALLOWED_HOSTS.

*Body:*
No stack trace available

Request repr() unavailable.


In this example  is my servers IP address.

The email gets sent at really odd and infrequent intervals (1-3 times per 
day). A little Googling around seems to indicate the issue is that someone 
(or something) is trying to access my server directly by IP rather than 
using the domain name(s).

Looking at this SO post it seems I can disable the logging in the Django 
settings but I'm usure of where those are in the RB installation. Can 
anyone point me in the right direction?
http://stackoverflow.com/questions/22416027/invalid-http-host-header-in-django-1-6-2

Thanks

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: member of the review group wont get emails unless they are in mailing list

2015-12-11 Thread David Trowbridge
Sam,

It looks like we had an issue that was preventing the field from showing up
in the admin UI. We'll get this fixed up for 2.5.3.

-David

On Thu, Dec 10, 2015 at 8:59 AM Sam  wrote:

> Thank you David for your response.
>
> We have groups that people are members and these groups are being used for
> review.
>
> I have Reviewboard 2.5.1.1. Can you please guide me how to set for the
> option to send email to member of the groups since I have hard time to find
> the option.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>
--

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: member of the review group wont get emails unless they are in mailing list

2015-12-10 Thread Sam
Thank you David for your response.

We have groups that people are members and these groups are being used for 
review.

I have Reviewboard 2.5.1.1. Can you please guide me how to set for the 
option to send email to member of the groups since I have hard time to find 
the option.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: member of the review group wont get emails unless they are in mailing list

2015-12-09 Thread David Trowbridge
The original expectation was that you probably already had a mailing list
where code reviews went to, so it should just map to that. That way,
existing infrastructure can be used and people won't get duplicate e-mails.

In version 2.5, review groups have a configuration option that will send
e-mail to both the mailing list and to individual users.

-David

On Wed, Dec 9, 2015 at 1:20 PM Sam  wrote:

> Hello,
>
> Seems member of the Review Groups dont get the email notification unless
> they are in mailing list. I think this is duplicate of effort for admin
> person to updating the mailing list manually.
>
> Is there any way we can get the emails to be sent to the member of the
> group even if they are not in the mailing list.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>
-- 
-David

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


member of the review group wont get emails unless they are in mailing list

2015-12-09 Thread Sam
Hello,

Seems member of the Review Groups dont get the email notification unless 
they are in mailing list. I think this is duplicate of effort for admin 
person to updating the mailing list manually.

Is there any way we can get the emails to be sent to the member of the 
group even if they are not in the mailing list.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: customizing reviewboard emails to include repository name.

2015-06-17 Thread Christian Hammond
I'm fine with that.

Christian 

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: David Trowbridge 
Reply: reviewboard@googlegroups.com >
Date: June 17, 2015 at 1:38:16 PM
To: reviewboard >
Cc: Damien NOZAY >
Subject:  Re: customizing reviewboard emails to include repository name.

> This is a common-enough request that instead of requiring people to write
> an extension, it might be nice to make the format directly customizable in
> the admin using format identifiers for some common fields.
>  
> -David
>  
> On Wed, Jun 17, 2015 at 1:36 PM, Christian Hammond > wrote:
>  
>> Hi Damien,
>>
>> There's no support for this in Review Board today. You'd have to modify
>> the code.
>>
>> I'd be open to new extension hooks that help customize this part of mail
>> behavior, if you wanted to work with us on a patch. We'd need to think
>> carefully about how it'd work.
>>
>> Christian
>>
>> --
>> Christian Hammond - christ...@beanbaginc.com
>> Review Board - https://www.reviewboard.org
>> Beanbag, Inc. - https://www.beanbaginc.com
>>
>> -Original Message-
>> From: Damien NOZAY 
>> Reply: reviewboard@googlegroups.com >
>> Date: June 16, 2015 at 12:45:34 PM
>> To: reviewboard@googlegroups.com >
>> Subject: customizing reviewboard emails to include repository name.
>>
>> > Hi,
>> >
>> > I would like to see if it is possible to add the repository name to the
>> > email subject (see mail_review_request); or allow admins to configure the
>> > mail subject.
>> >
>> > subject = "Review Request %d: %s" % (review_request.display_id, summary)
>> >
>> > subject = "[%s] Review Request %d: %s" % (review_request.repository.name
>> ,
>> > review_request.display_id, summary)
>> >
>> > The rationale is that there are a lot of repositories that developers are
>> > subscribed to, and being able to skim through review email headers would
>> > make them more productive.
>> >
>> > Thanks,
>> > Damien
>> >
>> > --
>> > Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> > Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> > Happy user? Let us know! https://www.reviewboard.org/users/
>> > ---
>> > 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/d/optout.
>> >
>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> 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/d/optout.
>>
>  
> --
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>  

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: customizing reviewboard emails to include repository name.

2015-06-17 Thread David Trowbridge
This is a common-enough request that instead of requiring people to write
an extension, it might be nice to make the format directly customizable in
the admin using format identifiers for some common fields.

-David

On Wed, Jun 17, 2015 at 1:36 PM, Christian Hammond  wrote:

> Hi Damien,
>
> There's no support for this in Review Board today. You'd have to modify
> the code.
>
> I'd be open to new extension hooks that help customize this part of mail
> behavior, if you wanted to work with us on a patch. We'd need to think
> carefully about how it'd work.
>
> Christian
>
> --
> Christian Hammond - christ...@beanbaginc.com
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
> -Original Message-
> From: Damien NOZAY 
> Reply: reviewboard@googlegroups.com >
> Date: June 16, 2015 at 12:45:34 PM
> To: reviewboard@googlegroups.com >
> Subject:  customizing reviewboard emails to include repository name.
>
> > Hi,
> >
> > I would like to see if it is possible to add the repository name to the
> > email subject (see mail_review_request); or allow admins to configure the
> > mail subject.
> >
> > subject = "Review Request %d: %s" % (review_request.display_id, summary)
> >
> > subject = "[%s] Review Request %d: %s" % (review_request.repository.name
> ,
> > review_request.display_id, summary)
> >
> > The rationale is that there are a lot of repositories that developers are
> > subscribed to, and being able to skim through review email headers would
> > make them more productive.
> >
> > Thanks,
> > Damien
> >
> > --
> > Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> > Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> > Happy user? Let us know! https://www.reviewboard.org/users/
> > ---
> > 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/d/optout.
> >
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: customizing reviewboard emails to include repository name.

2015-06-17 Thread Christian Hammond
Hi Damien,

There's no support for this in Review Board today. You'd have to modify the 
code.

I'd be open to new extension hooks that help customize this part of mail 
behavior, if you wanted to work with us on a patch. We'd need to think 
carefully about how it'd work.

Christian 

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: Damien NOZAY 
Reply: reviewboard@googlegroups.com >
Date: June 16, 2015 at 12:45:34 PM
To: reviewboard@googlegroups.com >
Subject:  customizing reviewboard emails to include repository name.

> Hi,
>  
> I would like to see if it is possible to add the repository name to the
> email subject (see mail_review_request); or allow admins to configure the
> mail subject.
>  
> subject = "Review Request %d: %s" % (review_request.display_id, summary)
>  
> subject = "[%s] Review Request %d: %s" % (review_request.repository.name,
> review_request.display_id, summary)
>  
> The rationale is that there are a lot of repositories that developers are
> subscribed to, and being able to skim through review email headers would
> make them more productive.
>  
> Thanks,
> Damien
>  
> --
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>  

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


customizing reviewboard emails to include repository name.

2015-06-16 Thread Damien NOZAY
Hi,

I would like to see if it is possible to add the repository name to the 
email subject (see mail_review_request); or allow admins to configure the 
mail subject.

subject = "Review Request %d: %s" % (review_request.display_id, summary)

subject = "[%s] Review Request %d: %s" % (review_request.repository.name, 
review_request.display_id, summary)

The rationale is that there are a lot of repositories that developers are 
subscribed to, and being able to skim through review email headers would 
make them more productive.

Thanks,
Damien

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Is there a way to get review-request emails to send diff in email?

2015-03-26 Thread Christian Hammond
Hi Eric,

This isn't a feature we provide. It could potentially be done with an 
extension, but there aren't plans to add this to the e-mails (since people need 
to log in anyway to comment on them and keep that discussion attached to the 
review request -- otherwise, it's no better than just using e-mail for code 
review).

Christian 

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: Eric Brown 
Reply: reviewboard@googlegroups.com >
Date: March 26, 2015 at 9:10:07 AM
To: reviewboard@googlegroups.com >
Subject:  Is there a way to get review-request emails to send diff in email?

> I have a few team members that get email but cannot always VPN in to
> connect to our reviewboard server. For simple reviews, it would be nice if
> the initial review-request email contained the diff so they could just
> respond directly to the requester with any feedback.
>  
> Is there a way to configure reviewboard to send diffs with its
> review-request emails?
>  
> Thanks,
> Eric
>  
> --
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/  
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>  

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Is there a way to get review-request emails to send diff in email?

2015-03-26 Thread Eric Brown
I have a few team members that get email but cannot always VPN in to 
connect to our reviewboard server. For simple reviews, it would be nice if 
the initial review-request email contained the diff so they could just 
respond directly to the requester with any feedback.

Is there a way to configure reviewboard to send diffs with its 
review-request emails?

Thanks,
Eric

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: [Errno 13] Permission denied error when sending emails

2014-11-14 Thread Paul Fee
Hi all (and Stephen),

Looks like there are problems beyond SELinux here.  However in case you 
haven't already, you'll need adjust SELinux so that httpd (which is running 
the RB Django code via mod_wsgi) is allowed make outbound TCP connections 
to port 25.

$ sudo setsebool -P httpd_can_sendmail 1

HTH,
Paul

On Thursday, November 13, 2014 10:17:22 AM UTC, Yang wrote:
>
> Hello Michaela, 
>
> Could you please explain more how you fixed this issue? I meet the same 
> problem of sending emails in web2py running on Apache (CentOS). 
>
> Thanks!
>
> On Tuesday, August 20, 2013 7:03:51 PM UTC+2, Michaela Newell wrote:
>>
>> Actually, figured out what the last bits were it was because I had TLS 
>> ticked but my server didn't have it. Fixed now :) Thanks very much. Your 
>> command audit2allow -a did not work however.
>>
>> On Tuesday, 20 August 2013 17:34:39 UTC+1, Michaela Newell wrote:
>>>
>>> Hi Stephan,
>>>
>>> Thanks for reply. It is RHEL/CentOS 6. It did not go away when I tried 
>>> the command but the error message has changed. Output from log now is:
>>>
>>> - Error sending e-mail notification with subject 'Review Request 2: gfhgf' 
>>> on behalf of '"" ' to '"" 
>>> ': STARTTLS extension not supported by server.
>>> Traceback (most recent call last):
>>>   File 
>>> "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", line 
>>> 244, in send_review_mail
>>> message.send()
>>>   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
>>> 248, in send
>>> return self.get_connection(fail_silently).send_messages([self])
>>>   File 
>>> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
>>> 85, in send_messages
>>> new_conn_created = self.open()
>>>   File 
>>> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
>>> 51, in open
>>> self.connection.starttls()
>>>   File "/usr/lib64/python2.6/smtplib.py", line 611, in starttls
>>> raise SMTPException("STARTTLS extension not supported by server.")
>>> SMTPException: STARTTLS extension not supported by server.
>>>
>>>
>>> The audit2allow -a command came back with command not found, running as 
>>> root.
>>>
>>> Michaela
>>>
>>> On Tuesday, 20 August 2013 14:48:30 UTC+1, Stephen Gallagher wrote:
>>>>
>>>> On 08/20/2013 09:46 AM, Michaela Newell wrote: 
>>>> > I am attempting to set-up emails. I have all three options selected 
>>>> and 
>>>> > a valid smtp server. When I add a new user the logs show nothing but 
>>>> the 
>>>> > email does not get sent. When I add a new review request I get this 
>>>> in 
>>>> > the log: 
>>>> > 
>>>> >  - Error sending e-mail notification with subject 'Review Request 1: 
>>>> ...' on behalf of '" " ' to '" " 
>>>> ': [Errno 13] Permission denied 
>>>> > Traceback (most recent call last): 
>>>> >   File 
>>>> "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
>>>> line 
>>>> 244, in send_review_mail 
>>>> > message.send() 
>>>> >   File 
>>>> "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 248, 
>>>> in send 
>>>> > return self.get_connection(fail_silently).send_messages([self]) 
>>>> >   File 
>>>> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
>>>> 85, in send_messages 
>>>> > new_conn_created = self.open() 
>>>> >   File 
>>>> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
>>>> 48, in open 
>>>> > local_hostname=DNS_NAME.get_fqdn()) 
>>>> >   File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__ 
>>>> > (code, msg) = self.connect(host, port) 
>>>> >   File "/usr/lib64/python2.6/smtplib.py", line 295, in connect 
>>>> > self.sock = self._get_socket(host, port, self.timeout) 
>>>> >   File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket 
>>>> > return socket.create_connection((port, host), timeout) 
>>>> >   File "/usr/lib64/python2.6/socket.py", line 567, in 
>>>> create_connection 
>>>> > raise error, msg 
>>>> > error: [Errno 13] Permission denied 
>>>> > 
>>>> > 
>>>> > Does anyone know of any causes? 
>>>> > 
>>>>
>>>> Is this RHEL/CentOS 6? It's possibke that SELinux might be interfering. 
>>>> Does it go away if you do 'setenforce 0' as root? If so, please run the 
>>>> command: 
>>>> audit2allow -a 
>>>>
>>>> and send me the output. 
>>>>
>>>>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: [Errno 13] Permission denied error when sending emails

2014-11-13 Thread Yang
Hello Michaela, 

Could you please explain more how you fixed this issue? I meet the same 
problem of sending emails in web2py running on Apache (CentOS). 

Thanks!

On Tuesday, August 20, 2013 7:03:51 PM UTC+2, Michaela Newell wrote:
>
> Actually, figured out what the last bits were it was because I had TLS 
> ticked but my server didn't have it. Fixed now :) Thanks very much. Your 
> command audit2allow -a did not work however.
>
> On Tuesday, 20 August 2013 17:34:39 UTC+1, Michaela Newell wrote:
>>
>> Hi Stephan,
>>
>> Thanks for reply. It is RHEL/CentOS 6. It did not go away when I tried 
>> the command but the error message has changed. Output from log now is:
>>
>> - Error sending e-mail notification with subject 'Review Request 2: gfhgf' 
>> on behalf of '"" ' to '"" ': 
>> STARTTLS extension not supported by server.
>> Traceback (most recent call last):
>>   File 
>> "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", line 
>> 244, in send_review_mail
>> message.send()
>>   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
>> 248, in send
>> return self.get_connection(fail_silently).send_messages([self])
>>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
>> line 85, in send_messages
>> new_conn_created = self.open()
>>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
>> line 51, in open
>> self.connection.starttls()
>>   File "/usr/lib64/python2.6/smtplib.py", line 611, in starttls
>> raise SMTPException("STARTTLS extension not supported by server.")
>> SMTPException: STARTTLS extension not supported by server.
>>
>>
>> The audit2allow -a command came back with command not found, running as 
>> root.
>>
>> Michaela
>>
>> On Tuesday, 20 August 2013 14:48:30 UTC+1, Stephen Gallagher wrote:
>>>
>>> On 08/20/2013 09:46 AM, Michaela Newell wrote: 
>>> > I am attempting to set-up emails. I have all three options selected 
>>> and 
>>> > a valid smtp server. When I add a new user the logs show nothing but 
>>> the 
>>> > email does not get sent. When I add a new review request I get this in 
>>> > the log: 
>>> > 
>>> >  - Error sending e-mail notification with subject 'Review Request 1: 
>>> ...' on behalf of '" " ' to '" " 
>>> ': [Errno 13] Permission denied 
>>> > Traceback (most recent call last): 
>>> >   File 
>>> "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", line 
>>> 244, in send_review_mail 
>>> > message.send() 
>>> >   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", 
>>> line 248, in send 
>>> > return self.get_connection(fail_silently).send_messages([self]) 
>>> >   File 
>>> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
>>> 85, in send_messages 
>>> > new_conn_created = self.open() 
>>> >   File 
>>> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
>>> 48, in open 
>>> > local_hostname=DNS_NAME.get_fqdn()) 
>>> >   File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__ 
>>> > (code, msg) = self.connect(host, port) 
>>> >   File "/usr/lib64/python2.6/smtplib.py", line 295, in connect 
>>> > self.sock = self._get_socket(host, port, self.timeout) 
>>> >   File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket 
>>> > return socket.create_connection((port, host), timeout) 
>>> >   File "/usr/lib64/python2.6/socket.py", line 567, in 
>>> create_connection 
>>> > raise error, msg 
>>> > error: [Errno 13] Permission denied 
>>> > 
>>> > 
>>> > Does anyone know of any causes? 
>>> > 
>>>
>>> Is this RHEL/CentOS 6? It's possibke that SELinux might be interfering. 
>>> Does it go away if you do 'setenforce 0' as root? If so, please run the 
>>> command: 
>>> audit2allow -a 
>>>
>>> and send me the output. 
>>>
>>>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Odd behavior and "ERROR (EXTERNAL IP)" emails

2014-07-21 Thread Sara Rayburn
Ok, you can ignore the email question. I sorted that one out.

Thanks,

Sara

On Monday, July 21, 2014 3:51:57 PM UTC-5, Sara Rayburn wrote:
>
> Hi,
>
> Today one of our users came to me complaining that his review request was 
> stuck as a draft. When he would click "Publish" a pop-up would appear 
> saying "undefined". From the perspective of other users, however, the 
> review request appeared to have been published as expected. He was 
> ultimately able to resolve the issue by clicking "Discard", and the review 
> request stayed visible, although the draft and review ordering was mixed up.
>
> Shortly after, another of our users received several emails (he was the 
> only one) with the header "ERROR (EXTERNAL IP): Internal Server Error: 
> /api/review-requests/3604/draft" and a traceback as their contents (See 
> below). Since that review request is the one causing problems, I suspect 
> they are related.
>
> I would like to know if this bug was caused by a configuration issue, and 
> also to determine how to ensure that error emails are sent to me, and not 
> just the one user. I poked around on the admin page and in the 
> settings_local.py, but I didn't see anything to make me thing I could 
> control the destination of those emails. 
>
> Thoughts?
>
> Sara
>
> Traceback (most recent call last):
>
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/core/handlers/base.py",
>  
> line 112, in get_response
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/views/decorators/cache.py",
>  
> line 52, in _wrapped_view_func
> response = view_func(request, *args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/views/decorators/vary.py",
>  
> line 19, in inner_func
> response = func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/resources.py",
>  
> line 494, in __call__
> request, method, view, api_format=api_format, *args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/resources.py",
>  
> line 565, in call_method_view
> return view(request, *args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/resources.py",
>  
> line 753, in put
> return self.update(request, *args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/decorators.py",
>  
> line 117, in _call
> return view_func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/webapi/decorators.py",
>  
> line 110, in _check
> return view_func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/decorators.py",
>  
> line 117, in _call
> return view_func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/decorators.py",
>  
> line 138, in _checklogin
> return view_func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/decorators.py",
>  
> line 117, in _call
> return view_func(*args, **kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/Djblets-0.8.6-py2.6.egg/djblets/webapi/decorators.py",
>  
> line 287, in _validate
> return view_func(*args, **new_kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/webapi/resources/review_request_draft.py",
>  
> line 394, in update
> review_request.publish(user=request.user)
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/reviews/models/review_request.py",
>  
> line 716, in publish
> changes = draft.publish(self, send_notification=False)
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/reviews/models/review_request_draft.py",
>  
> line 318, in publish
> review_request.save()
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/reviews/models/review_request.py",
>  
> line 581, in save
> super(ReviewRequest, self).save(**kwargs)
>
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.3-py2.6.egg/reviewboard/reviews/models/base_review_reques

Re: "Ship It" string appears twice in emails

2014-03-13 Thread Christian Hammond
I've been wanting to special-case this to not show two strings in e-mails
when clicking "Ship It!". I'll try to get to this for 2.0 as we finish
polishing it up.

Christian

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


On Thu, Mar 13, 2014 at 1:04 PM, Javins, Walt wrote:

>  This is a side effect of using the “Ship It!” button.  That button
> creates and publishes a review with the “Ship It!” box ticked, and also the
> comment “Ship It!”.
>
>
>
> If you’d like to avoid this behavior, you can click “Review”, leave the
> comment field blank, tick the “Ship It!” box, and click “Publish Review”.
> Then you should only see one “Ship It!” in the email.
>
>
>
> Walt
>
>
>
> *From:* reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com]
> *On Behalf Of *Scott Robinson
> *Sent:* Thursday, March 13, 2014 12:27 PM
> *To:* reviewboard@googlegroups.com
> *Subject:* "Ship It" string appears twice in emails
>
>
>
> I am using ReviewBoard version 1.7.21. When I press the "Ship It" button,
> I get an email as expected, but the email has the strings "Ship it!" and
> "Ship It!" in the body of the text (note the case difference on the word
> "it"). One string looks like a heading, the other looks like a comment. If
> I could at least edit the comment, that might help. Did anyone else
> encounter this?
>
> Thanks.
>
>
>
> Scott
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> 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/d/optout.
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


RE: "Ship It" string appears twice in emails

2014-03-13 Thread Javins, Walt
This is a side effect of using the “Ship It!” button.  That button creates and 
publishes a review with the “Ship It!” box ticked, and also the comment “Ship 
It!”.

If you’d like to avoid this behavior, you can click “Review”, leave the comment 
field blank, tick the “Ship It!” box, and click “Publish Review”.  Then you 
should only see one “Ship It!” in the email.

Walt

From: reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] On 
Behalf Of Scott Robinson
Sent: Thursday, March 13, 2014 12:27 PM
To: reviewboard@googlegroups.com
Subject: "Ship It" string appears twice in emails

I am using ReviewBoard version 1.7.21. When I press the "Ship It" button, I get 
an email as expected, but the email has the strings "Ship it!" and "Ship It!" 
in the body of the text (note the case difference on the word "it"). One string 
looks like a heading, the other looks like a comment. If I could at least edit 
the comment, that might help. Did anyone else encounter this?
Thanks.

Scott
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
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<mailto:reviewboard+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


"Ship It" string appears twice in emails

2014-03-13 Thread Scott Robinson
I am using ReviewBoard version 1.7.21. When I press the "Ship It" button, I 
get an email as expected, but the email has the strings "Ship it!" and 
"Ship It!" in the body of the text (note the case difference on the word 
"it"). One string looks like a heading, the other looks like a comment. If 
I could at least edit the comment, that might help. Did anyone else 
encounter this? 
Thanks.

Scott

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Is it possible to use a set of emails instead of Mailing list (single email)?

2014-01-19 Thread MoonWalker
That is super!. Thank you :-)

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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: Is it possible to use a set of emails instead of Mailing list (single email)?

2014-01-19 Thread David Trowbridge
If you don't specify a mailing list, emails will be sent individually to all 
members of the group. You don't have to specify them by hand.

-David

> On Jan 19, 2014, at 4:57 PM, MoonWalker  wrote:
> 
> My company does not use Mailing lists. Do not ask me why since unfortunately  
> I do not run the IT department.  In Change Review Groups -> Mailing list I 
> tried to put the +10 emails of the member of such group but it does not work. 
> Is it possible to do that in this field? The other option that I am trying to 
> avoid is to add in the actual review "People" the name of the +10 group 
> member. This option does not seems very attractive since it requires too much 
> typing :-/
> -- 
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> --- 
> 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.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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.


Is it possible to use a set of emails instead of Mailing list (single email)?

2014-01-19 Thread MoonWalker
My company does not use Mailing lists. Do not ask me why since 
unfortunately  I do not run the IT department.  In Change Review Groups -> 
Mailing list I tried to put the +10 emails of the member of such group but 
it does not work. Is it possible to do that in this field? The other option 
that I am trying to avoid is to add in the actual review "People" the name 
of the +10 group member. This option does not seems very attractive since 
it requires too much typing :-/

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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: User Not Receiving Emails

2013-09-13 Thread Steve
Did you ever figure this out?  I'm having the same problem here with a 
specific user and only on 1 of our RB servers.  I can't figure out where RB 
is logging its smtp messages.  I don't see anything in my reviewboard.log 
file.

--Steve


On Wednesday, July 31, 2013 10:51:35 AM UTC-7, ReviewBoard User wrote:
>
> Hey Stephen,
>
> Thanks for the suggestion :). The reviewboard logs generated don't suggest 
> that there was anything wrong with sending the email for this user which 
> might be because the error is masked elsewhere. There is nothing unusual 
> about the name (it is entirely alphabetic).
>
>
> On Wednesday, July 31, 2013 10:12:49 AM UTC-7, Stephen Gallagher wrote:
>>
>> On 07/31/2013 12:54 PM, ReviewBoard user wrote: 
>> > Hello, 
>> > 
>> > I have a very specific user that can't receive emails via ReviewBoard 
>> > when creating requests or updates to the request. I checked this 
>> against 
>> > the database, and he is an active user with the correct email. 
>> > 
>> > I'm attempting to follow the code to send out an email that would 
>> > replicate the code flow. Are there any tips on how to do this? 
>> > 
>> > So far, I have done a search on the code from github to get hints on 
>> how 
>> > to do this, but each method requires multiple arguments that I can't 
>> > confidently supply. 
>> > 
>> > 
>> https://github.com/search?l=&p=8&q=mail++repo%3Areviewboard%2Freviewboard&ref=advsearch&type=Code
>>  
>> > 
>> > Any other advice for debugging why the user is not receiving the email? 
>> > I have already tried going onto the mail server and using shell 
>> commands 
>> > to manually send the user emails. The user can receive them perfectly 
>> > fine which makes this a bigger mystery. 
>> > 
>> > Thanks for any help :D 
>> > 
>>
>> Have you checked the mail-server debug logs to see if ReviewBoard has 
>> *tried* to send a message? Also, is there anything unusual about the 
>> user's name or email address? Is it possible that it contains some 
>> unusual characters that might be confusing ReviewBoard or the MTA? 
>>
>>
>>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Stephen Gallagher
On 08/20/2013 12:34 PM, Michaela Newell wrote:
> Hi Stephan,
> 
> Thanks for reply. It is RHEL/CentOS 6. It did not go away when I tried
> the command but the error message has changed. Output from log now is:
> 
> - Error sending e-mail notification with subject 'Review Request 2: gfhgf' on 
> behalf of '"" ' to '"" ': 
> STARTTLS extension not supported by server.
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
> line 244, in send_review_mail
> message.send()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
> 248, in send
> return self.get_connection(fail_silently).send_messages([self])
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 85, in send_messages
> new_conn_created = self.open()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 51, in open
> self.connection.starttls()
>   File "/usr/lib64/python2.6/smtplib.py", line 611, in starttls
> raise SMTPException("STARTTLS extension not supported by server.")
> SMTPException: STARTTLS extension not supported by server.
> 

Ok, so that's a different problem, which *does* mean that the initial
"permission denied" error was caused by SELinux. So we'll work on that next.

This error above tells me that you misconfigured your email
configuration. It's trying to use TLS for communicating with the SMTP
server, which that server doesn't support. You probably need to confer
with your mail administrator for what the proper settings are there.


> 
> The audit2allow -a command came back with command not found, running as
> root.

You need to do 'yum install /usr/bin/audit2allow' if you don't already
have it.

> 
> Michaela
> 
> On Tuesday, 20 August 2013 14:48:30 UTC+1, Stephen Gallagher wrote:
> 
> On 08/20/2013 09:46 AM, Michaela Newell wrote:
> > I am attempting to set-up emails. I have all three options
> selected and
> > a valid smtp server. When I add a new user the logs show nothing
> but the
> > email does not get sent. When I add a new review request I get
> this in
> > the log:
> >
> >  - Error sending e-mail notification with subject 'Review Request
> 1: ...' on behalf of '" " ' to '"
> " ': [Errno 13] Permission denied
> > Traceback (most recent call last):
> >   File
> "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py",
> line 244, in send_review_mail
> > message.send()
> >   File
> "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line
> 248, in send
> > return self.get_connection(fail_silently).send_messages([self])
> >   File
> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line
> 85, in send_messages
> > new_conn_created = self.open()
> >   File
> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line
> 48, in open
> > local_hostname=DNS_NAME.get_fqdn())
> >   File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__
> > (code, msg) = self.connect(host, port)
> >   File "/usr/lib64/python2.6/smtplib.py", line 295, in connect
> > self.sock = self._get_socket(host, port, self.timeout)
> >   File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket
> > return socket.create_connection((port, host), timeout)
> >   File "/usr/lib64/python2.6/socket.py", line 567, in
> create_connection
> > raise error, msg
> > error: [Errno 13] Permission denied
> >
> >
> > Does anyone know of any causes?
> >
> 
> Is this RHEL/CentOS 6? It's possibke that SELinux might be interfering.
> Does it go away if you do 'setenforce 0' as root? If so, please run the
> command:
> audit2allow -a
> 
> and send me the output.
> 
> -- 
> 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

Re: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Michaela Newell
Actually, figured out what the last bits were it was because I had TLS 
ticked but my server didn't have it. Fixed now :) Thanks very much. Your 
command audit2allow -a did not work however.

On Tuesday, 20 August 2013 17:34:39 UTC+1, Michaela Newell wrote:
>
> Hi Stephan,
>
> Thanks for reply. It is RHEL/CentOS 6. It did not go away when I tried the 
> command but the error message has changed. Output from log now is:
>
> - Error sending e-mail notification with subject 'Review Request 2: gfhgf' on 
> behalf of '"" ' to '"" ': 
> STARTTLS extension not supported by server.
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
> line 244, in send_review_mail
> message.send()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
> 248, in send
> return self.get_connection(fail_silently).send_messages([self])
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 85, in send_messages
> new_conn_created = self.open()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 51, in open
> self.connection.starttls()
>   File "/usr/lib64/python2.6/smtplib.py", line 611, in starttls
> raise SMTPException("STARTTLS extension not supported by server.")
> SMTPException: STARTTLS extension not supported by server.
>
>
> The audit2allow -a command came back with command not found, running as 
> root.
>
> Michaela
>
> On Tuesday, 20 August 2013 14:48:30 UTC+1, Stephen Gallagher wrote:
>>
>> On 08/20/2013 09:46 AM, Michaela Newell wrote: 
>> > I am attempting to set-up emails. I have all three options selected and 
>> > a valid smtp server. When I add a new user the logs show nothing but 
>> the 
>> > email does not get sent. When I add a new review request I get this in 
>> > the log: 
>> > 
>> >  - Error sending e-mail notification with subject 'Review Request 1: 
>> ...' on behalf of '" " ' to '" " 
>> ': [Errno 13] Permission denied 
>> > Traceback (most recent call last): 
>> >   File 
>> "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", line 
>> 244, in send_review_mail 
>> > message.send() 
>> >   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", 
>> line 248, in send 
>> > return self.get_connection(fail_silently).send_messages([self]) 
>> >   File 
>> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
>> 85, in send_messages 
>> > new_conn_created = self.open() 
>> >   File 
>> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
>> 48, in open 
>> > local_hostname=DNS_NAME.get_fqdn()) 
>> >   File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__ 
>> > (code, msg) = self.connect(host, port) 
>> >   File "/usr/lib64/python2.6/smtplib.py", line 295, in connect 
>> > self.sock = self._get_socket(host, port, self.timeout) 
>> >   File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket 
>> > return socket.create_connection((port, host), timeout) 
>> >   File "/usr/lib64/python2.6/socket.py", line 567, in create_connection 
>> > raise error, msg 
>> > error: [Errno 13] Permission denied 
>> > 
>> > 
>> > Does anyone know of any causes? 
>> > 
>>
>> Is this RHEL/CentOS 6? It's possibke that SELinux might be interfering. 
>> Does it go away if you do 'setenforce 0' as root? If so, please run the 
>> command: 
>> audit2allow -a 
>>
>> and send me the output. 
>>
>>

-- 
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: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Michaela Newell
Hi Stephan,

Thanks for reply. It is RHEL/CentOS 6. It did not go away when I tried the 
command but the error message has changed. Output from log now is:

- Error sending e-mail notification with subject 'Review Request 2: gfhgf' on 
behalf of '"" ' to '"" ': 
STARTTLS extension not supported by server.
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
line 244, in send_review_mail
message.send()
  File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
248, in send
return self.get_connection(fail_silently).send_messages([self])
  File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
line 85, in send_messages
new_conn_created = self.open()
  File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
line 51, in open
self.connection.starttls()
  File "/usr/lib64/python2.6/smtplib.py", line 611, in starttls
raise SMTPException("STARTTLS extension not supported by server.")
SMTPException: STARTTLS extension not supported by server.


The audit2allow -a command came back with command not found, running as 
root.

Michaela

On Tuesday, 20 August 2013 14:48:30 UTC+1, Stephen Gallagher wrote:
>
> On 08/20/2013 09:46 AM, Michaela Newell wrote: 
> > I am attempting to set-up emails. I have all three options selected and 
> > a valid smtp server. When I add a new user the logs show nothing but the 
> > email does not get sent. When I add a new review request I get this in 
> > the log: 
> > 
> >  - Error sending e-mail notification with subject 'Review Request 1: 
> ...' on behalf of '" " ' to '" " 
> ': [Errno 13] Permission denied 
> > Traceback (most recent call last): 
> >   File 
> "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", line 
> 244, in send_review_mail 
> > message.send() 
> >   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", 
> line 248, in send 
> > return self.get_connection(fail_silently).send_messages([self]) 
> >   File 
> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
> 85, in send_messages 
> > new_conn_created = self.open() 
> >   File 
> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
> 48, in open 
> > local_hostname=DNS_NAME.get_fqdn()) 
> >   File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__ 
> > (code, msg) = self.connect(host, port) 
> >   File "/usr/lib64/python2.6/smtplib.py", line 295, in connect 
> > self.sock = self._get_socket(host, port, self.timeout) 
> >   File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket 
> > return socket.create_connection((port, host), timeout) 
> >   File "/usr/lib64/python2.6/socket.py", line 567, in create_connection 
> > raise error, msg 
> > error: [Errno 13] Permission denied 
> > 
> > 
> > Does anyone know of any causes? 
> > 
>
> Is this RHEL/CentOS 6? It's possibke that SELinux might be interfering. 
> Does it go away if you do 'setenforce 0' as root? If so, please run the 
> command: 
> audit2allow -a 
>
> and send me the output. 
>
>

-- 
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: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Stephen Gallagher
On 08/20/2013 09:46 AM, Michaela Newell wrote:
> I am attempting to set-up emails. I have all three options selected and
> a valid smtp server. When I add a new user the logs show nothing but the
> email does not get sent. When I add a new review request I get this in
> the log:
> 
>  - Error sending e-mail notification with subject 'Review Request 1: ...' on 
> behalf of '" " ' to '" " 
> ': [Errno 13] Permission denied
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
> line 244, in send_review_mail
> message.send()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
> 248, in send
> return self.get_connection(fail_silently).send_messages([self])
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 85, in send_messages
> new_conn_created = self.open()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 48, in open
> local_hostname=DNS_NAME.get_fqdn())
>   File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__
> (code, msg) = self.connect(host, port)
>   File "/usr/lib64/python2.6/smtplib.py", line 295, in connect
> self.sock = self._get_socket(host, port, self.timeout)
>   File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket
> return socket.create_connection((port, host), timeout)
>   File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
> raise error, msg
> error: [Errno 13] Permission denied
> 
> 
> Does anyone know of any causes?
> 

Is this RHEL/CentOS 6? It's possibke that SELinux might be interfering.
Does it go away if you do 'setenforce 0' as root? If so, please run the
command:
audit2allow -a

and send me the output.

-- 
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.


[Errno 13] Permission denied error when sending emails

2013-08-20 Thread Michaela Newell
I am attempting to set-up emails. I have all three options selected and a 
valid smtp server. When I add a new user the logs show nothing but the 
email does not get sent. When I add a new review request I get this in the 
log:

 - Error sending e-mail notification with subject 'Review Request 1: ...' on 
behalf of '" " ' to '" " 
': [Errno 13] Permission denied
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
line 244, in send_review_mail
message.send()
  File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
248, in send
return self.get_connection(fail_silently).send_messages([self])
  File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
line 85, in send_messages
new_conn_created = self.open()
  File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
line 48, in open
local_hostname=DNS_NAME.get_fqdn())
  File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__
(code, msg) = self.connect(host, port)
  File "/usr/lib64/python2.6/smtplib.py", line 295, in connect
self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket
return socket.create_connection((port, host), timeout)
  File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
raise error, msg
error: [Errno 13] Permission denied


Does anyone know of any causes?

-- 
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: User Not Receiving Emails

2013-07-31 Thread ReviewBoard User
Hey Stephen,

Thanks for the suggestion :). The reviewboard logs generated don't suggest 
that there was anything wrong with sending the email for this user which 
might be because the error is masked elsewhere. There is nothing unusual 
about the name (it is entirely alphabetic).


On Wednesday, July 31, 2013 10:12:49 AM UTC-7, Stephen Gallagher wrote:
>
> On 07/31/2013 12:54 PM, ReviewBoard user wrote: 
> > Hello, 
> > 
> > I have a very specific user that can't receive emails via ReviewBoard 
> > when creating requests or updates to the request. I checked this against 
> > the database, and he is an active user with the correct email. 
> > 
> > I'm attempting to follow the code to send out an email that would 
> > replicate the code flow. Are there any tips on how to do this? 
> > 
> > So far, I have done a search on the code from github to get hints on how 
> > to do this, but each method requires multiple arguments that I can't 
> > confidently supply. 
> > 
> > 
> https://github.com/search?l=&p=8&q=mail++repo%3Areviewboard%2Freviewboard&ref=advsearch&type=Code
>  
> > 
> > Any other advice for debugging why the user is not receiving the email? 
> > I have already tried going onto the mail server and using shell commands 
> > to manually send the user emails. The user can receive them perfectly 
> > fine which makes this a bigger mystery. 
> > 
> > Thanks for any help :D 
> > 
>
> Have you checked the mail-server debug logs to see if ReviewBoard has 
> *tried* to send a message? Also, is there anything unusual about the 
> user's name or email address? Is it possible that it contains some 
> unusual characters that might be confusing ReviewBoard or the MTA? 
>
>
>

-- 
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: User Not Receiving Emails

2013-07-31 Thread Stephen Gallagher
On 07/31/2013 12:54 PM, ReviewBoard user wrote:
> Hello,
> 
> I have a very specific user that can't receive emails via ReviewBoard
> when creating requests or updates to the request. I checked this against
> the database, and he is an active user with the correct email.
> 
> I'm attempting to follow the code to send out an email that would
> replicate the code flow. Are there any tips on how to do this?
> 
> So far, I have done a search on the code from github to get hints on how
> to do this, but each method requires multiple arguments that I can't
> confidently supply.
> 
> https://github.com/search?l=&p=8&q=mail++repo%3Areviewboard%2Freviewboard&ref=advsearch&type=Code
> 
> Any other advice for debugging why the user is not receiving the email?
> I have already tried going onto the mail server and using shell commands
> to manually send the user emails. The user can receive them perfectly
> fine which makes this a bigger mystery.
> 
> Thanks for any help :D
>

Have you checked the mail-server debug logs to see if ReviewBoard has
*tried* to send a message? Also, is there anything unusual about the
user's name or email address? Is it possible that it contains some
unusual characters that might be confusing ReviewBoard or the MTA?


-- 
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.




User Not Receiving Emails

2013-07-31 Thread ReviewBoard user
Hello,

I have a very specific user that can't receive emails via ReviewBoard when 
creating requests or updates to the request. I checked this against the 
database, and he is an active user with the correct email.

I'm attempting to follow the code to send out an email that would replicate 
the code flow. Are there any tips on how to do this?

So far, I have done a search on the code from github to get hints on how to 
do this, but each method requires multiple arguments that I can't 
confidently supply.

https://github.com/search?l=&p=8&q=mail++repo%3Areviewboard%2Freviewboard&ref=advsearch&type=Code

Any other advice for debugging why the user is not receiving the email? I 
have already tried going onto the mail server and using shell commands to 
manually send the user emails. The user can receive them perfectly fine 
which makes this a bigger mystery.

Thanks for any help :D


-- 
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: Emails have the wrong URL in them?

2012-07-05 Thread Christian Hammond
Can I see the configuration for your web server for this site?

Also, if you could go into the admin UI -> Database -> Site Configuration
and send me the contents of that configuration text. This can be sent
privately.

The server field should work, but perhaps there was a regression. I'll look
into it.

Christian

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


On Thu, Jul 5, 2012 at 6:54 PM, fishgills  wrote:

>
> Hey Christian,
> I have it installed in an Ubuntu environment.
>
> I've entered:
>
> review.ux1.hq.cashview.com for the qualified domain name.
>
> and the emails contain:
>
> http://Review/
>
>
>
>
> On Thursday, July 5, 2012 6:49:21 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Charlie,
>>
>> Can you describe your setup? Do you have a proxy like nginx sitting in
>> front of your installation?
>>
>> What URL are you seeing, and what are you expecting to see?
>>
>> Christian
>>
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Thu, Jul 5, 2012 at 6:02 PM, Charlie Davis  wrote:
>>
>>> Is there anyway to change the URL that gets sent out for accessing my
>>> site?
>>>
>>> Initially I thought my setup domain was wrong, but I reinstalled and
>>> still getting the wrong url!
>>>
>>> I tried changing it in the settings section under "Server" but no matter
>>> what I put in there, it won't take it.
>>>
>>> Am I missing something?
>>>
>>>  --
>>> Want to help the Review Board project? Donate today at
>>> http://www.reviewboard.org/**donate/<http://www.reviewboard.org/donate/>
>>> Happy user? Let us know at 
>>> http://www.reviewboard.org/**users/<http://www.reviewboard.org/users/>
>>> -~--~~~~--**~~--~--~---
>>> To unsubscribe from this group, send email to reviewboard+unsubscribe@**
>>> googlegroups.com 
>>> For more options, visit this group at http://groups.google.com/**
>>> group/reviewboard?hl=en<http://groups.google.com/group/reviewboard?hl=en>
>>
>>
>>  --
> 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
>

-- 
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

Re: Emails have the wrong URL in them?

2012-07-05 Thread fishgills


<https://lh5.googleusercontent.com/-59vzzn7MZQA/T_ZFo9-Ts1I/AAg/Ykp8wNkVdNg/s1600/Screen+Shot+2012-07-05+at+6.53.04+PM.png>

Also, that Server field doesn't seem to populate or do anything?

On Thursday, July 5, 2012 6:54:17 PM UTC-7, fishgills wrote:
>
>
> Hey Christian,
> I have it installed in an Ubuntu environment.
>
> I've entered:
>
> review.ux1.hq.cashview.com for the qualified domain name.
>
> and the emails contain:
>
> http://Review/
>
>
>
>
> On Thursday, July 5, 2012 6:49:21 PM UTC-7, Christian Hammond wrote:
>>
>> Hi Charlie,
>>
>> Can you describe your setup? Do you have a proxy like nginx sitting in 
>> front of your installation?
>>
>> What URL are you seeing, and what are you expecting to see?
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Thu, Jul 5, 2012 at 6:02 PM, Charlie Davis  wrote:
>>
>>> Is there anyway to change the URL that gets sent out for accessing my 
>>> site?
>>>
>>> Initially I thought my setup domain was wrong, but I reinstalled and 
>>> still getting the wrong url!
>>>
>>> I tried changing it in the settings section under "Server" but no matter 
>>> what I put in there, it won't take it. 
>>>
>>> Am I missing something?
>>>
>>>  -- 
>>> 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
>>
>>
>>

-- 
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

Re: Emails have the wrong URL in them?

2012-07-05 Thread fishgills

Hey Christian,
I have it installed in an Ubuntu environment.

I've entered:

review.ux1.hq.cashview.com for the qualified domain name.

and the emails contain:

http://Review/




On Thursday, July 5, 2012 6:49:21 PM UTC-7, Christian Hammond wrote:
>
> Hi Charlie,
>
> Can you describe your setup? Do you have a proxy like nginx sitting in 
> front of your installation?
>
> What URL are you seeing, and what are you expecting to see?
>
> Christian
>
> -- 
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Thu, Jul 5, 2012 at 6:02 PM, Charlie Davis  wrote:
>
>> Is there anyway to change the URL that gets sent out for accessing my 
>> site?
>>
>> Initially I thought my setup domain was wrong, but I reinstalled and 
>> still getting the wrong url!
>>
>> I tried changing it in the settings section under "Server" but no matter 
>> what I put in there, it won't take it. 
>>
>> Am I missing something?
>>
>>  -- 
>> 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
>
>
>

-- 
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

Re: Emails have the wrong URL in them?

2012-07-05 Thread Christian Hammond
Hi Charlie,

Can you describe your setup? Do you have a proxy like nginx sitting in
front of your installation?

What URL are you seeing, and what are you expecting to see?

Christian

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


On Thu, Jul 5, 2012 at 6:02 PM, Charlie Davis  wrote:

> Is there anyway to change the URL that gets sent out for accessing my site?
>
> Initially I thought my setup domain was wrong, but I reinstalled and still
> getting the wrong url!
>
> I tried changing it in the settings section under "Server" but no matter
> what I put in there, it won't take it.
>
> Am I missing something?
>
>  --
> 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

-- 
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

Emails have the wrong URL in them?

2012-07-05 Thread Charlie Davis
Is there anyway to change the URL that gets sent out for accessing my site?

Initially I thought my setup domain was wrong, but I reinstalled and still 
getting the wrong url!

I tried changing it in the settings section under "Server" but no matter 
what I put in there, it won't take it. 

Am I missing something?

-- 
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

emails

2012-06-12 Thread Ryan Raasch
Hey,

How exactly can the emails be disabled from being sent to the request 
"owner". For example,
person A creates a request (gets an email, but doesn't want an email), 
person B replies (gets an email, but
doesn't want an email).

I looked over the email settings, but it doesn't seem possible.

thanks,
Ryan

-- 
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

Re: Reviewboard sends auto generated emails

2012-06-06 Thread Christian Hammond
That is why you're getting the crash.

People aren't directly, actively accessing it, but I bet more than one is
on the Dashboard, and that periodically reloads.

Christian

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


On Wed, Jun 6, 2012 at 3:15 AM, Ashith  wrote:

> No I did not restart Apache. I will restart Apache and see if I still
> get this email. The strange thing is that this crash occurs when no
> one is using reviewboard (post midnight). Never seen it crash when
> people are using reviewboard.
>
> However, I shutdown mysql server at 1:00 AM to take a cold backup of
> the MySQL database and then restart it again. Will this cause the
> crash in reviewboard? Strange because no one is accessing reviewboard
> at this time of the day.
>
>
> On Jun 5, 2:45 pm, Christian Hammond  wrote:
> > That's a crash. I have no idea why that's happening, but perhaps a thread
> > is stuck. Have you restarted Apache since you first saw it?
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Jun 5, 2012 at 2:42 AM, Ashith 
> wrote:
> > > Reviewboard sends me an auto generated email almost every night with
> > > the following subject line,
> >
> > > [Review Board] ERROR (EXTERNAL IP): Internal Server Error: /dashboard/
> >
> > > The contents of the mail is an error log which varies but looks
> > > somewhat like this,
> >
> > > Traceback (most recent call last):
> >
> > >  File "C:\Python26\lib\site-packages\django-1.3.1-py2.6.egg\django\core
> > > \handlers\base.py", line 111, in get_response
> > >   response = callback(request, *callback_args, **callback_kwargs)
> >
> > >  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> > > \auth\util.py", line 46, in _checklogin
> > >   return view_func(request, *args, **kwargs)
> >
> > >  File "C:\Python26\lib\site-packages\reviewboard-1.6.6-py2.6.egg
> > > \reviewboard\accounts\decorators.py", line 41, in _check_valid_prefs
> > >   return view_func(request, *args, **kwargs)
> >
> > >  File "C:\Python26\lib\site-packages\reviewboard-1.6.6-py2.6.egg
> > > \reviewboard\reviews\views.py", line 587, in dashboard
> > >   return grid.render_to_response(template_name)
> >
> > >  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> > > \datagrid\grids.py", line 710, in render_to_response
> > >   self.load_state()
> >
> > >  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> > > \datagrid\grids.py", line 545, in load_state
> > >   self.precompute_objects()
> >
> > >  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> > > \datagrid\grids.py", line 647, in precompute_objects
> > >   for obj in object_list if obj is not None
> >
> > >  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> > > \datagrid\grids.py", line 251, in render_cell
> > >   mark_safe(self.datagrid.cell_template_obj.render(ctx))
> >
> > > AttributeError: 'NoneType' object has no attribute 'render'
> >
> > >  > > GET:,
> > > POST:,
> > > COOKIES:{'collapsediffs': 'True',
> > > 'csrftoken': 'da733eb7808c9b8671804a3bbf3c6b71',
> > > 'rbsessionid': '220704cc92f549fd2fc4edd975ce',
> > > 'show_ew': 'false'},
> > > META:{'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
> > > 'DOCUMENT_ROOT': 'E:/cg.reviews.com/htdocs',
> > > 'GATEWAY_INTERFACE': 'CGI/1.1',
> > > 'HTTPS': '1',
> > > 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
> > > xml;q=0.9,*/*;q=0.8',
> > > 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
> > > 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
> > > 'HTTP_CACHE_CONTROL': 'max-age=0',
> > > 'HTTP_CONNECTION': 'keep-alive',
> > > 'HTTP_COOKIE': 'rbsessionid=220704cc92f549fd2fc4edd975ce;
> > > csrftoken=da733eb7808c9b8671804a3bbf3c6b71; collapsediffs=True;
> > > show_ew=false',
> > > 'HTTP_HOST': 'cg.reviewboard',
> > > 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/
> > > 20100101 Firefox/12.0',
> > > 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
> > > 'PATH_INFO': u'/dashboard/',
> > > 'PATH_TRANSLATED': 'E:\\cg.reviews.com\\htdocs\\reviewboard.wsgi\
> > > \dashboard\\',
> > > 'QUERY_STRING': 'view=incoming',
> > > 'REMOTE_ADDR': '192.168.0.31',
> > > 'REMOTE_PORT': '50824',
> > > 'REQUEST_METHOD': 'GET',
> > > 'REQUEST_URI': '/dashboard/?view=incoming',
> > > 'SCRIPT_FILENAME': 'E:/cg.reviews.com/htdocs/reviewboard.wsgi',
> > > 'SCRIPT_NAME': u'',
> > > 'SERVER_ADDR': '192.168.3.70',
> > > 'SERVER_ADMIN': 'ashith...@creativegenius.co.in',
> > > 'SERVER_NAME': 'cg.reviewboard',
> > > 'SERVER_PORT': '443',
> > > 'SERVER_PROTOCOL': 'HTTP/1.1',
> > > 'SERVER_SIGNATURE': '',
> > > 'SERVER_SOFTWARE': 'Apache/2.2.18 (Win32) mod_wsgi/3.3 Python/2.6.4
> > > SVN/1.6.2 DAV/2 mod_ssl/2.2.18 OpenSSL/0.9.8r',
> > > 'SSL_TLS_SNI': 'cg.reviewboard',
> > > 'SystemRoo

Re: Reviewboard sends auto generated emails

2012-06-06 Thread Ashith
No I did not restart Apache. I will restart Apache and see if I still
get this email. The strange thing is that this crash occurs when no
one is using reviewboard (post midnight). Never seen it crash when
people are using reviewboard.

However, I shutdown mysql server at 1:00 AM to take a cold backup of
the MySQL database and then restart it again. Will this cause the
crash in reviewboard? Strange because no one is accessing reviewboard
at this time of the day.


On Jun 5, 2:45 pm, Christian Hammond  wrote:
> That's a crash. I have no idea why that's happening, but perhaps a thread
> is stuck. Have you restarted Apache since you first saw it?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
>
>
>
>
> On Tue, Jun 5, 2012 at 2:42 AM, Ashith  wrote:
> > Reviewboard sends me an auto generated email almost every night with
> > the following subject line,
>
> > [Review Board] ERROR (EXTERNAL IP): Internal Server Error: /dashboard/
>
> > The contents of the mail is an error log which varies but looks
> > somewhat like this,
>
> > Traceback (most recent call last):
>
> >  File "C:\Python26\lib\site-packages\django-1.3.1-py2.6.egg\django\core
> > \handlers\base.py", line 111, in get_response
> >   response = callback(request, *callback_args, **callback_kwargs)
>
> >  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> > \auth\util.py", line 46, in _checklogin
> >   return view_func(request, *args, **kwargs)
>
> >  File "C:\Python26\lib\site-packages\reviewboard-1.6.6-py2.6.egg
> > \reviewboard\accounts\decorators.py", line 41, in _check_valid_prefs
> >   return view_func(request, *args, **kwargs)
>
> >  File "C:\Python26\lib\site-packages\reviewboard-1.6.6-py2.6.egg
> > \reviewboard\reviews\views.py", line 587, in dashboard
> >   return grid.render_to_response(template_name)
>
> >  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> > \datagrid\grids.py", line 710, in render_to_response
> >   self.load_state()
>
> >  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> > \datagrid\grids.py", line 545, in load_state
> >   self.precompute_objects()
>
> >  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> > \datagrid\grids.py", line 647, in precompute_objects
> >   for obj in object_list if obj is not None
>
> >  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> > \datagrid\grids.py", line 251, in render_cell
> >   mark_safe(self.datagrid.cell_template_obj.render(ctx))
>
> > AttributeError: 'NoneType' object has no attribute 'render'
>
> >  > GET:,
> > POST:,
> > COOKIES:{'collapsediffs': 'True',
> > 'csrftoken': 'da733eb7808c9b8671804a3bbf3c6b71',
> > 'rbsessionid': '220704cc92f549fd2fc4edd975ce',
> > 'show_ew': 'false'},
> > META:{'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
> > 'DOCUMENT_ROOT': 'E:/cg.reviews.com/htdocs',
> > 'GATEWAY_INTERFACE': 'CGI/1.1',
> > 'HTTPS': '1',
> > 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
> > xml;q=0.9,*/*;q=0.8',
> > 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
> > 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
> > 'HTTP_CACHE_CONTROL': 'max-age=0',
> > 'HTTP_CONNECTION': 'keep-alive',
> > 'HTTP_COOKIE': 'rbsessionid=220704cc92f549fd2fc4edd975ce;
> > csrftoken=da733eb7808c9b8671804a3bbf3c6b71; collapsediffs=True;
> > show_ew=false',
> > 'HTTP_HOST': 'cg.reviewboard',
> > 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/
> > 20100101 Firefox/12.0',
> > 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
> > 'PATH_INFO': u'/dashboard/',
> > 'PATH_TRANSLATED': 'E:\\cg.reviews.com\\htdocs\\reviewboard.wsgi\
> > \dashboard\\',
> > 'QUERY_STRING': 'view=incoming',
> > 'REMOTE_ADDR': '192.168.0.31',
> > 'REMOTE_PORT': '50824',
> > 'REQUEST_METHOD': 'GET',
> > 'REQUEST_URI': '/dashboard/?view=incoming',
> > 'SCRIPT_FILENAME': 'E:/cg.reviews.com/htdocs/reviewboard.wsgi',
> > 'SCRIPT_NAME': u'',
> > 'SERVER_ADDR': '192.168.3.70',
> > 'SERVER_ADMIN': 'ashith...@creativegenius.co.in',
> > 'SERVER_NAME': 'cg.reviewboard',
> > 'SERVER_PORT': '443',
> > 'SERVER_PROTOCOL': 'HTTP/1.1',
> > 'SERVER_SIGNATURE': '',
> > 'SERVER_SOFTWARE': 'Apache/2.2.18 (Win32) mod_wsgi/3.3 Python/2.6.4
> > SVN/1.6.2 DAV/2 mod_ssl/2.2.18 OpenSSL/0.9.8r',
> > 'SSL_TLS_SNI': 'cg.reviewboard',
> > 'SystemRoot': 'C:\\WINDOWS',
> > 'WINDIR': 'C:\\WINDOWS',
> > 'mod_wsgi.application_group': 'cg.reviewboard|',
> > 'mod_wsgi.callable_object': 'application',
> > 'mod_wsgi.handler_script': '',
> > 'mod_wsgi.input_chunked': '0',
> > 'mod_wsgi.process_group': '',
> > 'mod_wsgi.request_handler': 'wsgi-script',
> > 'mod_wsgi.script_reloading': '1',
> > 'mod_wsgi.version': (3, 3),
> > 'wsgi.errors': ,
> > 'wsgi.file_wrapper':  > object at 0x03F8EF50>,
> > 'wsgi.input': ,
> > 'wsgi.multiprocess': False,
> > 'wsgi.multithread': True,
> > 'wsgi.run_once': False,
> > 'wsgi.url_scheme': 'https

Re: Reviewboard sends auto generated emails

2012-06-05 Thread Christian Hammond
That's a crash. I have no idea why that's happening, but perhaps a thread
is stuck. Have you restarted Apache since you first saw it?

Christian

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


On Tue, Jun 5, 2012 at 2:42 AM, Ashith  wrote:

> Reviewboard sends me an auto generated email almost every night with
> the following subject line,
>
> [Review Board] ERROR (EXTERNAL IP): Internal Server Error: /dashboard/
>
> The contents of the mail is an error log which varies but looks
> somewhat like this,
>
> Traceback (most recent call last):
>
>  File "C:\Python26\lib\site-packages\django-1.3.1-py2.6.egg\django\core
> \handlers\base.py", line 111, in get_response
>   response = callback(request, *callback_args, **callback_kwargs)
>
>  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> \auth\util.py", line 46, in _checklogin
>   return view_func(request, *args, **kwargs)
>
>  File "C:\Python26\lib\site-packages\reviewboard-1.6.6-py2.6.egg
> \reviewboard\accounts\decorators.py", line 41, in _check_valid_prefs
>   return view_func(request, *args, **kwargs)
>
>  File "C:\Python26\lib\site-packages\reviewboard-1.6.6-py2.6.egg
> \reviewboard\reviews\views.py", line 587, in dashboard
>   return grid.render_to_response(template_name)
>
>  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> \datagrid\grids.py", line 710, in render_to_response
>   self.load_state()
>
>  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> \datagrid\grids.py", line 545, in load_state
>   self.precompute_objects()
>
>  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> \datagrid\grids.py", line 647, in precompute_objects
>   for obj in object_list if obj is not None
>
>  File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
> \datagrid\grids.py", line 251, in render_cell
>   mark_safe(self.datagrid.cell_template_obj.render(ctx))
>
> AttributeError: 'NoneType' object has no attribute 'render'
>
>
>  GET:,
> POST:,
> COOKIES:{'collapsediffs': 'True',
> 'csrftoken': 'da733eb7808c9b8671804a3bbf3c6b71',
> 'rbsessionid': '220704cc92f549fd2fc4edd975ce',
> 'show_ew': 'false'},
> META:{'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
> 'DOCUMENT_ROOT': 'E:/cg.reviews.com/htdocs',
> 'GATEWAY_INTERFACE': 'CGI/1.1',
> 'HTTPS': '1',
> 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
> xml;q=0.9,*/*;q=0.8',
> 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
> 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
> 'HTTP_CACHE_CONTROL': 'max-age=0',
> 'HTTP_CONNECTION': 'keep-alive',
> 'HTTP_COOKIE': 'rbsessionid=220704cc92f549fd2fc4edd975ce;
> csrftoken=da733eb7808c9b8671804a3bbf3c6b71; collapsediffs=True;
> show_ew=false',
> 'HTTP_HOST': 'cg.reviewboard',
> 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/
> 20100101 Firefox/12.0',
> 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
> 'PATH_INFO': u'/dashboard/',
> 'PATH_TRANSLATED': 'E:\\cg.reviews.com\\htdocs\\reviewboard.wsgi\
> \dashboard\\',
> 'QUERY_STRING': 'view=incoming',
> 'REMOTE_ADDR': '192.168.0.31',
> 'REMOTE_PORT': '50824',
> 'REQUEST_METHOD': 'GET',
> 'REQUEST_URI': '/dashboard/?view=incoming',
> 'SCRIPT_FILENAME': 'E:/cg.reviews.com/htdocs/reviewboard.wsgi',
> 'SCRIPT_NAME': u'',
> 'SERVER_ADDR': '192.168.3.70',
> 'SERVER_ADMIN': 'ashith...@creativegenius.co.in',
> 'SERVER_NAME': 'cg.reviewboard',
> 'SERVER_PORT': '443',
> 'SERVER_PROTOCOL': 'HTTP/1.1',
> 'SERVER_SIGNATURE': '',
> 'SERVER_SOFTWARE': 'Apache/2.2.18 (Win32) mod_wsgi/3.3 Python/2.6.4
> SVN/1.6.2 DAV/2 mod_ssl/2.2.18 OpenSSL/0.9.8r',
> 'SSL_TLS_SNI': 'cg.reviewboard',
> 'SystemRoot': 'C:\\WINDOWS',
> 'WINDIR': 'C:\\WINDOWS',
> 'mod_wsgi.application_group': 'cg.reviewboard|',
> 'mod_wsgi.callable_object': 'application',
> 'mod_wsgi.handler_script': '',
> 'mod_wsgi.input_chunked': '0',
> 'mod_wsgi.process_group': '',
> 'mod_wsgi.request_handler': 'wsgi-script',
> 'mod_wsgi.script_reloading': '1',
> 'mod_wsgi.version': (3, 3),
> 'wsgi.errors': ,
> 'wsgi.file_wrapper':  object at 0x03F8EF50>,
> 'wsgi.input': ,
> 'wsgi.multiprocess': False,
> 'wsgi.multithread': True,
> 'wsgi.run_once': False,
> 'wsgi.url_scheme': 'https',
> 'wsgi.version': (1, 1)}>
>
>
> Why does reviewboard send me this mail?
>
> --
> 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

-- 
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, 

Reviewboard sends auto generated emails

2012-06-05 Thread Ashith
Reviewboard sends me an auto generated email almost every night with
the following subject line,

[Review Board] ERROR (EXTERNAL IP): Internal Server Error: /dashboard/

The contents of the mail is an error log which varies but looks
somewhat like this,

Traceback (most recent call last):

 File "C:\Python26\lib\site-packages\django-1.3.1-py2.6.egg\django\core
\handlers\base.py", line 111, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
\auth\util.py", line 46, in _checklogin
   return view_func(request, *args, **kwargs)

 File "C:\Python26\lib\site-packages\reviewboard-1.6.6-py2.6.egg
\reviewboard\accounts\decorators.py", line 41, in _check_valid_prefs
   return view_func(request, *args, **kwargs)

 File "C:\Python26\lib\site-packages\reviewboard-1.6.6-py2.6.egg
\reviewboard\reviews\views.py", line 587, in dashboard
   return grid.render_to_response(template_name)

 File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
\datagrid\grids.py", line 710, in render_to_response
   self.load_state()

 File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
\datagrid\grids.py", line 545, in load_state
   self.precompute_objects()

 File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
\datagrid\grids.py", line 647, in precompute_objects
   for obj in object_list if obj is not None

 File "C:\Python26\lib\site-packages\djblets-0.6.16-py2.6.egg\djblets
\datagrid\grids.py", line 251, in render_cell
   mark_safe(self.datagrid.cell_template_obj.render(ctx))

AttributeError: 'NoneType' object has no attribute 'render'


,
POST:,
COOKIES:{'collapsediffs': 'True',
'csrftoken': 'da733eb7808c9b8671804a3bbf3c6b71',
'rbsessionid': '220704cc92f549fd2fc4edd975ce',
'show_ew': 'false'},
META:{'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe',
'DOCUMENT_ROOT': 'E:/cg.reviews.com/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTPS': '1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'rbsessionid=220704cc92f549fd2fc4edd975ce;
csrftoken=da733eb7808c9b8671804a3bbf3c6b71; collapsediffs=True;
show_ew=false',
'HTTP_HOST': 'cg.reviewboard',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/
20100101 Firefox/12.0',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'PATH_INFO': u'/dashboard/',
'PATH_TRANSLATED': 'E:\\cg.reviews.com\\htdocs\\reviewboard.wsgi\
\dashboard\\',
'QUERY_STRING': 'view=incoming',
'REMOTE_ADDR': '192.168.0.31',
'REMOTE_PORT': '50824',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/dashboard/?view=incoming',
'SCRIPT_FILENAME': 'E:/cg.reviews.com/htdocs/reviewboard.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '192.168.3.70',
'SERVER_ADMIN': 'ashith...@creativegenius.co.in',
'SERVER_NAME': 'cg.reviewboard',
'SERVER_PORT': '443',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '',
'SERVER_SOFTWARE': 'Apache/2.2.18 (Win32) mod_wsgi/3.3 Python/2.6.4
SVN/1.6.2 DAV/2 mod_ssl/2.2.18 OpenSSL/0.9.8r',
'SSL_TLS_SNI': 'cg.reviewboard',
'SystemRoot': 'C:\\WINDOWS',
'WINDIR': 'C:\\WINDOWS',
'mod_wsgi.application_group': 'cg.reviewboard|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.process_group': '',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 3),
'wsgi.errors': ,
'wsgi.file_wrapper': ,
'wsgi.input': ,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'https',
'wsgi.version': (1, 1)}>


Why does reviewboard send me this mail?

-- 
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


Issue / non-issue comments in review request emails

2012-02-03 Thread Igor Berger
Hello,

When I get an email with review comments, I can't see whether check-box 
"open issue" was clicked for each comment.
In other words, it would be nice to know whether someone's asking for a 
change or just commenting.

Is there a way to configure this somehow?

Thanks,
Igor.

-- 
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

Re: Too many emails from ReviewBoard ?

2011-10-05 Thread Kannaiyan Natesan
Did you make sure they are not part of Reviewers Group?
You can remove them from the group so they can receive individual emails.

On Wed, Oct 5, 2011 at 11:59 AM, Sanjay Lal  wrote:

> Hi,
> Not sure if something doable but wanted to check anyway - My users are
> receiving lot of emails fro ReviewBoard - for example, Requester1 adds
> Revieer1 and Reviewer2  as reviewers. When Reviewer1 is publishing a
> comments he is always copied in those emails. Is there a way we can
> reduce the emails that are sent out (I believe a reviewer shouldn't be
> copied on reviews he is doing, just the requester and other reviewers
> should be sent emails).
> In the admin-ui --> Email I have checked   "Send e-mails for review
> requests and reviews"   and  "Send e-mails when new users register an
> account" .
>
> Any suggestions/ideas?
>
> Thanks in advance for your time.
>
> --
> 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




-- 
+1-650-605-3290
The best things in life are free

-- 
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

Too many emails from ReviewBoard ?

2011-10-05 Thread Sanjay Lal
Hi,
Not sure if something doable but wanted to check anyway - My users are
receiving lot of emails fro ReviewBoard - for example, Requester1 adds
Revieer1 and Reviewer2  as reviewers. When Reviewer1 is publishing a
comments he is always copied in those emails. Is there a way we can
reduce the emails that are sent out (I believe a reviewer shouldn't be
copied on reviews he is doing, just the requester and other reviewers
should be sent emails).
In the admin-ui --> Email I have checked   "Send e-mails for review
requests and reviews"   and  "Send e-mails when new users register an
account" .

Any suggestions/ideas?

Thanks in advance for your time.

-- 
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


Re: Emails not sent when publishing review request from webapi

2010-09-02 Thread RShelley
We switched from having to authenticate to the SMTP gateway (gmail) to
an internal SMTP gateway that doesn't require it.  Gmail didn't need
an email address for the user because it was able to pull it from the
authenticating user.  The internal SMTP gateway is open, so without
one it doesn't know how to route it properly.  Reviewboard was
probably sending it successfully, but our gateway was dropping it.
PEBCAK

-Ryan

On Sep 2, 11:55 am, Christian Hammond  wrote:
> Glad that's all it was! That makes a lot more sense :)
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
> On Thu, Sep 2, 2010 at 9:29 AM, RShelley <12gaugeme...@gmail.com> wrote:
> > Gah! Ok... I found the problem, and it's pretty silly on my part.  The
> > account I was posting/publishing the review requests from did not have
> > an email address.  Problem solved.
>
> > -Ryan
>
> > On Sep 2, 9:20 am, RShelley <12gaugeme...@gmail.com> wrote:
> > > I have narrowed this down further.
>
> > > I created a "service" account in Reviewboard for post-review to create
> > > Review Requests via the webapi.  That service account is conveniently
> > > called "post-review."  If I create a Review Request from post-review
> > > (the CLI) and NOT publish it, then go to RB, login as "post-review"
> > > and execute the webapi URL to publish the Review Request, it will be
> > > published but emails will NOT be sent out.  However, if I create the
> > > Review Request from the CLI and not publish it (same as before), then
> > > login to RB as MY account (not "post-review") and execute the webapi
> > > call to publish, the emails ARE sent out.  This is curious because
> > > I've tried setting "post-review" as a Superuser, and still no emails
> > > were sent.
>
> > > Any ideas?
>
> > > -Ryan
>
> > > On Sep 1, 6:31 pm, RShelley <12gaugeme...@gmail.com> wrote:
>
> > > > This has me pretty baffled.  I wrote a Java API awhile ago to publish
> > > > a review request, among other things.  The API does in fact publish
> > > > the request (it's visible to users, and is no longer in draft mode),
> > > > however, emails are not being sent to the groups and reviewers on the
> > > > request.  If I post a Review to a Review Request, the emails send just
> > > > fine.
>
> > > > The strange thing is, if I use the "--publish" command of post-review,
> > > > it works fine and emails are sent.  I looked at the source code for
> > > > post-review and the webapi URL in there is the same as what I'm using
> > > > ("/api/json/reviewrequests//publish/", POST, no fields).  If I put
> > > > the publish URL into my browser and do it, it also works.  I double
> > > > checked that my "publish" call is a POST, and that I am logging in via
> > > > the webapi (I imagine the publish would fail if I wasn't).  I looked
> > > > at the source for reviewboard itself, and there's nothing I can see
> > > > out of the ordinary for sending the emails.  The account I'm
> > > > publishing with I've even set to superuser just in case there was a
> > > > permission issue, and that didn't solve it either.  I have also
> > > > verified that the groups/reviewers are added BEFORE the publish call
> > > > is made.  If I leave it as is, published, and re-run it to republish
> > > > it, emails are still never sent out to the groups and reviewers (so I
> > > > don't think it's something to do with things not being saved timely
> > > > enough) - and in fact, the Review Request will be updated and
> > > > republished with the diffs from the original publish (sans emails).
>
> > > > The RB logs show no errors.  Frustratingly, this was working until a
> > > > recent power outage had us restart all our servers... and that really
> > > > makes no sense.
>
> > > > I'm at a loss at this point.  I'm not sure what to try next or where
> > > > to look.  Anyone have any ideas?
>
> > > > We're on RB 1.5
>
> > > > Thanks!
>
> > > > -Ryan
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~--~~~~--~~--~--~---
> > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com > oups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/reviewboard?hl=en

-- 
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


Re: Emails not sent when publishing review request from webapi

2010-09-02 Thread Christian Hammond
Glad that's all it was! That makes a lot more sense :)

Christian

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


On Thu, Sep 2, 2010 at 9:29 AM, RShelley <12gaugeme...@gmail.com> wrote:

> Gah! Ok... I found the problem, and it's pretty silly on my part.  The
> account I was posting/publishing the review requests from did not have
> an email address.  Problem solved.
>
> -Ryan
>
> On Sep 2, 9:20 am, RShelley <12gaugeme...@gmail.com> wrote:
> > I have narrowed this down further.
> >
> > I created a "service" account in Reviewboard for post-review to create
> > Review Requests via the webapi.  That service account is conveniently
> > called "post-review."  If I create a Review Request from post-review
> > (the CLI) and NOT publish it, then go to RB, login as "post-review"
> > and execute the webapi URL to publish the Review Request, it will be
> > published but emails will NOT be sent out.  However, if I create the
> > Review Request from the CLI and not publish it (same as before), then
> > login to RB as MY account (not "post-review") and execute the webapi
> > call to publish, the emails ARE sent out.  This is curious because
> > I've tried setting "post-review" as a Superuser, and still no emails
> > were sent.
> >
> > Any ideas?
> >
> > -Ryan
> >
> > On Sep 1, 6:31 pm, RShelley <12gaugeme...@gmail.com> wrote:
> >
> >
> >
> > > This has me pretty baffled.  I wrote a Java API awhile ago to publish
> > > a review request, among other things.  The API does in fact publish
> > > the request (it's visible to users, and is no longer in draft mode),
> > > however, emails are not being sent to the groups and reviewers on the
> > > request.  If I post a Review to a Review Request, the emails send just
> > > fine.
> >
> > > The strange thing is, if I use the "--publish" command of post-review,
> > > it works fine and emails are sent.  I looked at the source code for
> > > post-review and the webapi URL in there is the same as what I'm using
> > > ("/api/json/reviewrequests//publish/", POST, no fields).  If I put
> > > the publish URL into my browser and do it, it also works.  I double
> > > checked that my "publish" call is a POST, and that I am logging in via
> > > the webapi (I imagine the publish would fail if I wasn't).  I looked
> > > at the source for reviewboard itself, and there's nothing I can see
> > > out of the ordinary for sending the emails.  The account I'm
> > > publishing with I've even set to superuser just in case there was a
> > > permission issue, and that didn't solve it either.  I have also
> > > verified that the groups/reviewers are added BEFORE the publish call
> > > is made.  If I leave it as is, published, and re-run it to republish
> > > it, emails are still never sent out to the groups and reviewers (so I
> > > don't think it's something to do with things not being saved timely
> > > enough) - and in fact, the Review Request will be updated and
> > > republished with the diffs from the original publish (sans emails).
> >
> > > The RB logs show no errors.  Frustratingly, this was working until a
> > > recent power outage had us restart all our servers... and that really
> > > makes no sense.
> >
> > > I'm at a loss at this point.  I'm not sure what to try next or where
> > > to look.  Anyone have any ideas?
> >
> > > We're on RB 1.5
> >
> > > Thanks!
> >
> > > -Ryan
>
> --
> 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
>

-- 
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

Re: Emails not sent when publishing review request from webapi

2010-09-02 Thread RShelley
Gah! Ok... I found the problem, and it's pretty silly on my part.  The
account I was posting/publishing the review requests from did not have
an email address.  Problem solved.

-Ryan

On Sep 2, 9:20 am, RShelley <12gaugeme...@gmail.com> wrote:
> I have narrowed this down further.
>
> I created a "service" account in Reviewboard for post-review to create
> Review Requests via the webapi.  That service account is conveniently
> called "post-review."  If I create a Review Request from post-review
> (the CLI) and NOT publish it, then go to RB, login as "post-review"
> and execute the webapi URL to publish the Review Request, it will be
> published but emails will NOT be sent out.  However, if I create the
> Review Request from the CLI and not publish it (same as before), then
> login to RB as MY account (not "post-review") and execute the webapi
> call to publish, the emails ARE sent out.  This is curious because
> I've tried setting "post-review" as a Superuser, and still no emails
> were sent.
>
> Any ideas?
>
> -Ryan
>
> On Sep 1, 6:31 pm, RShelley <12gaugeme...@gmail.com> wrote:
>
>
>
> > This has me pretty baffled.  I wrote a Java API awhile ago to publish
> > a review request, among other things.  The API does in fact publish
> > the request (it's visible to users, and is no longer in draft mode),
> > however, emails are not being sent to the groups and reviewers on the
> > request.  If I post a Review to a Review Request, the emails send just
> > fine.
>
> > The strange thing is, if I use the "--publish" command of post-review,
> > it works fine and emails are sent.  I looked at the source code for
> > post-review and the webapi URL in there is the same as what I'm using
> > ("/api/json/reviewrequests//publish/", POST, no fields).  If I put
> > the publish URL into my browser and do it, it also works.  I double
> > checked that my "publish" call is a POST, and that I am logging in via
> > the webapi (I imagine the publish would fail if I wasn't).  I looked
> > at the source for reviewboard itself, and there's nothing I can see
> > out of the ordinary for sending the emails.  The account I'm
> > publishing with I've even set to superuser just in case there was a
> > permission issue, and that didn't solve it either.  I have also
> > verified that the groups/reviewers are added BEFORE the publish call
> > is made.  If I leave it as is, published, and re-run it to republish
> > it, emails are still never sent out to the groups and reviewers (so I
> > don't think it's something to do with things not being saved timely
> > enough) - and in fact, the Review Request will be updated and
> > republished with the diffs from the original publish (sans emails).
>
> > The RB logs show no errors.  Frustratingly, this was working until a
> > recent power outage had us restart all our servers... and that really
> > makes no sense.
>
> > I'm at a loss at this point.  I'm not sure what to try next or where
> > to look.  Anyone have any ideas?
>
> > We're on RB 1.5
>
> > Thanks!
>
> > -Ryan

-- 
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


Re: Emails not sent when publishing review request from webapi

2010-09-02 Thread RShelley
I have narrowed this down further.

I created a "service" account in Reviewboard for post-review to create
Review Requests via the webapi.  That service account is conveniently
called "post-review."  If I create a Review Request from post-review
(the CLI) and NOT publish it, then go to RB, login as "post-review"
and execute the webapi URL to publish the Review Request, it will be
published but emails will NOT be sent out.  However, if I create the
Review Request from the CLI and not publish it (same as before), then
login to RB as MY account (not "post-review") and execute the webapi
call to publish, the emails ARE sent out.  This is curious because
I've tried setting "post-review" as a Superuser, and still no emails
were sent.

Any ideas?

-Ryan

On Sep 1, 6:31 pm, RShelley <12gaugeme...@gmail.com> wrote:
> This has me pretty baffled.  I wrote a Java API awhile ago to publish
> a review request, among other things.  The API does in fact publish
> the request (it's visible to users, and is no longer in draft mode),
> however, emails are not being sent to the groups and reviewers on the
> request.  If I post a Review to a Review Request, the emails send just
> fine.
>
> The strange thing is, if I use the "--publish" command of post-review,
> it works fine and emails are sent.  I looked at the source code for
> post-review and the webapi URL in there is the same as what I'm using
> ("/api/json/reviewrequests//publish/", POST, no fields).  If I put
> the publish URL into my browser and do it, it also works.  I double
> checked that my "publish" call is a POST, and that I am logging in via
> the webapi (I imagine the publish would fail if I wasn't).  I looked
> at the source for reviewboard itself, and there's nothing I can see
> out of the ordinary for sending the emails.  The account I'm
> publishing with I've even set to superuser just in case there was a
> permission issue, and that didn't solve it either.  I have also
> verified that the groups/reviewers are added BEFORE the publish call
> is made.  If I leave it as is, published, and re-run it to republish
> it, emails are still never sent out to the groups and reviewers (so I
> don't think it's something to do with things not being saved timely
> enough) - and in fact, the Review Request will be updated and
> republished with the diffs from the original publish (sans emails).
>
> The RB logs show no errors.  Frustratingly, this was working until a
> recent power outage had us restart all our servers... and that really
> makes no sense.
>
> I'm at a loss at this point.  I'm not sure what to try next or where
> to look.  Anyone have any ideas?
>
> We're on RB 1.5
>
> Thanks!
>
> -Ryan

-- 
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


Emails not sent when publishing review request from webapi

2010-09-01 Thread RShelley
This has me pretty baffled.  I wrote a Java API awhile ago to publish
a review request, among other things.  The API does in fact publish
the request (it's visible to users, and is no longer in draft mode),
however, emails are not being sent to the groups and reviewers on the
request.  If I post a Review to a Review Request, the emails send just
fine.

The strange thing is, if I use the "--publish" command of post-review,
it works fine and emails are sent.  I looked at the source code for
post-review and the webapi URL in there is the same as what I'm using
("/api/json/reviewrequests//publish/", POST, no fields).  If I put
the publish URL into my browser and do it, it also works.  I double
checked that my "publish" call is a POST, and that I am logging in via
the webapi (I imagine the publish would fail if I wasn't).  I looked
at the source for reviewboard itself, and there's nothing I can see
out of the ordinary for sending the emails.  The account I'm
publishing with I've even set to superuser just in case there was a
permission issue, and that didn't solve it either.  I have also
verified that the groups/reviewers are added BEFORE the publish call
is made.  If I leave it as is, published, and re-run it to republish
it, emails are still never sent out to the groups and reviewers (so I
don't think it's something to do with things not being saved timely
enough) - and in fact, the Review Request will be updated and
republished with the diffs from the original publish (sans emails).

The RB logs show no errors.  Frustratingly, this was working until a
recent power outage had us restart all our servers... and that really
makes no sense.

I'm at a loss at this point.  I'm not sure what to try next or where
to look.  Anyone have any ideas?

We're on RB 1.5

Thanks!

-Ryan

-- 
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


Re: The server address as sent by notification emails

2010-05-23 Thread Christian Hammond
Hi,

You can go into the administration interface -> Settings and add a port to
the domain. It'll then be used for the e-mails.

Christian

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


On Sun, May 23, 2010 at 11:00 PM, nadav  wrote:

> Hi,
>
> Our Review Board instance is served from an apache host on post 81.
> However, the emails are sent with links without port (hence port 80).
> Is there a way to modify it that I missed?
>
> Thanks!
>
> --
> 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

-- 
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

The server address as sent by notification emails

2010-05-23 Thread nadav
Hi,

Our Review Board instance is served from an apache host on post 81.
However, the emails are sent with links without port (hence port 80).
Is there a way to modify it that I missed?

Thanks!

-- 
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


Re: How to get reviewboard to send emails on each comment

2010-04-15 Thread Christian Hammond
They should be sent for reviews as well. You're not seeing e-mails when
publishing a review?

Christian

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


On Thu, Apr 15, 2010 at 1:39 PM, Ivan Hamer  wrote:

>
>  Currently, only emails for the review requests are sent out. I use
> postreview.py to submit reviews.
>
> --
> 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
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
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

How to get reviewboard to send emails on each comment

2010-04-15 Thread Ivan Hamer

  Currently, only emails for the review requests are sent out. I use
postreview.py to submit reviews.

-- 
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

To unsubscribe, reply using "remove me" as the subject.


Re: How to confiure EMAILS for Reviews

2009-12-01 Thread Jim Priest
On Nov 6, 9:40 am, zinou  wrote:
> Hello,
>
> i've installed reviewboard 1.0.5 and i configuredsmtpserver
> correctly and checked "Send e-mails for review requests and reviews",
> the problem is when i post a new reveiew or comment, i got an error
> due to enability to send emails to reviewers, i know this because i

I ran into this same email (using our Exchange server as the SMTP
server)

On the mail settings page it asks for server, port, username and
password.  I had entered my username and password there and had the
same behaviour you do - error messages would go out but I'd get 500
error messages.

Taking my username/password out of the mail settings seems to have
fixed things for me.

Jim

-- 
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


Anyone seeing multiple emails from ReviewBoard

2009-11-16 Thread Chris Clark

I've a report from _some_ users that they are seeing multiple emails 
being sent from Reviewboard.

The scenario is this:

   1. postreview used to create/publish new review
   2. review comments posted by reviewer, "this code sucks change it... etc"
   3. postreview used to post new diffs, post review _may_ be passing in
  the same description and testing content
   4. ?
   5. Review is published
   6. Reviewboard mails out original diffs but marks the "Change
  Description" and "Testing" sections are marked as "(updated)"
  (although the section text is the same in the email)
   7. Reviewboard mails new diffs


I'm a little hazy on steps 3 and 4, I believe step 5 is via the web 
site. I've implemented a debug version of postreview to get to the 
bottom of exactly what is done client side (essentially a hard coded 
DEBUG=True). At this stage I'm inclined to believe this is NOT a 
Reviewboard issue but I wanted  to see if anyone else was seeing this 
intermittently?

Thanks!

Chris


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to confiure EMAILS for Reviews

2009-11-11 Thread Christian Hammond
It's hard to say. This depends entirely on your mail server and its
configuration. This isn't really something we can just answer, only guess.

You may want to make sure that you don't have a username/password set for
the mail configuration when you save it (as it looks like that's the error
you're seeing). The browser may have filled in these fields based on your
Review Board log in, due to the field names.

Christian

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


On Fri, Nov 6, 2009 at 6:40 AM, zinou  wrote:

>
> Hello,
>
> i've installed reviewboard 1.0.5 and i configured smtp server
> correctly and checked "Send e-mails for review requests and reviews",
> the problem is when i post a new reveiew or comment, i got an error
> due to enability to send emails to reviewers, i know this because i
> received emails with the trace back (see bellow) on admin email
> address configured when i ve create site with the command rb-site
> install .., is it normal that review board can send an email to the
> administrator of website but not to the reviewers with the same smtp
> configuration?
>
> Traceback (most recent call last):
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/core/handlers/base.py", line 92, in get_response
>response = callback(request, *callback_args, **callback_kwargs)
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/views/decorators/cache.py", line 44, in _wrapped_view_func
>response = view_func(request, *args, **kwargs)
>
>  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5.5-py2.6.egg/
> djblets/webapi/decorators.py", line 59, in _checklogin
>response = view_func(request, *args, **kwargs)
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/views/decorators/http.py", line 37, in inner
>return func(request, *args, **kwargs)
>
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
> py2.6.egg/reviewboard/webapi/json.py", line 1124, in
> review_reply_draft_save
>mail_reply(request.user, reply)
>
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
> py2.6.egg/reviewboard/reviews/email.py", line 228, in mail_reply
>'reply': reply})
>
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.5.1-
> py2.6.egg/reviewboard/reviews/email.py", line 114, in send_review_mail
>message.send()
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/core/mail.py", line 266, in send
>return self.get_connection(fail_silently).send_messages([self])
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/core/mail.py", line 166, in send_messages
>new_conn_created = self.open()
>
>  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/
> django/core/mail.py", line 137, in open
>self.connection.login(self.username, self.password)
>
>  File "/usr/lib/python2.6/smtplib.py", line 552, in login
>raise SMTPException("SMTP AUTH extension not supported by
> server.")
>
> SMTPException: SMTP AUTH extension not supported by server.
>
>
>  path:/reviewboard/api/json/reviewrequests/1/reviews/1/replies/draft/
> save/,
> GET:,
> POST:,
> COOKIES:{'collapsediffs': 'True', 'rbsessionid':
> '087493a678a90e58933a60ff74047f9d'},
> META:{'AUTH_TYPE': None,
>  'CONTENT_LENGTH': '6',
>  'CONTENT_TYPE': 'application/x-www-form-urlencoded',
>  'GATEWAY_INTERFACE': 'CGI/1.1',
>  'HTTP_ACCEPT': 'application/json, text/javascript, */*',
>  'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
>  'HTTP_ACCEPT_LANGUAGE': 'fr',
>  'HTTP_CACHE_CONTROL': 'no-cache',
>  'HTTP_CONNECTION': 'Keep-Alive',
>  'HTTP_CONTENT_LENGTH': '6',
>  'HTTP_CONTENT_TYPE': 'application/x-www-form-urlencoded',
>  'HTTP_COOKIE': 'rbsessionid=087493a678a90e58933a60ff74047f9d;
> collapsediffs=True',
>  'HTTP_HOST': '192.168.52.128',
>  'HTTP_REFERER': 'http://192.168.52.128/reviewboard/r/1/',
>  'HTTP_UA_CPU': 'x86',
>  'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
> 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)',
>  'HTTP_X_REQUESTED

Re: How to confiure EMAILS for Reviews

2009-11-04 Thread Christian Hammond
Sounds like you specified a username/password for the mail server, but the
mail server doesn't support authentication.

Christian

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


On Wed, Nov 4, 2009 at 9:20 AM, Kunjal  wrote:

>
> THANKS...It started working now.
>
> One issue I see is this
>
> For the existing review, If I add more people and click on Publish
> changes, I get below error.
> What is this regarding?
>
> SMTPException at /api/json/reviewrequests/9/publish/
> SMTP AUTH extension not supported by server.Request Method: POST
> Request URL:
> http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/9/publish/
> Exception Type: SMTPException
> Exception Value: SMTP AUTH extension not supported by server.
> Exception Location: /opt/lampp/lib/python2.5/smtplib.py in login, line
> 554
> Python Executable: /tools/bin/python
> Python Version: 2.5.2
> Python Path: ['/opt/lampp/htdocs/reviewboard/conf', '/opt/lampp/lib/
> python2.5/site-packages/django', '/opt/lampp/lib/python2.5/site-
> packages/reviewboard', '/opt/lampp/lib/python2.5/site-packages/
> MySQL_python-1.2.2-py2.5-linux-i686.egg', '/opt/lampp/lib/python2.5/
> site-packages/setuptools-0.6c9-py2.5.egg', '/opt/lampp/lib/python2.5/
> site-packages/ReviewBoard-1.0.3.1-py2.5.egg', '/opt/lampp/lib/
> python2.5/site-packages/pytz-2009l-py2.5.egg', '/opt/lampp/lib/
> python2.5/site-packages/flup-1.0.3.dev_20090716-py2.5.egg', '/opt/
> lampp/lib/python2.5/site-packages/Pygments-1.1.1-py2.5.egg', '/opt/
> lampp/lib/python2.5/site-packages/Djblets-0.5.3-py2.5.egg', '/opt/
> lampp/lib/python2.5/site-packages/django_evolution-0.0.0-py2.5.egg', '/
> opt/lampp/lib/python2.5/site-packages/Django-1.1-py2.5.egg', '/opt/
> lampp/lib/python2.5/site-packages/PIL-1.1.6-py2.5-linux-i686.egg', '/
> opt/lampp/lib/python2.5/site-packages/RBTools-0.2beta2-py2.5.egg', '/
> opt/lampp/lib/python2.5/site-packages/simplejson-2.0.9-py2.5-linux-
> i686.egg', '/opt/lampp/lib/python2.5/site-packages/python_ldap-2.3.9-
> py2.5-linux-i686.egg', '/opt/lampp/lib/python25.zip', '/opt/lampp/lib/
> python2.5', '/opt/lampp/lib/python2.5/plat-linux2', '/opt/lampp/lib/
> python2.5/lib-tk', '/opt/lampp/lib/python2.5/lib-dynload', '/opt/lampp/
> lib/python2.5/site-packages']
> Server time: Wed, 4 Nov 2009 09:19:16 -0800
>
>
> On Nov 3, 11:20 pm, Christian Hammond  wrote:
> > What mail server do you use?
> >
> > Also, give this a try:
> >
> > rb-site manage /path/to/site shell
> >
> > At the prompt:
> >
> > from django.core.mail import send_mail
> > send_mail("Test Subject", "This is a test", "
> youraddr...@yourdomain.com",
> > ["youraddr...@yourdomain.com"], fail_silently=False)
> >
> > That *should* send an e-mail to the address you specify, using the e-mail
> > settings in Review Board. If that fails, hopefully you'll see why.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
> >
> >
> >
> > On Tue, Nov 3, 2009 at 5:04 PM, Kunjal  wrote:
> >
> > > Chris,
> >
> > > I have set the correct smtp host/port etc. but I still do not get
> > > email.
> > > Do I need to modify email.py file to get the email?
> >
> > > Thanks
> > > Kunjal
> >
> > > On Nov 2, 3:47 pm, Christian Hammond  wrote:
> > > > You should be able to configure that in the E-mail Settings part of
> the
> > > > Admin UI. If e-mail is not working correctly, then it's an issue
> talking
> > > to
> > > > the mail server.
> >
> > > > Unfortunately, going through Django's e-mail infrastructure means
> that we
> > > > don't get any detailed error logging. Assuming the mail server is
> under
> > > your
> > > > control, you may want to check your mail server logs if your e-mail
> is
> > > > enabled/configured properly and you're still not seeing anything.
> >
> > > > Christian
> >
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> > > > Review Board -http://www.reviewboard.org
> > > > VMware, Inc. -http://www.vmware.com
> >
> > > > On Mon, Nov 2, 2009 at 4:05 PM, K

Re: How to confiure EMAILS for Reviews

2009-11-04 Thread Kunjal

THANKS...It started working now.

One issue I see is this

For the existing review, If I add more people and click on Publish
changes, I get below error.
What is this regarding?

SMTPException at /api/json/reviewrequests/9/publish/
SMTP AUTH extension not supported by server.Request Method: POST
Request URL: 
http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/9/publish/
Exception Type: SMTPException
Exception Value: SMTP AUTH extension not supported by server.
Exception Location: /opt/lampp/lib/python2.5/smtplib.py in login, line
554
Python Executable: /tools/bin/python
Python Version: 2.5.2
Python Path: ['/opt/lampp/htdocs/reviewboard/conf', '/opt/lampp/lib/
python2.5/site-packages/django', '/opt/lampp/lib/python2.5/site-
packages/reviewboard', '/opt/lampp/lib/python2.5/site-packages/
MySQL_python-1.2.2-py2.5-linux-i686.egg', '/opt/lampp/lib/python2.5/
site-packages/setuptools-0.6c9-py2.5.egg', '/opt/lampp/lib/python2.5/
site-packages/ReviewBoard-1.0.3.1-py2.5.egg', '/opt/lampp/lib/
python2.5/site-packages/pytz-2009l-py2.5.egg', '/opt/lampp/lib/
python2.5/site-packages/flup-1.0.3.dev_20090716-py2.5.egg', '/opt/
lampp/lib/python2.5/site-packages/Pygments-1.1.1-py2.5.egg', '/opt/
lampp/lib/python2.5/site-packages/Djblets-0.5.3-py2.5.egg', '/opt/
lampp/lib/python2.5/site-packages/django_evolution-0.0.0-py2.5.egg', '/
opt/lampp/lib/python2.5/site-packages/Django-1.1-py2.5.egg', '/opt/
lampp/lib/python2.5/site-packages/PIL-1.1.6-py2.5-linux-i686.egg', '/
opt/lampp/lib/python2.5/site-packages/RBTools-0.2beta2-py2.5.egg', '/
opt/lampp/lib/python2.5/site-packages/simplejson-2.0.9-py2.5-linux-
i686.egg', '/opt/lampp/lib/python2.5/site-packages/python_ldap-2.3.9-
py2.5-linux-i686.egg', '/opt/lampp/lib/python25.zip', '/opt/lampp/lib/
python2.5', '/opt/lampp/lib/python2.5/plat-linux2', '/opt/lampp/lib/
python2.5/lib-tk', '/opt/lampp/lib/python2.5/lib-dynload', '/opt/lampp/
lib/python2.5/site-packages']
Server time: Wed, 4 Nov 2009 09:19:16 -0800


On Nov 3, 11:20 pm, Christian Hammond  wrote:
> What mail server do you use?
>
> Also, give this a try:
>
>     rb-site manage /path/to/site shell
>
> At the prompt:
>
>     from django.core.mail import send_mail
>     send_mail("Test Subject", "This is a test", "youraddr...@yourdomain.com",
> ["youraddr...@yourdomain.com"], fail_silently=False)
>
> That *should* send an e-mail to the address you specify, using the e-mail
> settings in Review Board. If that fails, hopefully you'll see why.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
> On Tue, Nov 3, 2009 at 5:04 PM, Kunjal  wrote:
>
> > Chris,
>
> > I have set the correct smtp host/port etc. but I still do not get
> > email.
> > Do I need to modify email.py file to get the email?
>
> > Thanks
> > Kunjal
>
> > On Nov 2, 3:47 pm, Christian Hammond  wrote:
> > > You should be able to configure that in the E-mail Settings part of the
> > > Admin UI. If e-mail is not working correctly, then it's an issue talking
> > to
> > > the mail server.
>
> > > Unfortunately, going through Django's e-mail infrastructure means that we
> > > don't get any detailed error logging. Assuming the mail server is under
> > your
> > > control, you may want to check your mail server logs if your e-mail is
> > > enabled/configured properly and you're still not seeing anything.
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
>
> > > On Mon, Nov 2, 2009 at 4:05 PM, Kunjal  wrote:
>
> > > > We have RB 1.0.3 with Perforce integration.
> > > > We have set up Apache server and everything works fine like posting
> > > > review, publshing review, updating diff etc.
> > > > We do not get any emails though once the review is posted etc.
> > > > how to configure email settings?
>
> > > > Thanks
> > > > Kunjal
>
> > > > > 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
> > > > -~--~~~~--~~--~--~ Hide quoted text
> > -
>
> > &g

Re: How to confiure EMAILS for Reviews

2009-11-03 Thread Christian Hammond
What mail server do you use?

Also, give this a try:

rb-site manage /path/to/site shell

At the prompt:

from django.core.mail import send_mail
send_mail("Test Subject", "This is a test", "youraddr...@yourdomain.com",
["youraddr...@yourdomain.com"], fail_silently=False)

That *should* send an e-mail to the address you specify, using the e-mail
settings in Review Board. If that fails, hopefully you'll see why.

Christian

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


On Tue, Nov 3, 2009 at 5:04 PM, Kunjal  wrote:

>
> Chris,
>
> I have set the correct smtp host/port etc. but I still do not get
> email.
> Do I need to modify email.py file to get the email?
>
> Thanks
> Kunjal
>
>
> On Nov 2, 3:47 pm, Christian Hammond  wrote:
> > You should be able to configure that in the E-mail Settings part of the
> > Admin UI. If e-mail is not working correctly, then it's an issue talking
> to
> > the mail server.
> >
> > Unfortunately, going through Django's e-mail infrastructure means that we
> > don't get any detailed error logging. Assuming the mail server is under
> your
> > control, you may want to check your mail server logs if your e-mail is
> > enabled/configured properly and you're still not seeing anything.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
> >
> >
> >
> > On Mon, Nov 2, 2009 at 4:05 PM, Kunjal  wrote:
> >
> > > We have RB 1.0.3 with Perforce integration.
> > > We have set up Apache server and everything works fine like posting
> > > review, publshing review, updating diff etc.
> > > We do not get any emails though once the review is posted etc.
> > > how to configure email settings?
> >
> > > Thanks
> > > Kunjal
> >
> > > > 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
> > > -~--~~~~--~~--~--~ Hide quoted text
> -
> >
> > - Show quoted text -
> > 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
> -~--~~~~--~~--~--~---
>
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to confiure EMAILS for Reviews

2009-11-03 Thread Kunjal

Chris,

I have set the correct smtp host/port etc. but I still do not get
email.
Do I need to modify email.py file to get the email?

Thanks
Kunjal


On Nov 2, 3:47 pm, Christian Hammond  wrote:
> You should be able to configure that in the E-mail Settings part of the
> Admin UI. If e-mail is not working correctly, then it's an issue talking to
> the mail server.
>
> Unfortunately, going through Django's e-mail infrastructure means that we
> don't get any detailed error logging. Assuming the mail server is under your
> control, you may want to check your mail server logs if your e-mail is
> enabled/configured properly and you're still not seeing anything.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
> On Mon, Nov 2, 2009 at 4:05 PM, Kunjal  wrote:
>
> > We have RB 1.0.3 with Perforce integration.
> > We have set up Apache server and everything works fine like posting
> > review, publshing review, updating diff etc.
> > We do not get any emails though once the review is posted etc.
> > how to configure email settings?
>
> > Thanks
> > Kunjal
>
> > > 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
> > -~--~~~~--~~--~--~ Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to confiure EMAILS for Reviews

2009-11-02 Thread Christian Hammond
You should be able to configure that in the E-mail Settings part of the
Admin UI. If e-mail is not working correctly, then it's an issue talking to
the mail server.

Unfortunately, going through Django's e-mail infrastructure means that we
don't get any detailed error logging. Assuming the mail server is under your
control, you may want to check your mail server logs if your e-mail is
enabled/configured properly and you're still not seeing anything.

Christian

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


On Mon, Nov 2, 2009 at 4:05 PM, Kunjal  wrote:

>
> We have RB 1.0.3 with Perforce integration.
> We have set up Apache server and everything works fine like posting
> review, publshing review, updating diff etc.
> We do not get any emails though once the review is posted etc.
> how to configure email settings?
>
> Thanks
> Kunjal
>
> > 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
> -~--~~~~--~~--~--~---
>
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



How to confiure EMAILS for Reviews

2009-11-02 Thread Kunjal

We have RB 1.0.3 with Perforce integration.
We have set up Apache server and everything works fine like posting
review, publshing review, updating diff etc.
We do not get any emails though once the review is posted etc.
how to configure email settings?

Thanks
Kunjal

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Controlling emails

2009-06-21 Thread Raghu

Thanks Christian.

I found a number of bugs open for this. I am looking forward to see
this implemented in future,
If I get some time I can contribute some code too.

Unfortunately, we are not using mailing lists. So that option is ruled
out. However
I found that the e-mails are template based and I can change the
template to somewhat
reduce the content of the e-mails. I understand that I'll have patch
it every time I upgrade
but that's not a big deal.

Thanks,
Raghu

On Jun 17, 11:02 pm, Christian Hammond  wrote:
> There's a bug open for this somewhere. There are plans to improve the e-mail
> support and allow for customizing this to an extent down the road.
>
> Are you using mailing lists for reviews? In general, this gives users a lot
> more options as to whether they'll see the e-mails at all (unless you're
> directly on the reviewer list, or it's your review request, or you reviewed
> it, but those will be customizable down the road).
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.review-board.org
> VMware, Inc. -http://www.vmware.com
>
> On Wed, Jun 17, 2009 at 8:46 AM, Raghu  wrote:
>
> > Hi,
>
> > We have been running review board in our organization on a trial basis
> > for sometime now. So far the feedback has been very positive. However
> > one comment that I often heard was about the e-mail "spam". Users get
> > too many e-mails with too much content.
>
> > Is there a way to control what e-mails a user receives. For e.g., I
> > want to get only "Ship It" mails.
> > Also can we control the content of the e-mail? Is that a template
> > based e-mail?
>
> > If this cannot be done (without too much customization), are there
> > plans to support this in future? May be along with extensions?
>
> > Thanks,
> > Raghu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Controlling emails

2009-06-17 Thread Christian Hammond
There's a bug open for this somewhere. There are plans to improve the e-mail
support and allow for customizing this to an extent down the road.

Are you using mailing lists for reviews? In general, this gives users a lot
more options as to whether they'll see the e-mails at all (unless you're
directly on the reviewer list, or it's your review request, or you reviewed
it, but those will be customizable down the road).

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Wed, Jun 17, 2009 at 8:46 AM, Raghu  wrote:

>
> Hi,
>
> We have been running review board in our organization on a trial basis
> for sometime now. So far the feedback has been very positive. However
> one comment that I often heard was about the e-mail "spam". Users get
> too many e-mails with too much content.
>
> Is there a way to control what e-mails a user receives. For e.g., I
> want to get only "Ship It" mails.
> Also can we control the content of the e-mail? Is that a template
> based e-mail?
>
> If this cannot be done (without too much customization), are there
> plans to support this in future? May be along with extensions?
>
> Thanks,
> Raghu
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



Controlling emails

2009-06-17 Thread Raghu

Hi,

We have been running review board in our organization on a trial basis
for sometime now. So far the feedback has been very positive. However
one comment that I often heard was about the e-mail "spam". Users get
too many e-mails with too much content.

Is there a way to control what e-mails a user receives. For e.g., I
want to get only "Ship It" mails.
Also can we control the content of the e-mail? Is that a template
based e-mail?

If this cannot be done (without too much customization), are there
plans to support this in future? May be along with extensions?

Thanks,
Raghu

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Using rss feeds instead of emails

2009-06-04 Thread Christian Hammond
It's possible to do. Someone would need to write that code. I would see it
as being pretty much an RSS view of the review request page.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Thu, Jun 4, 2009 at 11:11 AM, Vesterbaek  wrote:

>
> As an alternative to sending out emails, which we are discussing in
> another thered, I'd like to give this post a bump. Any inputs,
> thoughts?
>
> -- Jeppe
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Using rss feeds instead of emails

2009-06-04 Thread Vesterbaek

As an alternative to sending out emails, which we are discussing in
another thered, I'd like to give this post a bump. Any inputs,
thoughts?

-- Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Sending review emails and peculiar error

2009-05-13 Thread Ritesh Nadhani

Just as an update I was able to finally figure out the issue.

So my thunderbird is configured to use SSL/TLS on port 465 (I must
have put this values looking into GMail docs). Putting the same value
in RB gave me error as you know. Doing more research I found out:
http://sial.org/howto/openssl/tls-name/ and
http://kutuma.blogspot.com/2007/08/sending-emails-via-gmail-with-python.html.

So looks like we might be using starttls. Thus just changing the port
to 587 and everything now works.

On Sat, Apr 25, 2009 at 1:39 PM, Christian Hammond  wrote:
> Hmm, I don't know. Perhaps GMail is doing some kind of sender verification,
> and that's preventing the e-mails from being sent. Unless your internal
> e-mail addresses can't be reached from an external server. You may just need
> a local SMTP server.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.review-board.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Fri, Apr 24, 2009 at 12:22 PM, Ritesh Nadhani  wrote:
>>
>> Alright, finally I got some more time off work to review it.
>>
>> Not sure what is the problem. If I give incorrect SMTP details,
>> reviewboard fails with the exception:
>>
>> Traceback:
>> File
>> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/handlers/base.py"
>> in get_response
>>  86.                 response = callback(request, *callback_args,
>> **callback_kwargs)
>> File
>> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/views/decorators/cache.py"
>> in _wrapped_view_func
>>  44.         response = view_func(request, *args, **kwargs)
>> File
>> "/usr/lib/python2.5/site-packages/Djblets-0.5beta1-py2.5.egg/djblets/webapi/decorators.py"
>> in _checklogin
>>  32.             response = view_func(request, *args, **kwargs)
>> File
>> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/webapi/json.py"
>> in review_request_publish
>>  493.         review_request.publish(request.user)
>> File
>> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/reviews/models.py"
>> in publish
>>  458.             mail_review_request(user, self, changes)
>> File
>> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/reviews/email.py"
>> in mail_review_request
>>  184.                          extra_context)
>> File
>> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/reviews/email.py"
>> in send_review_mail
>>  114.     message.send()
>> File
>> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/mail.py"
>> in send
>>  271.         return
>> self.get_connection(fail_silently).send_messages([self])
>> File
>> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/mail.py"
>> in send_messages
>>  166.         new_conn_created = self.open()
>> File
>> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/mail.py"
>> in open
>>  131.
>> local_hostname=DNS_NAME.get_fqdn())
>> File "/usr/lib/python2.5/smtplib.py" in __init__
>>  244.             (code, msg) = self.connect(host, port)
>> File "/usr/lib/python2.5/smtplib.py" in connect
>>  310.             raise socket.error, msg
>>
>> Exception Type: error at /api/json/reviewrequests/8/publish/
>> Exception Value: (111, 'Connection refused')
>>
>> So that means the mailing module is being called.
>>
>> When I give right details, it just succeeds without any error...but
>> the mail is never delivered?
>>
>> On Tue, Apr 14, 2009 at 2:06 PM, Ritesh Nadhani  wrote:
>> > Thanks Christian for all the inputs.
>> >
>> > I will work on it this after work later today and will try to find out
>> > problems on my side. There has to be something stupid going on my side
>> > as I believe people have been using RB without any problem :)
>> >
>> > Yes, I can also try with an internal server. Will come back with
>> > feedback soon.
>> >
>> > On Tue, Apr 14, 2009 at 1:40 PM, Christian Hammond 
>> > wrote:
>> >> It looks like your configuration is set up to log server
>> >> connections/errors
>> >> to an SQL database, and it's not configured correctly. So that's what
>> >> most
>> >> of those errors are. I don't see anything in there that would tell

Re: Sending review emails and peculiar error

2009-04-25 Thread Christian Hammond
Hmm, I don't know. Perhaps GMail is doing some kind of sender verification,
and that's preventing the e-mails from being sent. Unless your internal
e-mail addresses can't be reached from an external server. You may just need
a local SMTP server.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Fri, Apr 24, 2009 at 12:22 PM, Ritesh Nadhani  wrote:

>
> Alright, finally I got some more time off work to review it.
>
> Not sure what is the problem. If I give incorrect SMTP details,
> reviewboard fails with the exception:
>
> Traceback:
> File
> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/handlers/base.py"
> in get_response
>  86. response = callback(request, *callback_args,
> **callback_kwargs)
> File
> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/views/decorators/cache.py"
> in _wrapped_view_func
>  44. response = view_func(request, *args, **kwargs)
> File
> "/usr/lib/python2.5/site-packages/Djblets-0.5beta1-py2.5.egg/djblets/webapi/decorators.py"
> in _checklogin
>  32. response = view_func(request, *args, **kwargs)
> File
> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/webapi/json.py"
> in review_request_publish
>  493. review_request.publish(request.user)
> File
> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/reviews/models.py"
> in publish
>  458. mail_review_request(user, self, changes)
> File
> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/reviews/email.py"
> in mail_review_request
>  184.  extra_context)
> File
> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/reviews/email.py"
> in send_review_mail
>  114. message.send()
> File
> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/mail.py"
> in send
>  271. return
> self.get_connection(fail_silently).send_messages([self])
> File
> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/mail.py"
> in send_messages
>  166. new_conn_created = self.open()
> File
> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/mail.py"
> in open
>  131.
> local_hostname=DNS_NAME.get_fqdn())
> File "/usr/lib/python2.5/smtplib.py" in __init__
>  244. (code, msg) = self.connect(host, port)
> File "/usr/lib/python2.5/smtplib.py" in connect
>  310. raise socket.error, msg
>
> Exception Type: error at /api/json/reviewrequests/8/publish/
> Exception Value: (111, 'Connection refused')
>
> So that means the mailing module is being called.
>
> When I give right details, it just succeeds without any error...but
> the mail is never delivered?
>
> On Tue, Apr 14, 2009 at 2:06 PM, Ritesh Nadhani  wrote:
> > Thanks Christian for all the inputs.
> >
> > I will work on it this after work later today and will try to find out
> > problems on my side. There has to be something stupid going on my side
> > as I believe people have been using RB without any problem :)
> >
> > Yes, I can also try with an internal server. Will come back with feedback
> soon.
> >
> > On Tue, Apr 14, 2009 at 1:40 PM, Christian Hammond 
> wrote:
> >> It looks like your configuration is set up to log server
> connections/errors
> >> to an SQL database, and it's not configured correctly. So that's what
> most
> >> of those errors are. I don't see anything in there that would tell us
> more
> >> here.
> >>
> >> Generally, if your e-mail address is set for the administrator contact
> info
> >> in General Settings, and DEBUG is False, you would receive an e-mail
> with
> >> the error info. But of course that implies that you have e-mail working
> :)
> >> The other method is to set DEBUG to True and then click the button on
> that
> >> error banner for seeing more info, but if the page is jumping away, that
> >> won't work so well.
> >>
> >> I don't have a working solution off-hand that I can recommend. I'll give
> it
> >> some thought.
> >>
> >> Is there another e-mail server you can use that's internal?
> >>
> >> Christian
> >>
> >> --
> >> Christian Hammond - chip...@chipx86.com
> >> Review Board - http://www.review-board.org
> >> VMware, Inc. - http://www.vmware.com
> >>
> >>
> >> On Tue, Apr 14, 2009 at 10:08 AM, Ritesh Nadhani 
> wrote:
> >>>
> >>> Hello
> >>>
> >>> On Mon, Apr 13, 2009 at 7:40 PM, Christian Hammond <
> chip...@chipx86.com>
> >>> wrote:
> >>> > The e-mail settings being lost sounds like an issue we just fixed in
> a
> >>> > nightly. If you set the e-mail settings and then restart your web
> >>> > server, do
> >>> > they still disappear?
> >>>
> >>> Interestingly no. I restarted Apache couple of times and it kept the
> >>> record. Though after submitting 3-4 times, it loses it. Probably,
> >>> fixed in the nightly.
> >>>
> >>> So how do I go abo

Re: Sending review emails and peculiar error

2009-04-24 Thread Ritesh Nadhani

Surprisingly though, I am able to send mails using Thunderbird and
same settings.

On Fri, Apr 24, 2009 at 12:22 PM, Ritesh Nadhani  wrote:
> Alright, finally I got some more time off work to review it.
>
> Not sure what is the problem. If I give incorrect SMTP details,
> reviewboard fails with the exception:
>
> Traceback:
> File 
> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/handlers/base.py"
> in get_response
>  86.                 response = callback(request, *callback_args,
> **callback_kwargs)
> File 
> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/views/decorators/cache.py"
> in _wrapped_view_func
>  44.         response = view_func(request, *args, **kwargs)
> File 
> "/usr/lib/python2.5/site-packages/Djblets-0.5beta1-py2.5.egg/djblets/webapi/decorators.py"
> in _checklogin
>  32.             response = view_func(request, *args, **kwargs)
> File 
> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/webapi/json.py"
> in review_request_publish
>  493.         review_request.publish(request.user)
> File 
> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/reviews/models.py"
> in publish
>  458.             mail_review_request(user, self, changes)
> File 
> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/reviews/email.py"
> in mail_review_request
>  184.                          extra_context)
> File 
> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-py2.5.egg/reviewboard/reviews/email.py"
> in send_review_mail
>  114.     message.send()
> File 
> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/mail.py"
> in send
>  271.         return self.get_connection(fail_silently).send_messages([self])
> File 
> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/mail.py"
> in send_messages
>  166.         new_conn_created = self.open()
> File 
> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/mail.py"
> in open
>  131.
> local_hostname=DNS_NAME.get_fqdn())
> File "/usr/lib/python2.5/smtplib.py" in __init__
>  244.             (code, msg) = self.connect(host, port)
> File "/usr/lib/python2.5/smtplib.py" in connect
>  310.             raise socket.error, msg
>
> Exception Type: error at /api/json/reviewrequests/8/publish/
> Exception Value: (111, 'Connection refused')
>
> So that means the mailing module is being called.
>
> When I give right details, it just succeeds without any error...but
> the mail is never delivered?
>
> On Tue, Apr 14, 2009 at 2:06 PM, Ritesh Nadhani  wrote:
>> Thanks Christian for all the inputs.
>>
>> I will work on it this after work later today and will try to find out
>> problems on my side. There has to be something stupid going on my side
>> as I believe people have been using RB without any problem :)
>>
>> Yes, I can also try with an internal server. Will come back with feedback 
>> soon.
>>
>> On Tue, Apr 14, 2009 at 1:40 PM, Christian Hammond  
>> wrote:
>>> It looks like your configuration is set up to log server connections/errors
>>> to an SQL database, and it's not configured correctly. So that's what most
>>> of those errors are. I don't see anything in there that would tell us more
>>> here.
>>>
>>> Generally, if your e-mail address is set for the administrator contact info
>>> in General Settings, and DEBUG is False, you would receive an e-mail with
>>> the error info. But of course that implies that you have e-mail working :)
>>> The other method is to set DEBUG to True and then click the button on that
>>> error banner for seeing more info, but if the page is jumping away, that
>>> won't work so well.
>>>
>>> I don't have a working solution off-hand that I can recommend. I'll give it
>>> some thought.
>>>
>>> Is there another e-mail server you can use that's internal?
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond - chip...@chipx86.com
>>> Review Board - http://www.review-board.org
>>> VMware, Inc. - http://www.vmware.com
>>>
>>>
>>> On Tue, Apr 14, 2009 at 10:08 AM, Ritesh Nadhani  wrote:

 Hello

 On Mon, Apr 13, 2009 at 7:40 PM, Christian Hammond 
 wrote:
 > The e-mail settings being lost sounds like an issue we just fixed in a
 > nightly. If you set the e-mail settings and then restart your web
 > server, do
 > they still disappear?

 Interestingly no. I restarted Apache couple of times and it kept the
 record. Though after submitting 3-4 times, it loses it. Probably,
 fixed in the nightly.

 So how do I go about testing it? Should I just get the SVN and do -
 sudo setup.py install or do I have to upgrade the site also?

 This is a test machine so I can play around with stuff.

 >
 > It's hard to say what's wrong with your e-mail settings. Can you check
 > your
 > web server's error log and see if there's any backtraces?
 >

 Hmm, for some reaso

  1   2   >