Re: Multiple reviewboard sites under single virtual host

2015-03-20 Thread shilpageo
modwsgi conf for trial site:

DocumentRoot E:/rbsites/trial/htdocs

# Error handlers
ErrorDocument 500 E:/rbsites/trial/rb2/htdocs/errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias /trial/reviewboard 
E:/rbsites/trial/htdocs/reviewboard.wsgi/trial/reviewboard
WSGIPythonPath 
E:/rbsites/trial;D:/virtual_envs/reviewboard_2_0_13/Lib/site-packages
Directory E:/rbsites/trial/htdocs
AllowOverride All
Options -Indexes +FollowSymLinks
Allow from all
/Directory

# Prevent the server from processing or allowing the rendering of
# certain file types.
Location /trial/reviewboard/media/uploaded
SetHandler None
Options None

AddType text/plain .html .htm .shtml .php .php3 .php4 .php5 .phps 
.asp
AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht .jsp .sh .rb

IfModule mod_php5.c
php_flag engine off
/IfModule
/Location

# Alias static media requests to filesystem
Alias /trial/reviewboard/media E:/rbsites/trial/htdocs/media
Alias /trial/reviewboard/static E:/rbsites/trial/htdocs/static
Alias /trial/reviewboard/errordocs E:/rbsites/trial/htdocs/errordocs
Alias /trial/reviewboard/favicon.ico 
E:/rbsites/trial/htdocs/static/rb/images/favicon.png

modwsgi conf for testvenv site:


DocumentRoot E:/rbsites/rbsite_venev/htdocs

# Error handlers
ErrorDocument 500 E:/rbsites/trial/rb2/htdocs/errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias /testvenv 
E:/rbsites/rbsite_venev/htdocs/reviewboard.wsgi/testvenv
WSGIPythonPath 
E:/rbsites/rbsite_venev;D:/virtual_envs/reviewboard_2_0_13/Lib/site-packages
Directory E:/rbsites/rbsite_venev/htdocs
AllowOverride All
Options -Indexes +FollowSymLinks
Allow from all
/Directory

# Prevent the server from processing or allowing the rendering of
# certain file types.
Location /testvenv/media/uploaded
SetHandler None
Options None

AddType text/plain .html .htm .shtml .php .php3 .php4 .php5 .phps 
.asp
AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht .jsp .sh .rb

IfModule mod_php5.c
php_flag engine off
/IfModule
/Location

# Alias static media requests to filesystem
Alias /testvenv/media E:/rbsites/rbsite_venev/htdocs/media
Alias /testvenv/static E:/rbsites/rbsite_venev/htdocs/static
Alias /testvenv/errordocs E:/rbsites/rbsite_venev/htdocs/errordocs
Alias /testvenv/favicon.ico 
E:/rbsites/rbsite_venev/htdocs/static/rb/images/favicon.png



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


Issue 3816 in reviewboard: Post Installation Throws KeyError at / u'PATH' /usr/lib/python2.7/UserDict.py in __getitem__, line 23

2015-03-20 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 3816 by nhiru...@gmail.com: Post Installation Throws KeyError at  
/ u'PATH'  /usr/lib/python2.7/UserDict.py in __getitem__, line 23

https://code.google.com/p/reviewboard/issues/detail?id=3816

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
*** rejected.
***
*** If you have a security issue to report, please send it confidentially
to
*** secur...@reviewboard.org. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** This bug tracker is public. Please check that any logs or other
information
*** that you include has been stripped of confidential information.


What version are you running?
ReviewBoard-2.0.15
RBTools-0.7.2

What's the URL of the page containing the problem?
http://v3.graderesults.com/

What steps will reproduce the problem?
1.Post Installation shows this error while all Installation steps had been  
followed correctly and No Error on any steps

2. I turned On Debug which may give you enough Info
3. No Errors on Apache



What is the expected output? What do you see instead?
Site is not Up  Running

What operating system are you using? What browser?
Ubuntu / Firefox

