[Zope-dev] dtml-var tag suggestion

2000-07-28 Thread Casey Duncan
I have been using dtml to create dynamic JavaScripts for some forms I am creating. In doing this I came upon the standard problem of inserting strings containing double quotes into a JavaScript such as where title = '"Quoted String"': form.select.options[0].text = ""; And you wind up with this r

[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

RE: [Zope-dev] dtml-var tag suggestion

2000-07-31 Thread Casey Duncan
Booth [mailto:[EMAIL PROTECTED]] Sent: Monday, July 31, 2000 10:09 AM To: Casey Duncan; [EMAIL PROTECTED] Subject: Re: [Zope-dev] dtml-var tag suggestion > I have been using dtml to create dynamic JavaScripts for some forms I am > creating. In doing this I came upon the standard problem of ins

[Zope-dev] Z SQL Method Patch

2000-09-07 Thread Casey Duncan
urns 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

[Zope-dev] RE: [Zope] ZCatalog and OR searching

2000-09-01 Thread Casey Duncan
Anyone with futher input or info, please let me know. -Casey Duncan - Original Message - Date: Fri, 01 Sep 2000 11:43:30 +0100 From: Chris Withers <[EMAIL PROTECTED]> Organization: New Information Paradigms To: Dieter Maurer <[EMAIL PROTECTED]> CC: Francois-Regis CHALAOUX &l

[Zope-dev] ZCatalog + ZCatalog

2000-10-23 Thread Casey Duncan
o longer works ... ... However this still does: ... And this does what you expect of it when both searches come up empty: )+Catalog()"> ... ... IMHO this is a very minor side affect, and well worth the gain. Please scrutinize this patch and pick it apart and l

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 fin

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: hth, Casey D. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

[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 mayb

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

RE: [Zope-dev] ZCatalog + ZCatalog

2000-11-13 Thread Casey Duncan
ECTED] Cc: [EMAIL PROTECTED]; Christopher Petrilli Subject: Re: [Zope-dev] ZCatalog + ZCatalog Casey Duncan wrote: > > OK, what this patch does is allow you to concatenate ZCatalog result > sequences (Lazy sequences) without loading the whole enchilada into memory. > It also dispens

RE: [Zope-dev] License issues

2000-11-13 Thread Casey Duncan
The FSF page says this in regards to the ZPL: [snip] > We urge you not to use the license of Zope for software you write. However, > there is no reason to avoid running programs that have been released under > this license, such as Zope. So what is the issue you are raising? Any software you wri

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Casey Duncan
ou get a lot of objects 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/ ht

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Casey Duncan
elves, only the meta-data and only 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 des

Re: [Zope-dev] file references

2000-12-07 Thread Casey Duncan
option would be to simply share the files via smb and link to them from the 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

[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! ** (Rela

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

2000-12-14 Thread Casey Duncan
you want using just catalog. If your example query is an example of something you are 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] `--&g

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

2000-12-15 Thread Casey Duncan
s using that interface) then we wouldn't be stuck > with the ZCatalog. 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 >

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

2000-12-15 Thread Casey Duncan
e word "near" as an operator anyway. For those interested, the indexing/searching code lives in {Zope Dir}/lib/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

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

Re: [Zope-dev] objectIds -- accesible for everyone -- why?

2000-12-18 Thread Casey Duncan
t have view rights to the object listed. However, you do need view rights to the folder you are calling objectIds for. This does seem to me like a way for clandestine users to learn more information about your site than they need to know. Perhaps this "feature" needs to be locked down.

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

2000-12-18 Thread Casey Duncan
lders? > > -Paul > I agree. 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 -

[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 H

[Zope-dev] Re: zPoPy oid issues

2000-12-27 Thread Casey Duncan
abase tool. I am certainly willing to help get this fixed. Any additional information you (or anybody) has regarding this would be greatly appreciated. Thanks for your help. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___

[Zope-dev] Re: zPoPy oid issues

2000-12-27 Thread Casey Duncan
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

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Casey Duncan
wouldn't help compensate for the scaling problems of the ZMI. It just goes to show how even obscure and subtle features like this can be important (to some at least). At least now you have the flexibility to not use this "feature" by using the same naming conventions for everyth

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Casey Duncan
a-z = 97 - 122 > > The arguement is that the sort should probably go > AaBbCcDdEeFf.etc > > -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 lazin

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

2001-01-05 Thread Casey Duncan
gt; wants those changes there's really 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] `--> _

Re: [Zope-dev] New UI for 2.3

2001-01-10 Thread Casey Duncan
r" link. The black seems a bit > overbearing. > I agree 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

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

2001-01-10 Thread Casey Duncan
; > Morten > ZCatalog TextIndexes support this type of "wildcard" searching. I posted a message a couple of weeks ago that describes the query syntax. Search the mailing list archives for it. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-> __

RE: [Zope-dev] New UI for 2.3

2001-01-11 Thread Casey Duncan
the tree pane > :) > FWIW, > one of the things we may put there later is a way to > do > "browser > preferences" via cookies to control things like > default text > area sizes. That could also have a "hide top frame" > option >

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

