*** jinty has quit IRC | 00:00 | |
*** palmTree has joined #zope3-dev | 00:08 | |
*** palmTree has quit IRC | 00:58 | |
*** yota has quit IRC | 01:13 | |
*** sashav has quit IRC | 01:32 | |
*** J1m|away has quit IRC | 01:37 | |
*** faassen has quit IRC | 01:38 | |
*** sashav has joined #zope3-dev | 01:38 | |
*** sashav has quit IRC | 01:41 | |
*** bradb has quit IRC | 02:32 | |
*** projekt01 has quit IRC | 02:37 | |
*** bradb has joined #zope3-dev | 02:41 | |
*** deo has quit IRC | 02:54 | |
*** tvon has quit IRC | 04:13 | |
*** stub has joined #zope3-dev | 05:01 | |
*** MiUlEr has joined #zope3-dev | 05:12 | |
*** tvon has joined #zope3-dev | 05:13 | |
*** newpers has joined #zope3-dev | 05:58 | |
*** SureshZ has quit IRC | 06:23 | |
*** kaczordek has joined #zope3-dev | 06:31 | |
*** tvon has quit IRC | 06:35 | |
*** tvon has joined #zope3-dev | 08:03 | |
*** zagy has joined #zope3-dev | 08:03 | |
*** dobee has joined #zope3-dev | 08:12 | |
*** tvon has quit IRC | 08:13 | |
zagy | moin | 08:23 |
---|---|---|
*** tvon has joined #zope3-dev | 08:31 | |
*** dobee has quit IRC | 08:40 | |
*** d2m has quit IRC | 08:44 | |
*** newpers has quit IRC | 08:47 | |
*** dobee has joined #zope3-dev | 09:14 | |
*** dobee has joined #zope3-dev | 09:15 | |
*** jvts has joined #zope3-dev | 09:22 | |
*** jvts has quit IRC | 09:52 | |
*** jvts has joined #zope3-dev | 09:53 | |
*** tarek has joined #zope3-dev | 10:03 | |
*** Aiste has quit IRC | 10:04 | |
*** tekNico has joined #zope3-dev | 10:11 | |
*** Aiste has joined #zope3-dev | 10:12 | |
*** projekt01 has joined #zope3-dev | 10:59 | |
*** tarek_ has joined #zope3-dev | 11:03 | |
*** tarek_ has quit IRC | 11:04 | |
*** sashav has joined #zope3-dev | 11:11 | |
*** andres has joined #zope3-dev | 11:38 | |
*** j-w has joined #zope3-dev | 11:42 | |
*** deo has joined #zope3-dev | 11:51 | |
*** mgedmin has joined #zope3-dev | 12:28 | |
*** BjornT_ has joined #zope3-dev | 12:34 | |
*** BjornT has quit IRC | 12:42 | |
*** jinty has joined #zope3-dev | 12:44 | |
MJ | Philipp here? | 12:53 |
MJ | Darn | 12:53 |
MJ | srichter: You familiar with the zope.app.undo framework? | 12:54 |
MJ | (Or more general, Zope3 and ZEO)? | 12:54 |
*** jvts has quit IRC | 12:56 | |
*** alga has joined #zope3-dev | 13:00 | |
*** BjornT_ is now known as BjornT | 13:11 | |
projekt01 | srichter, ayt? | 13:13 |
projekt01 | BjornT, do you remember the problem with the BASE tag rendering? | 13:29 |
*** jack-e has joined #zope3-dev | 13:30 | |
*** ignas has quit IRC | 13:45 | |
*** anguenot has joined #zope3-dev | 14:00 | |
projekt01 | anguenot, how you doing? | 14:01 |
projekt01 | anguenot, are you coming to the Neckar sprint? | 14:02 |
anguenot | projekt01, hi Roger | 14:02 |
anguenot | projekt01, unfortunately I can't make it | 14:02 |
projekt01 | ;-( | 14:03 |
anguenot | projekt01, Uwe is aware of this | 14:03 |
anguenot | projekt01, Florent, can't make it neither | 14:03 |
projekt01 | Do you have to much to do? | 14:04 |
anguenot | projekt01, yep busy at this time | 14:05 |
projekt01 | Ok, hope to meet you at the next sprint | 14:06 |
*** kaczordek has quit IRC | 14:09 | |
BjornT | hi projekt01. yeah, i remember it. what about it? | 14:12 |
projekt01 | Bjorn, there is still a bug if you use a Apache and the virtual host url part. | 14:12 |
anguenot | projekt01, sure | 14:13 |
projekt01 | The BASE url tag get structured | 14:13 |
projekt01 | if the __insterB... get used with ++vh++ | 14:13 |
projekt01 | __insterB../__insertBase method | 14:14 |
BjornT | projekt01: what do you mean with structured? can you give an example? | 14:15 |
projekt01 | Tags like < get rewritten to < | 14:16 |
projekt01 | '<' | 14:16 |
*** J1m has joined #zope3-dev | 14:17 | |
projekt01 | '&-l-t-; without the '-' | 14:17 |
BjornT | so you get "<base href=... >"? | 14:17 |
projekt01 | Yes but the '<' and '/>' isn't correct rendered | 14:18 |
BjornT | ok, that seems strange, i have no idea of why that is happening. it'd be good if you could write a test case for it. | 14:21 |
*** ignas has joined #zope3-dev | 14:22 | |
SteveA | projekt01: do you know about 'structure' in page templates? | 14:22 |
J1m | SteveA, did you tell me once you didn't want partial inheritence of security declarations. | 14:23 |
projekt01 | Yes, but I can't structure the BASE tag because this part get rendered implicit from the __insertBase method in the publisher.browser | 14:23 |
J1m | It onlty gets inserted if one is not there already. | 14:24 |
J1m | (and only under special circumstances) | 14:24 |
projekt01 | J1m, yes, that's my bugfix right now. | 14:24 |
J1m | ah, there's a problem with that? | 14:25 |
SteveA | partial inheritence? i don't know exactly what you mean by that. | 14:26 |
projekt01 | J1m, Yes, but only if you use a Apache in front of the Zope3 server | 14:26 |
J1m | SteveA, k, I'll mention it to you later than. | 14:26 |
J1m | SteveA, k, I'll mention it to you later then. | 14:26 |
SteveA | ok, ok | 14:26 |
*** J1m is now known as J1m|away | 14:26 | |
* SteveA really needs to get those notes about security design improvements made with tres at EP written up | 14:27 | |
SteveA | J1m|away: i have a requirement for inheritence of authorization behaviour for particular names in some cases, but not in others. | 14:28 |
bob2 | hah | 14:33 |
*** projekt01 has quit IRC | 14:37 | |
*** mkerrin has joined #zope3-dev | 14:57 | |
*** niemeyer has joined #zope3-dev | 15:05 | |
*** mgedmin has quit IRC | 15:34 | |
*** MiUlEr has quit IRC | 15:46 | |
*** Loreto has joined #zope3-dev | 15:54 | |
*** jvts has joined #zope3-dev | 15:57 | |
*** drzoltron has joined #zope3-dev | 16:01 | |
*** MrTopf has joined #zope3-dev | 16:02 | |
*** benji_york has quit IRC | 16:17 | |
*** tiredbones has quit IRC | 16:18 | |
*** drzoltron has quit IRC | 16:21 | |
*** jvts has quit IRC | 16:23 | |
*** J1m|away has quit IRC | 16:28 | |
*** mgedmin has joined #zope3-dev | 16:31 | |
*** benji_york has joined #zope3-dev | 16:47 | |
*** tiredbones has joined #zope3-dev | 16:51 | |
*** mkerrin has quit IRC | 17:03 | |
*** mkerrin has joined #zope3-dev | 17:10 | |
*** mgedmin has quit IRC | 17:27 | |
*** baldtrol has joined #zope3-dev | 17:31 | |
bob2 | the more I use turbogears, the more I realise I'm reimplementing zope3 in it | 17:33 |
MJ | Anyone with Five ci rights about? | 17:38 |
*** d2m has joined #zope3-dev | 17:41 | |
*** alga has quit IRC | 17:43 | |
*** drzoltron has joined #zope3-dev | 17:43 | |
*** FrankBerger has joined #zope3-dev | 17:44 | |
*** mgedmin has joined #zope3-dev | 17:44 | |
FrankBerger | hello everyone, does someone know if my objects need to be pickable to get stored in an zope.app.cache.RAMCache? | 17:45 |
SteveA | they do, just in order to get their size, iirc | 17:45 |
SteveA | which is kinda bogus anyway | 17:45 |
SteveA | if they do, then it is a bug | 17:46 |
*** Loreto has quit IRC | 17:51 | |
*** dobee has quit IRC | 17:56 | |
FrankBerger | is there any other posibility to keep them in memory during requests? something like a list of object references? | 17:58 |
*** niemeyer is now known as nie_lunch | 18:04 | |
benji_york | bob2, you must have read my blog entry from yesterday :) | 18:05 |
*** zagy has quit IRC | 18:06 | |
bob2 | hah, no, where? | 18:07 |
benji_york | bob2, It's not much to look at yet; that was my first post :) But if you must know it's at http://benjiyork.com/blog | 18:09 |
benji_york | I hope to get on the planet python aggregator soonish | 18:09 |
bob2 | ah, neat | 18:10 |
bob2 | the main reason I'm looking at things other than zope3 is that zope3 is kinda overwhelming | 18:10 |
mgedmin | what does one do to get listed on planet python? | 18:10 |
*** j-w has quit IRC | 18:11 | |
benji_york | mgedmin, you (apparently) email the maintainer, I can get you his address if you're interested | 18:11 |
MJ | benji_york: while on the subject of your site.. | 18:11 |
benji_york | bob2, I *really* wish I had time to do some quick start tutorials/screen casts/code generators for Z3 | 18:11 |
MJ | "Zope Corporation; Fredericksburg, VA (11/05 - present)'? | 18:11 |
benji_york | MJ, yes..... :) | 18:11 |
benji_york | right | 18:12 |
MJ | Did you get Guido's time machine? | 18:12 |
mgedmin | benji_york, +1 | 18:12 |
MJ | Can I get a ride? ;) | 18:12 |
mgedmin | I watched the turbogears screencast yesterday | 18:12 |
mgedmin | it felt impressive | 18:12 |
mgedmin | although left a bunch of unanswered questions about security, virtual hosting, unit testing | 18:12 |
benji_york | Oh, right, that should be 04... thanks Jim must have retroactively infected me with his typeo disease | 18:12 |
bob2 | benji_york: hm, I have the simple things down. some of the more complicated stuff appears to be undocumented outside the source code, tho, which makes it very hard to make headway. | 18:12 |
mgedmin | separation of application and its instances (with their own log files/databases) | 18:12 |
SteveA | bob2: ah, so it is like zope2 | 18:13 |
bob2 | e.g. I still can't figure out how to query, say, an LDAP server for logins in 3.1 | 18:13 |
MJ | benji_york: Yes, it is contagious, ain't it | 18:13 |
benji_york | mgedmin, i watched it yesterday too, and kept thinking that it was neat but not quite to the level of Z3 | 18:14 |
benji_york | mgedmin, his address is trolocsis@gmail.com | 18:15 |
benji_york | (and I fixed the typeo :) | 18:15 |
benji_york | bob2, re LDAP, etc.: yep there are still many places where it would be nice to have better "drop in" support for common tasks, but we're just not there yet. For LDAP in particular there is some code available, but it's not in the core and would need some freshening before it will work again | 18:21 |
bob2 | benji_york: well, I'd even be happy for documentation like the PAS had in 3.0 | 18:21 |
benji_york | bob2, I don't quite follow | 18:22 |
SteveA | it is still my opinion that the ZMI gets in the way of making zope3 an efficient framework for python programmers | 18:23 |
SteveA | it makes zope3 feel a lot more heavyweight than it really should be | 18:23 |
benji_york | Stevea | 18:24 |
benji_york | oops :) | 18:24 |
bob2 | benji_york: in 3.0, adding a new authentication method using the PAS is documented in both the books, but I can't find something similar for 3.1 | 18:24 |
bob2 | not being able to avoid ZMI is annoying | 18:24 |
benji_york | SteveA, I somewhat agree, I would phrase it such that it would be nice to have a simplistic starting set with no ZMI and work up from there | 18:25 |
benji_york | bob2, as far as I know it is possible to "avoid" it by turning it off | 18:25 |
benji_york | (although, I prefer to transmute it in to the application UI instead) | 18:26 |
SteveA | benji_york: two things i think are particularly important for the wider adoption of zope3: make the zodb and the zmi non-core add ons. | 18:27 |
SteveA | the changes required in various core things to allow for these things will make the "core" of zope 3 much more lightweight | 18:27 |
SteveA | and more understandable to python programmers -- vastly lowering the count of things you need to know before you can be competent with zope3. | 18:27 |
SteveA | oh, and to get rid of the link between permissions and interfaces, but that's another discussion. | 18:28 |
*** zagy has joined #zope3-dev | 18:29 | |
mgedmin | I would like to see the a 20-minute wiki (turbogears.org) version for zope 3 | 18:31 |
mgedmin | see what would be slowing developers down | 18:31 |
mgedmin | (I bet that'll be ZCML and server restarts whenever you change anything in the code) | 18:31 |
* mgedmin remembers bobo for zope 3 | 18:32 | |
mgedmin | what happened to it? | 18:32 |
* SteveA thinks of an interface a module can provide to say "i'm reloadable!" | 18:33 | |
baldtrol | stevea, i'd love to see that. | 18:34 |
* SteveA is just hand-waving | 18:34 | |
* mgedmin tries to see whether SteveA has a magic wand in his waving hand | 18:35 | |
*** zagy has left #zope3-dev | 18:39 | |
benji_york | SteveA, that's already been done for views (it's an add-on) | 18:40 |
SteveA | "views" | 18:41 |
benji_york | mgedmin, Jim just hasn't had time to work on the Bobo branch | 18:41 |
SteveA | ? | 18:41 |
SteveA | presentation components that adapt a context and a request ? | 18:41 |
benji_york | right | 18:41 |
SteveA | an add-on in what sense? | 18:41 |
benji_york | I'll find the URL if you're interested | 18:41 |
benji_york | third-party | 18:41 |
benji_york | (not in the repo) | 18:41 |
SteveA | um | 18:42 |
SteveA | "views" are core, very basic, presentation components | 18:42 |
SteveA | the only simpler presentation component is a "resource" | 18:42 |
SteveA | i think we must be talking about different things | 18:42 |
benji_york | maybe... I'll find the URL | 18:43 |
SteveA | okay | 18:44 |
baldtrol | quick (potentially silly and too open-ended) question... has anything significant changed in the zcml and unittest setups for event subscribers between 3.0 and 3.1? | 18:47 |
benji_york | SteveA: http://gintas.pov.lt/darcs/z3reload/README.txt | 18:47 |
SteveA | thanks benji_york | 18:48 |
*** whit has joined #zope3-dev | 18:48 | |
whit | howdy | 18:48 |
benji_york | hi, whit | 18:50 |
benji_york | I don't know one whit... :) (bad pun for those so-challenged) | 18:50 |
baldtrol | argh! | 18:51 |
whit | ;) | 18:51 |
*** mkerrin has quit IRC | 18:51 | |
whit | this is my first time here I beliew | 18:51 |
* whit has been doing some work on five and looking at zope.formlib | 18:51 | |
benji_york | well, it looks like you've adopted our typeo style well | 18:52 |
whit | I like to drop my 's'es | 18:52 |
benji_york | :) | 18:53 |
*** projekt01 has joined #zope3-dev | 18:59 | |
*** zagy has joined #zope3-dev | 19:02 | |
*** batok has joined #zope3-dev | 19:08 | |
*** SureshZ has joined #zope3-dev | 19:19 | |
*** hazmat has joined #zope3-dev | 19:20 | |
*** ChanServ sets mode: +o hazmat | 19:20 | |
*** projekt01 has quit IRC | 19:20 | |
*** stub has quit IRC | 19:23 | |
*** mkerrin has joined #zope3-dev | 19:33 | |
andres | Is there any easy way to put two autogenerated (via schemes) forms of two different objects into on <form></form>? | 19:34 |
*** ksmith has joined #zope3-dev | 19:35 | |
andres | I want this, because else i would sometimes only one of the two (dependant) objects generated. | 19:36 |
*** tarek has quit IRC | 19:38 | |
srichter | no | 19:43 |
srichter | this would violate the object view paradgim | 19:43 |
srichter | but you can write some Python code to do this | 19:44 |
andres | srichter, do you mind giving me some hints? | 19:44 |
ksmith | is it not possible to user browser:editform with IAnnotatable metadata? I keep getting forbiddenattribute errors | 19:55 |
*** zagy has quit IRC | 19:55 | |
srichter | andres: well, you basically write a view that instantiates two edit views; one for each object and then you have a custom template using both views | 19:59 |
srichter | I did something similar (with multiple object views) in zope.app.preference | 20:00 |
andres | Ok, ill look. | 20:00 |
*** tekNico has quit IRC | 20:00 | |
*** projekt01 has joined #zope3-dev | 20:00 | |
srichter | ksmith: yes, but you have to make your adapter to the annotation data a trusted adapter | 20:00 |
srichter | in ZCML trusted="true" | 20:01 |
andres | Btw, thanks for zope3... Its way much neater to develop than z2. (besides the constant stop-start-stop-start of zope) | 20:01 |
mgedmin | any pytz/datetime gurus here? | 20:01 |
benji_york | andres, for some auto-reload voodoo, see http://gintas.pov.lt/darcs/z3reload/README.txt | 20:02 |
mgedmin | >>> import pytz, datetime | 20:02 |
mgedmin | >>> naive = datetime.datetime(2005, 9, 26, 20, 00) | 20:02 |
mgedmin | >>> vilnius = pytz.timezone('Europe/Vilnius') | 20:02 |
mgedmin | now I convert UTC -> Europe/Vilnius | 20:02 |
*** MrTopf has quit IRC | 20:02 | |
mgedmin | >>> naive.replace(tzinfo=pytz.utc).astimezone(vilnius).isoformat() | 20:03 |
mgedmin | '2005-09-26T23:00:00+03:00' | 20:03 |
mgedmin | all is well | 20:03 |
mgedmin | but if I convert Europe/Vilnius -> UTC | 20:03 |
mgedmin | >>> naive.replace(tzinfo=vilnius).astimezone(pytz.utc).isoformat() | 20:03 |
mgedmin | '2005-09-26T18:36:00+00:00' | 20:03 |
srichter | ahhhh! :-( | 20:03 |
mgedmin | expected result -- '17:00', actual result -- '18:36' | 20:03 |
srichter | I guess a PyTZ bug? | 20:03 |
mgedmin | the offset becomes +1:24 instead of +3:00 | 20:03 |
mgedmin | (+1:24 is "Warsaw Mean Time" -- the time zone that was used here before 1916, I think) | 20:04 |
mgedmin | maybe | 20:05 |
* mgedmin looks | 20:05 | |
mgedmin | ehh? | 20:05 |
srichter | ahh, maybe the current timezone setting is not selected correctly | 20:05 |
mgedmin | class DstTzInfo(BaseTzInfo): | 20:05 |
mgedmin | def utcoffset(self, dt): | 20:06 |
mgedmin | return self._utcoffset | 20:06 |
mgedmin | this does not seem right! | 20:06 |
mgedmin | utcoffset gets a 'dt' argument so that it can determine the UTC offset for a given date | 20:06 |
mgedmin | but this class returns a constant offset | 20:06 |
*** nie_lunch is now known as niemeyer | 20:06 | |
*** zagy has joined #zope3-dev | 20:07 | |
mgedmin | yep | 20:07 |
mgedmin | astimezone() is implemented this way: | 20:07 |
mgedmin | find out my utcoffset() | 20:07 |
mgedmin | subtract | 20:07 |
ksmith | srichter: I have trusted="true" and it works for a custom view, but not browser:editform | 20:07 |
mgedmin | then call tzinfo.fromutc(value) | 20:07 |
mgedmin | tzinfo.fromutc is correct | 20:07 |
mgedmin | tzinfo.utcoffset is not | 20:07 |
mgedmin | where do I file a bug? | 20:08 |
srichter | ksmith: mmh, then I don;t know out of the top of my head either | 20:08 |
srichter | mgedmin: best send Stuart an E-mail message | 20:08 |
srichter | mgedmin: he was very responsive to previous requests | 20:09 |
mgedmin | ok, will do that | 20:09 |
ksmith | srichter: it may be related to Problems with PartialAnnotationsAdapter thread http://article.gmane.org/gmane.comp.web.zope.zope3.user/782 | 20:12 |
ksmith | would it be fair to file as a bug and see what happens? | 20:13 |
*** zagy has quit IRC | 20:15 | |
ksmith | nevermind, it's already filed as http://www.zope.org/Collectors/Zope3-dev/438 | 20:17 |
*** ignas has quit IRC | 20:40 | |
*** yota has joined #zope3-dev | 20:47 | |
*** MacYET_ has joined #zope3-dev | 20:48 | |
*** andres has quit IRC | 20:49 | |
*** dobee has joined #zope3-dev | 21:04 | |
*** batok has quit IRC | 21:08 | |
*** batok has joined #zope3-dev | 21:10 | |
srichter | benji_york: are you there? | 21:13 |
benji_york | srichter, yep | 21:15 |
*** jinty has quit IRC | 21:15 | |
*** dobee has quit IRC | 21:15 | |
MacYET_ | does anyone know the location of ZCs extensions to the z3 catalog? | 21:18 |
benji_york | MacYET_, it's in the sandbox on svn.zope.org | 21:20 |
srichter | benji_york: urllib2 converts all 404 and other error responses to Python exceptions :-( | 21:20 |
srichter | this means that there is no way of testing the result output | 21:20 |
srichter | can this be turned off? | 21:20 |
MacYET_ | benji_york: tnx | 21:20 |
benji_york | hmm, I hadn't noticed that (do we have tests?) | 21:21 |
benji_york | I don't know off the top of my head if that is togglable | 21:22 |
srichter | nom I just noticed it in one of my tests when I tried to test for errors | 21:22 |
srichter | we need to address this problem one way or another | 21:22 |
benji_york | yep | 21:23 |
*** batok has quit IRC | 21:31 | |
*** zagy has joined #zope3-dev | 21:44 | |
*** mgedmin has quit IRC | 21:44 | |
*** anguenot has quit IRC | 21:48 | |
*** zagy has quit IRC | 22:00 | |
*** hazmat has quit IRC | 22:01 | |
*** mkerrin has quit IRC | 22:07 | |
*** ksmith has left #zope3-dev | 22:13 | |
*** hazmat has joined #zope3-dev | 22:16 | |
*** ChanServ sets mode: +o hazmat | 22:16 | |
*** hazmat has quit IRC | 22:18 | |
*** baldtrol has left #zope3-dev | 22:32 | |
*** MacYET_ has quit IRC | 22:32 | |
*** strichter has joined #zope3-dev | 22:34 | |
*** strichter has quit IRC | 22:36 | |
*** jinty has joined #zope3-dev | 22:52 | |
*** palmTree has joined #zope3-dev | 22:54 | |
*** inman has joined #zope3-dev | 23:26 | |
*** tvon has quit IRC | 23:31 | |
*** drzoltron has quit IRC | 23:31 | |
*** sashav has quit IRC | 23:40 | |
*** tvon has joined #zope3-dev | 23:42 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!