Re: [Zope3-dev] Sublocation notifications

2005-05-03 Thread Gary Poster
On May 3, 2005, at 5:39 PM, Garrett Smith wrote: We currently dispatch some object events to sublocations. I think there's a problem with the current approach. ... Why not just have your own app listen for (object, event) and then do this additional dispatch? That's the usual pattern, and I'm

[Zope3-dev] new ZC form machinery snapshot available on public repo.

2005-05-19 Thread Gary Poster
Hi all. As part of its current Zope 3-based client engagement, Zope Corporation has been developing a number of packages that we plan to release as open source once we feel they are cooked. One that seems to have sparked special interest is our new variation of much of the zope.app.form

[Zope3-dev] Changing DC timeannotators to use UTC timezone

2005-07-13 Thread Gary Poster
As we agreed on this list many months ago, I'd like to change the zope code to use the UTC timezone explicitly, rather than utcnow (datetime.datetime.utcnow() - datetime.datetime.now(pytz.utc). I only plan to change this in one place: zope/app/dublincore/ timeannotators.py. The reason I

Re: [Zope3-dev] Changing DC timeannotators to use UTC timezone

2005-07-13 Thread Gary Poster
On Jul 13, 2005, at 3:11 PM, Stephan Richter wrote: On Wednesday 13 July 2005 15:04, Gary Poster wrote: May I proceed? +1 OK, done. I'll share my conversion script when I write it. It might not be usable for everyone, but it should at least be a start. Gary

Re: [Zope3-dev] zope.formlib and displaying invariant errors

2005-07-14 Thread Gary Poster
On Jul 14, 2005, at 4:50 AM, Jan-Wijbrand Kolman wrote: Hello, I'm using zope.formlib (aka zc.page) for rendering (complex) forms. I think this works out great! Still there's something I cannot really bend my head arround and that's dealing with invariant errors. Hopefully my

Re: [Zope3-dev] KeywordIndex

2005-07-18 Thread Gary Poster
On Jul 18, 2005, at 11:14 AM, Jeff Shell wrote: I'm working on a simple application which is the first time I get to use the catalog in Zope 3. I'm writing against Zope 3.1b1. I was dismayed not to see KeywordIndex in the main catalog set, but then I found it in zope.index.keyword. But it

Re: [Zope3-dev] zope.security.interfaces.ForbiddenAttribute: ('utcoffset', UTC)

2005-07-19 Thread Gary Poster
On Jul 18, 2005, at 7:04 PM, Garrett Smith wrote: This might be something on my end, but I figure I'd throw it out in case it's related to any changes related to naïve/non-naïve time zones. Here's the relevant part of the traceback: File /opt/aktari/zope/src/zope/i18n/format.py, line

Re: [Zope3-dev] Formatting dates

2005-07-19 Thread Gary Poster
On Jul 19, 2005, at 12:22 AM, Garrett Smith wrote: Now that dates have UTC time zones associated with them, will we be adjusting how they're displayed in various views? Somehow it doesn't seem appropriate to display UTC by default. I'd assume Zope would use the server's timezone offset.

Re: [Zope3-dev] problems with ZOPE_WATCH_CHECKERS

2005-07-19 Thread Gary Poster
On Jul 19, 2005, at 12:35 PM, Martijn Faassen wrote: Martijn Faassen wrote: Martijn Faassen wrote: Hi there, I'm trying to debug the security of a Zope 3 application (in Zope 3.1 beta) and I am having trouble getting ZOPE_WATCH_CHECKERS to work. Note that I was trying this as

Re: [Zope3-dev] Formatting dates

2005-07-20 Thread Gary Poster
On Jul 19, 2005, at 6:33 PM, Garrett Smith wrote: So this will specifically impact: - The use of date/time formatters - Date/time widgets Anything else? I don't think so. Since datetime values are immutable, I assume you're envisioning that widgets create tz-aware values. With

Re: [Zope3-dev] Re: Formatting dates

2005-07-20 Thread Gary Poster
On Jul 20, 2005, at 9:28 AM, Derrick Hudson wrote: On Tue, Jul 19, 2005 at 05:33:00PM -0500, Garrett Smith wrote: [...] | Since datetime values are immutable, I assume you're envisioning | that widgets create tz-aware values. With that in mind, I don't | understand 'collected timezone-less

Re: [Zope3-dev] KeywordIndex

2005-07-21 Thread Gary Poster
On Jul 19, 2005, at 1:06 AM, Jeff Shell wrote: Hi Gary! I'd be very interested in this. It's not critical for me right now, so there's no need to rush making something available. I have an inefficient but fun solution for my system that can be replaced when this comes along. I primarily wanted

Re: [Zope3-dev] KeywordIndex