2001-01-11 Thread Casey Duncan
e > newfolder id, create a subfolder within the one I > just made? > > My sample code should look like this: > > > > > expr="newfolder.manage_addFolder(id="anotherfolder")"> > > If you have any further suggestions I would be >

[Zope-dev] Z Search Interface/ZCatalog bugs

2001-01-15 Thread Casey Duncan
e correct fields. 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

Re: [Zope-dev] Massive scalability

2001-01-16 Thread Casey Duncan
like Matisse and Objectivity that might be worth considering. Good luck! -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cro

Re: [Zope-dev] manage_changeProperties in a loop

2001-01-17 Thread Casey Duncan
hese names coming from, a form? If so, there are ways to eliminate the whole string.split. Also, the code would not need to be this complex if the objects themselves can be passed instead of a delimited string of ids. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-->

Re: [Zope-dev] CSS file serving

2001-01-19 Thread Casey Duncan
; -- > Richard Jones > [EMAIL PROTECTED] > Senior Software Developer, Bizar Software (www.bizarsoftware.com.au) > Check out: http://www.zope.org/Members/haqa/ZStyleSheet -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> __

[Zope-dev] DTML block parsing

2001-01-22 Thread Casey Duncan
s contents need not be parsable anymore, just like every other language I know of. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev **

[Zope-dev] DTML block parsing - Patch

