Upgrading 1.0rc3 to 1.5 and Boolean fields queries

2010-10-18 Thread Mohammed Abouzour [Sybase]
I am trying to upgrade our RB from 1.0rc3 to 1.5. We are running on top of a SQLAnywhere database server. I got the database upgraded successfully, but when I try to access the site it gives me errors regarding badly generated SQL queries. The problem is with the reviews_review.public field. This f

Print diff for one file per page

2010-10-18 Thread Jan Koprowski
Hi, Is there any issue to provide optional "paginating" of diffs. Today some people from my company ask about "File per site". Is there issue request for this? This could help reviewing really large diffs. -- ><> Jan Koprowski -- Want to help the Review Board project? Donate today at http:

Re: Upgrading 1.0rc3 to 1.5 and Boolean fields queries

2010-10-18 Thread Christian Hammond
Hi Mohammed, This query is generated in both reviews/managers.py and reviews/datagrids.py. In these cases, it's raw SQL, so you should be able to easily modify that. Preferably, we'd move away from raw SQL now that Django has support for F() expressions (things like field_name = field_name + 1 an

Re: Upgrading 1.0rc3 to 1.5 and Boolean fields queries

2010-10-18 Thread Mohammed Abouzour [Sybase]
Hi Christian, Thanks, that did solve my problem ... but it made me wonder how other backend drivers, namely Oracle, handled this SQL without "= 1" ? -- Mohammed On Oct 18, 3:31 pm, Christian Hammond wrote: > Hi Mohammed, > > This query is generated in both reviews/managers.py and > reviews/data

Re: Upgrading 1.0rc3 to 1.5 and Boolean fields queries

2010-10-18 Thread Christian Hammond
Hi, To my knowledge, nobody is using Oracle. rb-site doesn't provide it as an option, and we don't have a license with which to test. Most people so far have been using MySQL and PostgreSQL. Is the Sybase driver becoming public, and will it be part of Django in the future? Christian -- Christi

Re: Upgrading 1.0rc3 to 1.5 and Boolean fields queries

2010-10-18 Thread Mohammed Abouzour [Sybase]
Yes, the SQLAnywhere database server driver is public (http:// code.google.com/p/sqlany-django/) but it will take some time before it becomes a standard part of the Django release. We will be actively maintaining and updating it. -- Mohammed On Oct 18, 5:57 pm, Christian Hammond wrote: > Hi, > >

Re: Upgrading 1.0rc3 to 1.5 and Boolean fields queries

2010-10-18 Thread Christian Hammond
Awesome :) If you guys wanted to give us a patch to rb-site to support it, we'll include it (provided that you can easy_install the module). Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Oct 18, 2010

Re: AD authentication w/SSPI NTLM integration

2010-10-18 Thread Dan Savilonis
This is not implemented. However, Django supports this kind of authentication, so I imagine you could add support for it. Looking at the docs, it seems really simple, though I've never found anything with single-sign-on to be simple... http://docs.djangoproject.com/en/dev/howto/auth-remote-user/

Re: AD authentication w/SSPI NTLM integration

2010-10-18 Thread Jan Koprowski
Ian, We try this in our company but let me clarify. There is few protocols/methods which can authorize You: Kerberos, NTML, SSPI but that You are really talking about is SPNEGO - One Single Sign On Microsoft Implementation. They can be in many ways (Kerberos in Firefox or Google Chrome or e.g. N