*** sashav has joined #zope3-dev | 00:02 | |
*** dobee has quit IRC | 00:07 | |
*** sashav has quit IRC | 00:19 | |
*** newpers has joined #zope3-dev | 00:20 | |
*** whit has quit IRC | 00:23 | |
*** sashav has joined #zope3-dev | 00:25 | |
_projekt01 | srichter, ayt? | 00:35 |
---|---|---|
*** _projekt01 is now known as projekt01 | 00:35 | |
*** MacYET has quit IRC | 00:39 | |
*** natea is now known as natea|away | 00:45 | |
*** sashav has quit IRC | 00:45 | |
*** gdsgdsgvdd has joined #zope3-dev | 00:49 | |
gdsgdsgvdd | i am working on an event registration website, and had a question...if someone could provide any clue. | 00:51 |
gdsgdsgvdd | a new user registers and logs in | 00:52 |
gdsgdsgvdd | after that fills an event registration form and submits it and logs out | 00:52 |
gdsgdsgvdd | when the user logs in again... He can see his registration info.. | 00:53 |
gdsgdsgvdd | as 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 |
srichter | projekt01: yep | 00:54 |
srichter | gdsgdsgvdd: set a local role for the user | 00:54 |
projekt01 | srichter, Gary posted a interesting mail | 00:55 |
srichter | this can be done by hand using the grant.html view, but can be done programmatically as well | 00:55 |
projekt01 | srichter, did you read it? | 00:55 |
srichter | projekt01: I have not read it in detail yet | 00:55 |
gdsgdsgvdd | u mean.. any user who logs in will have local role | 00:56 |
srichter | projekt01: though I disagree that all this AJAX and moving stuff is low-level | 00:56 |
projekt01 | I'll post a answer to the question why we use two packages. | 00:56 |
srichter | it is far above the level of content providers and even viewlets | 00:56 |
srichter | ok | 00:56 |
projekt01 | I'll take a look at the rest on monday | 00:56 |
srichter | ok | 00:57 |
srichter | gdsgdsgvdd: you basically have to say for event X user Y has permission Z (most likely zope.ManageContent) | 00:59 |
projekt01 | srichter, another use case for content provider, viewlet and portlets are my different template languages where I use. | 01:00 |
projekt01 | We have to make sure that another template language then TAL can be used for each implementation. | 01:01 |
gdsgdsgvdd | i 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 |
gdsgdsgvdd | is it persistent | 01:03 |
srichter | projekt01: well, we cannot have magical support for an imaginary templating language; I think what we have is good and flexible | 01:03 |
srichter | gdsgdsgvdd: yes, the security settings are persistent | 01:03 |
srichter | gdsgdsgvdd: you should check out the SchoolTool project, it messes with local permissions all over the place | 01:04 |
projekt01 | srichter, Yes, of course, it only means we have to separate the logic out of the templates for the portlets. | 01:04 |
projekt01 | srichter, btw, it's not imaginary I just haven't had the time to show it to you at the sprint ;-) | 01:05 |
srichter | yeah, of course | 01:05 |
newpers | are there any sprints in the us? | 01:05 |
newpers | out of curiousity | 01:05 |
srichter | there was a Zope Corp sprint before labor day weekend | 01:06 |
srichter | currently no sprints are planned | 01:07 |
newpers | thanks | 01:07 |
* projekt01 perhaps we should hold a boston skin implementation sprint at boston next week ;-) | 01:08 | |
srichter | be my guest! :-) | 01:08 |
srichter | my home office holds about 4 people :-) | 01:08 |
projekt01 | ;-) | 01:08 |
newpers | where do you live, projekt01? | 01:09 |
projekt01 | argh, if I had more time... | 01:09 |
projekt01 | switzerland | 01:09 |
newpers | :) | 01:09 |
*** zbir has quit IRC | 01:09 | |
projekt01 | newpers, and you | 01:09 |
newpers | phoenix, az | 01:09 |
srichter | we should have a sprint there in the middle of winter | 01:11 |
srichter | to get warmed up :-) | 01:11 |
newpers | heh. the weather would be nice for sure | 01:12 |
*** suse-joe has left #zope3-dev | 01:40 | |
*** sm has quit IRC | 01:42 | |
*** gnosis has quit IRC | 01:52 | |
*** gnosis has joined #Zope3-dev | 01:55 | |
*** projekt01 has quit IRC | 02:09 | |
*** zbir has joined #zope3-dev | 02:37 | |
*** yota has quit IRC | 02:38 | |
*** einheit has joined #zope3-dev | 02:38 | |
*** newpers has quit IRC | 02:49 | |
zbir | Any Zopers in the mood next weekend: http://amish.urbanape.com/ | 02:53 |
*** jinty has quit IRC | 02:53 | |
*** newpers has joined #zope3-dev | 02:54 | |
benji_york | way to leave a statement open to interpretation, Zac | 02:54 |
zbir | heh. I noticed you still didn't RSVP ;) | 03:03 |
benji_york | oh, yeah I almost forgot, unfortunately we already had something planned | 03:05 |
benji_york | I think I already told you that though | 03:06 |
*** natea|away is now known as natea | 03:24 | |
benji_york | srichter, I really like the new introspector | 03:30 |
tav | sidenote: how do the ZODB transactions interplay with the twisted reactor in the new twisted+z3 integration ? | 03:32 |
*** einheit has quit IRC | 03:35 | |
*** philiKON has joined #zope3-dev | 03:41 | |
*** horizon5 has quit IRC | 03:47 | |
*** d2m has quit IRC | 04:41 | |
*** suse-joe has joined #zope3-dev | 05:28 | |
*** suse-joe has left #zope3-dev | 05:29 | |
*** tiredbones has left #zope3-dev | 05:36 | |
*** gdsgdsgvdd has quit IRC | 06:23 | |
*** zbir has quit IRC | 06:44 | |
newpers | philiKON, 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-dev | 07:07 | |
*** dobee has joined #zope3-dev | 07:12 | |
*** gdsgdsgvdd has joined #zope3-dev | 07:47 | |
gdsgdsgvdd | a quick question.... Can two different roles have overlaping permissions | 07:48 |
*** tarek has joined #zope3-dev | 07:52 | |
gdsgdsgvdd | example- If Role-a has permission Add and View, can Role-b have permission View | 07:53 |
*** baiju has quit IRC | 07:53 | |
*** hazmat has joined #zope3-dev | 08:16 | |
*** ChanServ sets mode: +o hazmat | 08:16 | |
*** hazmat has quit IRC | 08:42 | |
*** kaczordek has joined #zope3-dev | 08:57 | |
*** newpers has quit IRC | 09:17 | |
*** sashav has joined #zope3-dev | 09:23 | |
*** sashav has quit IRC | 09:40 | |
*** sashav has joined #zope3-dev | 10:19 | |
*** MacYET has joined #zope3-dev | 10:33 | |
gdsgdsgvdd | i have designed a skin and tring to implement the login/logout link (similar to the one available with the rotterdam skin) | 10:58 |
gdsgdsgvdd | what would be the right approch for this problem | 10:59 |
*** M1 has joined #zope3-dev | 11:16 | |
*** MJ has quit IRC | 11:18 | |
*** einheit has joined #zope3-dev | 11:36 | |
*** einheit is now known as SteveA_ | 11:37 | |
*** kaczordek has quit IRC | 11:47 | |
*** vlado has joined #zope3-dev | 12:06 | |
*** srichter has quit IRC | 12:21 | |
* MacYET is away: MacYaway | 12:51 | |
*** vlado has quit IRC | 13:22 | |
*** klaus has joined #zope3-dev | 13:35 | |
*** klaus has left #zope3-dev | 13:40 | |
*** tarek has quit IRC | 13:48 | |
*** klaus has joined #zope3-dev | 14:00 | |
*** yota has joined #zope3-dev | 14:04 | |
*** M1 is now known as mj | 14:05 | |
*** mj is now known as MJ | 14:05 | |
*** Alef has joined #zope3-dev | 14:06 | |
*** klaus has left #zope3-dev | 14:07 | |
*** klaus has joined #zope3-dev | 14:07 | |
*** BjornT has quit IRC | 14:17 | |
*** BjornT has joined #zope3-dev | 14:17 | |
klaus | whois klaus | 14:24 |
*** klaus has left #zope3-dev | 14:25 | |
*** srichter has joined #zope3-dev | 14:33 | |
*** ChanServ sets mode: +o srichter | 14:34 | |
*** klaus has joined #zope3-dev | 14:38 | |
srichter | philiKON: what is the option in wget to convert links to local relative links? | 15:04 |
philiKON | -k | 15:05 |
srichter | darn, it did not work | 15:06 |
srichter | philiKON: could it be that the option sometimes does not work? | 15:12 |
srichter | do I need to specify the base-href maybe? | 15:12 |
dobee | srichter: we had the sam problem with sucking contents from zope, at our university website | 15:13 |
philiKON | dunno | 15:13 |
srichter | I guess I could write my own python script | 15:13 |
dobee | i ended up replacing the absolute_urls with perl | 15:13 |
srichter | yeah, in Python this would be sufficient: file.read().replace(URL, dir) | 15:14 |
srichter | dobee: I guess that;s what specifying the script is for? | 15:14 |
dobee | the reason why i used perl was that you can replace with perl -e ... | 15:15 |
srichter | do you still have the script? | 15:15 |
dobee | one moment | 15:15 |
philiKON | find . -exec perl -i -p -e 's/foo/bar/g;' {} \; | 15:16 |
srichter | can you give me this example with URL=http://localhost:8008/++apidoc++/ dir=/Zope3/apidoc ? :-) | 15:17 |
dobee | yeah that's what i used | 15:17 |
srichter | (I know zero perl and dunno what needs to be escaped | 15:17 |
srichter | I guess I have to escape / and +, rght? | 15:19 |
*** jinty has joined #zope3-dev | 15:20 | |
dobee | sorry 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 |
srichter | ok | 15:22 |
tav | lads, 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 |
tav | any ideas as to what i might be doing wrong ? | 15:23 |
srichter | we had no such reports yet | 15:23 |
srichter | please send a mail to the list, so Michael can have a look | 15:24 |
srichter | the best would be a functional test of course | 15:24 |
tav | ah | 15:25 |
tav | btw, is there any documentation on the integration beside the readme.txt in zope/app/twisted ? | 15:26 |
srichter | well what ytpe of documentation do you want? | 15:26 |
tav | well, 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 |
srichter | the same was true for the zserver stuff though | 15:31 |
srichter | for me documenting this code is a low priority, because almost noone is going ever to work with it | 15:31 |
srichter | other than creating new server types | 15:32 |
philiKON | that should make documenting it high priority | 15:32 |
philiKON | because even you will forget how it works | 15:32 |
philiKON | and it will bitrod | 15:32 |
philiKON | and it will bitrot | 15:32 |
philiKON | and just because the zserver code wasn't documented doesn't mean we shoudl make the same mistake again... | 15:32 |
srichter | then do it | 15:34 |
srichter | I said it was no a high priority for *me* | 15:34 |
philiKON | you wrote the stuff :) | 15:34 |
srichter | and I provided tests that Michael partially at least converted to a README.txt | 15:35 |
SteveA_ | just as data-point, i've done quite a lot with zserver and zserver-zope3 integration | 15:38 |
srichter | documenting this stuff is non -trivial, since setting up non-brittle and sensible tests is very hard and they will be very slow to run | 15:38 |
srichter | SteveA_: we will have zserver around for a while; in fact existing isntances will still run with it | 15:38 |
SteveA_ | i'd much rather move to twisted | 15:39 |
SteveA_ | there's all sorts of cruft dealing with asyncore | 15:39 |
SteveA_ | and there's too much abstraction going on in zserver code | 15:39 |
SteveA_ | much of which isn't used or tested | 15:39 |
SteveA_ | and thus doesn't actually work | 15:39 |
srichter | ok, so the switch is easy too :-) | 15:40 |
SteveA_ | that's good to hear | 15:40 |
srichter | isntead of zope.app.zserver point to zope.app.twsited | 15:41 |
srichter | the API on that level is at least very similar if not exactely the same | 15:41 |
SteveA_ | there's some high-availability stuff the launchpad infrastructure team has done on the zserver-zope integration | 15:41 |
SteveA_ | that is horribly ugly, but should be more tasteful with twisted | 15:41 |
SteveA_ | that would be worth putting into zope3 | 15:42 |
*** srichter is now known as strichter | 15:43 | |
*** strichter is now known as srichter | 15:43 | |
srichter | SteveA: this would be very cool | 15:43 |
srichter | SteveA: If you do not have a lot of time, you could always put it in a branch for us to look at | 15:44 |
srichter | btw, I agree that zserver was bugyg; it was written in the pre-testing age | 15:44 |
*** baiju has joined #zope3-dev | 15:46 | |
*** zbir has joined #zope3-dev | 15:48 | |
*** dobee has quit IRC | 15:51 | |
*** baiju has quit IRC | 16:09 | |
*** dobee has joined #zope3-dev | 16:17 | |
*** dobee has quit IRC | 16:32 | |
klaus | By 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 |
philiKON | it *fails*? | 17:29 |
philiKON | i thought it would only issue a warning... | 17:29 |
philiKON | klaus, this has already been reported, but the X3 3.0 branch isn't maintained too actively anymore, unfortunately | 17:30 |
philiKON | i took some initiative once to backport some bugfixes (like this one, possibly), but i'd need help and everyone's busy rolling out new releases | 17:31 |
klaus | yes, it fails: $ make | 17:34 |
klaus | oops, its my first time using Irssix ... (and the first time I´m doing IRC))) | 17:35 |
philiKON | oh, wait, you're using zope x3 3.0.0? | 17:36 |
philiKON | use x3 3.0. | 17:36 |
philiKON | use x3 3.0.1 | 17:36 |
philiKON | that should work | 17:36 |
philiKON | *this* particular bugfix i remember now having put in | 17:37 |
klaus | 3.0.1 was not available at the time I compiled 3.0.0 | 17:39 |
philiKON | that must have been a while ago... | 17:39 |
philiKON | anyways, use 3.0.1 | 17:39 |
klaus | I will try to compile 3.1.0 final in the next days | 17:39 |
philiKON | or, even better, 3.1.0 | 17:39 |
philiKON | it's not like it needs ages | 17:40 |
philiKON | takes you 5 minutes | 17:40 |
klaus | yes, but I need the 5 minute-slot )) | 17:40 |
philiKON | ok :) | 17:40 |
philiKON | well, i'm going to bed | 17:40 |
philiKON | g'night everyone | 17:40 |
*** philiKON has quit IRC | 17:40 | |
*** srichter has quit IRC | 17:44 | |
*** srichter has joined #zope3-dev | 17:45 | |
*** ChanServ sets mode: +o srichter | 17:46 | |
*** MJ has quit IRC | 18:18 | |
*** Alef has quit IRC | 18:40 | |
*** SteveA_ is now known as einheit | 18:40 | |
*** J1m has joined #zope3-dev | 18:49 | |
*** J1m has quit IRC | 18:59 | |
*** dobee has joined #zope3-dev | 19:22 | |
*** MacYET has quit IRC | 19:26 | |
*** tiredbones has joined #zope3-dev | 19:30 | |
*** newpers has joined #zope3-dev | 19:31 | |
*** MacYET has joined #zope3-dev | 19:31 | |
*** zagy has quit IRC | 19:41 | |
*** zagy has joined #zope3-dev | 19:44 | |
*** klaus has quit IRC | 19:45 | |
*** MJ has joined #zope3-dev | 19:47 | |
*** kbremer has joined #zope3-dev | 19:48 | |
*** kbremer has quit IRC | 19:53 | |
*** kBremer has joined #zope3-dev | 19:56 | |
*** kBremer has left #zope3-dev | 19:57 | |
*** kbremer has joined #zope3-dev | 19:58 | |
*** mp has joined #zope3-dev | 20:01 | |
*** kbremer has quit IRC | 20:03 | |
*** klaus has joined #zope3-dev | 20:11 | |
*** gdsgdsgvdd has quit IRC | 20:12 | |
*** dobee has quit IRC | 20:22 | |
*** dobee has joined #zope3-dev | 20:31 | |
*** dobee has quit IRC | 20:34 | |
*** MJ has quit IRC | 20:40 | |
*** dobee has joined #zope3-dev | 20:41 | |
*** einheit is now known as SteveA_ | 20:53 | |
*** dobee has quit IRC | 21:04 | |
*** MacYET has quit IRC | 22:29 | |
*** haruki has joined #zope3-dev | 22:48 | |
*** benji_york_zope has joined #zope3-dev | 22:49 | |
*** benji_york has quit IRC | 22:53 | |
*** benji_york_zope is now known as benji_york | 22:53 | |
benji_york | take, that benji_york_zope | 22:53 |
*** MJ has joined #zope3-dev | 22:54 | |
*** haruki has quit IRC | 22:58 | |
*** benji_york is now known as benji | 23:05 | |
*** benji is now known as benji_york | 23:05 | |
*** horizon5 has joined #zope3-dev | 23:05 | |
*** Alef has joined #zope3-dev | 23:29 | |
*** tiredbones has quit IRC | 23:40 | |
*** newpers has left #zope3-dev | 23:54 | |
*** tav has quit IRC | 23:54 | |
*** ignas has joined #zope3-dev | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!