[Zope-dev] Z Search Interface/ZCatalog bugs

2001-01-15 Thread Casey Duncan
. This patch corrects ZCatalog so that it returns its indexes as the searchable arguments. 448c448 for name in self._catalog.schema.keys(): --- for name in self._catalog.indexes.keys(): I will be sumitting these to the collector as well. -- | Casey Duncan | Kaivo, Inc. | [EMAIL

RE: [Zope-dev] New UI for 2.3

2001-01-11 Thread Casey Duncan
e top frame" option for those who really can't spare the 32px. :^) = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ __

Re: [Zope-dev] How do I create a folder with subfolders, docs etc?

2001-01-11 Thread Casey Duncan
l, Espen Try this: dtml-call expr="manage_addFolder(folder_id)" dtml-call expr="_[folder_id].manage_addFolder('subFolder')" = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do You Ya

Re: [Zope-dev] New UI for 2.3

2001-01-10 Thread Casey Duncan
ee here as well. Why does the root folder need to look different anyway? Just labelling it "Root Folder" is sufficient IMHO. I think it will cause confusion for it to look so different. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- ___

Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-10 Thread Casey Duncan
s ago that describes the query syntax. Search the mailing list archives for it. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! htt

[Zope] Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-10 Thread Casey Duncan
s ago that describes the query syntax. Search the mailing list archives for it. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! htt

Re: [Zope-dev] Re: Spitter.c Hack

2001-01-05 Thread Casey Duncan
easy. Just mail me directly, since it's a long file to post. Could you maybe post just the diff for poserity? -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Casey Duncan
c -Andy My point is that the sorting is intentionally Unix-like and case sensitive on purpose. Not due to laziness. But, perhaps the reason Unix is like that to begin with is due to laziness anyhow 8^). We'll never know for sure. -- | Casey Duncan | Kaivo, Inc. | [EMAIL

[Zope-dev] Re: zPoPy oid issues

2000-12-27 Thread Casey Duncan
information you (or anybody) has regarding this would be greatly appreciated. Thanks for your help. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

[Zope-dev] Re: zPoPy oid issues

2000-12-27 Thread Casey Duncan
an explicit type conversion to a 4 byte integer like so: SELECT int4(oid) FROM foo; This behaves in a much friendlier manner. I would still like to see the problem resolved, as I find the fact that an innocuous SELECT query could crash Zope a bit troubling. -- | Casey Duncan | Kaivo, Inc. | [EMAIL

[Zope-dev] zPoPy oid issues

2000-12-26 Thread Casey Duncan
. So the problem would seem to be with PoPy and not the DA. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] RE: objectIds accessiblilty and a proposal

2000-12-18 Thread Casey Duncan
That would temper any grumbling and solve the problem (although not the problem of the ever growing security list). -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.o

Re: [Zope-dev] Search Interface [was 'case insensitive sorts']

2000-12-15 Thread Casey Duncan
. It would enable people to write SQLIndexers, ZPatterns-based Catalogs and anything else they want, all of which would be freely interchangeable with the ZCatalog. Comments? Chris I would love to see this happen. Sounds like a fishbowl project to me! -- | Casey Duncan | Kaivo, Inc. | [EMAIL

Re: [Zope-dev] Catalog class--does it support boolean queries?

2000-12-15 Thread Casey Duncan
/python/SearchIndex. In doing some more digging in UnTextIndex.py there I do see support for parens and quoted phases, although in practice they do not work. If I find time I will delve into this further. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- __

Re: [Zope-dev] Catalog class--does it support boolean queries?

2000-12-15 Thread Casey Duncan
Chris Withers wrote: Casey Duncan wrote: In doing some more digging in UnTextIndex.py there I do see support for parens and quoted phases, although in practice they do not work. If I find time I will delve into this further. Cool, if you document it anywhere, please let us know

Re: [Zope-dev] Catalog class--does it support boolean queries?

2000-12-14 Thread Casey Duncan
re really using, try it without parens. e.g. "apples and oranges or plums" AFAIK grouping in query strings is not supported. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] zPoPyDA and DB Transactions

