Re: [Zope-CMF] IMember: does it exist?

2008-10-08 Thread Paul Winkler
Jens Vagelpohl [EMAIL PROTECTED] writes: On Oct 8, 2008, at 01:32 , Paul Winkler wrote: Rob Miller [EMAIL PROTECTED] writes: then CMF does it's normal wrapping of these user objects using the standard MemberData implementation. Hmm, right, so then this might still

Re: [Zope-CMF] IMember: does it exist?

2008-10-07 Thread Paul Winkler
Rob Miller [EMAIL PROTECTED] writes: then CMF does it's normal wrapping of these user objects using the standard MemberData implementation. Hmm, right, so then this might still be on-topic here ;-) Maybe the right thing is for CMF to do a directlyProvides() call in wrapUser? - PW

Re: [Zope-CMF] IMember: does it exist?

2008-10-03 Thread Paul Winkler
Jens Vagelpohl [EMAIL PROTECTED] writes: I'd say that's a typo. The referenced IMember probably means the IMemberData interface, which does exist. Sounds good. Existing member implementations might have to be updated to declare themselves implementing that interface. For example, remember

Re: [Zope-CMF] Re: Show/hide content from users/groups

2007-09-18 Thread Paul Winkler
are set as properties of a MemberData instance under portal_membership. The relevant code is in CMFCore/MemberDataTool.py. Check the security settings of portal_membership. Failing that, grep the CMFCore and CMFDefault directories for other occurences of setProperties. -- Paul Winkler http

Re: [Zope-CMF] script to update permissions

2007-08-02 Thread Paul Winkler
and feature requests -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

Re: [Zope-CMF] Re: [dev] _checkEmail issues

2006-10-20 Thread Paul Winkler
. Trying to do something as non-regular as email addresses with one regular expression just hurts my head too much. -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

Re: [Zope-CMF] Re: CMF roadmap update

2006-04-24 Thread Paul Winkler
into the Zope root, or maybe into the current folder, I forget. -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports

Re: [Zope-CMF] CMF 2 test errors against zope 2.9 branch and trunk

2006-04-07 Thread Paul Winkler
issue I mentioned to you, so I'm back to being baffled. Maybe anotehr installation brokenness as Jens suggests? On 8. Apr 2006, at 01:10, Jens Vagelpohl wrote: On 7 Apr 2006, at 22:09, Paul Winkler wrote: FYI, presumably some folks are already aware of this, but there are currently some

Re: [Zope3-dev] Re: [Zope-CMF] Fighting the Zope 2.9 testrunner

2006-03-22 Thread Paul Winkler
switches on people isn't a good idea. +1 -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

Re: [Zope-CMF] Re: Fighting the Zope 2.9 testrunner

2006-03-21 Thread Paul Winkler
, and then link that from zope.org so that hopefully other people will be able to find it. How bout here? http://zopewiki.org/HowToRunZopeUnitTests -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http

Re: [Zope-CMF] Re: Fighting the Zope 2.9 testrunner

2006-03-21 Thread Paul Winkler
On Tue, Mar 21, 2006 at 03:02:06PM +, Jens Vagelpohl wrote: On 21 Mar 2006, at 14:55, Paul Winkler wrote: How bout here? http://zopewiki.org/HowToRunZopeUnitTests Umh, I didn't plan on writing a novel. I have a very simple document here: http://www.dataflake.org/docs

Re: [Zope-CMF] Re: [dev] CMF 2.0 browser views and Five traversal

2006-03-08 Thread Paul Winkler
On Wed, Mar 08, 2006 at 11:14:59PM +0100, yuppie wrote: Paul Winkler wrote: On Wed, Mar 08, 2006 at 10:52:09PM +0100, yuppie wrote: You could access the edit view with 'edit.html' instead of '@@edit.html', but that has a major drawback: View names are not protected in any way if used

Re: [Zope-CMF] Some first steps with CMF2

2006-02-28 Thread Paul Winkler
think CMF itself has anything to do with this. You might look into the pythonproducts product which was just announced on the zope3-five mailing list, I think it's supposed to allow you to install zope 2 products anywhere. -- Paul Winkler http://www.slinkp.com

Re: [Zope-CMF] Re: Proposal for hooking rendering

2005-11-30 Thread Paul Winkler
On Wed, Nov 30, 2005 at 09:40:40AM +0100, Paul Everitt wrote: Paul Winkler wrote: 3) Universal. The corporate id is not optional. It gets imposed on every page in a site. That goes too far IMO. Opt-in is a pain, but if you remove it, we need to add an opt-out feature. Consider

[Zope-CMF] Meld2, was Re: Proposal for hooking rendering

2005-11-30 Thread Paul Winkler
guess we disagree. Note that this leaves the door wide open to other processing in the pipeline, e.g. XSLT. -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

Re: [Zope-CMF] Meld2, was Re: Proposal for hooking rendering

2005-11-30 Thread Paul Winkler
On Wed, Nov 30, 2005 at 01:16:08PM -0500, Paul Winkler wrote: I need to post some reuse examples OK, here's a simple one: http://w oops, didn't get the URL in. http://slinkp.com/code/zopestuff/templates/examples.tgz -- Paul Winkler http://www.slinkp.com

