*** b_52CEntos has joined #zope3-dev | 00:04 | |
b_52CEntos | hi | 00:05 |
---|---|---|
*** sawdog has left #zope3-dev | 00:10 | |
*** b_52CEntos has left #zope3-dev | 00:15 | |
*** niemeyer has quit IRC | 00:21 | |
*** GaryPoster has quit IRC | 00:31 | |
*** gumpa-away has left #zope3-dev | 00:46 | |
*** dobee has quit IRC | 00:47 | |
*** yota has quit IRC | 01:41 | |
*** GaryPoster has joined #zope3-dev | 01:51 | |
*** jinty has quit IRC | 02:04 | |
*** mexiKON has quit IRC | 02:09 | |
*** stub has joined #zope3-dev | 02:25 | |
*** RaFromBRC has quit IRC | 02:41 | |
*** GaryPoster has quit IRC | 02:57 | |
*** roym has joined #zope3-dev | 03:02 | |
*** roym has quit IRC | 03:09 | |
*** gawel has joined #zope3-dev | 03:09 | |
*** trevorp-office has joined #zope3-dev | 03:15 | |
*** trevorp-office has quit IRC | 03:19 | |
romanofski | moin | 03:46 |
*** zbir has quit IRC | 03:48 | |
*** GaryPoster has joined #zope3-dev | 03:50 | |
*** SteveA has quit IRC | 04:07 | |
*** oferw has joined #zope3-dev | 04:07 | |
*** niemeyer has joined #zope3-dev | 04:10 | |
*** oferw has quit IRC | 04:11 | |
*** rocky has quit IRC | 04:12 | |
*** rocky has joined #zope3-dev | 04:13 | |
*** GaryPoster has quit IRC | 04:40 | |
*** GaryPoster has joined #zope3-dev | 04:42 | |
*** stop has joined #zope3-dev | 04:43 | |
*** stop has left #zope3-dev | 04:44 | |
*** niemeyer has quit IRC | 05:11 | |
*** SteveA has joined #zope3-dev | 05:35 | |
*** projekt01 has left #zope3-dev | 05:45 | |
*** GaryPoster has quit IRC | 05:48 | |
*** GaryPoster has joined #zope3-dev | 05:49 | |
*** eins has joined #zope3-dev | 08:09 | |
*** zagy has joined #zope3-dev | 08:16 | |
*** yutakashino has joined #zope3-dev | 08:55 | |
*** zagy_ has joined #zope3-dev | 09:00 | |
*** SureshV has joined #zope3-dev | 09:07 | |
*** dobee has joined #zope3-dev | 09:08 | |
*** zagy_ has quit IRC | 09:12 | |
*** zagy has quit IRC | 09:14 | |
*** jukart has joined #zope3-dev | 09:14 | |
*** mexiKON has joined #zope3-dev | 09:22 | |
*** hdima has joined #zope3-dev | 09:25 | |
*** zagy has joined #zope3-dev | 09:40 | |
*** yota has joined #zope3-dev | 09:49 | |
*** tanghus has quit IRC | 09:58 | |
*** tanghus has joined #zope3-dev | 09:58 | |
*** mexiKON has quit IRC | 10:11 | |
*** PupenoK_ has joined #zope3-dev | 10:17 | |
*** jinty has joined #zope3-dev | 10:21 | |
PupenoK_ | Hello. | 10:25 |
*** PupenoK_ is now known as PupenoK | 10:25 | |
PupenoK | Is there a schema field for multiple selections that works with formlib... possible generating a set of checkboxes ? | 10:27 |
*** PupenoK has left #zope3-dev | 10:38 | |
*** tanghus has quit IRC | 10:42 | |
*** PupenoK has joined #zope3-dev | 10:44 | |
PupenoK | Hello. | 10:44 |
*** tanghus has joined #zope3-dev | 10:57 | |
*** Aiste has quit IRC | 11:04 | |
PupenoK | How does one use multiple selection widget while using formlib ? | 11:05 |
PupenoK | I have just tried doing: form_fields['groups'].custom_widget = MultiSelectWidget but I get the error: TypeError: __init__() takes exactly 4 arguments (3 given) | 11:05 |
*** dlk has joined #zope3-dev | 11:34 | |
*** andrew_m has quit IRC | 12:05 | |
yutakashino | ッq | 12:10 |
*** yutakashino has quit IRC | 12:10 | |
*** Aiste has joined #zope3-dev | 12:10 | |
*** faassen has joined #zope3-dev | 12:29 | |
*** mexiKON has joined #zope3-dev | 12:32 | |
*** ignas has joined #zope3-dev | 12:40 | |
*** TheHippo has joined #zope3-dev | 12:48 | |
mexiKON | SteveA, i just responded to your comment on http://www.zope.org/Collectors/Zope3-dev/639 | 12:57 |
*** romanofski is now known as rom|aw | 13:01 | |
*** mgedmin has joined #zope3-dev | 13:06 | |
*** Aiste has quit IRC | 13:07 | |
TheHippo | How do I use zope.app.container.constraints.containers? | 13:22 |
TheHippo | When I add it to my interface the add view gives me a IInputWidget lookup error | 13:22 |
*** alga has joined #zope3-dev | 13:23 | |
mexiKON | TheHippo, you need to excluse __parent__ from your form | 13:27 |
TheHippo | Ahh, got it! I didn't notice that form_fields.omit() doesn't act in place for a while. Thanks! | 13:33 |
mexiKON | :) | 13:34 |
*** mexiKON has quit IRC | 13:38 | |
*** mgedmin has quit IRC | 13:43 | |
*** J1m has joined #zope3-dev | 13:47 | |
*** oferw has joined #zope3-dev | 13:56 | |
*** mkerrin has joined #zope3-dev | 14:19 | |
*** Aiste has joined #zope3-dev | 14:19 | |
*** dunny has quit IRC | 14:20 | |
*** stub has quit IRC | 14:24 | |
*** jinty has quit IRC | 14:24 | |
*** projekt01 has joined #zope3-dev | 14:41 | |
projekt01 | good morning | 14:42 |
*** zbir has joined #zope3-dev | 14:42 | |
*** PupenoK has left #zope3-dev | 15:04 | |
*** niemeyer has joined #zope3-dev | 15:36 | |
*** zagy has quit IRC | 15:44 | |
*** oferw has quit IRC | 15:47 | |
*** Aiste has quit IRC | 16:02 | |
*** alga has quit IRC | 16:03 | |
*** benji has joined #zope3-dev | 16:07 | |
*** benji has joined #zope3-dev | 16:08 | |
*** Aiste has joined #zope3-dev | 16:36 | |
*** vlado has joined #zope3-dev | 16:39 | |
*** nathany has joined #zope3-dev | 16:41 | |
*** alga has joined #zope3-dev | 16:45 | |
projekt01 | dobee, ayt? | 16:45 |
dobee | projekt01: jep | 16:45 |
projekt01 | I sent you a mail about the image lib from package from gawel | 16:46 |
projekt01 | What do you think? | 16:46 |
projekt01 | Ah, gawel is also here | 16:46 |
projekt01 | gawel, ayt? | 16:46 |
gawel | yep | 16:47 |
projekt01 | Did you see my answer to your mail? | 16:47 |
gawel | not yet | 16:47 |
projekt01 | ...snail mail... | 16:48 |
projekt01 | Are you interessted to have your imagelib in the z3c repos? | 16:49 |
gawel | sure | 16:49 |
projekt01 | Should dobee or I review it and commit to the repos? | 16:50 |
gawel | benji talk about a contributor agreement. where i can find it ? | 16:50 |
gawel | is it to gain write access ? | 16:50 |
benji | hmm, don't know off hand, let me look | 16:50 |
benji | pretty much | 16:51 |
*** rom|aw is now known as romanofski | 16:51 | |
gawel | projekt01: yep i can send you my package. i have a few ideas to implement before. i'll sent you when it's done then :) | 16:51 |
dobee | projekt01: it would be nice to have such thing as a standard package, i also wrote an adapter for IImage which can be used to process images using PIL, but didn't find the time to generalize it | 16:51 |
projekt01 | gawel, here is a link: http://www.zope.org/DevHome/Subversion/FrontPage | 16:52 |
gawel | ok thanks | 16:52 |
benji | I think I like projekt01's idea of putting it in a different repo | 16:52 |
projekt01 | gawel, can you put it on a own repos, then we can improve it there and move it when it's ready? | 16:52 |
gawel | yep i can | 16:53 |
projekt01 | benji, probably z3c is the right palce for such packages whenn they follow the ZSCP standard | 16:54 |
benji | where is that repo located? | 16:55 |
projekt01 | gawel, cool, can you send me the link to your repos? | 16:55 |
gawel | have to commit first ;) | 16:55 |
projekt01 | benji, we added this package at the swiss easter sprint as a top level repos: | 16:56 |
projekt01 | repos/main/z3c.* | 16:56 |
benji | oh, so anything in there still need a contributor agreement, I though there was a seperate repo somewhere | 16:56 |
* gawel don't have a printer :) | 16:57 | |
projekt01 | benji, not yet, I guess we should not open z3c because it should follow the ZSCP standard | 16:57 |
gawel | i'll do it soon | 16:57 |
benji | right, we need a seperate repo for z3c | 16:58 |
projekt01 | gawel, do you have my mail address? | 16:58 |
gawel | on the list i think :) | 16:59 |
projekt01 | gawel, you can reach me at dev at projekt01 . ch | 17:00 |
gawel | ok | 17:00 |
projekt01 | gawel, can you also send the repo link to dobee, so he can merge his adapter for IImage to this implementation? | 17:01 |
gawel | if you give me his email | 17:02 |
dobee | gawel: bernd.dorn at fhv.at | 17:02 |
gawel | thanks | 17:03 |
projekt01 | dobee, gawel, thanks, see you later | 17:03 |
dobee | cu | 17:03 |
*** alga has quit IRC | 17:07 | |
*** dman13 has joined #zope3-dev | 17:11 | |
*** Aiste has quit IRC | 17:12 | |
*** philiKON has joined #zope3-dev | 17:18 | |
*** zbir has quit IRC | 17:18 | |
*** gintas has joined #zope3-dev | 17:20 | |
philiKON | J1m, do you have an opinion for http://www.zope.org/Collectors/Zope3-dev/639 ? | 17:22 |
J1m | looking | 17:23 |
*** zbir has joined #zope3-dev | 17:23 | |
*** dlk has quit IRC | 17:26 | |
J1m | Here's what we should do. | 17:27 |
J1m | Have separate z3 and z2 template objects. | 17:27 |
J1m | Someday, both would be available in z2 and perhaps z3, or even z5. :) | 17:27 |
*** alga has joined #zope3-dev | 17:27 | |
philiKON | we already do have separate template objects | 17:27 |
philiKON | templates aren't the issu | 17:28 |
J1m | But the different kinds of templates have separate behavior. | 17:28 |
philiKON | right. i'm sort of ok with that | 17:28 |
J1m | I prefer the z3 nehavior myself. | 17:28 |
J1m | behavior | 17:28 |
philiKON | uh huh. | 17:28 |
J1m | I think we also need separate template types to deal with unicode issues, don't we? I don't really remember. | 17:28 |
philiKON | this isn't so much about the behavioru but about the pluggability | 17:28 |
J1m | How so? | 17:29 |
philiKON | hey, this isn't about the different template types | 17:29 |
philiKON | this is just about traversing dicts | 17:29 |
philiKON | zope 3 does this: | 17:29 |
philiKON | if getattr(obj, '__class__', None) == dict: | 17:29 |
philiKON | # Special-case dicts | 17:29 |
philiKON | return obj[name] | 17:29 |
philiKON | zope3's traversal machinery, that is | 17:29 |
J1m | where is this? | 17:29 |
philiKON | zope.traversing.adapters.traversePathElement | 17:30 |
J1m | hm, is that used for anything but zpt? | 17:30 |
philiKON | yes | 17:30 |
philiKON | well | 17:30 |
philiKON | anything that uses the zope.traversing.interfaces.ITraverser api | 17:30 |
J1m | Then I would be inclined to move the special case into the z3-specific zpt implementation. | 17:30 |
J1m | Honestly, I think path traversal in any context other than zpt is probably insane. | 17:31 |
J1m | (or urls, of course) | 17:31 |
philiKON | possibly | 17:31 |
philiKON | the log message on the revision where you introduced the above lines clearly mention ZPT: | 17:31 |
philiKON | Added a special case for traversing dictionaries. We traverse lots of | 17:31 |
philiKON | these in ZPT and it doen't make sense to go through the CA for them. | 17:31 |
*** hdima has quit IRC | 17:32 | |
J1m | In any case, I don't think we should consider a change here any sooner than 3.6. | 17:32 |
philiKON | change in behaviour, you mean, right? | 17:33 |
J1m | hm, thinking about this some more... | 17:33 |
J1m | yes | 17:33 |
J1m | I posit: | 17:33 |
J1m | 1. We should never be traversing dicts in urls. | 17:33 |
J1m | 2. We should never use path traversal outside os zpt. | 17:33 |
J1m | 3. The existing behavior should be kept for z3 zpts | 17:34 |
J1m | ergo, I see no point in changing anything. | 17:34 |
philiKON | i do | 17:34 |
J1m | Z2 zpt can use a different strategy. | 17:34 |
philiKON | i want to use zope.traversing in zope 2 | 17:34 |
philiKON | in fact, if it wasn't for that one short circuiting, i could | 17:34 |
philiKON | if that short circuiting for dict moved to zope.app.pagetemplate, we'd be fine | 17:34 |
philiKON | like you suggested earlier (moving the special case into the z3-specific zpt implementation) | 17:35 |
J1m | I'd be ok with that. | 17:35 |
J1m | For 3.6, I'd like to deprecate the Z3 Python traversing apis. | 17:35 |
philiKON | aha. | 17:35 |
philiKON | what should replace 'em? | 17:36 |
*** alecm has quit IRC | 17:40 | |
*** mgedmin has joined #zope3-dev | 17:40 | |
*** alecm has joined #zope3-dev | 17:42 | |
*** admp has joined #zope3-dev | 17:44 | |
*** jinty has joined #zope3-dev | 17:46 | |
*** admp has quit IRC | 17:46 | |
*** fcorrea has joined #zope3-dev | 17:58 | |
*** alecm is now known as alecm|afk | 17:59 | |
J1m | philiKON, why would we need to replace em | 18:02 |
J1m | why should anyone use them? | 18:02 |
philiKON | i guess if you take point #2 from above seriously, then noone | 18:03 |
J1m | There you go. :) | 18:03 |
philiKON | i'm stijll not convinced, mostly for the lack of proper information. i'll get there eventually ;) | 18:03 |
J1m | What are they used for outside of zpt and urls for today? | 18:04 |
J1m | I sure as heck don't use them. | 18:04 |
philiKON | that's exactly what i dont know | 18:04 |
J1m | Very old code uses them, but that's hysterical. | 18:04 |
philiKON | but there will still be a way to tell the ZPT machinery how to traverse a certain object? | 18:05 |
J1m | Yes | 18:05 |
*** eins has quit IRC | 18:05 | |
philiKON | so what will be different? | 18:05 |
J1m | Maybe the same implementation will be around with private apis for zpt. | 18:06 |
philiKON | btw, when we have ++ns++name in urls, zope.traversing's namespace adapters take over | 18:06 |
philiKON | also, zope.traversing's IPhysicallyLocatable is widely used (for absolute_url, for example) | 18:07 |
J1m | zope.traversing.api.traverse will be deprecated. | 18:07 |
J1m | the current url namespace handling is off. | 18:07 |
J1m | url traversal should ise IPublishTraverse. | 18:08 |
J1m | use | 18:08 |
J1m | It should already use different interfaces. | 18:08 |
philiKON | k | 18:09 |
*** zagy has joined #zope3-dev | 18:11 | |
*** gumpa has joined #zope3-dev | 18:18 | |
*** Aiste has joined #zope3-dev | 18:25 | |
*** mgedmin has quit IRC | 18:35 | |
*** Aiste has quit IRC | 18:36 | |
*** whit is now known as whit|eyedoc | 18:38 | |
*** alga has quit IRC | 18:43 | |
*** mgedmin has joined #zope3-dev | 18:47 | |
*** Aiste has joined #zope3-dev | 18:49 | |
*** alecm|afk is now known as alecm | 18:49 | |
*** alga has joined #zope3-dev | 18:55 | |
*** vlado has quit IRC | 19:03 | |
*** nathany has quit IRC | 19:04 | |
*** SureshV has quit IRC | 19:06 | |
*** philiKON has quit IRC | 19:18 | |
*** fcorrea has quit IRC | 19:41 | |
*** sashav has joined #zope3-dev | 19:46 | |
*** whit has joined #zope3-dev | 20:23 | |
*** whit is now known as whit|cafe | 20:24 | |
*** gintas has quit IRC | 20:39 | |
*** faassen has quit IRC | 20:39 | |
*** nathany has joined #zope3-dev | 20:43 | |
*** dobee has quit IRC | 20:47 | |
*** ignas has quit IRC | 20:47 | |
*** zbir` has joined #zope3-dev | 21:03 | |
*** zbir has quit IRC | 21:03 | |
*** tarek has quit IRC | 21:14 | |
*** tarek has joined #zope3-dev | 21:16 | |
*** RaFromBRC has joined #zope3-dev | 21:37 | |
*** dobee has joined #zope3-dev | 21:37 | |
*** nathany has quit IRC | 21:47 | |
*** philiKON has joined #zope3-dev | 21:49 | |
*** whit|cafe has quit IRC | 21:53 | |
*** jinty has quit IRC | 21:57 | |
*** dunny has joined #zope3-dev | 22:12 | |
*** stub has joined #zope3-dev | 22:16 | |
*** nathany has joined #zope3-dev | 22:19 | |
*** whit has joined #zope3-dev | 22:21 | |
*** mkerrin has quit IRC | 22:37 | |
*** stub has quit IRC | 22:43 | |
*** J1m has quit IRC | 22:56 | |
*** benji has quit IRC | 23:02 | |
*** tarek has quit IRC | 23:06 | |
*** tarek has joined #zope3-dev | 23:06 | |
*** zbir` has quit IRC | 23:12 | |
*** tarek has quit IRC | 23:30 | |
*** tarek has joined #zope3-dev | 23:31 | |
*** oferw has joined #zope3-dev | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!