[Zope-Checkins] SVN: Zope/branches/philikon-aq-and-__parent__/lib/python/Shared/DC/Scripts/Bindings.py Found and fixed the you_lose problem found during tests for the UnauthorizedBinding. We define o

2007-06-18 Thread Hanno Schlichting
Log message for revision 76770: Found and fixed the you_lose problem found during tests for the UnauthorizedBinding. We define our own __parent__ method on it now. See more explanation in the comment. Changed: U

[Zope-Checkins] SVN: Products.Five/branches/philikon-aq-and-__parent__/ Make a branch of Five from trunk at r70998 for the aq vs. __parent__ work

2007-06-18 Thread Hanno Schlichting
Log message for revision 76771: Make a branch of Five from trunk at r70998 for the aq vs. __parent__ work Changed: A Products.Five/branches/philikon-aq-and-__parent__/ -=- Copied: Products.Five/branches/philikon-aq-and-__parent__ (from rev 76770, Products.Five/trunk)

[Zope-Checkins] SVN: Products.Five/branches/philikon-aq-and-__parent__/ Removed dead branch again, Five trunk is empty...

2007-06-18 Thread Hanno Schlichting
Log message for revision 76772: Removed dead branch again, Five trunk is empty... Changed: D Products.Five/branches/philikon-aq-and-__parent__/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-Checkins] SVN: Products.Five/branches/philikon-aq-and-__parent__/ Next attempt of making a branch of Five trunk, now from r70998. Including the Five from Zope trunk turned out to be to difficul

2007-06-18 Thread Hanno Schlichting
Log message for revision 76773: Next attempt of making a branch of Five trunk, now from r70998. Including the Five from Zope trunk turned out to be to difficult because of various other changes... Changed: A Products.Five/branches/philikon-aq-and-__parent__/ -=- Copied:

[Zope-Checkins] SVN: Zope/branches/philikon-aq-and-__parent__/lib/python/Products/ Use our own new branch of Five

2007-06-18 Thread Hanno Schlichting
Log message for revision 76774: Use our own new branch of Five Changed: _U Zope/branches/philikon-aq-and-__parent__/lib/python/Products/ -=- Property changes on: Zope/branches/philikon-aq-and-__parent__/lib/python/Products

[Zope-Checkins] SVN: Products.Five/branches/philikon-aq-and-__parent__/browser/providerexpression.py Added explanation about the last test failure that happens with providerexpressions / viewlets.

2007-06-18 Thread Hanno Schlichting
Log message for revision 76775: Added explanation about the last test failure that happens with providerexpressions / viewlets. Changed: U Products.Five/branches/philikon-aq-and-__parent__/browser/providerexpression.py -=- Modified:

[Zope-dev] Zope Tests: 5 OK

2007-06-18 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Sun Jun 17 12:00:00 2007 UTC to Mon Jun 18 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Sun Jun 17 20:51:18 EDT 2007

[Zope-dev] State of the philikon-aq-and-__parent__ branch

2007-06-18 Thread Hanno Schlichting
Hi, as some of you may have noticed I worked a bit more on philikon's branch which makes Acquisition and in return the Zope2 security machinery aware of __parent__ pointers. The branch can be found here: svn+ssh://svn.zope.org/repos/main/Zope/branches/philikon-aq-and-__parent__ The current

[Zope-dev] Re: State of the philikon-aq-and-__parent__ branch

2007-06-18 Thread Martin Aspeli
Hanno Schlichting wrote: Hi, as some of you may have noticed I worked a bit more on philikon's branch which makes Acquisition and in return the Zope2 security machinery aware of __parent__ pointers. The branch can be found here:

[Zope-dev] Re: State of the philikon-aq-and-__parent__ branch

2007-06-18 Thread Hanno Schlichting
Hi. Martin Aspeli wrote: Hanno Schlichting wrote: as some of you may have noticed I worked a bit more on philikon's branch which makes Acquisition and in return the Zope2 security machinery aware of __parent__ pointers. The current state is that there's only one test failure left in Five

Re: [Zope] zope stopped working suddenly

2007-06-18 Thread Maciej Wisniowski
I tried to change effective-user from the zope.conf.in http://zope.conf.in file and saved it as zope.conf, I used the command effective-user tleis , as stated in the example of that file, but no thing changed. if anyone knows why please tell me (just curousity) Maybe user tleis had no

Re: [Zope] Auto Cataloging my ZCatalog

2007-06-18 Thread Jonathan
- Original Message - From: kamal hamzat [EMAIL PROTECTED] To: zope@zope.org Sent: Friday, June 15, 2007 12:51 PM Subject: [Zope] Auto Cataloging my ZCatalog Hello, I have a ZCatalog that my users use to catalog there news articles which are (DTML Documents). I have already