Please provide any additional information below.
Apache Logs shows the below all Good No Errors
[Fri Mar 20 06:47:47 2015] [notice] FastCGI: process manager initialized  
(pid 12741)
[Fri Mar 20 06:47:47 2015] [warn] FastCGI:  
server /home/rb/www/htdocs/reviewboard.fcgi started (pid 12742)
[Fri Mar 20 06:47:48 2015] [notice] Apache/2.2.22 (Ubuntu) DAV/2 SVN/1.6.17  
mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.6 mod_jk/1.2.32  
mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations



--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: 500 error when superuser attempts to access admin console

2015-03-20 Thread Christian Hammond
Thanks for confirming, Steve. We'll get an official patch out for the next 
release.

Christian 

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

-Original Message-
From: Steve seide.al...@gmail.com
Reply: Steve seide.al...@gmail.com
Date: March 20, 2015 at 9:21:59 AM
To: reviewboard@googlegroups.com reviewboard@googlegroups.com
Cc: seide.al...@gmail.com seide.al...@gmail.com, christ...@beanbaginc.com 
christ...@beanbaginc.com
Subject:  Re: 500 error when superuser attempts to access admin console

  
  
 On Thursday, March 19, 2015 at 3:16:41 PM UTC-7, Christian Hammond wrote:
 
  Hi Steve,
 
  Just to check, if you go to the main Review Board dashboard (not the admin
  dashboard), and then come back, does it work?
 
 
  
 No, that didn't make a difference.
  
  
  
  There's very clearly a bug here, which I'll get fixed up.
 
  What you can do to work around this, if the above does not work, is to
  edit your user profile in the database editor, and where it says Extra
  Data, set the content to: {}
 
 
  
 When I edit the user settings as admin, I see these settings:
  
 Extra data: null
  
 Permissions: {}
  
 Changing null to {} as you suggested fixes the problem.
  
 Thanks!
  
 --Steve
  
  
  
  Christian
 
  --
  Christian Hammond - chri...@beanbaginc.com  
  Review Board - https://www.reviewboard.org
  Beanbag, Inc. - https://www.beanbaginc.com
 
  -Original Message-
  From: Steve 
  Reply: revie...@googlegroups.com   
  Date: March 19, 2015 at 10:58:21 AM
  To: revie...@googlegroups.com   
  Subject: 500 error when superuser attempts to access admin console
 
   I've created a fresh RB 2.0.15 instance on 2 test machines (Fedora 20
  and
   LUbuntu 14.10). On both machines, I created an 'admin' user when I
  created
   the site. As admin, I created a user account for myself, 'sallan', and
   checked the 'Staff status' and 'Superuser status' boxes. Then I logged
  out
   as admin and logged in as sallan. I can see my dashboard fine, but when
  I
   attempt to go to the admin console, I get a 500 error. The log file has
   this error message:
  
   2015-03-19 17:42:34,670 - ERROR - - Exception thrown for user sallan at
   http://tamaki/admin/
  
   'NoneType' object has no attribute 'get'
   Traceback (most recent call last):
   File
  
  /usr/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/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-1.6.10-py2.7.egg/django/contrib/admin/views/decorators.py,

 
   line 17, in _checkl\
   ogin
   return view_func(request, *args, **kwargs)
   File
  
  /usr/lib/python2.7/site-packages/ReviewBoard-2.0.15-py2.7.egg/reviewboard/admin/views.py,

 
   line 39, in dashboard
   primary_widget_positions = profile_data.get('primary_widget_positions')  
   AttributeError: 'NoneType' object has no attribute 'get'
  
   Here's what my account looks like in the db:
  
   is_superuser: 1
   username: sallan
   first_name: Steve
   last_name: Allan
   email: hidden
   is_staff: 1
   is_active: 1
   date_joined: 2015-03-17 22:27:38
  
   Other info:
  
   $ python -V
   Python 2.7.5
  
   $ rb-site --version
   rb-site 2.0.15
  
   $ mysql --version
   mysql Ver 14.14 Distrib 5.5.38, for Linux (x86_64) using readline 5.1
  
  
   Has anyone else encountered this or have suggestions on how to
  troubleshoot
   the problem?
  
   Thanks
  
   --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...@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.


Issue 3817 in reviewboard: Profile.extra_data is null by default, but assumed to be a valid dictionary in the admin UI

