IRC log of #zope3-dev for Sunday, 2005-10-16

*** sashav has joined #zope3-dev00:02
*** dobee has quit IRC00:07
*** sashav has quit IRC00:19
*** newpers has joined #zope3-dev00:20
*** whit has quit IRC00:23
*** sashav has joined #zope3-dev00:25
_projekt01srichter, ayt?00:35
*** _projekt01 is now known as projekt0100:35
*** MacYET has quit IRC00:39
*** natea is now known as natea|away00:45
*** sashav has quit IRC00:45
*** gdsgdsgvdd has joined #zope3-dev00:49
gdsgdsgvddi am working on an event registration website, and had a question...if someone could provide any clue.00:51
gdsgdsgvdda new user registers and logs in00:52
gdsgdsgvddafter that fills an event registration form and submits it and logs out00:52
gdsgdsgvddwhen the user logs in again... He can see his registration info..00:53
gdsgdsgvddas all the users will have same rols and permissions, how can i restrick a user from not seeing any other users registration info.00:54
srichterprojekt01: yep00:54
srichtergdsgdsgvdd: set a local role for the user00:54
projekt01srichter, Gary posted a interesting mail00:55
srichterthis can be done by hand using the grant.html view, but can be done programmatically as well00:55
projekt01srichter, did you read it?00:55
srichterprojekt01: I have not read it in detail yet00:55
gdsgdsgvddu mean.. any user who logs in will have local role00:56
srichterprojekt01: though I disagree that all this AJAX and moving stuff is low-level00:56
projekt01I'll post a answer to the question why we use two packages.00:56
srichterit is far above the level of content providers and even viewlets00:56
srichterok00:56
projekt01I'll take a look at the rest on monday00:56
srichterok00:57
srichtergdsgdsgvdd: you basically have to say for event X user Y has permission Z (most likely zope.ManageContent)00:59
projekt01srichter, another use case for content provider, viewlet and portlets are my different template languages where I use.01:00
projekt01We have to make sure that another template language then TAL can be used for each implementation.01:01
gdsgdsgvddi can see the grant.html...I tried to set the roles, but when i bounced zope and opened the grant.html..it never showed me the changes i had made...01:02
gdsgdsgvddis it persistent01:03
srichterprojekt01: well, we cannot have magical support for an imaginary templating language; I think what we have is good and flexible01:03
srichtergdsgdsgvdd: yes, the security settings are persistent01:03
srichtergdsgdsgvdd: you should check out the SchoolTool project, it messes with local permissions all over the place01:04
projekt01srichter, Yes, of course, it only means we have to separate the logic out of the templates for the portlets.01:04
projekt01srichter, btw, it's not imaginary I just haven't had the time to show it to you at the sprint ;-)01:05
srichteryeah, of course01:05
newpersare there any sprints in the us?01:05
newpersout of curiousity01:05
srichterthere was a Zope Corp sprint before labor day weekend01:06
srichtercurrently no sprints are planned01:07
newpersthanks01:07
* projekt01 perhaps we should hold a boston skin implementation sprint at boston next week ;-)01:08
srichterbe my guest! :-)01:08
srichtermy home office holds about 4 people :-)01:08
projekt01;-)01:08
newperswhere do you live, projekt01?01:09
projekt01argh, if I had more time...01:09
projekt01switzerland01:09
newpers:)01:09
*** zbir has quit IRC01:09
projekt01newpers, and you01:09
newpersphoenix, az01:09
srichterwe should have a sprint there in the middle of winter01:11
srichterto get warmed up :-)01:11
newpersheh.  the weather would be nice for sure01:12
*** suse-joe has left #zope3-dev01:40
*** sm has quit IRC01:42
*** gnosis has quit IRC01:52
*** gnosis has joined #Zope3-dev01:55
*** projekt01 has quit IRC02:09
*** zbir has joined #zope3-dev02:37
*** yota has quit IRC02:38
*** einheit has joined #zope3-dev02:38
*** newpers has quit IRC02:49
zbirAny Zopers in the mood next weekend: http://amish.urbanape.com/02:53
*** jinty has quit IRC02:53
*** newpers has joined #zope3-dev02:54
benji_yorkway to leave a statement open to interpretation, Zac02:54
zbirheh. I noticed you still didn't RSVP ;)03:03
benji_yorkoh, yeah I almost forgot, unfortunately we already had something planned03:05
benji_yorkI think I already told you that though03:06
*** natea|away is now known as natea03:24
benji_yorksrichter, I really like the new introspector03:30
tavsidenote: how do the ZODB transactions interplay with the twisted reactor in the new twisted+z3 integration ?03:32
*** einheit has quit IRC03:35
*** philiKON has joined #zope3-dev03:41
*** horizon5 has quit IRC03:47
*** d2m has quit IRC04:41
*** suse-joe has joined #zope3-dev05:28
*** suse-joe has left #zope3-dev05:29
*** tiredbones has left #zope3-dev05:36
*** gdsgdsgvdd has quit IRC06:23
*** zbir has quit IRC06:44
newpersphiliKON, on your site it should be "This tutorial started out as a series of blog posts."   You have serious :)06:45
*** baiju has joined #zope3-dev07:07
*** dobee has joined #zope3-dev07:12
*** gdsgdsgvdd has joined #zope3-dev07:47
gdsgdsgvdda quick question.... Can two different roles have overlaping permissions07:48
*** tarek has joined #zope3-dev07:52
gdsgdsgvddexample- If Role-a has permission Add and View, can Role-b have permission View07:53
*** baiju has quit IRC07:53
*** hazmat has joined #zope3-dev08:16
*** ChanServ sets mode: +o hazmat08:16
*** hazmat has quit IRC08:42
*** kaczordek has joined #zope3-dev08:57
*** newpers has quit IRC09:17
*** sashav has joined #zope3-dev09:23
*** sashav has quit IRC09:40
*** sashav has joined #zope3-dev10:19
*** MacYET has joined #zope3-dev10:33
gdsgdsgvddi have designed a skin and tring to implement the login/logout link (similar to the one available with the rotterdam skin)10:58
gdsgdsgvddwhat would be the right approch for this problem10:59
*** M1 has joined #zope3-dev11:16
*** MJ has quit IRC11:18
*** einheit has joined #zope3-dev11:36
*** einheit is now known as SteveA_11:37
*** kaczordek has quit IRC11:47
*** vlado has joined #zope3-dev12:06
*** srichter has quit IRC12:21
* MacYET is away: MacYaway 12:51
*** vlado has quit IRC13:22
*** klaus has joined #zope3-dev13:35
*** klaus has left #zope3-dev13:40
*** tarek has quit IRC13:48
*** klaus has joined #zope3-dev14:00
*** yota has joined #zope3-dev14:04
*** M1 is now known as mj14:05
*** mj is now known as MJ14:05
*** Alef has joined #zope3-dev14:06
*** klaus has left #zope3-dev14:07
*** klaus has joined #zope3-dev14:07
*** BjornT has quit IRC14:17
*** BjornT has joined #zope3-dev14:17
klauswhois klaus14:24
*** klaus has left #zope3-dev14:25
*** srichter has joined #zope3-dev14:33
*** ChanServ sets mode: +o srichter14:34
*** klaus has joined #zope3-dev14:38
srichterphiliKON: what is the option in wget to convert links to local relative links?15:04
philiKON-k15:05
srichterdarn, it did not work15:06
srichterphiliKON: could it be that the option sometimes does not work?15:12
srichterdo I need to specify the base-href maybe?15:12
dobeesrichter: we had the sam problem with sucking contents from zope, at our university website15:13
philiKONdunno15:13
srichterI guess I could write my own python script15:13
dobeei ended up replacing the absolute_urls with perl15:13
srichteryeah, in Python this would be sufficient: file.read().replace(URL, dir)15:14
srichterdobee: I guess that;s what specifying the script is for?15:14
dobeethe reason why i used perl was that you can replace with perl -e ...15:15
srichterdo you still have the script?15:15
dobeeone moment15:15
philiKONfind . -exec perl -i -p -e 's/foo/bar/g;' {} \;15:16
srichtercan you give me this example with URL=http://localhost:8008/++apidoc++/ dir=/Zope3/apidoc ? :-)15:17
dobeeyeah that's what i used15:17
srichter(I know zero perl and dunno what needs to be escaped15:17
srichterI guess I have to escape / and +, rght?15:19
*** jinty has joined #zope3-dev15:20
dobeesorry i can't remember but i guess too, i can't find the script, musst be somewhere on a webserver at our university,15:21
srichterok15:22
tavlads, re: zope/twisted integration ... is it working now? (i assumed so due to merge into trunk). however, i'm running into problems wrt the server hanging in request.processInputs() when certain POSTs occur.15:23
tavany ideas as to what i might be doing wrong ?15:23
srichterwe had no such reports yet15:23
srichterplease send a mail to the list, so Michael can have a look15:24
srichterthe best would be a functional test of course15:24
tavah15:25
tavbtw, is there any documentation on the integration beside the readme.txt in zope/app/twisted ?15:26
srichterwell what ytpe of documentation do you want?15:26
tavwell, i'm getting rather confused at the various extremities of abstraction -- at best, would be nice to have some kind of overview of how it all fits together ...15:27
srichterthe same was true for the zserver stuff though15:31
srichterfor me documenting this code is a low priority, because almost noone is going ever to work with it15:31
srichterother than creating new server types15:32
philiKONthat should make documenting it high priority15:32
philiKONbecause even you will forget how it works15:32
philiKONand it will bitrod15:32
philiKONand it will bitrot15:32
philiKONand just because the zserver code wasn't documented doesn't mean we shoudl make the same mistake again...15:32
srichterthen do it15:34
srichterI said it was no a high priority for *me*15:34
philiKONyou wrote the stuff :)15:34
srichterand I provided tests that Michael partially at least converted to a README.txt15:35
SteveA_just as data-point, i've done quite a lot with zserver and zserver-zope3 integration15:38
srichterdocumenting this stuff is non -trivial, since setting up non-brittle and sensible tests is very hard and they will be very slow to run15:38
srichterSteveA_: we will have zserver around for a while; in fact existing isntances will still run with it15:38
SteveA_i'd much rather move to twisted15:39
SteveA_there's all sorts of cruft dealing with asyncore15:39
SteveA_and there's too much abstraction going on in zserver code15:39
SteveA_much of which isn't used or tested15:39
SteveA_and thus doesn't actually work15:39
srichterok, so the switch is easy too :-)15:40
SteveA_that's good to hear15:40
srichterisntead of zope.app.zserver point to zope.app.twsited15:41
srichterthe API on that level is at least very similar if not exactely the same15:41
SteveA_there's some high-availability stuff the launchpad infrastructure team has done on the zserver-zope integration15:41
SteveA_that is horribly ugly, but should be more tasteful with twisted15:41
SteveA_that would be worth putting into zope315:42
*** srichter is now known as strichter15:43
*** strichter is now known as srichter15:43
srichterSteveA: this would be very cool15:43
srichterSteveA: If you do not have a lot of time, you could always put it in a branch for us to look at15:44
srichterbtw, I agree that zserver was bugyg; it was written in the pre-testing age15:44
*** baiju has joined #zope3-dev15:46
*** zbir has joined #zope3-dev15:48
*** dobee has quit IRC15:51
*** baiju has quit IRC16:09
*** dobee has joined #zope3-dev16:17
*** dobee has quit IRC16:32
klausBy compiling ZopeX3 (3.0.0) with gcc 4 (Mac OS 10.4.2) the make command failed until i changed the declaration at line 73 of the file Dependecies/zope.interface-ZopeX3-3.0.0/zope.interface/_zope_interface_coptimizations.c from "extern" to "static". Now it works and i hope it will give no side effects. Where is the best place to report things like this?16:56
philiKONit *fails*?17:29
philiKONi thought it would only issue a warning...17:29
philiKONklaus, this has already been reported, but the X3 3.0 branch isn't maintained too actively anymore, unfortunately17:30
philiKONi took some initiative once to backport some bugfixes (like this one, possibly), but i'd need help and everyone's busy rolling out new releases17:31
klausyes, it fails: $ make17:34
klausoops, its my first time using Irssix ... (and the first time I´m doing IRC)))17:35
philiKONoh, wait, you're using zope x3 3.0.0?17:36
philiKONuse x3 3.0.17:36
philiKONuse x3 3.0.117:36
philiKONthat should work17:36
philiKON*this* particular bugfix i remember now having put in17:37
klaus3.0.1 was not available at the time I compiled 3.0.017:39
philiKONthat must have been a while ago...17:39
philiKONanyways, use 3.0.117:39
klausI will try to compile 3.1.0 final in the next days17:39
philiKONor, even better, 3.1.017:39
philiKONit's not like it needs ages17:40
philiKONtakes you 5 minutes17:40
klausyes, but I need the 5 minute-slot ))17:40
philiKONok :)17:40
philiKONwell, i'm going to bed17:40
philiKONg'night everyone17:40
*** philiKON has quit IRC17:40
*** srichter has quit IRC17:44
*** srichter has joined #zope3-dev17:45
*** ChanServ sets mode: +o srichter17:46
*** MJ has quit IRC18:18
*** Alef has quit IRC18:40
*** SteveA_ is now known as einheit18:40
*** J1m has joined #zope3-dev18:49
*** J1m has quit IRC18:59
*** dobee has joined #zope3-dev19:22
*** MacYET has quit IRC19:26
*** tiredbones has joined #zope3-dev19:30
*** newpers has joined #zope3-dev19:31
*** MacYET has joined #zope3-dev19:31
*** zagy has quit IRC19:41
*** zagy has joined #zope3-dev19:44
*** klaus has quit IRC19:45
*** MJ has joined #zope3-dev19:47
*** kbremer has joined #zope3-dev19:48
*** kbremer has quit IRC19:53
*** kBremer has joined #zope3-dev19:56
*** kBremer has left #zope3-dev19:57
*** kbremer has joined #zope3-dev19:58
*** mp has joined #zope3-dev20:01
*** kbremer has quit IRC20:03
*** klaus has joined #zope3-dev20:11
*** gdsgdsgvdd has quit IRC20:12
*** dobee has quit IRC20:22
*** dobee has joined #zope3-dev20:31
*** dobee has quit IRC20:34
*** MJ has quit IRC20:40
*** dobee has joined #zope3-dev20:41
*** einheit is now known as SteveA_20:53
*** dobee has quit IRC21:04
*** MacYET has quit IRC22:29
*** haruki has joined #zope3-dev22:48
*** benji_york_zope has joined #zope3-dev22:49
*** benji_york has quit IRC22:53
*** benji_york_zope is now known as benji_york22:53
benji_yorktake, that benji_york_zope22:53
*** MJ has joined #zope3-dev22:54
*** haruki has quit IRC22:58
*** benji_york is now known as benji23:05
*** benji is now known as benji_york23:05
*** horizon5 has joined #zope3-dev23:05
*** Alef has joined #zope3-dev23:29
*** tiredbones has quit IRC23:40
*** newpers has left #zope3-dev23:54
*** tav has quit IRC23:54
*** ignas has joined #zope3-dev23:55

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!