*** mgedmin has quit IRC | 00:05 | |
*** projekt01 has quit IRC | 00:13 | |
*** bradb_ has joined #zope3-dev | 00:14 | |
*** projekt01 has joined #zope3-dev | 00:15 | |
*** projekt01 has quit IRC | 00:24 | |
*** _projekt01 has joined #zope3-dev | 00:24 | |
*** bradb has quit IRC | 00:28 | |
*** bradb_ is now known as bradb | 00:30 | |
*** benji_york has quit IRC | 00:46 | |
*** bradb has left #zope3-dev | 00:50 | |
*** bskahan has joined #zope3-dev | 00:54 | |
VladDrac | ohw well | 00:57 |
---|---|---|
* VladDrac 's got everything to work basically | 00:57 | |
VladDrac | thanks to json :) | 00:57 |
VladDrac | that is, the json implementation | 01:09 |
VladDrac | zope3 now supports amf, hurray :) | 01:09 |
yota | json server will be integrate in zope 3 in the future ? | 01:15 |
mnemoc | what is recommended for ajax on zope3? | 01:17 |
*** yota has quit IRC | 01:18 | |
VladDrac | yota I don't know | 01:21 |
VladDrac | mnemoc: I know the z3ecm people are looking at ajax integration | 01:21 |
VladDrac | unfortunately my customer has chosen Flex (amf) in stead of Ajax | 01:21 |
*** benji_york has joined #zope3-dev | 01:41 | |
*** _projekt01 has quit IRC | 02:03 | |
*** povbot` has joined #zope3-dev | 02:28 | |
*** benji_york has quit IRC | 02:28 | |
*** bskahan has quit IRC | 02:28 | |
*** andres has quit IRC | 02:28 | |
*** jack-e has quit IRC | 02:28 | |
*** povbot has quit IRC | 02:28 | |
*** benji_york has joined #zope3-dev | 02:30 | |
*** bskahan has joined #zope3-dev | 02:30 | |
*** jack-e has joined #zope3-dev | 02:30 | |
*** tarek has quit IRC | 02:37 | |
*** jack-e has quit IRC | 02:39 | |
*** benji_york has quit IRC | 02:39 | |
*** bskahan has quit IRC | 02:39 | |
*** stub has joined #zope3-dev | 02:40 | |
*** benji_york has joined #zope3-dev | 02:41 | |
*** bskahan has joined #zope3-dev | 02:41 | |
*** jack-e has joined #zope3-dev | 02:41 | |
*** jack-e has quit IRC | 02:45 | |
*** benji_york has quit IRC | 02:45 | |
*** bskahan has quit IRC | 02:45 | |
*** bskahan has joined #zope3-dev | 02:46 | |
*** kaczordek has joined #zope3-dev | 03:08 | |
*** srichter has quit IRC | 03:31 | |
*** srichter has joined #zope3-dev | 03:32 | |
*** SureshZ has left #zope3-dev | 03:36 | |
*** newpers has joined #zope3-dev | 04:03 | |
*** MiUlEr has joined #zope3-dev | 04:43 | |
*** jinty has quit IRC | 05:03 | |
*** kevc has quit IRC | 05:14 | |
*** roym has quit IRC | 05:15 | |
*** ChanServ sets mode: +o srichter | 05:24 | |
newpers | is 256 mb or ram enough for running zope? | 05:28 |
newpers | of | 05:28 |
newpers | also, is it better to go through apache? | 05:28 |
*** niemeyer has quit IRC | 05:29 | |
*** MJ has quit IRC | 05:38 | |
mnemoc | newpers: imo if you don't need apache for anything else, use pound to do the rewrite | 05:47 |
newpers | thanks | 05:48 |
mnemoc | np | 05:49 |
newpers | now i have to decide if i want zope to be developed on my windows or linux machine. windows machine has 1GB of RAM. linux machine has 256MB. | 05:50 |
newpers | i've never really developed on windows before | 05:50 |
*** newpers has quit IRC | 06:31 | |
*** MJ has joined #zope3-dev | 06:55 | |
*** tekNico has joined #zope3-dev | 07:06 | |
*** tekNico has left #zope3-dev | 07:06 | |
*** tarek has joined #zope3-dev | 07:34 | |
*** tarek has quit IRC | 08:09 | |
*** sashav has quit IRC | 08:25 | |
*** jvts has joined #zope3-dev | 09:21 | |
*** stub has quit IRC | 09:38 | |
*** yota has joined #zope3-dev | 09:44 | |
*** sashav has joined #zope3-dev | 09:57 | |
*** tekNico has joined #zope3-dev | 10:13 | |
*** tekNico has quit IRC | 10:15 | |
*** tekNico has joined #zope3-dev | 10:17 | |
*** projekt01 has joined #zope3-dev | 10:33 | |
*** dobee has joined #zope3-dev | 10:55 | |
*** tarek has joined #zope3-dev | 11:12 | |
*** dobee_ has joined #zope3-dev | 11:29 | |
*** dobee has quit IRC | 11:40 | |
*** dobee has joined #zope3-dev | 11:44 | |
*** vinsci has quit IRC | 11:49 | |
*** stub has joined #zope3-dev | 12:03 | |
*** Theuni has joined #zope3-dev | 12:04 | |
*** anguenot has joined #zope3-dev | 12:05 | |
*** ignas has quit IRC | 12:06 | |
*** vinsci|2 has joined #zope3-dev | 12:06 | |
*** dobee_ has quit IRC | 12:10 | |
*** faassen has joined #zope3-dev | 12:13 | |
*** vinsci|2 is now known as vinsci | 12:17 | |
*** zagy_ has quit IRC | 12:22 | |
*** zagy has joined #zope3-dev | 12:22 | |
*** roym has joined #zope3-dev | 12:37 | |
roym | Can someone point me to a working sample (for trunk) of a file-based | 12:39 |
roym | authentication plugin. Stephan points out that the code in the book is | 12:39 |
roym | not going to work w/trunk. | 12:39 |
roym | w/the zmi, that is... | 12:41 |
*** mgedmin has joined #zope3-dev | 12:48 | |
*** ignas has joined #zope3-dev | 12:57 | |
*** regebro has joined #zope3-dev | 12:59 | |
*** alga has joined #zope3-dev | 13:01 | |
*** d2m has quit IRC | 13:16 | |
*** d2m_ has joined #zope3-dev | 13:17 | |
*** d2m_ is now known as d2m | 13:17 | |
VladDrac | hmmm sqlos is still not 3.1-ready? | 13:26 |
*** vlado has joined #zope3-dev | 13:38 | |
VladDrac | ok, it "loads" :) | 13:47 |
*** philiKON has joined #zope3-dev | 13:49 | |
*** bskahan has quit IRC | 13:54 | |
VladDrac | philikon heya | 13:55 |
srichter | roym: just apply the steps I took to the new pluggable authentication service; there is plenty of documentation in zope.app.authentication | 13:58 |
*** alga has quit IRC | 14:07 | |
philiKON | hi VladDrac | 14:10 |
*** srichter has quit IRC | 14:12 | |
VladDrac | is anyone actually *using* sqlos? | 14:16 |
VladDrac | it feels more like a proof of concept | 14:16 |
VladDrac | even if I get it to work with 3.1 I wonder if it'll be of any real use | 14:16 |
*** jinty has joined #zope3-dev | 14:16 | |
philiKON | VladDrac, sidnei @ enfoldsystem is using it in production | 14:18 |
roym | srichter: my understanding is that any registered implentation of IAuthenticatorPlugin will show up in the adding view for a PAU - correct? | 14:18 |
VladDrac | phil hmm ok | 14:18 |
VladDrac | I wonder if he's using he same code as on codespeak :) | 14:18 |
philiKON | roym, if you have a browser:addMenuItem defined for it... | 14:19 |
roym | philiKON: thanks. | 14:19 |
philiKON | VladDrac, you can ask him on #z3-base... | 14:19 |
philiKON | when he shows up | 14:19 |
*** sashav_ has joined #zope3-dev | 14:30 | |
VladDrac | hurray | 14:32 |
VladDrac | it works | 14:32 |
VladDrac | somewhat | 14:32 |
*** _projekt01 has joined #zope3-dev | 14:33 | |
VladDrac | but okay, I can't say I trust this code (in a Zope 3.1) environment to actually use it | 14:33 |
VladDrac | besides it's really minimal, it doesn't even support relations | 14:33 |
*** sashav_ has quit IRC | 14:34 | |
*** anguenot has quit IRC | 14:40 | |
*** sashav has quit IRC | 14:47 | |
*** projekt01 has quit IRC | 14:50 | |
*** niemeyer has joined #zope3-dev | 14:53 | |
*** mgedmin has quit IRC | 14:56 | |
*** srichter has joined #zope3-dev | 14:58 | |
roym | I am trying to debug a authorization failue (for a user from a | 15:03 |
roym | principal folder). | 15:03 |
roym | 15:03 | |
roym | I can see there is a method called | 15:03 |
roym | IPrincipalRoleMap::getPrincipalsForRole(role_id)? | 15:03 |
roym | 15:03 | |
roym | How would I get an instance of PrincipalRoleMap... is there a | 15:03 |
roym | PrincipalRoleMap for each authentication plugin or does it | 15:03 |
roym | exist on a site level? | 15:03 |
*** _projekt01 has quit IRC | 15:04 | |
*** fcorrea has joined #zope3-dev | 15:29 | |
*** anguenot has joined #zope3-dev | 15:30 | |
*** benji_york has joined #zope3-dev | 15:31 | |
roym | aha - found it: principalRoleManager = zope.app.securitypolicy.principalrole.principalRoleManager | 15:34 |
roym | principalRoleManager.getRolesForPrincipal('myrole') | 15:34 |
roym | seems like it is global to the application rather than site-wide?? | 15:34 |
*** MrTopf has joined #zope3-dev | 15:35 | |
*** ChanServ sets mode: +o srichter | 15:35 | |
*** sashav has joined #zope3-dev | 15:46 | |
philiKON | roym, you want to adapt context to IPrincipalRoleManager to get local stuff, too | 15:53 |
philiKON | don't ever import any globals... in the component architecture, you look up stuff | 15:54 |
*** alga has joined #zope3-dev | 16:10 | |
*** andres_ is now known as andres | 16:10 | |
*** mgedmin has joined #zope3-dev | 16:16 | |
*** andres has quit IRC | 16:23 | |
*** kaczordek has quit IRC | 16:26 | |
*** anguenot has quit IRC | 16:32 | |
*** sashav has quit IRC | 16:36 | |
*** menomc has joined #zope3-dev | 16:46 | |
*** mnemoc has quit IRC | 16:46 | |
*** menomc is now known as mnemoc | 16:49 | |
*** niemeyer has quit IRC | 16:53 | |
*** niemeyer has joined #zope3-dev | 16:57 | |
*** stub has quit IRC | 17:05 | |
*** jinty has quit IRC | 17:09 | |
*** regebro has quit IRC | 17:09 | |
*** bradb has joined #zope3-dev | 17:14 | |
*** dobee has quit IRC | 17:17 | |
*** vlado_ has joined #zope3-dev | 17:28 | |
*** vlado has quit IRC | 17:31 | |
*** alga has quit IRC | 17:44 | |
*** fdrake has joined #zope3-dev | 17:44 | |
fdrake | A decision to require Python 2.4.x for Zope 3.2 has been made, right? | 17:50 |
fdrake | I recall seeing something that looked like a very casual proclamation from Jim. | 17:51 |
*** jinty has joined #zope3-dev | 17:52 | |
*** vlado_ has quit IRC | 17:53 | |
*** vlado has joined #zope3-dev | 17:53 | |
*** MiUlEr has quit IRC | 18:01 | |
philiKON | fdrake, afaik yes | 18:01 |
philiKON | but please don't hold me for this :) | 18:02 |
*** philiKON has quit IRC | 18:04 | |
fdrake | yeah, well, I'm going to update the Makefile in Zope 3; zope.app.container.constraints now uses @syntax | 18:05 |
*** vlado has quit IRC | 18:06 | |
*** vlado has joined #zope3-dev | 18:07 | |
*** niemeyer is now known as nie_lunch | 18:08 | |
*** tarek has quit IRC | 18:14 | |
*** vlado_ has joined #zope3-dev | 18:15 | |
*** vlado has quit IRC | 18:16 | |
*** sashav has joined #zope3-dev | 18:17 | |
*** tarek has joined #zope3-dev | 18:19 | |
faassen | is there a way to get the ip address of a request in Zope 3? | 18:28 |
faassen | hm, it's in environ, I hope.. | 18:30 |
*** tiredbones has quit IRC | 18:32 | |
*** bradb_ has joined #zope3-dev | 18:36 | |
*** bradb has quit IRC | 18:48 | |
*** bradb_ is now known as bradb | 18:49 | |
*** nie_lunch is now known as niemeyer | 18:50 | |
*** MrTopf has quit IRC | 18:56 | |
*** vlado_ has quit IRC | 19:12 | |
*** ChrisW_ has joined #zope3-dev | 19:28 | |
ChrisW_ | Jim around? | 19:35 |
*** tarek has quit IRC | 19:35 | |
ChrisW_ | anyone around? | 19:35 |
* mgedmin snores | 19:35 | |
ChrisW_ | riiight :-S | 19:35 |
ChrisW_ | is Jim in europse right now? | 19:35 |
fdrake | yes | 19:36 |
ChrisW_ | hey Fred :-) | 19:36 |
fdrake | hey Chris | 19:36 |
ChrisW_ | me and Jens have a really nasty question for him relating to a tiny change he made for 2.8, which breaks some stuff in really obscure ways | 19:36 |
ChrisW_ | Jens has been doing the inten | 19:36 |
ChrisW_ | sse | 19:36 |
ChrisW_ | stare at screen thing for 2 days now | 19:36 |
ChrisW_ | it's to do with the application of class security info | 19:37 |
fdrake | ah, yeah, that'll get him to have a really nasty question :-) | 19:37 |
ChrisW_ | Jim made something work, which didn't used to work, but it's not clear that it should work | 19:37 |
fdrake | that happens sometimes | 19:37 |
ChrisW_ | so we're wondering if we should just make it no twork again | 19:37 |
ChrisW_ | but it's haaard | 19:37 |
ChrisW_ | Jens mailed to zope-dev@zope.org about it but had no reply from Jim | 19:38 |
fdrake | if its Zope 2, I'm not the one to ask :-) | 19:38 |
ChrisW_ | where is he anywho? | 19:38 |
fdrake | somewhere in Europe; he doesn't clear his itinerary with me | 19:38 |
fdrake | maybe Germany? | 19:38 |
ChrisW_ | oh right, thought he'd a left there by now | 19:39 |
fdrake | the sprint was last week, right? | 19:39 |
ChrisW_ | oh well, if anyone sees him, please direct him towards Jens' question on zope-dev@zope.org | 19:39 |
faassen | I think he's in France, | 19:44 |
faassen | at Nuxeo. | 19:44 |
ChrisW_ | ah yes, the evil ZC/Nuxeo plot that ZEA are always talking about ;-) | 19:47 |
*** andres has joined #zope3-dev | 19:50 | |
andres | I currently try to implement IZopeDublinCore for my sqlos based Classes, but always get an error like 'Error type: zope.security.interfaces.ForbiddenAttribute ... title' | 19:52 |
andres | but even when i do an <require attributes="title" permission"zope.somepermissionihave"... this doesnt change. | 19:53 |
andres | I have a stack trace at: http://abc.pastebin.com/377893 | 19:54 |
*** tiredbones has joined #zope3-dev | 19:54 | |
*** anguenot has joined #zope3-dev | 19:54 | |
*** anguenot has quit IRC | 19:54 | |
*** anguenot_ has joined #zope3-dev | 19:55 | |
*** anguenot has joined #zope3-dev | 19:55 | |
*** tvon has quit IRC | 19:58 | |
*** dobee has joined #zope3-dev | 19:59 | |
mgedmin | canWrite(dc, 'title') (and also dc.title = something) needs <require set_attributes="title" permission="..." /> | 20:02 |
mgedmin | canAccess(dc, 'title') (and also something = dc.title) needs <require attributes="title" permission="..." /> | 20:02 |
mgedmin | write access versus read access | 20:03 |
mgedmin | different permission directives | 20:03 |
andres | mgedmin, thanks. | 20:04 |
VladDrac | what's the correct way to "unwrap" a proxy? | 20:09 |
VladDrac | grepping like a madman on the zopesource | 20:09 |
VladDrac | perhaps someone knows right away :) | 20:09 |
mgedmin | removeSecurityProxy(something) | 20:09 |
mgedmin | from zope.security.proxy import removeSecurityProxy | 20:09 |
mgedmin | IIRC | 20:09 |
VladDrac | tx | 20:10 |
*** tvon has joined #zope3-dev | 20:11 | |
VladDrac | yeah! | 20:12 |
VladDrac | that did th etrick | 20:12 |
VladDrac | my returnvalues weren't properly serialized | 20:12 |
VladDrac | they turned out to be Proxies in stead of the real values | 20:12 |
VladDrac | AMF integration is working very nicely now :) | 20:12 |
* mgedmin does not know what AMF means | 20:12 | |
VladDrac | neither do I actually | 20:13 |
VladDrac | it's a lame protocol invented by Macromedia people to have their "RIA" toolkit "Flex" communicatie with servers | 20:13 |
VladDrac | it's like soap/xmlrpc/json | 20:13 |
mgedmin | Flash is evil | 20:13 |
VladDrac | and zope3 now can handle it :) | 20:13 |
VladDrac | it is | 20:14 |
*** tvon has quit IRC | 20:17 | |
VladDrac | but at least I'll be able to communicate with it in a relatively clean environment | 20:17 |
*** tvon has joined #zope3-dev | 20:19 | |
*** ChrisW_ has quit IRC | 20:19 | |
andres | mgedmin, sorry for asking that stupid: what is, when i want to set it in code, but not over the zmi? (as this is not writable) | 20:26 |
*** tvon has quit IRC | 20:28 | |
*** whit has joined #zope3-dev | 20:28 | |
*** srichter has quit IRC | 20:29 | |
*** tvon has joined #zope3-dev | 20:30 | |
*** faassen has quit IRC | 20:31 | |
mgedmin | andres, I do not understand your question | 20:36 |
andres | I want to set the title attribute in code, but i dont want, that it can be changed in the zmi | 20:37 |
*** tekNico has left #zope3-dev | 20:37 | |
andres | because the title attribute is composed out of mulitple values out of a sql database. | 20:37 |
andres | So it absolutely makes no sense to be able to set them in zmi or any other form. | 20:38 |
andres | but if i dont have <require set_attribute="title" permission=whatever/> i cant set it in code. | 20:38 |
andres | mgedmin, is it understandeable this way? | 20:42 |
mgedmin | I think I see | 20:47 |
mgedmin | in that case you may argue that there's a bug in the container view | 20:48 |
mgedmin | "C:\Python24\Lib\site-packages\zope\app\container\browser\contents.py", line 169, _extractContentInfo | 20:48 |
mgedmin | if info['retitleable'] = canWrite(dc, 'title') raises ForbiddenAttributeError | 20:49 |
mgedmin | perhaps the container view ought to catch it and say that info['retitleable'] = False | 20:49 |
mgedmin | perhaps canWrite should do that (but I think not) | 20:49 |
*** mkerrin has joined #zope3-dev | 20:49 | |
mgedmin | or perhaps there should be a special permission, zope.Never, you could specify in the permission declaration | 20:49 |
SteveA | i used WEGSND for that ;-) | 20:51 |
SteveA | "what even god should not do", a hang-over from zope2 | 20:51 |
SteveA | and believe me, zope2 gives me a hangover | 20:51 |
SteveA | i think the permissions system should have tokens 'public' and 'forbidden' | 20:52 |
SteveA | so, zope.Public is deprecated, and becomes just 'public' | 20:52 |
SteveA | and there's a 'forbidden' too, doing what you want zope.Never to do | 20:52 |
SteveA | these are special tokens, rather than permissions as such. | 20:52 |
*** alga has joined #zope3-dev | 20:55 | |
andres | mgedmin, thanks, so its ok, that i didnt understand that... | 20:58 |
andres | i will try tomorow... But now i go home... worked long enough. | 21:00 |
andres | Or propably not... | 21:18 |
andres | Back again. | 21:18 |
andres | mgedmin, SteveA do you suggest filling a bugreport? | 21:18 |
*** anguenot has quit IRC | 21:26 | |
roym` | Folks, I have a user "student9" added to the site (in a pluggable | 21:26 |
roym` | folder) and have granted him a role of "xaq.Student" - I find that the | 21:26 |
roym` | access to "/MyFolder" keeps failing w/Unauthorized error... Am I missing | 21:26 |
roym` | the obvious? | 21:26 |
roym` | 21:26 | |
roym` | >>> pp(zope.app.securitypolicy.zopepolicy.settingsForObject(dd)) | 21:26 |
roym` | [(u'MyFolder', | 21:26 |
roym` | {'principalPermissions': [], | 21:26 |
roym` | 'principalRoles': [{'principal': 'pauthpfstudent9', | 21:26 |
roym` | 'role': 'xaq.Student', | 21:26 |
roym` | 'setting': PermissionSetting: Allow},], | 21:26 |
roym` | 'rolePermissions': []}), | 21:26 |
roym` | ('global settings', | 21:26 |
roym` | {'principalPermissions': [], | 21:26 |
roym` | 'principalRoles': [], | 21:26 |
roym` | 'rolePermissions': [{'permission': 'xaq.View', | 21:26 |
roym` | 'role': 'xaq.Student', | 21:26 |
roym` | 'setting': PermissionSetting: Allow},] | 21:26 |
*** niemeyer_ has joined #zope3-dev | 21:28 | |
andres | mgedmin, the solution with catching the error and setting to false works well. | 21:32 |
*** fdrake has left #zope3-dev | 21:38 | |
*** niemeyer has quit IRC | 21:43 | |
andres | mgedmin, the solution with catching the error and setting to false works well. | 21:44 |
*** whit is now known as whit|lunch | 21:47 | |
* mgedmin heard that the first time too | 21:48 | |
andres | What have you heard the first time? That error? | 21:50 |
benji_york | andres, I think he was saying that you (apparently) repeated yourself (I saw the same thing) | 22:00 |
andres | oh, okay... I didnt noticed that. Sorry all. | 22:01 |
benji_york | NP | 22:01 |
*** mkerrin has quit IRC | 22:10 | |
*** dobee has quit IRC | 22:22 | |
*** tarek has joined #zope3-dev | 22:35 | |
*** whit has joined #zope3-dev | 22:38 | |
tarek | hi all, i have a question about zope.app.publisher.xmlrpc | 22:46 |
tarek | is it possible to list xmlrpc methods published by an object ? | 22:48 |
tarek | from the rpc client (introspection) | 22:49 |
yota | hi tarek ;) | 22:50 |
*** whit|lunch has quit IRC | 22:50 | |
tarek | hi yota | 22:50 |
*** niemeyer_ is now known as niemeyer | 23:07 | |
*** whit_ has joined #zope3-dev | 23:19 | |
*** whit_ is now known as whit|biz | 23:20 | |
*** alga has quit IRC | 23:21 | |
*** mgedmin has quit IRC | 23:23 | |
*** projekt01 has joined #zope3-dev | 23:25 | |
*** benji_york has quit IRC | 23:29 | |
*** projekt01 has quit IRC | 23:30 | |
*** whit has quit IRC | 23:31 | |
*** sureshvv has joined #zope3-dev | 23:35 | |
*** ignas has quit IRC | 23:37 | |
*** MiUlEr has joined #zope3-dev | 23:46 | |
VladDrac | tarek: I don't think so | 23:57 |
tarek | VladDrac: oki thanks | 23:57 |
VladDrac | tarek but xmlrpc methods are essentially views, it shouldn't be to hard to list them | 23:57 |
VladDrac | possibly using another view :) | 23:57 |
tarek | yup, that what i thaught of | 23:57 |
* VladDrac 's been diving into the xmlrpc code last few days | 23:58 | |
tarek | oh good to know | 23:58 |
tarek | are you comming at neckar ? | 23:58 |
VladDrac | developing another rpc (amf), the implementation is very similar to xmlrpc | 23:58 |
VladDrac | neckar? | 23:58 |
tarek | the sprint | 23:58 |
VladDrac | probbaly not :) When/where? (france?) | 23:59 |
tarek | no germany, next week | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!