[Zope] RSS to HTML in Zope

2007-06-18 Thread Tom Von Lahndorff
Hi, Im still struggling to get an RSS feed converted to HTML in Zope using Universal Feed Parser http://www.feedparser.org/ + This feedpaser setup http://www.zope.org/Members/johntynan/feedparser I'm able to get an RSS feed converted to what looks like a dictionary and view it, however it

Re: [Zope] security assertion needed for dictionary?

2007-06-18 Thread tomvon
I have the exact same problem and have been unable to find a solution anywhere. Were you ever able to resolve this? sfmcfar wrote: I apologize for cross-posting from the plone newsgroup. but after posting this I realized that this was more of a Zope issue than a Plone one. I wish I

RE: [Zope] security assertion needed for dictionary?

2007-06-18 Thread Doyon, Jean-Francois
Forgetting plone (which I know nothing about), dictionaries definitely do NOT need security assertions (like lists, strings, integers and all basic types). Are you SURE it's a dictionary? Most likely it just LOOKS like one when represented as a string. Try: div tal:content=python:repr(myFeed)

Re: [Zope] RSS to HTML in Zope

2007-06-18 Thread Andreas Jung
--On 18. Juni 2007 10:41:53 -0400 Tom Von Lahndorff [EMAIL PROTECTED] wrote: Hi, Im still struggling to get an RSS feed converted to HTML in Zope using Universal Feed Parser http://www.feedparser.org/ + This feedpaser setup http://www.zope.org/Members/johntynan/feedparser I'm able to get

[Zope] RE: security assertion needed for dictionary?

2007-06-18 Thread tomvon
dtml-var repr(newsfd) does the same as dtml-var newsfd. Here's a snippet of what it shows: {'feed': {'subtitle': u'', 'links': [{'href': u'http://www.modscape.com/blog', 'type': 'text/html', 'rel': 'alternate'}], 'title': u'modscape.com Home', 'subtitle_detail': {'base':

RE: [Zope] RE: security assertion needed for dictionary?

2007-06-18 Thread Doyon, Jean-Francois
I just downloaded and checked. d = feedparser.parse('http://feedparser.org/docs/examples/atom10.xml') d.__class__ class 'feedparser.FeedParserDict' It looks like a dict, but it isn't. You will need to put security assertions on that class ... See the security section of the Zope book for info

[Zope] RE: Zope Digest, Vol 37, Issue 16

2007-06-18 Thread Mark, Jonathan (Integic)
this happened to me? Thanks for you -- next part -- An HTML attachment was scrubbed... URL: http://mail.zope.org/pipermail/zope/attachments/20070618/c3d24bcc/attach ment-0001.htm -- Message: 3 Date: Mon, 18 Jun 2007 11:32:04 +0200 From: Maciej

Re: [Zope-DB] Using dtml-vars in ZSQL methods?

2007-06-18 Thread Maciej Wisniowski
I tried to invoke the query method of my adapter (which is named dhatabase) with this code: p = context.REQUEST.get('delete_this') if p: s = ', '.join([str(x) for x in p]) t = delete from person where person_id in (%s); % s context.dhatabase.query(query_string=t) ...and

Re: [Zope-DB] Using dtml-vars in ZSQL methods?

2007-06-18 Thread Maciej Wisniowski
P.S. I know that dtml-var... rather than dtml-sqlvar... is an unorthodox and apparently undocumented construct to use within a ZSQL definition. But I need it because dtml-sqlvar... malformats the string. What do you mean by 'malformats the string'? Have you tried dtml-sqltest clause? It

RE: [Zope-DB] Using dtml-vars in ZSQL methods?

2007-06-18 Thread JPenny
I also have a broader question: When one is composing dynamic SQL in Python scripts, what are the pros and cons of executing them by going directly to the database adapter (as suggested above) vs passing it in as the sole argument of an empty ZSQL method? By empty ZQL method I mean

RE: [Zope-DB] Using dtml-vars in ZSQL methods?

2007-06-18 Thread Ken Winter
-Original Message- From: Maciej Wisniowski [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 1:34 AM To: Ken Winter Cc: 'Zope-DB List' Subject: Re: [Zope-DB] Using dtml-vars in ZSQL methods? I tried to invoke the query method of my adapter (which is named dhatabase) with

RE: [Zope-DB] Using dtml-vars in ZSQL methods?

2007-06-18 Thread Ken Winter
Thanks Charlie Jim ~ SQL injection is a new one on me, and I'm glad to learn about it now (painlessly) rather than later (painfully). ~ Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 10:03 AM To: Ken Winter Cc: 'Zope-DB List'