Re: [Zope3-dev] Re: [Checkins] SVN: zc.dict/trunk/ Initial version of zc.dict -- a persistent BTree based "dict".

2007-07-04 Thread Albertas Agejevas
On Tue, Jul 03, 2007 at 08:59:26PM +0200, Bernd Dorn wrote: > On 03.07.2007, at 20:39, Albertas Agejevas wrote: > > >Log message for revision 77375: > > Initial version of zc.dict -- a persistent BTree based "dict". > hi > > this package matches a use-cas

Re: [Zope3-dev] Re: View permissions

2007-01-23 Thread Albertas Agejevas
On Tue, Jan 23, 2007 at 04:51:30PM +0100, Philipp von Weitershausen wrote: > Jim Fulton wrote: > >Why not just use: > > > >> for="zope.schema.interfaces.ITextLine > >zope.publisher.interfaces.browser.IBrowserRequest" > > provides="zope.app.form.interfaces.IInputWidget" >

[Zope3-dev] View permissions

2007-01-22 Thread Albertas Agejevas
Hi all, Unpleasant things happen when views are security wrapped. Widgets refuse to work, because they are registered as views, and get a custom secuity checker (in zope.app.component.metaconfigure.view). The default view custom checker only protects '__call__', leaves all other attributes forbi

Re: [Zope3-dev] Re: Zope 3.1.0c1

2005-08-04 Thread Albertas Agejevas
On Thu, Aug 04, 2005 at 09:50:11AM -0400, Derrick Hudson wrote: > On Thu, Aug 04, 2005 at 12:09:14PM +0200, Antonio Beamud Montero wrote: > | I have downloaded and when I've make a check: > | . > | Failure in test testUmask (zdaemon.tests.testzdrun.ZDaemonTests) > | Traceback (most recent call

Re: [Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/src/zope/wfmc/process.py Developed nicer, human-readable representations of several classes. Hope

2005-07-29 Thread Albertas Agejevas
On Fri, Jul 29, 2005 at 09:12:14AM -0400, Benji York wrote: > What's the reasoning for using angle brackets on some, and not on the > others? (I personally like angle brackets better, to be consistent with > Python.) If you can, you make repr to tell you how to make and identical object. For e

Re: [Zope3-dev] Resource URL's and virtual hosting

2005-07-15 Thread Albertas Agejevas
On Fri, Jul 15, 2005 at 03:01:11PM +0400, Dmitry Vasiliev wrote: > Then if you go to > 'http://localhost:8080/test/++vh++http:localhost:8080/test/++/restest.html' > you'll see 'http://localhost:8080/test/@@/images' although expected result > is 'http://localhost:8080/@@/images'. > > Is it a bug

Re: [Zope3-dev] Re: HTTP 405: Method Not Allowed

2005-04-15 Thread Albertas Agejevas
On Wed, Apr 13, 2005 at 10:47:15AM -0400, Stephan Richter wrote: > On Thursday 07 April 2005 16:06, Philipp von Weitershausen wrote: > > >   class MethodNotAllowed(Exception): > > >       implements(IMethodNotAllowed) > > > > > >       def __init__(self, object, request): > > >           self.allow

[Zope3-dev] Re: HTTP 405: Method Not Allowed

2005-04-07 Thread Albertas Agejevas
On Thu, Apr 07, 2005 at 10:06:38PM +0200, Philipp von Weitershausen wrote: > Albertas Agejevas wrote: > >Currently, in the generic case, Zope 3 raises a ComponentLookupError > >in zope.app.publication.http line 74, and a 500 response is served. > > I can't find that pa

[Zope3-dev] HTTP 405: Method Not Allowed

2005-04-07 Thread Albertas Agejevas
Hi, I discovered a problem with Zope 3 while developing ReSTive interfaces for schoolbell, which utilize the HTTPPublication and the HTTPRequestFactory. When the user sends a request for a method that is not supported by the object, the HTTP spec (RFC 2616) mandates response code 405, Method Not