2001-01-22 Thread Casey Duncan
; blockContinuations=() + disable_dtml_block_parsing = 1 def __init__(self, args, fmt=''): pass Feedback on this is definitely welcome. If it is generally well-liked, I will submit it to the collector. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `---

Re: [Zope-dev] DTML block parsing

2001-01-23 Thread Casey Duncan
neer > Cat-Box limited > http://www.cat-box.net In present form no. It also does not support block continuation tags. I will see what I can do about this. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-Dev mail

Re: [Zope-dev] DTML block parsing

2001-01-23 Thread Casey Duncan
Casey Duncan wrote: > > Steve Alexander wrote: > > With your patch applied, will nested dtml-comment tags still work? > > > > > >Some code commented out > > > >Documentation in a comment > > > >Rest of

[Zope-dev] DTML Block Parsing - Patch #2

2001-01-24 Thread Casey Duncan
allows you to create a custom DTML block tag that contains something other than valid DTML code. It now should support block continuation tages as well, although this had not been tested completely. Patch files are attached. Enjoy. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED

[Zope-dev] Re: [Zope-Annce] DTML Eval Tag Released

2001-02-03 Thread Casey Duncan
can just use this namespace to store variables. I considered that too complex for my first release, but I certainly will reconsider it for future ones. Again thanks for the feedback. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-

[Zope-dev] Re: FTP PUT'ing images doesn't create Image objects?

2001-02-04 Thread Casey Duncan
ght images would be created here? I'd stick > this one in the > collector... > > cheers, > > Chris > I could be wrong about this (it was just about quittin' time when I uploaded 'em), but I coulda sworn it make file objects.

Re: [Zope-dev] Re: FTP PUT'ing images doesn't create Image objects? (it does)

2001-02-05 Thread Casey Duncan
Casey Duncan wrote: > > --- Chris Withers <[EMAIL PROTECTED]> wrote: > > > This would be nice for images too. Just today I > > was > > > uploading a bunch via FTP and though the same > > thing, > > > wouldn't it be nice if it knew thes

Re: [Zope-dev] ZSQL using LIKE operator

2001-02-08 Thread Casey Duncan
the query accordingly. > > > > Sorry for the length of this newbie question but I am stumped on this one. > > And, so ends my lurking status. > > > > Thanks! > > Allen > > SELECT * FROM table WHERE keywords LIKE '%%' would be a safer bet. Otherwise a

[Zope-dev] Bug in DateTime?

2001-02-09 Thread Casey Duncan
Zope 2.2 and 2.3: DateTime('3/9/2000').isCurrentDay() Is this the expected behavior? Checking the code leads me to believe the other isCurrent* methods behave in a similar way. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> __

[Zope-dev] DateTime Patch

2001-02-12 Thread Casey Duncan
day number regardless of current month or year. The others behave in a similar manner. Attached is a patch for DateTime.py that fixes the above. I am also submitting it to the collector. Enjoy. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> *** DateTime.py.old

Re: [Zope-dev] Programmatic way to get the Zope Version

2001-02-12 Thread Casey Duncan
nt to detect the version in the first > place. > > Make your choices based on whether there is an Exception or not. > > -- > Steve Alexander > Software Engineer > Cat-Box limited > http://www.cat-box.net &

Re: [Zope-dev] Calling Catalog from python script

2001-02-14 Thread Casey Duncan
m, although implementing it might be a bit tricky to do. I looked into that a while back. Perhaps I should take another look at that... -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread Casey Duncan
h scheme or combination of schemes would work best. -- | 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] how to create third party Product?

2001-02-19 Thread Casey Duncan
; > thanks! > Check out: http://www.zope.org/Documentation/Guides/ZDG-HTML/ZDG.html http://www.zope.org/Members/kedai/BuildSimpleZClass http://www.zope.org/Members/AlexR/CatalogAware http://www.zope.org/Members/maxm/HowTo/minimal_01 http://www.zope.org/Members/gtk/Boring/HowTo-Boring --

Re: [Zope-dev] ZCatalog Lazy Results

2001-02-20 Thread Casey Duncan
> Lazy sequences work by not loading the result items in memory until they are actually accessed. > Regards, > Johan Carlsson = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-> ___

Re: [Zope-dev] ZCatalog stuff

2001-02-22 Thread Casey Duncan
t; correct way to do things: > > "A Perl script is "correct" if it gets the job done > before your boss fires > you." > [snip] Well hell, what's good enough for Perl is good enough for... *slaps self silly* C'mon, are you really seriously gonna back up r

Re: [Zope-dev] ZCatalog & distinct in SQL

2001-02-23 Thread Casey Duncan
; Do you know how to do that in ZCatalog ? > > Thanks. > Valerie. > > For fieldindexes there is a catalog method uniqueValuesFor(name) which when passed the name of the index returns the unique values within it. hth,

[Zope-dev] ZClass class attr security?

2001-02-23 Thread Casey Duncan
ughts anyone? ===== | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-> __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/ ___

Re: [Zope-dev] ZCatalog hackery

2001-03-01 Thread Casey Duncan
idx.unindex_object(rid) idx.index_object(rid, object, None) I think that will do it. Pass the names of the indexes as a sequence in indexes, and data_record_id_ as the uid. The above does not update

Re: [Zope-dev] ZCatalog hackery

2001-03-01 Thread Casey Duncan
Casey Duncan wrote: > > "Morten W. Petersen" wrote: > > > > Hi guys, > > > > I've got a problem with ZCatalog. I've got plenty of large > > objects, ranging from 100KB to 100MB in size. Needless to > > say, these take up a lot o

[Zope-dev] Class attr hotfix

2001-03-02 Thread Casey Duncan
for this if you think it would be a good idea. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-> __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ ___

Re: [Zope-dev] Class attr hotfix

2001-03-05 Thread Casey Duncan
le to do. > Oh nothing too scary. Mostly I have used it to store a counter to automatically assign ids to new ZClass instances. I was really thinking of this as a way to store properties across all instances of a ZClass. I agree that manipulating objects from DTML is BAD. My intention was

Re: [Zope-dev] QuickTime VR Movies

2001-03-12 Thread Casey Duncan
e type of the uploaded file to try to determine the content-type of the file/image object . I don't see QTVR files listed specifically (although .mov and .qt are listed and map to 'video/quicktime'). If you don't have that many files, you can set the content-type manually in t

Re: [Zope-dev] QuickTime VR Movies

2001-03-13 Thread Casey Duncan
"correct" type that apache returns? -- | 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! **

Re: [Zope-dev] (Z)Catalog searches

2001-03-15 Thread Casey Duncan
oftware Developer, Bizar Software (www.bizarsoftware.com.au) > Globbing support is part of the Vocabulary object which must be turned on when it is instanciated AFAIK. Are you passing the Catalog an existing Vocabulary when you create it or are you having it create one for you? -- | Casey Duncan |

Re: [Zope-dev] manage_main don't work with Mozilla

2001-03-15 Thread Casey Duncan
) > > Cyril > So then Mozilla doesn't support XHTML?? That is where that whole trailing slash convention is coming from. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-Dev maillist - [EMAI

Re: [Zope-dev] (Z)Catalog searches

2001-03-15 Thread Casey Duncan
to explain?? or you could do this without using acquistion, but you wind up creating the vocabulary twice: my_cat = Catalog() my_cat.lexicon = Vocabulary(globbing=1) -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zo

Re: [Zope-dev] Playing with DateTime

2001-03-16 Thread Casey Duncan
elli > IMHO, the best approach would be to make mxDateTime available separately from DateTime in the _ variable. That would avoid breaking any code, but allow anyone who wanted to use mxDateTime that option from within Zope. I think a product that adds mxDateTime to the _ variable would be you

Re: [Zope-dev] Adding ZClass Instances via Python

2001-03-16 Thread Casey Duncan
seems to have something to do with the getting the > contexts right and getting the REQUEST info. passed to the > constructor, but I'm just guessing at this point. > > Bill_add is the standard dtml method constructor created by the ZClass product

Re: [Zope-dev] PATH_INFO reliable?

2001-03-19 Thread Casey Duncan
the physical path of the object as a tuple of strings. You could do a string.join on this to construct a url without the server part. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-20 Thread Casey Duncan
ng alarmed at this and agreeing with it. I think if this is done there should be an TTW interface in ZCatalog to switch between AND and OR as the default. That would be the best solution IMHO. Also a _documented_ way to switch it in Catalog as well. My $0.02 -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROT

[Zope-dev] 2.3.x Catalog Brains

2001-03-20 Thread Casey Duncan
talog. It would seem to me to be quite easy to modify Catalog or CatalogAware to account for this automatically. Also why are subtransactions part of ZCatalog and not Catalog? My guess is that it is a ZODB specific feature so it doesn't belong in Catalog, is that right? -- | Casey Duncan |

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-20 Thread Casey Duncan
hould be an easy way to switch textindex > default queries between OR and AND on a per-index basis. > I'd even be happy with a per catalog basis. > > I'd be willing to switch it back, but gad... OR is just *so* useless. ;-) > --

Re: [Zope-dev] Comment on CVS change

2001-03-21 Thread Casey Duncan
mittedly > > arbitrary) existing polciy embedded in the core? > > No, I suppose not. I'll change it back. :-( Not happy about it. > I still say a toggle in the Catalog management interface is the best solution. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-

Re: [Zope-dev] call pythonscript from python

2001-03-21 Thread Casey Duncan
nts and bindings from whatever namespace mapping you provide it and then executes the script. You could also use the _bindAndExec(args, kw, caller_namespace) method if you want to also pass arguments from outside the namespace. Take at looksie at lib/python/Shared/DC/Scripts/Bindings.py for the sourc

Re: [Zope-dev] Deleting objects by the users

2001-03-21 Thread Casey Duncan
e (using getId()) to the manage_delObjects method of the folder containing it. It then redirects back to the view_images method which will be sans the deleted image. hth -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> __

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-21 Thread Casey Duncan
"R. David Murray" wrote: > > On Tue, 20 Mar 2001, Casey Duncan wrote: > > > It's so broken with OR for large datasets that the search results are > > > virtually meaningless. We see this first-hand on Zope.org (which is now > > > ANDed after an

Re: [Zope-dev] Deleting objects by the users

2001-03-22 Thread Casey Duncan
d. However a list with one item is also acceptable. Although you can declare a list with the trailing comma, it is not strictly necessary. That is only necessary for tuples because parens have double meaning in Python. List brackets are unambiguous. -- | Casey

Re: [Zope-dev] sql_quote problem?

2001-03-22 Thread Casey Duncan
even with sql_quote. So the output SQL of the two respective examples you gave would be: SELECT * from x WHERE y='value' SELECT * from x WHERE y=value -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-

Re: [Zope-dev] sql_quote problem?

2001-03-22 Thread Casey Duncan
Chris Withers wrote: > > Casey Duncan wrote: > > > > sql_quote. So the output SQL of the two respective examples you gave > > would be: > > > > SELECT * from x WHERE y='value' > > > > SELECT * from x WHERE y=value > > Okay,

Re: [Zope-dev] ANN: Proposal for ZCatalog "drop-in" indexes

2001-04-02 Thread Casey Duncan
t with Lazy sequences however. It would be nice to make the result sequence even more virtual and even more closely tied to the Catalog. If search results were abstracted a bit further, implementing combine operations and even sub-searching could be made highly efficient. Perhaps this is not in the s

Re: [Zope-dev] dtml-in performance

2001-04-05 Thread Casey Duncan
essentially using an interpreter (Python) as an interpreter for DTML. I would seriously consider moving this entire operation (query, iteration and html generation) to native Python if performance is a big consideration. -- | Casey Duncan | Kaivo, In

Re: [Zope-dev] ZODBCA questions...

2001-04-12 Thread Casey Duncan
t; Patches accepted ;-), > > - C > As for cataloging PDFs, I'm working on it (Among other formats) 8^) -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zo

Re: [Zope-dev] cvs checkin?

2001-04-16 Thread Casey Duncan
Andy McKay wrote: > > Im assuming I dont have a right to do cvs checkins... so how do I get this > tiny stupid little change made, just email Brian ;P? > Collector? Works for me 8^) http://classic.zope.org:8080/Collector -- | Casey Duncan | Kaivo, Inc. | [EMA

Re: [Zope-dev] How to handle "special" sub-directories

2001-04-17 Thread Casey Duncan
could capture that error and rerun the path through the pathhandler by adding some code to standard_error_message. If that fails then display the error as usual. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zop

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Casey Duncan
ious places, it really just needs fleshing out and tying together. I have also been waiting for the ZCatalog changes that have just taken place in 2.3.1. Now that this has happened, it may be a good time to start the discussion in the Fishbowl. I would be willing to draft this p

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Casey Duncan
ousity. As for the ZCatalog proposal, I am approaching from a fairly selfish perpective. It would just make Zope that much better for me to use! Plus I think it would be a fun, doable and useful project. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> _

[Zope-dev] Re: [Zope] CatalogAware does not work?

2001-04-18 Thread Casey Duncan
entation. But it would simultaneously cover property changes made in the management screens and everywhere else. I am moving this discussion over to zope-dev to see if anyone else there has any ideas. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___

[Zope-dev] PropertyManagerEvents Proposal (was: [Zope] CatalogAware does not work?)

2001-04-19 Thread Casey Duncan
I have created a proposal in the fishbowl to discuss extending the event API to include properties: http://dev.zope.org/Wikis/DevSite/Proposals/PropertyManagerEvents -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Z

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread Casey Duncan
;spam.eggs" doesn't work on sqltests (it works everywhere else). Are you explicitly saying name="..."? that could be the problem, bare quoting assumes expr="..." where periods are significant. > > Can I use them from a python script? If not, what's the point?

[Zope-dev] CopySupport bug

2001-05-03 Thread Casey Duncan
ch is here: http://classic.zope.org:8080/Collector/2205/view -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

[Zope-dev] [Fwd: CopySupport bug]

2001-05-04 Thread Casey Duncan
Casey Duncan wrote: > > There is a subtle bug in the CopySupport module that makes it impossible > to copy and paste a folder that contains a ZCatalog with CatalogAware > objects indexed in the catalog also in that folder. The reason is as > follows, CopySupport calls a

Re: [Zope-dev] Object dereferancing Question

2001-05-10 Thread Casey Duncan
would you all react to making ZClass instances callable and have their behavior be: look for an instance method index_html and call it, and failing that, just return the object. Thoughts? -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> __

[Zope-dev] PropertyManagerEvents proposal: Last call for review

2001-05-10 Thread Casey Duncan
your comments are valued. http://dev.zope.org/Wikis/DevSite/Proposals/PropertyManagerEvents Next week I would like to deliver the patch to implement this, so if you have something to say on this topic speak now! -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-10 Thread Casey Duncan
ays be kludgeyness because features of Zope wont directly map (like versions). I think the Berkeley storage option will eventually prove to be the ticket. Probably sooner than later. How about XML storage! 8^) You think startup times are slow now... -- | Casey Duncan | Kaivo, Inc. | [EMAIL PR

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Casey Duncan
ck of a general query language for the ZODB like what you get with most OODBMS and all RDBMS. ZCatalog is improving, but it is just not quite there yet. I do feel that the ZODB is quite robust, and with the added option of berkeley storage along with others, you have several back-end choices.

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments withORMapping

2001-05-11 Thread Casey Duncan
David Brown wrote: > > At 11:45 AM 5/11/2001 -0600, Casey Duncan wrote: > > >One of the biggest limitations in my mind is the lack of a general query > >language for the ZODB like what you get with most OODBMS and all RDBMS. > > I used to think this as well. >

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with

2001-05-11 Thread Casey Duncan
;Foo". > The only problem with this is that lambdas are not safe for TTW scripting 8^(. Although a safe lambda could probably be conceived of course... -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-Dev mail

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Casey Duncan
isition. If an object can acquire itself, it can cause issues. Plus it becomes difficult to know whether objects are clones or just identical instances, although this can be mitigated by exposing their Python instance id. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--&

Re: [Zope-dev] Fwd: [Zope] ZCatalog + Directory product question

2001-05-17 Thread Casey Duncan
t is a interesting idea, but I don't think it would really make it much faster. Although I could be wrong. Basically you would make it so that users performing the query didn't have view permissions on the inactive Categories. It would be more challenging to test as well. It would ho

Re: [Zope-dev] Wildcards in TextIndex query. Do they work?

2001-05-24 Thread Casey Duncan
in the > first place? > > Zope 2.3.2 > > Thanks. > Works great for me. Perhaps you are using a Vocabulary that has Globbing turned off? -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--> ___ Zope-Dev maillist -

Re: [Zope-dev] Wildcards in TextIndex query. Do they work?

2001-05-24 Thread Casey Duncan
Erik Enge wrote: > > On Thu, 24 May 2001, Casey Duncan wrote: > > > Works great for me. Perhaps you are using a Vocabulary that has > > Globbing turned off? > > I'm not sure, how do I check? > > This query works: > > wil?car* > >

Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Casey Duncan
o in your REQUEST object and using it later, but that's really > ugly.) > AFAIK that is what the next and previous options for dtml-in are for. Usually I just store the sequence (if it is a query) in a variable using a let around three (or more

  1   2   3   4   >