*** natea has joined #zope3-dev | 00:03 | |
*** natea has quit IRC | 00:04 | |
*** oferw has quit IRC | 00:07 | |
*** whit has quit IRC | 00:17 | |
*** timte has quit IRC | 00:20 | |
*** zbir has quit IRC | 00:20 | |
*** zbir has joined #zope3-dev | 00:20 | |
*** zbir has joined #zope3-dev | 00:21 | |
*** whit has joined #zope3-dev | 00:29 | |
*** jinty has quit IRC | 00:33 | |
*** mgedmin has quit IRC | 00:39 | |
*** benji has quit IRC | 00:40 | |
*** alecm has joined #zope3-dev | 00:47 | |
*** whit has quit IRC | 00:47 | |
*** RaFromBRC has quit IRC | 00:48 | |
*** yota has quit IRC | 00:49 | |
*** batlogg has quit IRC | 00:58 | |
*** batlogg has joined #zope3-dev | 01:00 | |
*** batlogg has quit IRC | 01:00 | |
*** replicant has quit IRC | 01:02 | |
*** danfairs has quit IRC | 01:03 | |
*** niemeyer has quit IRC | 01:13 | |
*** replicant has joined #zope3-dev | 01:16 | |
*** RaFromBRC has joined #zope3-dev | 01:31 | |
*** replicant has quit IRC | 01:33 | |
*** replicant has joined #zope3-dev | 01:36 | |
*** RaFromBRC_ has joined #zope3-dev | 01:59 | |
*** RaFromBRC has quit IRC | 02:03 | |
*** rocky is now known as rocky|Zzz | 02:13 | |
*** J1m has quit IRC | 02:57 | |
*** markup_ has quit IRC | 03:41 | |
*** replicant has quit IRC | 03:57 | |
*** benji has joined #zope3-dev | 04:21 | |
*** alecm has quit IRC | 04:57 | |
*** reco has quit IRC | 06:26 | |
*** dobee has joined #zope3-dev | 07:47 | |
*** dobee has quit IRC | 08:09 | |
*** dobee has joined #zope3-dev | 08:13 | |
*** yota has joined #zope3-dev | 09:02 | |
*** RaFromBRC_ has quit IRC | 09:09 | |
*** dobee has quit IRC | 09:55 | |
*** febb has joined #zope3-dev | 10:07 | |
febb | hi | 10:08 |
---|---|---|
*** batlogg has joined #zope3-dev | 10:33 | |
*** alecm has joined #zope3-dev | 11:03 | |
*** alecm has quit IRC | 11:06 | |
*** benji has quit IRC | 11:25 | |
*** projekt01 has joined #zope3-dev | 11:30 | |
*** srichter has joined #zope3-dev | 11:38 | |
*** ChanServ sets mode: +o srichter | 11:39 | |
*** philiKON has joined #zope3-dev | 11:48 | |
romanofski | moin :) | 12:00 |
*** romanofski has quit IRC | 12:12 | |
*** romanofski has joined #zope3-dev | 12:13 | |
Theuni | philiKON: i think the zope.conf.in on 3.3 branch is ok. i'm checking in the one for the trunk now. | 12:28 |
*** zagy has joined #zope3-dev | 12:48 | |
philiKON | Theuni, no it's not entirely | 12:51 |
philiKON | Theuni, you need to revert http://svn.zope.org/?rev=69553&view=rev | 12:52 |
philiKON | Theuni, i wrote you a list of revisions in which you accidentally commited things | 12:52 |
*** danfairs has joined #zope3-dev | 13:21 | |
*** danfairs has quit IRC | 13:28 | |
*** batlogg has quit IRC | 13:35 | |
*** dunny has quit IRC | 13:35 | |
*** batlogg has joined #zope3-dev | 13:37 | |
flox | why ZCML configuration for 'zope.component' is stored in 'zope.app.event' ? | 13:49 |
philiKON | flox, because i hadn't moved it yet | 13:49 |
philiKON | flox, needs to move | 13:49 |
philiKON | zope.app.event should disappear | 13:50 |
flox | ok, i am doing this | 13:50 |
flox | i will not remove zope.app.event | 13:50 |
philiKON | ok | 13:50 |
flox | but i try to move the 'configure.zcml to zope.component | 13:50 |
philiKON | ok | 13:50 |
philiKON | zope.app.event still contains tests | 13:50 |
philiKON | that would have to be worked on before zope.app.event can be removed | 13:50 |
flox | i will run tests, to be sure | 13:51 |
philiKON | of course | 13:51 |
philiKON | running tests is a *requirement* | 13:51 |
flox | i have good practice, now.... | 13:51 |
flox | ;-) | 13:51 |
philiKON | writing tests is also a requirement | 13:51 |
flox | ... i hav to train myself at doing that :-( | 13:51 |
philiKON | yes | 13:52 |
flox | philiKON: the z/app/event/test/test_objectevent.py can be moved to the z/component/ folder? | 14:00 |
philiKON | flox, well, it uses zope.app.container | 14:01 |
philiKON | so, the test needs to be refactored | 14:01 |
philiKON | to not use anything from zope.app | 14:01 |
philiKON | (and, btw, by "removing zope.app.event", i obviously mean deprecating. most of it is deprecated already) | 14:02 |
flox | i don't know if it is better to let this test file in zope.app.event, until we change the dependency on zope.app.container | 14:04 |
philiKON | ? | 14:04 |
flox | or if i move it to zope.component | 14:04 |
philiKON | you can't move it to zope.component like that | 14:04 |
flox | ok, that's clear | 14:04 |
philiKON | you first need to rewrite it so that it doesn't use anything from zope.app | 14:04 |
flox | ok, i will look at it | 14:05 |
philiKON | in fact, it can only use stuff from zope.component and zope.component's dependencies (zope.interface, etc.) | 14:05 |
philiKON | then you can move it to zope.component | 14:05 |
philiKON | (and when doing that, it should probably also be convered to a doctest) | 14:06 |
flox | the "DEPENDENCIES.cfg" does not mention "zope.event'... | 14:06 |
flox | AFAICT | 14:06 |
philiKON | zope.event is a loose dependency | 14:06 |
philiKON | you can use zope.component w/o zope.event | 14:06 |
philiKON | but if you use zope.component.event, you need zope.event | 14:06 |
flox | i see | 14:07 |
Theuni | philiKON: no, some of those changes actually weren't accidents | 14:25 |
philiKON | uh huh | 14:25 |
Theuni | the devmode default actually *did* change | 14:26 |
philiKON | ya | 14:26 |
Theuni | this was discussed and documented while handling a security issue that steve alexander filed | 14:26 |
philiKON | yup | 14:26 |
philiKON | gotcha | 14:26 |
philiKON | i see it now | 14:26 |
Theuni | and i think i only accidentally checked the zeoclient in on one branch | 14:27 |
Theuni | i fixed that this morning | 14:27 |
philiKON | saw it | 14:27 |
philiKON | thx | 14:27 |
Theuni | np | 14:27 |
Theuni | my fault | 14:27 |
*** stub has quit IRC | 14:37 | |
*** natea has joined #zope3-dev | 14:47 | |
*** philiKON has quit IRC | 14:56 | |
*** reco has joined #zope3-dev | 15:00 | |
*** rocky|Zzz is now known as rock1 | 15:06 | |
*** natea has quit IRC | 15:06 | |
*** rock1 is now known as rocky | 15:06 | |
rocky | anyone around this morning? | 15:14 |
srichter | me, on and off | 15:15 |
rocky | i have a bit of "what would be the best way to go about this?" scenario... | 15:16 |
rocky | basically i have a schema that has a file field (a new field i created) | 15:16 |
rocky | i have a formlib display view that exposed that schema field using a custom download widget | 15:16 |
rocky | now, i also need to represent that field with a flash audio player and i was thinking of doing it as a widget... | 15:17 |
rocky | is that a good idea? or am i going about things the wrong way? and if so... how would you display the same field twice on the same form using 2 diff widgets? | 15:17 |
srichter | a widget would be the most elegant way | 15:20 |
srichter | in general 2 diff widgets for the same field are not possible | 15:21 |
srichter | however, you can always do this manually during update() | 15:21 |
rocky | gotcha | 15:23 |
*** philiKON has joined #zope3-dev | 15:23 | |
rocky | srichter: one other question, that audio player may be different based on the mime type of the file field ... so i'm considering having the widget do a named adapter lookup for IMediaPlayer or something similar where the name is the mime type... how does that sound? | 15:23 |
srichter | yep, sounds ok | 15:24 |
srichter | btw, lovelysystems converts all media files into a common format, but we deal with videos not audio, though this would be a good approach for you too | 15:25 |
srichter | common format: flv & mpg4 | 15:25 |
rocky | right | 15:26 |
*** benji has joined #zope3-dev | 16:05 | |
*** ignas has joined #zope3-dev | 16:13 | |
rocky | srichter: when you said i can do the widget thing during update() ... did you mean add a new widget to widgets during update() or? | 16:18 |
srichter | yeah | 16:19 |
srichter | you do not have to make everything part of the form machinery | 16:19 |
rocky | yeah that's what i've been learning | 16:19 |
srichter | another option we sometimes use is to create helper fields | 16:19 |
rocky | i was considering to do something like that, define extra_widgets or something such | 16:20 |
srichter | like for password and password confirmation, we create a small schema for password and confirmation and create an invariant that they must match | 16:20 |
rocky | oh ic | 16:20 |
*** replicant has joined #zope3-dev | 16:27 | |
*** replicant has left #zope3-dev | 16:34 | |
*** oferw has joined #zope3-dev | 17:13 | |
*** oferw_ has joined #zope3-dev | 17:19 | |
* flox like to write doctests when it rains outside... | 17:24 | |
*** torkel_ has joined #zope3-dev | 17:32 | |
*** oferw has quit IRC | 17:35 | |
*** alecm has joined #zope3-dev | 17:36 | |
*** torkel_ has quit IRC | 17:44 | |
*** projekt01 has left #zope3-dev | 18:04 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!