2015-03-20 Thread reviewboard

Status: Confirmed
Owner: chip...@gmail.com
Labels: Type-Defect Priority-High Milestone-Release2.0.x EasyFix  
Component-Admin


New issue 3817 by chip...@gmail.com: Profile.extra_data is null by default,  
but assumed to be a valid dictionary in the admin UI

https://code.google.com/p/reviewboard/issues/detail?id=3817

What version are you running?
2.0.x

What's the URL of the page containing the problem?
/admin/

What steps will reproduce the problem?
1. Have a Profile with extra_data=null (as per the schema)
2. Visit /admin/

What is the expected output? What do you see instead?
The page will crash, since it treats extra_data as a valid dictionary. We  
need to sanity-check this before accessing it. Should be a simple fix.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Problems upgrading to 2.0.13 and 2.0.15

2015-03-20 Thread Christian Hammond
Hi Daniel,

Running --hint --evolve is the quickest way to get into a mess with the 
signatures. If this was ever run in the past, it could have caused this.

I've seen a similar issue recently, and know the fix for it, but I'll need you 
to send me an SQL dump with the contents of the django_evolution and 
django_project_version tables. (There's nothing confidential in them, as it's 
just records of database structure and when evolutions were performed.)

Christian

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

-Original Message-
From: Daniel Dominguez daniel.j.doming...@gmail.com
Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com
Date: March 20, 2015 at 8:28:40 AM
To: reviewboard@googlegroups.com reviewboard@googlegroups.com
Subject:  Problems upgrading to 2.0.13 and 2.0.15

 When I performed the upgrade form 2.0.12 to 2.0.13, the site-upgrade
 failed. It didn't seem to break our reviewboard instance, so I just
 ignored it at the time. I recently upgraded to 2.0.15, and the result is
 the same. Again, our reviewboard server seems to be fine, but this is
 starting to make me nervous.
  
  
 -- --
 Creating tables ...
 Project signature has changed - an evolution is required
 Installing custom SQL ...
 Installing indexes ...
 Installed 0 object(s) from 0 fixture(s)
 The stored evolutions do not completely resolve all model changes.
  
 Run `./manage.py evolve --hint` to see a suggestion for the changes
 required.
  
 The following are the changes that could not be resolved:
 In model reviews.ReviewRequest:
 Field 'description_rich_text' has been added
 Field 'testing_done_rich_text' has been added
 In model reviews.Review:
 Field 'body_top_rich_text' has been added
 Field 'body_bottom_rich_text' has been added
 In model reviews.ReviewRequestDraft:
 Field 'description_rich_text' has been added
 Field 'testing_done_rich_text' has been added
 In model accounts.Profile:
 Field 'default_use_rich_text' has been added
 CommandError: Your models contain changes that Django Evolution cannot
 resolve automatically.
  
   
 I've trying running evolve -- --hint --execute, but that fails with the
 following
  
 CommandError: Error applying evolution: (1060, Duplicate column name
 'default_use_rich_text')
  
  
  
 I've checked that I have the latest django_evolution installed for my
 platform (0.7.4). This is running on a MySql database.
  
 It seems like the evolution is trying to add columns that already exist.
 Maybe a version table didn't get incremented in the prior evolution? Any
 hints on how I can troubleshoot this?
  
  
  
 --
 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: Issue 3816 in reviewboard: Post Installation Throws KeyError at / u'PATH' /usr/lib/python2.7/UserDict.py in __getitem__, line 23

2015-03-20 Thread reviewboard

Updates:
Status: NeedInfo

Comment #1 on issue 3816 by trowb...@gmail.com: Post Installation Throws  
KeyError at / u'PATH'  /usr/lib/python2.7/UserDict.py in __getitem__, line  
23

https://code.google.com/p/reviewboard/issues/detail?id=3816

You should not have DEBUG turned on for a production deployment.

Do you have the full traceback for the KeyError?

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3652 in reviewboard: rbt patch throws OSError: [Errno 2] No such file or directory if EDITOR contains flags

2015-03-20 Thread reviewboard

Updates:
Status: Fixed