2000-12-13 Thread Casey Duncan
or a bug or am I missing something? -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] file references

2000-12-07 Thread Casey Duncan
Zope pages via a "file://" link that opens them directly off the file server rather than through Zope. This would prevent you from having the jerry-rig Zope into being a file server. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Casey Duncan
in it. There are two solutions to this: Subdivide your objects into multiple folders. Use a BTreeFolder which should be much faster. You can download the BTreeFolder product here: http://www.zope.org/Members/hathawsh/BTreeFolder/ hth, Casey Duncan

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Casey Duncan
once a result item is explicitly accessed (By using so-called lazy sequences). However the catalog will not speed up your actual object access time unless you divide them up amongst several folders or use a BTreeFolder. The latter being a simpler solution from a design standpoint. Good luck! Casey

RE: [Zope] Newbie help - method needs auth anonymous. WHY?

2000-11-09 Thread Casey Duncan
John Wrote: [snip] I am trying to use this method called objectList: ul dtml-in objectValues lidtml-var id/li /dtml-in /ul I've put it in the standard_html_header. [snip] When I try looking at the root page (http://john:8080) I have to provide authentication before the page will

RE: [Zope-dev] JPython Product?

2000-11-08 Thread Casey Duncan
Steve: That is good to know, being a Mac fan myself. I'll have to play with and test the different browsers on the client side as well as server-side jdks. From what I have learned so far on the server end, the project seems reasonably feasible. I think the interesting part will be creating the

[Zope-dev] JPython Product?

2000-11-07 Thread Casey Duncan
I have been toying with the idea of creating a Zope product for creating JPython applets within Zope. I thought this might be a way to increase the capabilities of Zope on the client-side while remaining firmly grounded in Python and simultaneously giving me an excuse to play with JPython and

RE: [Zope-dev] calling dtml method with same name up the hierarchy.

2000-11-06 Thread Casey Duncan
The following should work in your nested standard_html_footer to call the higher level one without infinite recursion: dtml-with "PARENTS[1]" dtml-var standard_html_footer /dtml-with hth, Casey D. ___ Zope-Dev maillist - [EMAIL PROTECTED]

RE: [Zope] ZSql Strange Error

2000-11-02 Thread Casey Duncan
Cesar A. K. Grossmann wrote: Hi! I'm trying to emulate an outter join in a Z SQL, but Zope crashes every time I try the query. ... What is wrong? What I can do to get the job done (I need to fill an multiselect with 'codigo', 'nome' from 'cad_exportacao', and if exists any 'codigo' for

RE: [Zope] ZSql Strange Error

2000-11-02 Thread Casey Duncan
Duh, maybe I should learn to read. Maybe try this sql: select codigo, nome, case when codigo in select codigo from user_codigo where username = dtml-sqlvar username type=string and tipo = 'E' ) then 'selected' else null end as select_attr from

RE: [Zope-dev] ACL users and Packing the DB

2000-10-30 Thread Casey Duncan
Keith Larsen Wrote: I have found a way to kill the user via a link or straight html url http://username:[EMAIL PROTECTED]:8080/testfolder?ids:list=acl_users; manage_delObjects:method=Delete now if I can get my lynx to run it ok I will be set. ( lynx does not like it so far but works fine

[Zope-dev] ZCatalog + ZCatalog

2000-10-23 Thread Casey Duncan
u expect of it when both searches come up empty: dtml-in "Catalog(args)+Catalog(other args)" ... dtml-else ... /dtml-in IMHO this is a very minor side affect, and well worth the gain. Please scrutinize this patch and pick it apart and let me know what works and what doesn't or if I'

RE: [Zope] Version Control in Zope / Managing releases

