| *** avoine has quit IRC | 00:04 | |
| *** jbb666 has quit IRC | 00:07 | |
| *** mgedmin has quit IRC | 00:10 | |
| *** natea|sorrento has joined #zope3-dev | 00:17 | |
| *** J1m has joined #zope3-dev | 00:18 | |
| *** J1m has quit IRC | 00:20 | |
| *** J1m has joined #zope3-dev | 00:24 | |
| *** cbcunc is now known as __cbcunc__ | 00:25 | |
| *** J1m has quit IRC | 00:31 | |
| *** natea|sorrento has quit IRC | 00:37 | |
| *** natea|sorrento has joined #zope3-dev | 00:37 | |
| *** natea|sorrento is now known as natea|naples | 00:38 | |
| *** pcardune has joined #zope3-dev | 00:41 | |
| *** ktwilight has joined #zope3-dev | 00:56 | |
| *** benji has quit IRC | 00:56 | |
| *** marcin_ant has joined #zope3-dev | 01:05 | |
| *** TresEquis has quit IRC | 01:06 | |
| *** jinty has quit IRC | 01:06 | |
| *** ccomb has quit IRC | 01:06 | |
| *** tonico has quit IRC | 01:06 | |
| *** BjornT has quit IRC | 01:06 | |
| *** Vq^ has quit IRC | 01:06 | |
| *** ktwilight has quit IRC | 01:06 | |
| *** pcardune has quit IRC | 01:06 | |
| *** natea|naples has quit IRC | 01:06 | |
| *** bigkevmcd has quit IRC | 01:06 | |
| *** dunny has quit IRC | 01:06 | |
| *** dokai has quit IRC | 01:06 | |
| *** jkakar__ has quit IRC | 01:06 | |
| *** b52laptop has quit IRC | 01:06 | |
| *** niemeyer has quit IRC | 01:06 | |
| *** timte has quit IRC | 01:06 | |
| *** wrobel has quit IRC | 01:06 | |
| *** SteveA has quit IRC | 01:06 | |
| *** marcin_ant has quit IRC | 01:06 | |
| *** rocky|sorrento has quit IRC | 01:06 | |
| *** srichter has quit IRC | 01:06 | |
| *** jodok|LA has quit IRC | 01:06 | |
| *** d2m has quit IRC | 01:06 | |
| *** yota has quit IRC | 01:06 | |
| *** srichter has joined #zope3-dev | 01:07 | |
| *** marcin_ant has joined #zope3-dev | 01:07 | |
| *** rocky|sorrento has joined #zope3-dev | 01:07 | |
| *** jodok|LA has joined #zope3-dev | 01:07 | |
| *** d2m has joined #zope3-dev | 01:07 | |
| *** irc.freenode.net sets mode: +o srichter | 01:07 | |
| *** ccomb has joined #zope3-dev | 01:07 | |
| *** TresEquis has joined #zope3-dev | 01:07 | |
| *** jinty has joined #zope3-dev | 01:07 | |
| *** tonico has joined #zope3-dev | 01:07 | |
| *** BjornT has joined #zope3-dev | 01:07 | |
| *** SteveA has joined #zope3-dev | 01:07 | |
| *** yota has joined #zope3-dev | 01:07 | |
| *** Vq^ has joined #zope3-dev | 01:07 | |
| *** ktwilight has joined #zope3-dev | 01:07 | |
| *** pcardune has joined #zope3-dev | 01:07 | |
| *** natea|naples has joined #zope3-dev | 01:07 | |
| *** bigkevmcd has joined #zope3-dev | 01:07 | |
| *** dunny has joined #zope3-dev | 01:07 | |
| *** dokai has joined #zope3-dev | 01:07 | |
| *** jkakar__ has joined #zope3-dev | 01:07 | |
| *** b52laptop has joined #zope3-dev | 01:07 | |
| *** niemeyer has joined #zope3-dev | 01:07 | |
| *** timte has joined #zope3-dev | 01:07 | |
| *** wrobel has joined #zope3-dev | 01:07 | |
| *** yota has quit IRC | 01:08 | |
| *** deo has quit IRC | 01:13 | |
| *** ccomb has quit IRC | 01:15 | |
| *** timte has quit IRC | 01:21 | |
| *** jinty has quit IRC | 01:28 | |
| *** redir has quit IRC | 01:33 | |
| *** bigkevmcd has quit IRC | 01:43 | |
| *** J1m has joined #zope3-dev | 01:52 | |
| *** TresEquis has quit IRC | 01:57 | |
| *** whit has quit IRC | 02:06 | |
| *** marcin_ant has quit IRC | 02:11 | |
| *** jrc2e_ has joined #zope3-dev | 02:12 | |
| *** b52laptop has quit IRC | 02:12 | |
| *** rocky|sorrento has quit IRC | 02:23 | |
| *** seonew has joined #zope3-dev | 02:31 | |
| *** jrc2e has quit IRC | 02:32 | |
| seonew | i had thought that given an object, only the viewlets with a compatible interface would be displayed, any other viewlets in the manager would just be ignored | 02:37 |
|---|---|---|
| seonew | is that not the case? | 02:37 |
| *** d2m has quit IRC | 02:38 | |
| *** seonew has quit IRC | 02:43 | |
| *** natea|naples has quit IRC | 02:57 | |
| *** pbugni is now known as pbugni|afk | 03:03 | |
| *** wrobel has quit IRC | 03:24 | |
| *** pcardune has quit IRC | 03:55 | |
| *** niemeyer has quit IRC | 04:09 | |
| *** wreutz has quit IRC | 04:13 | |
| *** stub has joined #zope3-dev | 04:52 | |
| *** jrc2e_ has quit IRC | 04:55 | |
| *** mrevoir has joined #zope3-dev | 05:14 | |
| *** lucielejard has joined #zope3-dev | 05:35 | |
| *** baijum has joined #zope3-dev | 05:42 | |
| *** jkakar__ has quit IRC | 06:40 | |
| *** jkakar__ has joined #zope3-dev | 06:40 | |
| *** jodok|LA has quit IRC | 06:43 | |
| *** twcook has joined #zope3-dev | 06:50 | |
| *** mrevoir has left #zope3-dev | 07:23 | |
| *** febb has joined #zope3-dev | 07:28 | |
| *** febb has quit IRC | 07:29 | |
| *** twcook has left #zope3-dev | 07:30 | |
| *** dunny has quit IRC | 07:35 | |
| *** stub has quit IRC | 07:36 | |
| *** jodok|LA has joined #zope3-dev | 07:38 | |
| *** stub has joined #zope3-dev | 07:40 | |
| *** pghoratiu has joined #zope3-dev | 08:05 | |
| *** stub has quit IRC | 08:05 | |
| *** zagy has joined #zope3-dev | 08:10 | |
| *** dunny has joined #zope3-dev | 08:19 | |
| *** dobee has joined #zope3-dev | 08:22 | |
| *** sorin has joined #zope3-dev | 08:24 | |
| *** sorin is now known as sorindregan | 08:24 | |
| *** wrobel has joined #zope3-dev | 08:32 | |
| *** jodok|LA has quit IRC | 08:39 | |
| *** afd__ has joined #zope3-dev | 08:39 | |
| *** jukart has joined #zope3-dev | 08:42 | |
| *** jodok|LA has joined #zope3-dev | 08:45 | |
| *** Aiste has joined #zope3-dev | 08:48 | |
| *** yota has joined #zope3-dev | 08:52 | |
| *** ghendi has joined #zope3-dev | 09:01 | |
| *** pcardune has joined #zope3-dev | 09:04 | |
| *** afd__ has quit IRC | 09:07 | |
| *** afd__ has joined #zope3-dev | 09:11 | |
| *** timte has joined #zope3-dev | 09:13 | |
| *** Aiste has quit IRC | 09:19 | |
| *** zagy has quit IRC | 09:28 | |
| *** zagy has joined #zope3-dev | 09:28 | |
| *** natea|naples has joined #zope3-dev | 09:29 | |
| *** natea|naples has quit IRC | 09:31 | |
| *** d2m has joined #zope3-dev | 09:31 | |
| *** pcardune has quit IRC | 09:33 | |
| *** dlk has joined #zope3-dev | 09:34 | |
| *** natea|naples has joined #zope3-dev | 09:35 | |
| *** ignas has joined #zope3-dev | 09:56 | |
| *** jinty has joined #zope3-dev | 09:57 | |
| *** philiKON_ has quit IRC | 09:59 | |
| *** zagy has quit IRC | 10:05 | |
| *** natea|naples has quit IRC | 10:07 | |
| *** harobed has joined #zope3-dev | 10:18 | |
| *** stub has joined #zope3-dev | 10:33 | |
| *** tarek has joined #zope3-dev | 10:35 | |
| *** b52laptop has joined #zope3-dev | 10:42 | |
| *** natea|naples has joined #zope3-dev | 10:42 | |
| *** rocky|sorrento has joined #zope3-dev | 10:53 | |
| *** rocky|sorrento has quit IRC | 10:53 | |
| *** rocky has joined #zope3-dev | 10:54 | |
| *** lurker has joined #zope3-dev | 10:57 | |
| *** zagy has joined #zope3-dev | 11:04 | |
| *** andrew_m has joined #zope3-dev | 11:06 | |
| *** tarek has quit IRC | 11:13 | |
| *** tarek has joined #zope3-dev | 11:21 | |
| *** Jell-O-Fishi has joined #zope3-dev | 11:50 | |
| *** zagy has quit IRC | 11:53 | |
| *** Aiste has joined #zope3-dev | 12:04 | |
| *** ccomb has joined #zope3-dev | 12:04 | |
| *** stub has quit IRC | 12:19 | |
| *** afd__ has quit IRC | 12:22 | |
| *** b52lap has joined #zope3-dev | 12:29 | |
| *** softdevr has joined #zope3-dev | 12:31 | |
| *** b52laptop has quit IRC | 12:45 | |
| *** niemeyer has joined #zope3-dev | 12:49 | |
| *** dlk has left #zope3-dev | 12:51 | |
| *** dunny has quit IRC | 13:03 | |
| *** mkerrin has joined #zope3-dev | 13:14 | |
| *** darrylcousins has joined #zope3-dev | 13:38 | |
| *** tarek has quit IRC | 13:45 | |
| *** natea|naples has quit IRC | 14:04 | |
| *** tarek has joined #zope3-dev | 14:10 | |
| *** yvl has joined #zope3-dev | 14:17 | |
| *** tarek has quit IRC | 14:32 | |
| *** tarek has joined #zope3-dev | 15:02 | |
| *** stub has joined #zope3-dev | 15:12 | |
| *** darrylcousins has quit IRC | 15:19 | |
| *** benji has joined #zope3-dev | 15:21 | |
| *** opetznick has joined #zope3-dev | 15:24 | |
| *** faassen has joined #zope3-dev | 15:34 | |
| *** philiKON has joined #zope3-dev | 15:53 | |
| *** yvl has quit IRC | 15:55 | |
| *** jrc2e has joined #zope3-dev | 16:13 | |
| *** afd_ has joined #zope3-dev | 16:21 | |
| *** jodok|LA has quit IRC | 16:30 | |
| *** jrc2e has quit IRC | 16:32 | |
| *** pghoratiu has left #zope3-dev | 16:41 | |
| *** norro has joined #zope3-dev | 16:44 | |
| *** baijum has quit IRC | 16:48 | |
| *** stub has quit IRC | 16:53 | |
| *** baijum has joined #zope3-dev | 16:54 | |
| *** mgedmin has joined #zope3-dev | 17:08 | |
| *** mgedmin has quit IRC | 17:08 | |
| *** mgedmin has joined #zope3-dev | 17:08 | |
| *** philiKON has quit IRC | 17:17 | |
| *** __cbcunc__ has quit IRC | 17:18 | |
| *** philiKON has joined #zope3-dev | 17:18 | |
| *** philiKON has quit IRC | 17:20 | |
| *** sorindregan has quit IRC | 17:21 | |
| *** zagy has joined #zope3-dev | 17:32 | |
| *** tarek_ has joined #zope3-dev | 17:32 | |
| *** whit has joined #zope3-dev | 17:33 | |
| baijum | anyone familiar with zope.paste here ? | 17:36 |
| * baijum was just looking at zope.paste now | 17:36 | |
| baijum | How do I know the server running is the one from wsgiutils itself if my conf is like this: | 17:37 |
| baijum | [server:main] | 17:37 |
| baijum | use = egg:PasteScript#wsgiutils | 17:37 |
| *** tarek has quit IRC | 17:38 | |
| baijum | It's working fine, Just to make sure it's not running on ZServer or twisted ... | 17:38 |
| *** BjornT has quit IRC | 17:39 | |
| timte | how do you write in zope.conf for that to work? | 17:40 |
| baijum | <server> | 17:41 |
| baijum | type Paste.Main | 17:41 |
| baijum | address 8080 | 17:41 |
| baijum | </server> | 17:41 |
| timte | oh, nice | 17:41 |
| *** benji has quit IRC | 17:41 | |
| baijum | I just removed twisted and it still worked.. hmm..I will look into this later | 17:42 |
| *** faassen has quit IRC | 17:42 | |
| timte | it looks too easy :) | 17:43 |
| baijum | yeah :) | 17:43 |
| *** alga has joined #zope3-dev | 17:44 | |
| baijum | I like this: paster serve paste.ini | 17:44 |
| * baijum leaving, see you all tomorrow ! | 17:45 | |
| timte | bye bye | 17:45 |
| *** baijum has quit IRC | 17:45 | |
| *** tarek__ has joined #zope3-dev | 17:46 | |
| *** tarek_ has quit IRC | 17:54 | |
| *** philiKON has joined #zope3-dev | 17:59 | |
| *** tarek_ has joined #zope3-dev | 18:01 | |
| *** zagy has quit IRC | 18:03 | |
| *** ghendi has quit IRC | 18:08 | |
| *** pcardune has joined #zope3-dev | 18:10 | |
| *** jrc2e has joined #zope3-dev | 18:10 | |
| *** jrc2e has quit IRC | 18:11 | |
| *** timte has quit IRC | 18:12 | |
| *** afd_ has quit IRC | 18:12 | |
| *** tarek__ has quit IRC | 18:14 | |
| *** jodok|LA has joined #zope3-dev | 18:14 | |
| *** benji has joined #zope3-dev | 18:14 | |
| *** meatballhat has joined #zope3-dev | 18:15 | |
| *** natea|naples has joined #zope3-dev | 18:17 | |
| meatballhat | I've set up an interface with a schema that includes a TextLine where value_type=Choice with a Source. I want to use the source.SourceRadioWidget for this field .... but figure out how to do this ... how to specify a widget (?) | 18:19 |
| meatballhat | *but can't figure out how to do this :P | 18:19 |
| *** benji has quit IRC | 18:20 | |
| *** whit has quit IRC | 18:21 | |
| srichter | meatballhat: use the custom_widget attribut in formlib's FormField | 18:22 |
| meatballhat | srichter: that's what I was wondering about ... so I use custom_widget whenever I don't want the formlib machinery to automatically decide on a widget (or if it can't, in the case of Choice) ? | 18:23 |
| srichter | yes | 18:23 |
| meatballhat | srichter: many thanks :) | 18:24 |
| *** jfroche has joined #zope3-dev | 18:29 | |
| *** whit has joined #zope3-dev | 18:35 | |
| *** avoine has joined #zope3-dev | 18:36 | |
| *** harobed has quit IRC | 18:38 | |
| *** Aiste has quit IRC | 18:39 | |
| *** pcardune has quit IRC | 18:39 | |
| *** tarek__ has joined #zope3-dev | 18:41 | |
| *** norro has quit IRC | 18:41 | |
| *** tarek_ has quit IRC | 18:42 | |
| *** jodok|LA has quit IRC | 18:46 | |
| *** timte has joined #zope3-dev | 18:48 | |
| *** twcook has joined #zope3-dev | 18:51 | |
| *** whit has quit IRC | 18:52 | |
| *** harobed has joined #zope3-dev | 18:58 | |
| *** lurker has quit IRC | 19:21 | |
| *** ignas has quit IRC | 19:29 | |
| *** natea|naples has quit IRC | 19:29 | |
| *** natea|naples has joined #zope3-dev | 19:29 | |
| *** dobee has quit IRC | 19:29 | |
| *** natea|naples has quit IRC | 19:30 | |
| *** natea|naples has joined #zope3-dev | 19:31 | |
| *** mkerrin has quit IRC | 19:38 | |
| *** opetznick has quit IRC | 19:39 | |
| *** softdevr has quit IRC | 19:42 | |
| *** alecm has joined #zope3-dev | 19:49 | |
| *** whit_ has joined #zope3-dev | 19:50 | |
| *** BjornT has joined #zope3-dev | 19:51 | |
| *** pcardune has joined #zope3-dev | 19:54 | |
| *** tarek__ has quit IRC | 20:01 | |
| *** benji has joined #zope3-dev | 20:02 | |
| *** replaceafill has joined #zope3-dev | 20:05 | |
| *** whit_ has quit IRC | 20:06 | |
| *** jrc2e has joined #zope3-dev | 20:07 | |
| *** jukart has quit IRC | 20:16 | |
| *** jbb666 has joined #zope3-dev | 20:24 | |
| *** bigkevmcd has joined #zope3-dev | 20:35 | |
| *** avoine has quit IRC | 20:37 | |
| *** harobed has quit IRC | 20:45 | |
| *** jukart has joined #zope3-dev | 20:46 | |
| niemeyer | Would anyone know what's the proper way to make Zope3 use "https" rather than "http" in the injected <base href="..."> when operating behind a proxy that will deal with SSL? | 20:50 |
| *** dunny has joined #zope3-dev | 20:52 | |
| mgedmin | niemeyer: make the proxy insert ++vh++https:servername:443 in the url | 20:53 |
| niemeyer | mgedmin: Thanks! | 20:54 |
| *** dawhimo has joined #zope3-dev | 20:55 | |
| niemeyer | mgedmin: Apparently it still doesn't work.. | 20:57 |
| * niemeyer checks the vh namespace | 20:57 | |
| *** dawhimo is now known as whit | 20:57 | |
| mgedmin | do you use apache or something else? | 20:58 |
| mgedmin | the ++vh++ stuff is tricky to get right, but it works | 20:58 |
| niemeyer | mgedmin: Cool.. I'll get it to work eventually then. That was just the pointer I needed. | 20:59 |
| niemeyer | Many thanks | 20:59 |
| niemeyer | mgedmin: Yeah, I'm using apache with mod_rewrite | 20:59 |
| mgedmin | working example: | 21:00 |
| mgedmin | RewriteRule ^/$ http://localhost:28080/zope3-checkins/++vh++https:z3c.pov.lt:443/++ [P,L] | 21:00 |
| mgedmin | RewriteRule ^/(.*) http://localhost:28080/zope3-checkins/++vh++https:z3c.pov.lt:443/++/$1 [P] | 21:00 |
| *** romanofski has joined #zope3-dev | 21:01 | |
| mgedmin | iirc you need two rules because the trailing / causes a zope error of some kind | 21:01 |
| mgedmin | empty traversal step or some such | 21:01 |
| *** natea|naples_ has joined #zope3-dev | 21:01 | |
| niemeyer | Hmm.. interesting | 21:04 |
| mgedmin | and if you start rewriting to a portion of a zope tree, you start to need extra rewrite rules for resources | 21:05 |
| mgedmin | ah, that's what I use elsewhere to avoid two rules: | 21:05 |
| mgedmin | RewriteRule ^/something(/.*?)$ http://localhost:8080/++vh++https:servername:443/++$1 [P,L] | 21:06 |
| mgedmin | no, that's not right | 21:07 |
| mgedmin | RewriteRule ^/something(/.*?)$ http://localhost:8080/bar/++vh++https:servername:443/foo/++$1 [P,L] | 21:07 |
| mgedmin | I wonder why the trailing slash doesn't cause any problems here... :/ | 21:07 |
| niemeyer | mgedmin: Ahh, I see! | 21:08 |
| niemeyer | mgedmin: Well.. why would that be an issue? | 21:08 |
| mgedmin | no idea | 21:09 |
| SteveA | I consider all the ++xxxx++ URL things harmful | 21:09 |
| SteveA | we disabled them all on launchpad, except for ++debug++ for development servers | 21:09 |
| SteveA | it's tricky to get apache to ban ++xxx++whatever path steps that users can enter | 21:10 |
| SteveA | and when you get ++xxxx++ stuff that zope doesn't like, it gives ValueErrors or other application errors, rather than NotFound errors | 21:10 |
| mgedmin | do you then configure vhosting on the zope side as well as on apache side? | 21:10 |
| mgedmin | (that's assuming you use apache in front) | 21:10 |
| SteveA | yes and no | 21:10 |
| SteveA | we have apache pass through the Host: header | 21:11 |
| SteveA | and use that to look up appropriate protocol and host data in the config file | 21:11 |
| *** alecm has quit IRC | 21:11 | |
| SteveA | this also makes the apache config much simpler | 21:12 |
| SteveA | and less error-prone | 21:12 |
| * SteveA --> food | 21:13 | |
| *** avoine has joined #zope3-dev | 21:13 | |
| * meatballhat can't get Choice + Source widget to work (ACK!) http://pastecode.com/21061 | 21:16 | |
| mgedmin | yeah, choice widgets are weird | 21:18 |
| meatballhat | here's the whole shebang :P http://python.pastecode.com/21062 ... and I'm mostly hijacking philiKON's worldcookery code ... | 21:18 |
| mgedmin | workaround: use CustomWidgetFactory(lambda field, request: YourWidgetClass(field, field.vocabulary, request)) | 21:18 |
| mgedmin | or something like that | 21:19 |
| mgedmin | i.e. you need a wrapper around the widget constructor (a function that takes two arguments and converts them to the three that the widget needs) | 21:19 |
| niemeyer | mgedmin: It works! | 21:20 |
| niemeyer | Well.. you already knew that | 21:20 |
| niemeyer | :) | 21:20 |
| meatballhat | hmmm... the book was saying that Vocabularies are being deprecated, which is why I was using a Source... gotcha | 21:20 |
| meatballhat | *are* Vocabularies being deprecated? :) | 21:20 |
| mgedmin | yeah, something like that | 21:20 |
| mgedmin | but field.vocabulary was not renamed for backwards-compatibility reasons | 21:20 |
| mgedmin | it may contain a source instead of a vocabulary | 21:21 |
| meatballhat | hummmm.... I fear I'm still far too much of a n00b to grasp most of this :( | 21:21 |
| mgedmin | it's one of the murkier and more complicated places of zope 3 | 21:22 |
| meatballhat | figures ... :D | 21:22 |
| mgedmin | what sort of widget do you want to use? | 21:22 |
| mgedmin | or, simpler, could you pastebin your form code? | 21:22 |
| *** natea|naples has quit IRC | 21:24 | |
| meatballhat | well... it's still *very* simple (my current form,) but I want to be able to supply several Select or Radio widgets that get their values from variable sources | 21:24 |
| meatballhat | what's the preferred method for constructing Select and Radio widgets? | 21:24 |
| meatballhat | http://python.pastecode.com/21063 <-- worldcookery ripoff | 21:26 |
| mgedmin | about what I wrote above | 21:26 |
| mgedmin | the page template is not very interesting | 21:26 |
| mgedmin | the python code is what is interesting | 21:26 |
| meatballhat | ah .... sorry ... | 21:27 |
| meatballhat | http://python.pastecode.com/21064 | 21:27 |
| *** tarek has joined #zope3-dev | 21:28 | |
| niemeyer | Hmm.. I'm wondering if allowing ++vh++ isn't something wonderful for XSS | 21:29 |
| niemeyer | Or at least for basic phishing | 21:29 |
| mgedmin | meatballhat: if you replace | 21:29 |
| mgedmin | form_fields['type'].custom_widget = SourceRadioWidget | 21:29 |
| mgedmin | with | 21:29 |
| mgedmin | form_fields['type'].custom_widget = lambda f, r: SourceRadioWidget(f, f.vocabulary, r) | 21:29 |
| mgedmin | it should work | 21:29 |
| mgedmin | if you also want to make the code pretty | 21:30 |
| mgedmin | write a function | 21:30 |
| mgedmin | def CustomSourceRadionWidget(field, request): | 21:30 |
| mgedmin | return SourceRadioWidget(field, field.vocabulary, request) | 21:30 |
| meatballhat | mgedmin: thank you!!! /me tries it out | 21:30 |
| mgedmin | and then | 21:30 |
| mgedmin | form_fields['type'].custom_widget = CustomSourceRadioWidget | 21:31 |
| *** alecm has joined #zope3-dev | 21:32 | |
| *** tarek has quit IRC | 21:37 | |
| meatballhat | mgedmin: okay.... getting closer :D .... if my interface looks like this: http://python.pastecode.com/21068 ...and my Source looks like this: http://python.pastecode.com/21069 .... how should I adjust the wrapper? SourceRadioWidget(field, field.????, request) | 21:39 |
| mgedmin | the field is a Choice field, right? | 21:39 |
| meatballhat | it's a List with value_type Choice | 21:39 |
| mgedmin | oh, my, you're in trouble | 21:40 |
| meatballhat | should I make it just a Choice | 21:40 |
| meatballhat | ? | 21:40 |
| meatballhat | :D | 21:40 |
| mgedmin | every time I tried to use Zope's sequence widgets, I felt pain | 21:40 |
| meatballhat | so lemme step back ... there's no real need to have it as a List with a Choice inside ... :D | 21:41 |
| meatballhat | new interface == http://python.pastecode.com/21070 | 21:42 |
| *** replaceafill has quit IRC | 21:42 | |
| * mgedmin boldly claims that verifyObject is unpythonic | 21:46 | |
| srichter | mgedmin: what software is povbot? | 21:58 |
| mgedmin | supybot | 21:58 |
| srichter | ok, thanks | 21:58 |
| mgedmin | it's written in python, which is good | 21:58 |
| mgedmin | I don't quite like how it's not entirely convenient to use, which is bad | 21:59 |
| *** alecm has quit IRC | 22:09 | |
| srichter | mgedmin: he he, that's bold! :-) | 22:11 |
| *** pcardune has quit IRC | 22:12 | |
| mgedmin | mind, my definition of pythonic is "I can remember how to use it without looking it up" | 22:12 |
| mgedmin | with verifyObject I can never remember if the object or the interface comes first | 22:13 |
| mgedmin | verifyObject(foo, provides=ISomeInterface) would scan well if you read it aloud | 22:13 |
| mgedmin | but turns out it's the other way around | 22:13 |
| *** opetznick has joined #zope3-dev | 22:23 | |
| *** jukart has quit IRC | 22:25 | |
| *** natea|naples_ has quit IRC | 22:40 | |
| *** tarek has joined #zope3-dev | 22:41 | |
| *** tarek has quit IRC | 22:42 | |
| *** dobee has joined #zope3-dev | 22:44 | |
| mgedmin | um, suppose I have an IObjectAddedEvent subscriber that does some initial customizations of a content object | 22:46 |
| mgedmin | it also gets triggered when I copy and paste those content objects | 22:47 |
| mgedmin | but I do not want to do initial customizations on the copies | 22:47 |
| mgedmin | any ideas how to distinguish creation from copy/paste? | 22:47 |
| mgedmin | IObjectCreatedEvent/IObjectCopiedEvent aren't really suitable, because I need to know the location when I do those customizations... | 22:48 |
| mgedmin | hey, actually I don't! | 22:48 |
| mgedmin | problem solved | 22:48 |
| *** romanofski has quit IRC | 22:55 | |
| *** jukart has joined #zope3-dev | 23:01 | |
| *** opetznick has quit IRC | 23:12 | |
| *** Jell-O-Fishi has quit IRC | 23:17 | |
| *** pbugni|afk is now known as pbugni | 23:21 | |
| *** CSWookie has joined #zope3-dev | 23:23 | |
| *** alga has quit IRC | 23:25 | |
| *** mgedmin has quit IRC | 23:27 | |
| *** dobee has quit IRC | 23:29 | |
| *** dunny has quit IRC | 23:31 | |
| *** dobee has joined #zope3-dev | 23:33 | |
| *** tarek has joined #zope3-dev | 23:36 | |
| *** stub has joined #zope3-dev | 23:46 | |
| *** jukart has quit IRC | 23:47 | |
| *** tarek has quit IRC | 23:53 | |
| *** ccomb has left #zope3-dev | 23:53 | |
| *** jkakar__ is now known as jkakar | 23:54 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!