Comment #3 on issue 3652 by bar...@beanbaginc.com: rbt patch  
throws OSError: [Errno 2] No such file or directory if EDITOR contains  
flags

https://code.google.com/p/reviewboard/issues/detail?id=3652

This was fixed and was release in RBTools 0.7.

It landed on master as a38ca9b51b2d8b6b28e8a0c85de0b8803eb6adb5.

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Regarding review comments and it's details after review is over

2015-03-20 Thread vijay bhaskar reddy Yalamuri
Hi Every one,

I would to like bring my few of doubts to this group. Please help me on 
this.

1) I need to get all the review comments in one shot and print it on the 
console or a file. Please provide me sample snippet for this. 

   I tried to use this below API, But I couldn't get any details. 
/api/review-requests/{review_request_id}/reviews/, 
I tried get function to get the details, But I didn't get any details.
I think there is some other way to get those review comments. 
   
https://www.reviewboard.org/docs/manual/dev/webapi/2.0/resources/review-list/

If one one is having sample snippet , plz provide me the same.

2)  From the link 
https://www.reviewboard.org/docs/manual/dev/webapi/2.0/resources/review-diff-comment-list/#webapi2.0-review-diff-comment-list-resource;
   this is also used to get the comments.
   Even I thought of using this, but this API requires to arguments, But I 
have only request request id what is the other argument review-id ?
 
API:  
/api/review-requests/{review_request_id}/reviews/{review_id}/diff-comments/

Please provide me code snippet for this as well on how to use this and get 
the diff comments.

sample snippet which I am using :

url1 = '/api/review-requests/19/reviews/19/diff-comments/'  
 Here I have used review id and review request id same, But I don't 
know why 2 args.
datareviews1 = rb_server.api_get( url1 )

print datareviews1

I got some data, but doesn't have review comments. 


Thanks for helping me in advance!!!

Regards
Vijay


-- 
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: Issue 3652 in reviewboard: rbt patch throws OSError: [Errno 2] No such file or directory if EDITOR contains flags

2015-03-20 Thread reviewboard


Comment #4 on issue 3652 by bar...@beanbaginc.com: rbt patch  
throws OSError: [Errno 2] No such file or directory if EDITOR contains  
flags

https://code.google.com/p/reviewboard/issues/detail?id=3652

This was fixed and was release in RBTools 0.7.

It landed on master as a38ca9b51b2d8b6b28e8a0c85de0b8803eb6adb5.

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Regarding review comments and it's details after review is over

2015-03-20 Thread David Trowbridge
Vjiay,

I answered you over on the reviewboard-dev mailing list, but the trick is
to use the ?expand parameter to navigate the tree of resources.

The webapi is designed as a tree--each review request contains links to a
bunch of reviews, and each review contains links to comments. Using ?expand
lets you include those inline in the response:

curl http://server/api/review-requests/1234/?expand=reviews,replies,diff_
comments,file_attachment_comments,screenshot_comments

This will return a large blob of JSON, which you can then traverse to pull
out all of the comment text.

-David

On Fri, Mar 20, 2015 at 1:19 PM vijay bhaskar reddy Yalamuri 
vijay.yalam...@gmail.com wrote:

 Hi Every one,

 I would to like bring my few of doubts to this group. Please help me on
 this.

 1) I need to get all the review comments in one shot and print it on the
 console or a file. Please provide me sample snippet for this.

I tried to use this below API, But I couldn't get any details. 
 /api/review-requests/{review_request_id}/reviews/,
 I tried get function to get the details, But I didn't get any details.
 I think there is some other way to get those review comments.

 https://www.reviewboard.org/docs/manual/dev/webapi/2.0/resources/review-list/

 If one one is having sample snippet , plz provide me the same.

 2)  From the link 
 https://www.reviewboard.org/docs/manual/dev/webapi/2.0/resources/review-diff-comment-list/#webapi2.0-review-diff-comment-list-resource
 
this is also used to get the comments.
Even I thought of using this, but this API requires to arguments, But I
 have only request request id what is the other argument review-id ?

 API:
 /api/review-requests/{review_request_id}/reviews/{review_id}/diff-comments/

 Please provide me code snippet for this as well on how to use this and get
 the diff comments.

 sample snippet which I am using :

 url1 = '/api/review-requests/19/reviews/19/diff-comments/'
  Here I have used review id and review request id same, But I don't
 know why 2 args.
 datareviews1 = rb_server.api_get( url1 )

 print datareviews1

 I got some data, but doesn't have review comments.


 Thanks for helping me in advance!!!

 Regards
 Vijay


  --
 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: Change login page text?

2015-03-20 Thread Dunnigan, Terrence J
Custom authentication backend? Sounds thrilling. ☺

Seriously though, that is good to hear. Are you aware of anyone who has done 
that? Any examples to look at?

Thanks,

Terry

From: reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] On 
Behalf Of Christian Hammond
Sent: Friday, March 20, 2015 3:23 PM
To: reviewboard@googlegroups.com
Subject: Re: Change login page text?

Hi Terrance,

In 2.0, you can write a custom authentication backend that just subclasses the 
existing one and overrides that text. However, short of that or modifying 
templates, there's no flexibility here. Might be something we'll want for a 
future version.

Christian


On Thursday, March 19, 2015, Dunnigan, Terrence J 
terrence.j.dunni...@boeing.commailto:terrence.j.dunni...@boeing.com wrote:
Hi all,

I’m using Review Board 1.7.27. I’d like to replace the login page text with my 
own custom text (and possibly a hyperlink…fancy! ☺). How can I do this?

Currently it says:

“Log in with your standard username and password

There's no need to register a new account. Your standard username and password 
should work fine.”

Is this easy to do? Is it easier to do if I upgrade to a newer version?

Thanks,

Terry
--
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.comjavascript:_e(%7B%7D,'cvml','reviewboard%2bunsubscr...@googlegroups.com');.
For more options, visit https://groups.google.com/d/optout.


--
--
Christian Hammond - christ...@beanbaginc.commailto:christ...@beanbaginc.com
Review Board - http://www.reviewboard.orghttp://www.reviewboard.org/
Beanbag, Inc. - http://www.beanbaginc.comhttp://www.beanbaginc.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 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
reviewboard+unsubscr...@googlegroups.commailto: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: Change login page text?

2015-03-20 Thread Christian Hammond
This is not the best example, but you can see a more specialized auth backend 
here:

https://github.com/reviewboard/rb-extension-pack/blob/master/rbdemo/rbdemo/auth_backends.py
 

You probably want something more like:


from reviewboard.accounts.backends import LDAPBackend

class MyLDAPBackend(LDAPBackend):
    backend_id = 'my-ldap-backend'

    login_instructions = '...'


You can use AuthBackendHook to register an auth backend, like in: 
https://github.com/reviewboard/rb-extension-pack/blob/master/rbdemo/rbdemo/extension.py


Christian

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

-Original Message-
From: Dunnigan, Terrence J terrence.j.dunni...@boeing.com
Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com
Date: March 20, 2015 at 1:31:11 PM
To: reviewboard@googlegroups.com reviewboard@googlegroups.com
Subject:  RE: Change login page text?

 Thanks!
  
 From: reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] On  
 Behalf Of Scott Quesnelle
 Sent: Friday, March 20, 2015 3:17 PM
 To: reviewboard@googlegroups.com
 Subject: Re: Change login page text?
  
 Look under your reviewboard site-packages directory.
  
 reviewboard/templates/accounts
  
 File is called login.html
 This is the template file that is used to generate the html that is rendered. 
 Recommend  
 you do a quick read on django beofre editing, but its pretty self describing.
  
 Scott
  
 On Thu, Mar 19, 2015 at 10:35 AM, Dunnigan, Terrence J   
 wrote:
 Hi all,
  
 I’m using Review Board 1.7.27. I’d like to replace the login page text with 
 my own custom  
 text (and possibly a hyperlink…fancy! ☺). How can I do this?
  
 Currently it says:
  
 “Log in with your standard username and password
  
 There's no need to register a new account. Your standard username and 
 password should  
 work fine.”
  
 Is this easy to do? Is it easier to do if I upgrade to a newer version?
  
 Thanks,
  
 Terry
 --
 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.