2000-09-22 Thread Casey Duncan
production version of the feature in one folder that might not be complete but can be updated, and work on a second copy in another folder that isn't accessible to everyone yet. If this won't work please elaborate on your design and maybe someone will have better idea. Good Luck! -Ca

[Zope-dev] Z SQL Method Patch

2000-09-07 Thread Casey Duncan
ns the SQL in src. The result is your backend error message followed by the SQL generated. This should really save time debugging any dynamic Z SQL methods. It was moderately tested on Zope 2.2.1/PostgreSQL 7 via PyGreSQLDA. It should not be database dependant though. Enjoy. -Ca

RE: [Zope] Strange behaviour on authorization

2000-08-21 Thread Casey Duncan
and the returned object are doing before I can try explaining this behavior. -Casey Duncan -Original Message- From: Jarkko Veijalainen [mailto:[EMAIL PROTECTED]] Sent: Monday, August 21, 2000 1:17 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: [Zope] Strange behaviour

RE: [Zope] Strange behaviour on authorization

2000-08-18 Thread Casey Duncan
what you want. Specify an owner for the method that has sufficient rights to do what you want and try it again. Good luck, -Casey Duncan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

RE: [Zope] Merging multiple catalogs

2000-08-18 Thread Casey Duncan
There exists a howto on this very subject: http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching Look under the "Or" section. Very helpful suggestions. Enjoy, Casey Duncan -Original Message--- From: "Andy McKay" [EMAIL PROTECTED] To: [EMAIL PROTE

Re: [Zope] accessing PARENTS from python???

2000-08-14 Thread Casey Duncan
Kevin Howe wrote: I am trying to access the PARENT of an object in a python class of mine. I want to use the absolute_url() of the parent in a variable. I though it could be done the following way, but got an error: parent=self.PARENTS[0] aurl = parent.absolute_url() I then

RE: [Zope] dtml-with namespace conflict question needs explanation

2000-08-14 Thread Casey Duncan
%', height='100%')" This leaves no ambiguity about what is being called, where it is located and what is being passed to it. This creates more readable code IMHO. -Casey Duncan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/

RE: [Zope] substring search on zcatalog textindex

2000-08-14 Thread Casey Duncan
ED] Subject: Re: [Zope] substring search on zcatalog textindex On Thu, 10 Aug 2000, Chris Withers wrote: Casey Duncan wrote: TextIndexes index individual words separately (using a vocabulary object to identify each word in the catalog). All non-alphanumeric characters (such as punctuation

RE: [Zope] substring search on zcatalog textindex

2000-08-10 Thread Casey Duncan
L PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Zope] substring search on zcatalog textindex Casey Duncan wrote: So the question is, does anyone know of a simple way to get the zcatalog to also find substring matches on a textindex? -- Peter Armstrong For Text Indexes you ca

RE: [Zope] Very strange problem with updating an objects properties

2000-08-09 Thread Casey Duncan
takes on the security level of the owner of the method even if it is lower than that of the user. This is in order to prevent certain trojan horse type attacks. Good Luck, Casey Duncan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

RE: [Zope] substring search on zcatalog textindex

2000-08-09 Thread Casey Duncan
if this works for Field or Keyword indexes though, I haven't tried it. My though is it only works for text indexes which should help you anyway. Good Luck, Casey Duncan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

[Zope] (no subject)

2000-08-07 Thread Casey Duncan
Simon Coles writes: We have binary files stored in Zope, for example Word documents (but could be any of a variety of document types). We would like to be able to index and search the contents of these files using ZCatalog. So if a Word file contains the word "Fred", then any search

[Zope-dev] RE: Additional Quoting; Exposing Auxiliary Tag Functions via _

2000-07-31 Thread Casey Duncan
Dieter Maurer writes: The existing "quote features" name the context for which quoting is needed. The context determines what needs to be quoted and how quoting has to be done. Your proposal does not state the context but only the how. Otherwise, I would think such an extension would be

<    1   2   3   4