Re: About Internationalization of Reviewboard

2010-01-12 Thread Łukasz Jernaś
On Tue, Jan 12, 2010 at 9:29 PM, Christian Hammond  wrote:
> Try ./reviewboard/manage.py
>
> You'll need to prepare the tree with ./contrib/internal/prepare-dev.py if
> you haven't already.

thanks for the tip.
Additional info:
You have to create the directory reviewboard/locale/ by hand. A default one _won't_ be created when you run
makemessages (at least in my case - Django 1.1.1)


-- 
Łukasz Jernaś
"just ignore the smoke and smile" - apc
-- 
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: About Internationalization of Reviewboard

2010-01-12 Thread Łukasz Jernaś
On Mon, Jan 11, 2010 at 10:41 AM, David Trowbridge  wrote:
> You can generate a PO file using "./manage.py makemessages -a" from
> within the reviewboard tree. This will generate locale/en/django.po. I
> think that if there are more locales in the list, it will also
> generate PO files for those, too. To compile these into .mo catalogs,
> you can use "./manage.py compilemessages"

Must it be in an rb installation? when I'm trying to run the command
from the git checkout I get

deej...@sulaco:~/PRACA/reviewboard/reviewboard$ ./manage.py makemessages -a
Unable to read settings_local.py.

Please see http://www.reviewboard.org/docs/manual/dev/admin/
for help setting up Review Board.

Regards,
-- 
Łukasz Jernaś
"just ignore the smoke and smile" - apc
-- 
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: Review Board 1.0 RC1 released

2009-05-05 Thread Łukasz Jernaś

On Mon, May 4, 2009 at 7:12 AM, Christian Hammond  wrote:
> Hi everyone,
>
> I just put out the 1.0 RC1 release.

Actually I've got a problem with current svn trunk. When doing an
rb-site upgrade/foo/bar I get:

Rebuilding directory structure
Updating database
Unable to read settings_local.py.

Please see http://www.review-board.org/docs/manual/dev/admin/
for help setting up Review Board.

Using the -d switch doesn't give anything more..

-- 
Łukasz Jernaś
"just ignore the smoke and smile" - apc

--~--~-~--~~~---~--~~
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: Poll: Now that IE8 is arriving...

2009-04-25 Thread Łukasz Jernaś

I've heard the MS will release a critical patch to update IE6 soon..


-- 
Łukasz Jernaś
"just ignore the smoke and smile" - apc

--~--~-~--~~~---~--~~
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: Review Board 1.0 beta 1 and RBTools 0.2 beta 1 released

2009-03-29 Thread Łukasz Jernaś

On Sun, Mar 29, 2009 at 11:01 AM, Christian Hammond  wrote:
> Hey everyone,
>
> We've just put out a release of Review Board 1.0 beta 1, and our new RBTools
> 0.2 beta 1. I'm exhausted, so I'm just going to point everyone to the news.

Great work! Thank you:)


-- 
Łukasz Jernaś
"just ignore the smoke and smile" - apc

--~--~-~--~~~---~--~~
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: post upgrade, screenshot uploading doesn't work

2009-02-02 Thread Łukasz Jernaś

On Mon, Feb 2, 2009 at 9:12 PM, mary  wrote:
>
> Issue resolved.
>
> For reasons still a bit unclear to me, the apache directory /var/www/
> reviewboard/htdocs directory was not being used as I expected. Instead
> the python/site-pakages/reviewboard/htdocs directory was active. I
> created a symlink from www area to python area, copied my old images
> over, and it's all working now.

IMHO this shouldn't be accepted as a solution (if I get it right),
rather a crude hack - the site-packages is  usually located in /usr
which is often mounted read-only...

Regards,
-- 
Łukasz Jernaś
"just ignore the smoke and smile" - apc

--~--~-~--~~~---~--~~
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: Dear LazyWeb

2009-01-31 Thread Łukasz Jernaś

On Sat, Jan 31, 2009 at 12:38 PM, Christian Hammond  wrote:
> Hi,
>
> I'm not sure I understand your problem yet. Your auth backend should be able
> to set this information if you want it to. Is the problem mainly that the
> appropriate fields don't appear in the preferences page? If so, it's because
> we're explicitly checking the backend type in the prefs template. We could
> instead extend this to look for flags on the backend indicating whether that
> field can be modified, and then just check if it's the auth backend *or* if
> the flag exists and is True.

My auth backend doesn't really know what a first name, last name,
email etc is - it's just plain http auth (see api reference for
openstreetmap.org ;). Additional flags would be great, but somehow I
don't think it'll be in 1.0 so I will adapt the template myself until
then.


Regards,
-- 
Łukasz Jernaś
"just ignore the smoke and smile" - apc

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



Dear LazyWeb

2009-01-27 Thread Łukasz Jernaś

Hello.

Excuse the lame question, but how do I create and use custom auth
backends? I've created a file named foo.py located in
/usr/lib/python2.5 which looks like that:

from django.conf import settings
from django.contrib.auth.models import User
from djblets.util.misc import get_object_or_none
import logging
import urllib2

class BarBackend:
 def authenticate(self, username, password):
   logging.debug("foobar")
   some other stuff compiled from backends.py
 def get_or_create_user(self, username, password):
   ..
 def get_user(self, user_id):
return get_object_or_none(User, pk=user_id)

and in the backend setting in reviewboard admin I've entered foo.BarBackend

And nothing really happens, no errors are displayed, revieboard's log
contains only:
2009-01-26 08:24:32,707 - INFO - Logging to /tmp/reviewboard.log with
a minimum level of DEBUG
2009-01-26 08:24:32,708 - INFO - Log file for Review Board v1.0alpha2

and of course I'm not able to login, it just returns an invalid user
or password..

Any hints?

Regards,
-- 
Łukasz Jernaś
"just ignore the smoke and smile" - apc

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