2005-07-22 Thread Gary Poster
On Jul 22, 2005, at 2:30 PM, Michel Pelletier wrote: Awesome! I like the idea of set indexes and always looking for new indexing technique. Only having looked breifly at the code myself, what is the relation between zc.catalog and zope.app.catalog? The stuff in zc.catalog covers code

[Zope3-dev] More pytz pickling; 'zone' attribute

2005-07-27 Thread Gary Poster
Hi Stuart. Hope all is well. When last we spoke, we got the UTC timezone to be picklable. I'd like to let pytz timezones pickle also (so we can persist a user's preferred timezone). While I could keep the timezone name around, I'd prefer to keep the timezone object itself. Adding a

Re: [Zope3-dev] uniformly configurable request factories: bugfix or proposal?

2005-08-04 Thread Gary Poster
On Aug 4, 2005, at 11:17 PM, Stephan Richter wrote: On Thursday 04 August 2005 22:40, Gary Poster wrote: When trying to determine a plug point for some functionality we were contemplating, Fred Drake and I were surprised to see

Twisted integration (was Re: [Zope3-dev] Re: uniformly configurable request factories: bugfix or proposal?)

2005-08-05 Thread Gary Poster
On Aug 5, 2005, at 6:27 AM, Stephan Richter wrote: On Thursday 04 August 2005 23:34, Tres Seaver wrote: Can you point me to the discussion of the tradeoffs involved in moving to Twisted? I have not written the proposal yet, but you can play around with the branch if you like. Then

Re: [Zope3-dev] Re: uniformly configurable request factories: bugfix or proposal?

2005-08-05 Thread Gary Poster
On Aug 4, 2005, at 11:34 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephan Richter wrote: On Thursday 04 August 2005 22:40, Gary Poster wrote: When trying to determine a plug point for some functionality we were contemplating, Fred Drake and I were surprised

[Zope3-dev] Problem with zope.app.security._protections for tests

2005-08-07 Thread Gary Poster
Have you ever written functional tests and been surprised that they get security proxies around i18n Messages and MessageIDs in the tests, but not in the server? I have. :-) I'm not sure how often people encounter this, but I think I've heard one other person describe the symptom. I

PROPOSAL Re: [Zope3-dev] Problem with zope.app.security._protections for tests

2005-08-08 Thread Gary Poster
On Aug 8, 2005, at 7:36 AM, Stephan Richter wrote: It's definitely too late for 3.1. This really requires a proposal, so people can comment on it. Understood. Proposal can be found here: http://dev.zope.org/Zope3/FixZopeAppSecurityProtections Please comment. Philipp, I addressed your

Re: [Zope3-dev] Re: Problem with zope.app.security._protections for tests

2005-08-08 Thread Gary Poster
On Aug 8, 2005, at 9:51 AM, Philipp von Weitershausen wrote: [SNIP] This might have not worked anyway [SNIP] Right. As I perhaps only hinted in the proposal, it is impossible to import _protections from zope.app.security, because of this in the __init__: import _protections

Re: [Zope3-dev] Re: Problem with zope.app.security._protections for tests

2005-08-08 Thread Gary Poster
On Aug 8, 2005, at 10:15 AM, Fred Drake wrote: On 8/8/05, Gary Poster [EMAIL PROTECTED] wrote: Right. As I perhaps only hinted in the proposal, it is impossible to import _protections from zope.app.security, because of this in the __init__: import _protections _protections.protect() del

Re: [Zope3-dev] Re: Problem with zope.app.security._protections for tests

2005-08-08 Thread Gary Poster
On Aug 8, 2005, at 10:21 AM, Fred Drake wrote: On 8/8/05, Gary Poster [EMAIL PROTECTED] wrote: lol. eek. yuck. :-) Yep. Not sure what the best way to avoid this would be, either. I'm assuming you mean in Zope 3, rather than avoiding this possibility in Python, which seems like

[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/branches/testbrowser-integration/src/zope/testbrowser/ Big refactoring of the testbrowser interface, particularly in regards to

2005-08-10 Thread Gary Poster
On Aug 10, 2005, at 5:02 PM, Stephan Richter wrote: On Wednesday 10 August 2005 16:21, Gary Poster wrote: - removed mapping interface for accessing control values, and getControl: now use 'get' to get the control (or radio/checkbox subcontrol, see below), and access control attributes

Re: [Zope3-dev] Debugging a production server

2005-08-11 Thread Gary Poster
On Aug 11, 2005, at 12:03 PM, Garrett Smith wrote: Does anyone have some suggestions for debugging a production server? In development mode, I'm quite accustomed to adding set_traces and restarting the server, but this is no good in a production environment. Beyond what you already know

Re: [Zope3-dev] Re: Debugging a production server

2005-08-11 Thread Gary Poster
On Aug 11, 2005, at 12:43 PM, Tres Seaver wrote: Gary Poster wrote: In Zope 2 there is a handy Medusa-based trick similar to the basic capabilities of Twisted's manhole I used quite a while ago for this. ... That would be the monitor server. Ah, yes. Thanks. I would be very

Re: [Zope3-dev] XML Schema support on Zope3

2005-08-12 Thread Gary Poster
On Aug 12, 2005, at 1:50 PM, Julien Anguenot wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I started to add an XML Schema suppport on Zope3. Great! FWIW, I looked at this a couple of years ago and concluded that, with a reasonable amount of work, zope interfaces could support

Re: [Zope3-dev] XML Schema support on Zope3

2005-08-12 Thread Gary Poster
On Aug 12, 2005, at 2:06 PM, Gary Poster wrote: On Aug 12, 2005, at 1:50 PM, Julien Anguenot wrote: I started to add an XML Schema suppport on Zope3. Great! FWIW, I looked at this a couple of years ago and concluded that, with a reasonable amount of work, zope interfaces could support

[Zope3-dev] Re: More pytz pickling; 'zone' attribute

2005-08-15 Thread Gary Poster
On Aug 13, 2005, at 11:53 PM, Stuart Bishop wrote: ... Gary Poster wrote: On a somewhat unrelated note, I noticed that dst() and tzname() were not implemented per the standard library's spec ... ...snip explanation... Ah, that makes a lot of sense. I had not understood all of that before

Re: [Zope3-dev] XML Schema support on Zope3

2005-08-17 Thread Gary Poster
On Aug 16, 2005, at 7:31 AM, Julien Anguenot wrote: Gary Poster wrote: FWIW, I looked at this a couple of years ago and concluded that, with a reasonable amount of work, zope interfaces could support all of XMLSchema, but not vice versa. Sure, but if necessary we could add a 'zope

Re: [Zope3-dev] [i18n] help for 2 translations

2005-08-22 Thread Gary Poster
On Aug 20, 2005, at 7:26 PM, Sebastien Douche wrote: Hi again, I will appreciate any help for these 2 msgids. Can somebody explain me ? - Food For Thought Another way of writing this idiom might be 'Things We Ought to Think About' or 'Questions for Later'. - Zope Stub Server

[Zope3-dev] Florent's O-R blog entry

2005-08-23 Thread Gary Poster
I recently read Florent's object/relational blog entry at http:// blogs.nuxeo.com/sections/blogs/florent_guillaume/ 2005_08_11_object_relational . It's getting a bit old now, but I didn't see much discussion (or a way to make a comment) so I thought I'd bring it up here to invite shared

[Zope3-dev] RDFLib and Zope 3

2005-08-23 Thread Gary Poster
Michel (and anyone else with experience with RDFLib on the list), I recently looked at RDFLib (http://rdflib.net/) and came away (after an hour or so) with a good first impression. My biggest disappointment was that, from the perspective of a Zope 3 developer, using it alongside other Zope

Re: [Zope3-dev] Florent's O-R blog entry

2005-08-23 Thread Gary Poster
On Aug 23, 2005, at 1:11 PM, Gary Poster wrote: FWIW, my concluding sentence would have been better written as Meanwhile, deciding that a community project require an O/R back end over FileStorage or DirectoryStorage, as Florent argues, feels like a significant case of throwing the baby

Re: [Zope3-dev] Florent's O-R blog entry

2005-08-23 Thread Gary Poster
On Aug 23, 2005, at 12:56 PM, Shane Hathaway wrote: Gary Poster wrote: In conclusion, the nebulous concept of enterprise applications on Zope does not have a clear cut decision for or against an O/R mapper such as Ape. The cost of O/R mappings is not inconsequential

Re: [Zope3-dev] Re: RDFLib and Zope 3

2005-08-23 Thread Gary Poster
On Aug 23, 2005, at 5:06 PM, Michel Pelletier wrote On Tue, 2005-08-23 at 16:26 -0400, Tres Seaver wrote: They are know, but they are an *infeasible* join key (not only are they strings, but as arbitrary-length strings with common prefixes, their sorting semantics are almost worst-case for

Re: [Zope3-dev] Florent's O-R blog entry

2005-08-24 Thread Gary Poster
On Aug 23, 2005, at 3:44 PM, Janko Hauser wrote: Am 23.08.2005 um 20:36 schrieb Shane Hathaway: Gary Poster wrote: On Aug 23, 2005, at 1:11 PM, Gary Poster wrote: Argh, communication. That still could be too-easily misinterpreted, and I didn't stare at it long enough before I

Re: [Zope3-dev] Florent's O-R blog entry

2005-08-24 Thread Gary Poster
On Aug 24, 2005, at 6:27 AM, Martijn Faassen wrote: Hi there, A few contributions to this interesting discussion... [snip the Zope 3 catalog is not a hack, and clean and simple] The catalog and index code is not a hack, and is in fact simple, effective and flexible. Python is the query

Re: [Zope3-dev] Florent's O-R blog entry

2005-08-24 Thread Gary Poster
On Aug 24, 2005, at 8:08 AM, Lennart Regebro wrote: I'm not convinced that Florent blog entry says what Gary thinks it does, Hopefully you can see where I would get my interpretation, though. I'm happy to have Florent clarify on his return. This is a good discussion in any case. but

Re: [Zope3-dev] Re: RDFLib and Zope 3

2005-08-24 Thread Gary Poster
On Aug 23, 2005, at 8:07 PM, Michel Pelletier wrote: On Tue, 2005-08-23 at 18:04 -0400, Gary Poster wrote: The relationship between ZODB content objects, their int id as provided by the pertinent intid utility, and a (theoretical) corresponding RDF URI is what I'm having a hard time

Re: [Zope3-dev] Re: RDFLib and Zope 3

2005-08-25 Thread Gary Poster
On Aug 24, 2005, at 9:13 PM, Michel Pelletier wrote: On Wed, 2005-08-24 at 12:39 -0400, Gary Poster wrote: ... Since Dan is already using Twisted in his app server, maybe he'd be willing to let RDFLib drink the Zope interface Kool-Aid along with us and Twisted. I know he's looked

[Zope3-dev] inherited security (and timezones)

2005-08-25 Thread Gary Poster
Jim mentioned to me a while ago that he was planning to have security settings for classes inherit. I was against it, because I thought that like_class answered the use case sufficiently, explicitly, and not overly annoyingly. However, in order to get pytz timezones--a large set of

Re: [Zope3-dev] Re: RDFLib and Zope 3

2005-08-26 Thread Gary Poster
On Aug 26, 2005, at 2:56 AM, Daniel Krech wrote: On Aug 25, 2005, at 2:32 PM, Gary Poster wrote: On Aug 24, 2005, at 9:13 PM, Michel Pelletier wrote: On Wed, 2005-08-24 at 12:39 -0400, Gary Poster wrote: ... Since Dan is already using Twisted in his app server, maybe he'd be willing to let

Re: [Zope3-dev] Florent's O-R blog entry

2005-08-29 Thread Gary Poster
On Aug 27, 2005, at 6:08 AM, Wichert Akkerman wrote: Previously Gary Poster wrote: We have at least three maintained and capable ZODB backends, with different strengths and weaknesses, appropriate for different use cases. Lets not jump to discard any of them. With current filesystem

[Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-08-29 Thread Gary Poster
We'll be doing some work on the widget/schema code at the Rivah sprint, Thursday and Friday this week. This email identifies the possible tasks, and proposes the actual choice of work (short answer: potentially all but the biggest, and last, 2). Interested parties are invited to comment

Re: [Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-08-29 Thread Gary Poster
On Aug 29, 2005, at 3:44 PM, Stephan Richter wrote: On Monday 29 August 2005 15:30, Gary Poster wrote: We'll be doing some work on the widget/schema code at the Rivah sprint, Thursday and Friday this week. This email identifies the possible tasks, and proposes the actual choice of work

Re: [Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-08-29 Thread Gary Poster
On Aug 29, 2005, at 4:50 PM, Jim Fulton wrote: Gary Poster wrote: ... 4 Recognize and document that the 'default' field argument is actually 'initial value'. That is, if you set a field with a default to the missing_value, the default does not become the field's value: the 'default

Re: [Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-08-29 Thread Gary Poster
On Aug 29, 2005, at 4:24 PM, Garrett Smith wrote: To ease our own development, I forked the schema and widgets code a while back. I don't think we've deviated too severely, but I've added whatever 2 cents based on my experience below. 1 Flesh out the 'source' design and implementation

Re: [Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-08-29 Thread Gary Poster
On Aug 29, 2005, at 6:37 PM, Garrett Smith wrote: On Monday, August 29, 2005 4:33 PM, Gary Poster wrote: Couldn't 'initial_getter' just be implemented using a property version of 'initial'? Yes, it could. The only downside is that it wouldn't be usable as an initialization argument. I

[Zope3-dev] Bug in i18n timezones (was Re: [Zope3-Users] obtaining time zone from http request)

2005-08-29 Thread Gary Poster
On Aug 29, 2005, at 7:18 PM, Alen Stanisic wrote: On Mon, 2005-08-29 at 09:50 -0400, Gary Poster wrote: And FWIW, once you get your browser settings correct, for the timezone part of the locale database, en-* is all the same--that is, if my locale is en-US, I get all en* locations (including

Re: [Zope3-dev] Re: RDFLib and Zope 3

2005-08-29 Thread Gary Poster
On Aug 26, 2005, at 3:03 AM, Daniel Krech wrote: On Aug 25, 2005, at 3:10 PM, Michel Pelletier wrote: On Thu, 2005-08-25 at 14:32 -0400, Gary Poster wrote: see what he thinks. I wonder how lite the component kernel can go. The only thing I have in mind is the interface package, which

Re: [Zope3-dev] zc.catalog doctest failures

2005-08-30 Thread Gary Poster
On Aug 30, 2005, at 9:14 AM, Benji York wrote: Martijn Faassen wrote: There appear to be some doctest failures in zc.catalog as retrieved from the sandbox yesterday: I believe these are caused by not having the stemmer installed. I'm not sure where the stemmer is available. I'll ask

Re: [Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-08-30 Thread Gary Poster
On Aug 30, 2005, at 2:43 AM, Adam Groszer wrote: Dear Gary and Stephan, Would you please have a look at my messages with the subject [Zope3-dev] problems with browser:widget I'm also having problems with CustomWidgetFactory, but in an other usecase. Adam, I'm sorry, I don't

Re: [Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-08-30 Thread Gary Poster
On Aug 30, 2005, at 10:56 AM, Fred Drake wrote: On 8/30/05, Gary Poster [EMAIL PROTECTED] wrote: Adam, I'm sorry, I don't know much about the CustomWidgetFactory. We are using the zope.formlib package exclusively now (http:// svn.zope.org/zope.formlib/), which does not use custom widget

Re: [Zope3-dev] Re: Bug in i18n timezones (was Re: [Zope3-Users] obtaining time zone from http request)

2005-08-30 Thread Gary Poster
On Aug 30, 2005, at 8:39 AM, Stephan Richter wrote: On Monday 29 August 2005 22:38, Stuart Bishop wrote: I'm happy to expose this through pytz. There is a new set of data files released yesterday (including the 2006 changes the US has just signed into law) so I can push out a new release

Re: [Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-08-30 Thread Gary Poster
On Aug 30, 2005, at 11:31 AM, Jim Fulton wrote: Gary Poster wrote: On Aug 29, 2005, at 4:50 PM, Jim Fulton wrote: Gary Poster wrote: ... 4 Recognize and document that the 'default' field argument is actually 'initial value'. ... I'm uncomfortable with this. ... Initial value

Re: [Zope3-dev] catalog 'all documents' abstraction

2005-08-30 Thread Gary Poster
On Aug 30, 2005, at 1:57 PM, Martijn Faassen wrote: Jim Fulton wrote: Martijn Faassen wrote: [snip] ). I also think however that it's the wrong place the ask for this information, as this doesn't work with the extentcatalog. Well, it depends on what you meant by indexed above.

Re: [Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-08-30 Thread Gary Poster
On Aug 30, 2005, at 9:13 PM, Stuart Bishop wrote: Gary Poster wrote: 2 Clean up the exceptions widget framework. The use of the widget input error is quite messy: see collector issue 273. The idea would be to make the use of the errors argument more consistent and more restricted

Re: [Zope3-dev] catalog 'all documents' abstraction

2005-08-31 Thread Gary Poster
On Aug 31, 2005, at 5:41 AM, Martijn Faassen wrote: Gary Poster wrote: On Aug 30, 2005, at 1:57 PM, Martijn Faassen wrote: [snip] It would be helpful if someone could explain the motivations behind the extent catalog, by the way -- this information seems to be missing in zc.catalog

Re: [Zope3-dev] Re: XML header and TAL interpretor

2005-08-31 Thread Gary Poster
On Aug 31, 2005, at 10:46 AM, Stephan Richter wrote: On Wednesday 31 August 2005 10:05, Julien Anguenot wrote: Don't forget that IE will then have an insane tendency to render the pages wrong. I don't recall all of the details, but it was something like if the document began with ?xml ?

Re: [Zope3-dev] Atomic reads w ZEO and ZODB

2005-08-31 Thread Gary Poster
On Aug 31, 2005, at 12:07 PM, David Huttleston Jr wrote: ... But, I'm fuzzy on how the zodb prevents inconsistent reads. ... Hi David. A quick answer is that the ZODB implements optimistic multi-version concurrency control, similar to the default PostgreSQL behavior. This link describes

Re: [Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/src/zope/schema/interfaces.py - add IIterableChoice and note the desire to depricate vocabularies

2005-09-05 Thread Gary Poster
On Sep 5, 2005, at 12:39 AM, Stuart Bishop wrote: Benji York wrote: Stuart Bishop wrote: If this is a way of saying I'm iterable, but I don't want to tell you how long I am Right. shouldn't an exeption be raised? Otherwise 'for i in range(0,len(source)): foo = source[i]' could start

Re: [Zope3-dev] Failing test, Zope3 trunk, Windows

2005-09-06 Thread Gary Poster
On Sep 6, 2005, at 3:39 PM, Fred Drake wrote: On 9/6/05, Tim Peters [EMAIL PROTECTED] wrote: Not sure when this started to fail -- recently: The `pytz` was recently updated to use a newer version of the Olson timezone database. This failure appears to be fallout from that. Not sure

Re: [Zope3-dev] RC 3 for Zope 3.1 needed

2005-09-06 Thread Gary Poster
On Sep 6, 2005, at 4:29 PM, Stephan Richter wrote: Hi everyone, I just learned that we need to have a Zope 3.1 RC 3 release. I know that some people found bugs, so please check in fixes into the branch in the next couple of days. Gary, does the pytz problem affect the branch? Yes.

Re: [Zope3-dev] Re: Source API

2005-09-06 Thread Gary Poster
On Sep 6, 2005, at 11:21 AM, Fred Drake wrote: ... I agree with what Fred said. Gary ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

[Zope3-dev] Re: Source API

2005-09-06 Thread Gary Poster
On Sep 6, 2005, at 1:08 AM, Stuart Bishop wrote: ... So the only thing I think needs changing here is the documentation suggesting returning maxint from __len__. ... While I think there is agreement on this, have we settled in on a solution? Raising NotImplementedError or some other error

Re: [Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-09-06 Thread Gary Poster
On Sep 1, 2005, at 6:05 AM, Adam Groszer wrote: Dear Gary, Maybe not too late, I have here one more thing to look at: Hi Adam. Unfortunately, we did not get to your bug issues. If you have not already, please do put your issues in the Zope 3 collector

Re: [Zope3-dev] RC 3 for Zope 3.1 needed

2005-09-06 Thread Gary Poster
On Sep 6, 2005, at 10:27 PM, Fred Drake wrote: On 9/6/05, Stuart Bishop [EMAIL PROTECTED] wrote: Is this something I need to be aware of? Because I'm not ;) This test in the Zope 3 trunk is failing: I talked with Stuart on IRC. It appears to be a symptom of using pytz incorrectly in

Re: [Zope3-dev] Re: Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-09-07 Thread Gary Poster
On Sep 7, 2005, at 9:13 AM, Florent Guillaume wrote: Jim Fulton wrote: I think that sources are different than initial value. I really don't see any role that initial value has in an object specification. A schema is a specification for an object that provides the schema. An initial value

Drop-in rich (JS/CSS-dependent) view components: Please review (was Re: [Zope3-dev] Resource Library Proposal)

2005-09-07 Thread Gary Poster
Benji posted this last week and we don't have any feedback yet. We would really like some, even if it is to ask us to clarify what the heck it is about. Some of our other code that we want to contribute depends on this. The use case for this tool is to allow rich view components, such as

[Zope3-dev] plan to address the i18n locale timezone problem

2005-09-07 Thread Gary Poster
Awhile ago, someone brought up the fact that Australian timezones were not options in the locale object; I also mentioned that the locale database thought that en_US and en_AU (all en_*, in fact) included Tokyo and Casablanca. I looked at the ICU information, and they suggested that

[Zope3-dev] Re: Drop-in rich (JS/CSS-dependent) view components: Please review (was Re: Resource Library Proposal)

2005-09-07 Thread Gary Poster
On Sep 7, 2005, at 12:15 PM, Florent Guillaume wrote: Gary Poster wrote: On Aug 31, 2005, at 3:55 PM, Benji York wrote: I've added a proposal for Zope 3.2. Read at http://www.zope.org/ Wikis/DevSite/Projects/ComponentArchitecture/ResourceLibrary. WARNING: zope.org exhibiting some serious

Re: [Zope3-dev] Re: Drop-in rich (JS/CSS-dependent) view components: Please review (was Re: Resource Library Proposal)

2005-09-07 Thread Gary Poster
On Sep 7, 2005, at 4:48 PM, Max M wrote: Gary Poster wrote: The use case for this tool is to allow rich view components, such as form widgets (but there are many other examples), that rely on JS and CSS to work in a more componentized, drop-in way. While reasearching Ajax

Re: [Zope3-dev] newer versions of zc.catalog available?

2005-09-08 Thread Gary Poster
Martijn Faassen wrote: Hi there, We're trying to hunt down a weird bug that is probably our own fault, but it's pretty obscure, and we want to exclude the possibility that any of this has to do with zc.catalog, which we're using (the SetIndex component). The version in the sandbox is 6

Re: [Zope3-dev] Resource Library Proposal

2005-09-16 Thread Gary Poster
On Sep 16, 2005, at 12:49 PM, Garrett Smith wrote: Sorry for the long delay in replying. We've been using widget-specific JS and CSS for some time now and I like our approach. It's quite different from the proposal. We're using the same pattern used by forms/widgets -- i.e. the PT is

Re: [Zope3-dev] Resource Library Proposal

2005-09-16 Thread Gary Poster
On Sep 16, 2005, at 4:15 PM, Benji York wrote: Garrett Smith wrote: I don't understand what you just said :-) My fault -- I haven't been plugged into the other discussion. Is there a branch somewhere that has a simple demo to help with grokability?

Re: [Zope3-dev] Resource Library Proposal

2005-09-16 Thread Gary Poster
On Sep 16, 2005, at 5:20 PM, Garrett Smith wrote: That's right. But the view can solve these problems easily without a lot of other stuff like yet-another-ZCML directive and automagical transformation of the HTML head element. ... This is a trivial change to the existing Zope code.

Re: [Zope3-dev] Resource Library Proposal

2005-09-16 Thread Gary Poster
On Sep 16, 2005, at 6:15 PM, Garrett Smith wrote: On Friday, September 16, 2005 3:58 PM, Gary Poster wrote: You could also be asking about the pipeline ideas, but that's not my first guess. :-) Yes, I suspect this is what I'm missing. Maybe so. Maybe you just disagree

[Zope3-dev] zope.app.recorder not in 3.1c3

2005-09-22 Thread Gary Poster
I saw in the CHANGES for 3.1 that we Added the HTTP request recorder, which lets you inspect raw HTTP requests and responses. It can be used to create functional doctests without requiring third- party tools such as TCPWatch. Is this zope.app.recorder? I think so. If so, it appears to be

Re: [Zope3-dev] browserDefault uses '@@' for containers

2005-09-22 Thread Gary Poster
On Sep 22, 2005, at 1:36 PM, Garrett Smith wrote: Why does z/a/container/traversal/ContainerTraversal include '@@' in the default view name? This is not the case in SimpleComponentTraverser (z/a/publication/traversers). Is there something special about containers that their default view

Re: [Zope3-dev] formlib addForm

2005-09-26 Thread Gary Poster
On Sep 25, 2005, at 3:58 PM, Christian Lueck wrote: ... zope.app.container.interfaces.IAdding seems most promising -- but what to do with it? Question: Is it right to register a formlib-based addview with the browser:page-directive? Yep. How do I get the + ? ;) The '+' is an

Re: [Zope3-dev] _notifyOfCopyTo

2005-09-26 Thread Gary Poster
On Sep 26, 2005, at 2:10 PM, Stephan Richter wrote: On Monday 26 September 2005 13:36, Florent Guillaume wrote: In Zope 3, is it worthwhile to have a kind of ObjectWillBeCopied/ Added event for that, or do you guys feel that this kind of vetoing should be done by simply subscribing to

Re: [Zope3-dev] event before delete

2005-09-26 Thread Gary Poster
On Sep 26, 2005, at 2:13 PM, Fred Drake wrote: On 9/26/05, Florent Guillaume [EMAIL PROTECTED] wrote: This will make some porting / compatibility more difficult. I may add an IObjectWillBeRemovedEvent in Five for that, but maybe it makes sense to have it in pure Zope 3 ? I think it

[Zope3-dev] collector issue 438: canWrite throwing forbidden attribute

2005-09-27 Thread Gary Poster
Hi. Kevin (cc'd, along with the person whom I believe filed the original bug) asked me to look at collector issue 438. Here are a few thoughts and observations. - canWrite and canAccess are simply friendly ways of interacting with the security policy: they defer all of their actual

Re: [Zope3-dev] zcml:condition registry?

2005-09-30 Thread Gary Poster
On Sep 30, 2005, at 2:25 PM, Fred Drake wrote: The last time we discussed the zcml:condition attribute for ZCML, we decided that there should be a general registry of feature names that should be checked when defining a new feature name. I think that I suggested a page in the Zope 3 wiki as

Re: [Zope3-dev] zcml:condition registry?

2005-09-30 Thread Gary Poster
On Sep 30, 2005, at 6:29 PM, Fred Drake wrote: For the record, Gary capitulated via IM rather than by email to the list. (I didn't even have to force his hand... wonder if he's feeling ill?) I'm send this email to: 1. Give Gary a chance to say Oh no I didn't! in public. :-) 2. Let people

Re: [Zope3-dev] Keening for the poultry

2005-10-13 Thread Gary Poster
Hey Tres. I apologize for not looking at your efforts so far, but just in case I can help quickly, have you seen this, and is it pertinent? http://mail.zope.org/pipermail/zope3-users/2005-September/001078.html Gary ___ Zope3-dev mailing list

Re: [Zope3-dev] RFC: Content Providers and Viewlets

2005-10-15 Thread Gary Poster
On Oct 15, 2005, at 8:24 AM, Stephan Richter wrote: ... What are we looking for? - Comments on the Python API. - Comments on the ZCML API. - Comments on the ZPT API. - Use cases that you might think are not covered by the design and implementation. - Whatever you like to say about it... Hi

Re: [Zope3-dev] RFC: Content Providers and Viewlets

2005-10-16 Thread Gary Poster
On Oct 15, 2005, at 9:52 PM, Roger Ineichen wrote: [...] The content provider package offers just the API for collecting additional content. This pattern can be used directly in python or in page templates. There is no reason that we have to use a viewlet implementation for this. The content

Re: [Zope3-dev] RFC: Content Providers and Viewlets

2005-10-16 Thread Gary Poster
On Oct 16, 2005, at 9:42 AM, Stephan Richter wrote: On Sunday 16 October 2005 09:01, Gary Poster wrote: Let's say the content provider package offers the concept and the viewlet package offers a implementation which depends on page templates. OK, that makes sense. The contentprovider

Re: [Zope3-dev] RFC: Content Providers and Viewlets

2005-10-17 Thread Gary Poster
On Oct 17, 2005, at 11:23 AM, Dominik Huber wrote: ... IMO it is very important to provide a standardized way to handle complex, formbased views properly (- prefix like nested widgets) Agreed. FWIW, this is another part of the subview package. I tried to spell this out very explicitly.

Re: [Zope3-dev] RFC: Content Providers and Viewlets

2005-10-17 Thread Gary Poster
On Oct 17, 2005, at 12:02 PM, Stephan Richter wrote: Right, this is a serious problem. I would really like to see some more detailed documentation about this approach. But I am pretty sure this is a problem orthogonal to the content provider code and can be solved in a different package

Re: [Zope3-dev] RFC: Content Providers and Viewlets

2005-10-17 Thread Gary Poster
On Oct 17, 2005, at 12:08 PM, Stephan Richter wrote: On Saturday 15 October 2005 15:48, Gary Poster wrote: I also really wish we could agree on a subview-addressing story (for AJAX) and a drag-and-drop story. We have experience with our drag and drop story, and are proposing a new AJAX

Re: [Zope3-dev] RFC: Content Providers and Viewlets

2005-10-17 Thread Gary Poster
On Oct 17, 2005, at 12:17 PM, Stephan Richter wrote: Thanks for your thoughts and review. ... I really want to talk to you over a higher-bandwidth medium about this. If we could agree on everything but the persistent bits for the 3.2 inclusion then I'd be thrilled. That will mean a number

[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/src/zope/ I think this fixes our security proxy issues. Gary, that's cool with you?

2005-10-26 Thread Gary Poster
On Oct 26, 2005, at 10:26 PM, Stephan Richter wrote: Log message for revision 39662: I think this fixes our security proxy issues. Gary, that's cool with you? Yeah, I'll take it. ;-) Thanks a lot! Gary ___ Zope3-dev mailing list

Re: [Zope3-dev] hurry.query in Zope 3.2?

2005-10-31 Thread Gary Poster
On Oct 28, 2005, at 6:18 AM, Martijn Faassen wrote: Hey, Martijn Faassen wrote: Would there be any interest in merging hurry.query into Zope 3.2? Apparently not, or at least people are lacking in time, which is understandable as I do too. :) I'll try in more advance for Zope 3.3. We

Re: [Zope3-dev] __init__.py interfaces.py guidelines?

2005-11-21 Thread Gary Poster
On Nov 21, 2005, at 12:29 PM, Jean-Marc Orliaguet wrote: There is another place where there seems to be two different patterns too: sometimes we have: import zope.schema name = zope.schema.TextLine(...) and sometimes: from zope.schema import TextLine name = TextLine(...)

Re: [Zope3-dev] RFC: Reunite Zope 2 and Zope 3 in the source code repository

2005-11-23 Thread Gary Poster
On Nov 23, 2005, at 10:16 AM, Philipp von Weitershausen wrote: Sounds crazy, I know. But I'm serious. Looking for your comments at: http://dev.zope.org/Zope3/ ReuniteZope2AndZope3InTheSourceCodeRepository I already spoke with Philipp on IRC about this, but for the record, and speaking

Re: [Zope-dev] Re: [Zope3-dev] RFC: Reunite Zope 2 and Zope 3 in the source code repository

2005-11-23 Thread Gary Poster
While I don't agree with the +1 voters, I understand and appreciate their arguments. That said... On Nov 23, 2005, at 6:49 PM, Jens Vagelpohl wrote: People keep telling Zope2 developers that the inclusion of Zope3 doesn't mean you have to touch it, if you don't use it it is just inert

Re: [Zope-dev] Re: [Zope3-dev] RFC: Reunite Zope 2 and Zope 3 in the source code repository

2005-12-01 Thread Gary Poster
On Nov 30, 2005, at 2:18 PM, Chris Withers wrote: Gary Poster wrote: Zope 2 depends on Zope 3, via Five. Zope 3 does not depend on Zope 2. A very good point, but one which makes me feel that Zope 2 shouldn't be merged in with Zope 3 ;-) Actually, yes, all of my points were made

[Zope3-dev] logout patterns: a small proposal

2005-12-08 Thread Gary Poster
There are a surprising number of components in zope.app designed to help with logging out. They are all trying to solve the problem that some authentication can't log out, so you shouldn't show logout links then. I only care about the pluggable auth in zope.app.authentication.

  1   2   3   >