Re: [Zope-CMF] Re: Meld2, was Re: Proposal for hooking rendering

2005-11-30 Thread Paul Winkler
uptake in the Zope world. Backward compatibility is king and I don't have a story for leveraging existing ZPT. -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

Re: [Zope-CMF] Re: Meld2, was Re: Proposal for hooking rendering

2005-11-30 Thread Paul Winkler
to implement the site theming in Paul E's proposal. But we're pretty thoroughly OT now, and there's nothing CMF-specific about Meld2 (heck there's not even a Zope implementation yet), so I'll stop now :-) -- Paul Winkler http://www.slinkp.com ___ Zope-CMF

Re: [Zope-CMF] Re: Dead branches

2005-11-12 Thread Paul Winkler
On Fri, Nov 11, 2005 at 10:15:16PM +0100, Florent Guillaume wrote: Paul Winkler wrote: Could folks having old CMF branches clean them up ? See http://svn.zope.org/CMF/branches/ This seems to concern: ajung, andrew, chrism, chrisw, gregweb, jshell, mj, regebro, shane, sidnei, slinkp

Re: [Zope-CMF] Dead branches

2005-11-11 Thread Paul Winkler
afraid I don't know what that means. I didn't find anything relevant under http://www.zope.org/DevHome/Subversion . -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

Re: [Zope-CMF] Re: Finding the current skin name

2005-11-03 Thread Paul Winkler
I don't have a use case that interesting, but I have made use of changeSkin with and wished there was a way to easily find out which skin I've ended up with for debugging and testing purposes. So I'm +1 on the feature idea, don't really care how it's implemented. On 11/3/05, Florent Guillaume

Re: [Zope-CMF] Re: CMFTestCase: Best way to create the CMF site?

2005-10-05 Thread Paul Winkler
and recreated very quickly, then that would be very interesting. I would assume that that involved a lot of work though... CMFTestCase's setupCMFSite() is already pretty quick. -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF

[Zope-CMF] Testing skin scripts and templates using ZopeTestCase.Functional

2005-10-05 Thread Paul Winkler
.absolute_url_path() import pdb; pdb.set_trace() response = self.publish(url, self.basic_auth) Some stepping around with pdb reveals this: (Pdb) n /zope/ZopeSoftwareHome/lib/python/ZPublisher/Publish.py(101)publish() - request, bind=1) (Pdb) n NotFound: 'document_view' -- Paul

[Zope-CMF] Re: Mixing ZopeTestCase.Sandboxed and CMFTestCase?

2005-10-05 Thread Paul Winkler
Answering my own post, I just discovered something else: Paul Winkler said: It mostly seems to work, but as far as I can tell, you *must* inherit in exactly that order, i.e. class MyTest(ZopeTestCase.Sandboxed, CMFTestCase.CMFTestCase): As it turns out, even with my modification

Re: [Zope-CMF] Testing skin scripts and templates using ZopeTestCase.Functional

2005-10-05 Thread Paul Winkler
. Presumably it's the same problem. I had a look at the tests for CMFCore and CMFDefault, but there don't seem to be any tests for SkinnableObjectManager at all. Ouch! -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org

[Zope-CMF] CMFTestCase: Best way to create the CMF site?

2005-10-04 Thread Paul Winkler
to be the Right Thing (tm). I'd rather not ditch CMFTestCase altogether, it has some nice features that I find to be real time (and brain) savers. -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org

Re: [Zope-CMF] Re: Failing tests in CMF 1.4.8?

2005-10-04 Thread Paul Winkler
Cool, thanks for the update. -PW Tres Seaver said: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Winkler wrote: Does anybody else get one failure and one error from the unit tests on a fresh install of CMF 1.4.8? Will there be a 1.4.9? If so, these prob'ly oughta be looked at... I

Re: [Zope-CMF] Re: CachingPolicyManager improvements

2005-09-06 Thread Paul Winkler
Florent wrote: There's also some text in the online help about caching complete web pages being a bad idea. And in the docstring of the source too. -PW ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf

Re: [Zope-CMF] Re: Re: CachingPolicyManager improvements

2005-09-05 Thread Paul Winkler
Chris McDonough suggested an interesting way to do a poor-man's ESI: use Apache's server side includes. That's an interesting idea. On the Zope side, you'd just have to set up your templates to spit out html containing SSI directives, obviously no problem. But what's involved in the Apache

[Zope-CMF] Inadequate expression context in _getViewFor()

2005-06-28 Thread Paul Winkler
. If this is a deliberate restriction, can anybody explain the rationale? Or is it, as I suspect, an oversight? -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

Re: [Zope-CMF] Inadequate expression context in _getViewFor()

2005-06-28 Thread Paul Winkler
and of course _getViewFor() is marked deprecated in CMF 1.5, and then my action Just Works. Whoops! Move along folks, nothing to see here. -PW On Tue, Jun 28, 2005 at 09:54:16PM -0400, Paul Winkler wrote: Hi folks, (this is with CMF 1.4.8) (snip) -- Paul Winkler http

Re: [Zope-CMF] Can I prevent anonymous access to only some of the files on a site

2005-04-12 Thread Paul Winkler
it should work as intended. -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests