[Zope-dev] Allowed characters in Zope ids

2001-01-02 Thread Dieter Maurer
I recently read RFC 2396 which defines the generic URI syntax and especially the URL syntax. I recognized, that * Zope forbids many characters in ids (with the error message "not allowed in URLs"), that are legal characters in URL path segments: generally allowed in URL's: -_.!~*'()

RE: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Magnus Heino (Rivermen)
> But like I told ChrisW, I think BerkeleyStorage will fill the > need that > PartitionedFileStorage was only partitially addressing. How is the new BerkeleyStorage product coming along? /Magnus ### This message has been scanned by F-Secure Anti-Virus f

[Zope-dev] Re: [Zope-PTK] A subclass from PortalMember of Membership Product andObjectManager won't list contained objectsObjectManager won't list contained objects

2001-01-02 Thread Tres Seaver
Dirksen wrote: > My site is installed with the Membership system. I want to > store some photos in each member. So I create a new member > ZClass, subclassing PortalMember and ObjectManager, and set the > 'manage_main' as the main view. Under the instance of this new > member ZClass, I can add im

Re: [Zope-dev] "dynamic permissions" in zope

2001-01-02 Thread Tres Seaver
Steve Alexander <[EMAIL PROTECTED]> wrote: > Steve Alexander wrote: > > > > > I believe the latest LoginManager allows you to specify what roles a > > user has, and compute these each request, based on the details of the > > request. > > > > This is probably more useful than having dynamically c

[Zope-dev] ANN: CoreSessionTracking Release 0.4

2001-01-02 Thread Chris McDonough
Hello, A new development release of the "Core Session Tracking" product (0.4) is available at http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking This release makes substantial interface and feature changes including using an internal mounted storage to provide an "internal" session

[Zope-dev] uncataloging objects

2001-01-02 Thread Robert Prosenc
hi there. i have certain problems with the catalog class. i have something over 9000 objects (all of the same type) cataloged, and it does not only take REAL long to reindex them (but hey, i could live with that), sometimes it also makes the python-process sort of 'hang up' - it merly crushes the

Re: [Zope-dev] PartitionedFileStorage - Eek!

2001-01-02 Thread Shane Hathaway
Steve Alexander wrote: > > Shane Hathaway wrote: > > > > > Should be, although I just realized I don't know whether 0.0.2 was > > intended for Zope 2.2 or 2.3. > > There is no difference between the PartitionedFile.py files in the 2.2 > and 2.3 versions, so I guess 0.0.2 will do as well for eit

Re: [Zope-dev] PartitionedFileStorage - Eek!

2001-01-02 Thread Steve Alexander
Shane Hathaway wrote: > > Should be, although I just realized I don't know whether 0.0.2 was > intended for Zope 2.2 or 2.3. There is no difference between the PartitionedFile.py files in the 2.2 and 2.3 versions, so I guess 0.0.2 will do as well for either. -- Steve Alexander Software Enginee

Re: [Zope-dev] PartitionedFileStorage - Eek!

2001-01-02 Thread Jason Cunliffe
Shane Hathaway <[EMAIL PROTECTED]> wrote: > Now BerkeleyStorage is on its way and once that's ready, > PartitionedFileStorage will have such a small audience that it won't be > worth the trouble. Oh well, it was a fun experiment. Can you pleae expand on this.. what about BerkeleyStorage is on it

Re: [Zope-dev] Conflict Errors

2001-01-02 Thread Chris McDonough
Y'know since replying to this message originally, I've learned a lot about pickled representations of Zope objects and I think I can answer this more cogently: - Instances of classes which inherit from Persistence.Persistent are represented as an individual pickle. Their attributes are contained

Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Shane Hathaway
Steve Alexander wrote: > > Shane Hathaway wrote: > > > > > BTW, Evan helped me find and correct a bug. You'll only run into it if > > you set your partition size to less than the size of the largest ZODB > > objects. > > The new version of FileStorage.py in PartitionedFileStorage for 2.3 > ove

Re: [Zope-dev] PartitionedFileStorage - Eek!

2001-01-02 Thread Shane Hathaway
Chris Withers wrote: > > Shane Hathaway wrote: > > > > BTW, Evan helped me find and correct a bug. You'll only run into it if > > you set your partition size to less than the size of the largest ZODB > > objects. > > That's fixed in 0.0.2, right? Should be, although I just realized I don't kno

Re: [Zope-dev] What's 'section' in blocks[0] in block dtml tag?

2001-01-02 Thread Brett Carter
Lee, I've been diddling around with the same stuff. It took me a lot of introspection with printing of errors via MrCreosote/Spew. To answer your question, 'section' is an object which contains an attribute 'blocks'. If you want to render the dtml in there, you can run the 'render_blocks' metho

Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Steve Alexander
Shane Hathaway wrote: > > BTW, Evan helped me find and correct a bug. You'll only run into it if > you set your partition size to less than the size of the largest ZODB > objects. The new version of FileStorage.py in PartitionedFileStorage for 2.3 overwrites some of the changes made the FileSt

Re: [Zope-dev] OracleStorage, and possibly others

2001-01-02 Thread Chris Withers
Jim Fulton wrote: > > - Policies to control whether multiple revisions are stored > or whether revisions are removed by packing on a object-by-object > or transaction-by-transaction basis. > You could keep significant historical revisions for important objects, such > as Wiki p

Re: [Zope-dev] "dynamic permissions" in zope

2001-01-02 Thread Steve Alexander
Steve Alexander wrote: > > I believe the latest LoginManager allows you to specify what roles a > user has, and compute these each request, based on the details of the > request. > > This is probably more useful than having dynamically computed > permissions; While I can see how a user's role

[Zope-dev] PartitionedFileStorage - Eek!

2001-01-02 Thread Chris Withers
Shane Hathaway wrote: > > BTW, Evan helped me find and correct a bug. You'll only run into it if > you set your partition size to less than the size of the largest ZODB > objects. That's fixed in 0.0.2, right? Well, anyway, I changed the line in FileStorage.py as follows: # Use 0.5 GB part

Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Shane Hathaway
Chris Withers wrote: > > Shane Hathaway wrote: > > > > I just realized I could use the "patch" command to backport. So I made > > a new tarball. Have fun! > > > > >http://www.zope.org/Members/hathawsh/PartitionedFileStorage/PartitionedFileStorage-0.0.1-2_2.tar.gz/view > > great :-) > > It's

Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2001-01-02 Thread Chris Withers
Shane Hathaway wrote: > > I just realized I could use the "patch" command to backport. So I made > a new tarball. Have fun! > > >http://www.zope.org/Members/hathawsh/PartitionedFileStorage/PartitionedFileStorage-0.0.1-2_2.tar.gz/view great :-) It's installed and running now. No problems yet

Re: [Zope-dev] "dynamic permissions" in zope

2001-01-02 Thread Steve Alexander
Heinz-Josef Claes wrote: > > Our requrements are a permissioning system which depends on a matrix: > There are two independend qualities which describe, if a user is allowed > to see a document. This can be displayed in a matrix. Only if *both* > qualities match, the user is allowed to see it. >

Re: [Zope-dev] How to confuse the publishing process

2001-01-02 Thread Chris Withers
Steve Spicklemire wrote: > > Hi Chris, > >OK... you need to tell us where the index_html's are and what they have > in them! ;-) Doesn't seem to matter what's in them... Say there's one in folder1 and one in folder2, which one should be used? Why are neither of them being used? cheers,

Re: [Zope-dev] Local Factories in Products

2001-01-02 Thread Shane Hathaway
Itamar Shtull-Trauring wrote: > > Chris Withers wrote: > > > > In ZClasses it is possible to control where a ZClass instance > > > should be permitted to be added, in other words show up > > > in the factory listing in a ObjectManagers manage_main view. > > > > Didn't Itamar have a proposal/proj

Re: [Zope-dev] Conflict Errors

2001-01-02 Thread Chris Withers
Chris McDonough wrote: > > The ZODB tries > hard to avoid error conditions for you by retrying conflicting writes, but > if you really pound the snot out of a particular object, it'll let you know. That's gotta be one for the Zope quotes board, if I could onyl remember the URL :-) > and step th

Re: [Zope-dev] ZPatterns example update....

2001-01-02 Thread Phillip J. Eby
At 03:08 PM 1/2/01 +1100, Itai Tavor wrote: >Hi Steve, > >>Steve Spicklemire wrote: > >> > "Itai" == Itai Tavor <[EMAIL PROTECTED]> writes: >> >> Itai> Maybe with this >> Itai> SkinScript: WITH Doers.getItem(self.doerID) CALCULATE >> Itai> self.doerID=RESULT.id or '' ? But I'm no

Re: [Zope-dev] Local Factories in Products

2001-01-02 Thread Itamar Shtull-Trauring
Chris Withers wrote: > > In ZClasses it is possible to control where a ZClass instance > > should be permitted to be added, in other words show up > > in the factory listing in a ObjectManagers manage_main view. > > Didn't Itamar have a proposal/project on this? It's still unimplemented - you c

[Zope-dev] "dynamic permissions" in zope

2001-01-02 Thread Heinz-Josef Claes
Hi, I'm very new to zope and have to eximine, if it's usable for our requirements. The question I have, is very simple or perhaps very difficult, I don't know. Our requrements are a permissioning system which depends on a matrix: There are two independend qualities which describe, if a user is

Re: [Zope-dev] CatalogAware

2001-01-02 Thread Michael Bernstein
Chris Withers wrote: > > Michael Bernstein wrote: > > > > Hmm. Aren't postings CatalogAware? If they're not, shouldn't > > they be? > > Why? ;-) > > Squishdot manages the cataloging, re-cataloging and un-cataloging of its > own postings. I don't think CatalogAware would make that process any >

Re: [Zope-dev] Local Factories in Products

2001-01-02 Thread Chris Withers
Johan Carlsson wrote: > > In ZClasses it is possible to control where a ZClass instance > should be permitted to be added, in other words show up > in the factory listing in a ObjectManagers manage_main view. Didn't Itamar have a proposal/project on this? How did it work out? cheers, Chris _

Re: [Zope-dev] CatalogAware

2001-01-02 Thread Chris Withers
Michael Bernstein wrote: > > Hmm. Aren't postings CatalogAware? If they're not, shouldn't > they be? Why? ;-) Squishdot manages the cataloging, re-cataloging and un-cataloging of its own postings. I don't think CatalogAware would make that process any simpler or more reliable... *grinz* Chris

Re: [Zope-dev] ZCatalog catalog_object

2001-01-02 Thread Chris Withers
Itamar Shtull-Trauring wrote: > > Chris Withers wrote: > > > ...in which case, I wonder why CatalogAwareness goes to the trouble of > > unindexing and then re-indexing? > > Because in older ZCatalog (before 2.3 and maybe before 2.2.4), > catalog_object did not uncatalog automatically. When in d

[Zope-dev] aq_inContextOf attribute error

2001-01-02 Thread Alex V Koval
Hello All ! After installing latest stable version of Zope (2.2.4) I tried to install ZFormulator version 0.2. And as result got 2 problems with permissions system. First was in ZFormulator itself, and was corrected: __roles__ = ('manager',) was changed to __roles__ = ('Manager',) but this