*** aaronv has joined #zope3-dev | 00:03 | |
*** afd_ has quit IRC | 00:22 | |
*** pcardune has joined #zope3-dev | 00:37 | |
*** fairwinds has joined #zope3-dev | 00:40 | |
*** MrTopf has quit IRC | 00:45 | |
*** vimes656 has quit IRC | 01:00 | |
*** aaronv has quit IRC | 01:16 | |
*** tarek has quit IRC | 01:18 | |
*** povbot has joined #zope3-dev | 01:25 | |
*** tarek has joined #zope3-dev | 01:39 | |
*** pcardune has quit IRC | 01:41 | |
*** tarek has quit IRC | 01:47 | |
*** dunny has quit IRC | 01:47 | |
*** junkafarian has quit IRC | 01:48 | |
*** junkafarian has joined #zope3-dev | 02:02 | |
*** yota has quit IRC | 02:07 | |
*** timte has quit IRC | 02:09 | |
*** davisagli has left #zope3-dev | 02:32 | |
*** replicant has quit IRC | 02:55 | |
*** davisagli_ has joined #zope3-dev | 02:57 | |
*** replicant has joined #zope3-dev | 03:00 | |
*** davisagli_ has quit IRC | 03:15 | |
*** replicant has quit IRC | 03:18 | |
*** binbrain has joined #zope3-dev | 03:29 | |
binbrain | do I somehow misunderstand what the allowed_attributes arg for a browser:page is used for, I can never get it to work | 03:29 |
---|---|---|
binbrain | isn't it supposed to allow me to specify methods in my view that are accessible in template | 03:30 |
*** reco has quit IRC | 03:53 | |
*** junkafarian has quit IRC | 03:54 | |
*** JaRoel|4D has quit IRC | 03:57 | |
*** davisagli has joined #zope3-dev | 04:01 | |
*** davisagli_ has joined #zope3-dev | 04:12 | |
*** kaeru has joined #zope3-dev | 04:17 | |
*** davisagli has quit IRC | 04:22 | |
*** davisagli has joined #zope3-dev | 04:34 | |
*** davisagli_ has quit IRC | 04:43 | |
*** davisagli_ has joined #zope3-dev | 05:08 | |
*** davisagli has quit IRC | 05:17 | |
*** whit has joined #zope3-dev | 05:22 | |
*** davisagli_ has left #zope3-dev | 05:49 | |
*** hazmat has joined #zope3-dev | 05:51 | |
*** ChanServ sets mode: +o hazmat | 05:51 | |
*** redir has quit IRC | 06:10 | |
*** kaeru has quit IRC | 06:21 | |
*** fairwinds has quit IRC | 06:34 | |
*** davisagli has joined #zope3-dev | 06:47 | |
*** kaeru has joined #zope3-dev | 07:19 | |
*** andycat has joined #zope3-dev | 07:40 | |
*** nyo has joined #zope3-dev | 08:19 | |
*** nyo has quit IRC | 08:54 | |
*** nyo1 has joined #zope3-dev | 08:54 | |
*** nyo1 is now known as nyo | 08:55 | |
*** nyo has quit IRC | 09:13 | |
*** nyo1 has joined #zope3-dev | 09:13 | |
*** nyo1 is now known as nyo | 09:13 | |
*** afd_ has joined #zope3-dev | 09:15 | |
*** ARiKA has quit IRC | 09:16 | |
*** Mebibyte has joined #Zope3-Dev | 09:16 | |
*** nyo has quit IRC | 09:33 | |
*** nyo has joined #zope3-dev | 09:35 | |
*** davisagli has left #zope3-dev | 09:40 | |
*** jukart has joined #zope3-dev | 09:46 | |
*** nyo has quit IRC | 09:53 | |
*** nyo1 has joined #zope3-dev | 09:53 | |
*** nyo1 is now known as nyo | 09:53 | |
*** agroszer has joined #zope3-dev | 10:00 | |
*** nyo has quit IRC | 10:01 | |
*** nyo1 has joined #zope3-dev | 10:01 | |
*** nyo1 is now known as nyo | 10:01 | |
*** nyo has quit IRC | 10:10 | |
*** nyo1 has joined #zope3-dev | 10:10 | |
*** nyo1 is now known as nyo | 10:10 | |
*** dunny has joined #zope3-dev | 10:43 | |
*** pelle_ has joined #zope3-dev | 10:47 | |
*** kaeru has quit IRC | 10:47 | |
*** nyo has quit IRC | 10:47 | |
*** pelle_ has quit IRC | 10:48 | |
*** afd_ has quit IRC | 10:48 | |
*** afd_ has joined #zope3-dev | 10:50 | |
*** jukart has quit IRC | 10:52 | |
*** nyo has joined #zope3-dev | 10:54 | |
*** jukart has joined #zope3-dev | 10:58 | |
*** quodt has joined #zope3-dev | 11:04 | |
*** pelle_ has joined #zope3-dev | 11:13 | |
*** tarek has joined #zope3-dev | 11:21 | |
*** nyo has quit IRC | 11:23 | |
*** nyo1 has joined #zope3-dev | 11:23 | |
*** nyo1 is now known as nyo | 11:23 | |
*** jukart has quit IRC | 11:29 | |
*** jukart has joined #zope3-dev | 11:31 | |
*** junkafarian has joined #zope3-dev | 11:33 | |
*** pcardune has joined #zope3-dev | 11:47 | |
*** zagy has joined #zope3-dev | 12:02 | |
*** tarek has joined #zope3-dev | 12:03 | |
*** ccomb has joined #zope3-dev | 12:15 | |
*** nyo has quit IRC | 12:21 | |
*** vimes656 has joined #zope3-dev | 12:25 | |
*** jukart has quit IRC | 12:28 | |
*** junkafarian_ has joined #zope3-dev | 12:30 | |
*** junkafarian has quit IRC | 12:42 | |
*** basti__ has joined #zope3-dev | 12:48 | |
*** malthe is now known as malthe|away | 12:48 | |
*** basti__ has quit IRC | 12:51 | |
*** quodt has quit IRC | 12:54 | |
*** agroszer has quit IRC | 12:56 | |
*** dunny has quit IRC | 13:22 | |
*** vimes656_ has joined #zope3-dev | 13:23 | |
*** vimes656 has quit IRC | 13:23 | |
*** pcardune has quit IRC | 13:29 | |
*** nyo has joined #zope3-dev | 13:32 | |
*** junkafarian has joined #zope3-dev | 13:37 | |
*** markusleist has joined #zope3-dev | 13:39 | |
*** agroszer has joined #zope3-dev | 13:48 | |
*** junkafarian_ has quit IRC | 13:52 | |
*** yota has joined #zope3-dev | 14:07 | |
*** fairwinds has joined #zope3-dev | 14:09 | |
*** nyo has quit IRC | 14:15 | |
*** nyo1 has joined #zope3-dev | 14:15 | |
*** nyo1 is now known as nyo | 14:15 | |
*** jhauser has joined #zope3-dev | 14:16 | |
*** afd_ has quit IRC | 14:19 | |
*** afd_ has joined #zope3-dev | 14:20 | |
*** agroszer has quit IRC | 14:28 | |
*** vimes656 has joined #zope3-dev | 14:39 | |
*** vimes656_ has quit IRC | 14:39 | |
*** pelle_ has quit IRC | 14:43 | |
*** afd_ has quit IRC | 14:47 | |
*** kaeru has joined #zope3-dev | 15:07 | |
*** junkafarian has quit IRC | 15:09 | |
*** JaRoel|4D has joined #zope3-dev | 15:15 | |
*** junkafarian has joined #zope3-dev | 15:17 | |
*** davisagli has joined #zope3-dev | 15:41 | |
*** sm has quit IRC | 16:06 | |
*** nyo has quit IRC | 16:21 | |
*** nyo1 has joined #zope3-dev | 16:21 | |
*** nyo1 is now known as nyo | 16:21 | |
*** MrTopf has joined #zope3-dev | 16:59 | |
*** nyo has quit IRC | 17:14 | |
*** nyo1 has joined #zope3-dev | 17:14 | |
*** nyo1 is now known as nyo | 17:14 | |
*** afd_ has joined #zope3-dev | 17:16 | |
*** MrTopf_ has joined #zope3-dev | 17:26 | |
*** aaronv has joined #zope3-dev | 17:31 | |
*** aaronv has quit IRC | 17:40 | |
*** aaronv has joined #zope3-dev | 17:41 | |
*** nyo1 has joined #zope3-dev | 17:42 | |
*** nyo has quit IRC | 17:42 | |
*** nyo1 is now known as nyo | 17:42 | |
*** MrTopf has quit IRC | 17:44 | |
*** jukart has joined #zope3-dev | 18:13 | |
*** kaeru has quit IRC | 18:13 | |
*** philiKON has joined #zope3-dev | 18:18 | |
*** jukart has quit IRC | 18:39 | |
*** nyo has quit IRC | 18:40 | |
*** nyo has joined #zope3-dev | 18:42 | |
*** nyo has quit IRC | 18:46 | |
*** nyo1 has joined #zope3-dev | 18:46 | |
*** nyo1 is now known as nyo | 18:46 | |
*** jukart has joined #zope3-dev | 18:52 | |
*** MrTopf_ is now known as MrTopf | 19:01 | |
*** junkafarian_ has joined #zope3-dev | 19:05 | |
*** davisagli has left #zope3-dev | 19:07 | |
*** whit has quit IRC | 19:10 | |
*** reco has joined #zope3-dev | 19:19 | |
*** junkafarian has quit IRC | 19:19 | |
*** tiredbones has joined #zope3-dev | 19:22 | |
*** J1m has quit IRC | 19:22 | |
*** J1m has joined #zope3-dev | 19:23 | |
*** nyo has quit IRC | 19:31 | |
*** reco has quit IRC | 19:32 | |
*** reco has joined #zope3-dev | 19:32 | |
*** nyo has joined #zope3-dev | 19:40 | |
*** rocky1 is now known as rocky | 19:48 | |
tiredbones | It has been awhile since i tried using Zope3, but I would likr to try i again. I've been all over the net for current install instruction, the zope wiki even implies that their documentation is out dated. So could someone point me to some current install instruction? | 19:50 |
*** quodt has joined #zope3-dev | 19:50 | |
afd_ | tiredbones: ZopeProject bootstraps a Zope 3 application for you, also providing a skeleton to build your application | 19:52 |
afd_ | so you should install ZopeProject, create a new app skeleton and work inside that | 19:52 |
afd_ | tiredbones: http://code.google.com/p/z3ergo/source/browse/#svn/LearningJourney might help you, there a PDF there also | 19:53 |
tiredbones | afd_ I'll give it a try. thnks | 19:54 |
VladDrac | and/or look at grok | 19:56 |
*** bigkevmcd has joined #zope3-dev | 19:59 | |
tiredbones | afd_ I wanted to read this info, "LearningJourney-AZope3Introduction-en.pdf", but the file is to big to display. So how does one read it? | 20:02 |
tiredbones | VladDrac, do you have a pointer for grok? | 20:03 |
VladDrac | grok.zope.org | 20:03 |
tiredbones | thanks | 20:04 |
*** nyo has quit IRC | 20:06 | |
*** nyo1 has joined #zope3-dev | 20:06 | |
*** nyo1 is now known as nyo | 20:06 | |
*** J1m has quit IRC | 20:17 | |
afd_ | tiredbones: the text files that generated that file are in the docs/ folder | 20:17 |
*** aaronv has quit IRC | 20:19 | |
tiredbones | thk afd_ | 20:20 |
*** basti__ has joined #zope3-dev | 20:21 | |
*** nyo has quit IRC | 20:33 | |
*** nyo has joined #zope3-dev | 20:37 | |
tiredbones | afd_, i don't see anything at that site that helps with installing Zope3. | 20:37 |
*** philiKON_ has joined #zope3-dev | 20:40 | |
*** MrTopf has quit IRC | 20:42 | |
*** philiKON has quit IRC | 20:42 | |
*** pelle_ has joined #zope3-dev | 20:44 | |
*** jukart has quit IRC | 20:52 | |
*** pelle__ has joined #zope3-dev | 21:09 | |
*** brandon_rhodes has joined #zope3-dev | 21:13 | |
*** nyo has quit IRC | 21:14 | |
*** nyo has joined #zope3-dev | 21:15 | |
*** vimes656_ has joined #zope3-dev | 21:16 | |
*** pelle_ has quit IRC | 21:23 | |
afd_ | tiredbones: http://pypi.python.org/pypi/zopeproject | 21:24 |
*** zagy has quit IRC | 21:25 | |
*** vimes656 has quit IRC | 21:33 | |
*** nyo1 has joined #zope3-dev | 21:37 | |
*** nyo has quit IRC | 21:37 | |
*** nyo1 has quit IRC | 21:38 | |
*** vimes656_ has quit IRC | 21:40 | |
*** vimes656 has joined #zope3-dev | 21:40 | |
*** tarek has quit IRC | 21:47 | |
*** tarek has joined #zope3-dev | 21:48 | |
*** iham is now known as iham|away | 21:48 | |
*** gc_basti has joined #zope3-dev | 22:08 | |
*** tarek has quit IRC | 22:13 | |
*** basti__ has quit IRC | 22:25 | |
*** dunny has joined #zope3-dev | 22:27 | |
*** sunew has joined #zope3-dev | 22:32 | |
*** nyo has joined #zope3-dev | 22:32 | |
*** sunew has quit IRC | 22:32 | |
*** tarek has joined #zope3-dev | 22:37 | |
*** pelle__ has quit IRC | 22:44 | |
*** yota has quit IRC | 22:52 | |
*** Theuni has joined #zope3-dev | 23:09 | |
*** vimes656_ has joined #zope3-dev | 23:10 | |
*** nyo1 has joined #zope3-dev | 23:16 | |
*** tarek has quit IRC | 23:17 | |
*** tarek has joined #zope3-dev | 23:18 | |
*** vimes656 has quit IRC | 23:18 | |
*** tarek has quit IRC | 23:19 | |
*** sparcd has joined #zope3-dev | 23:22 | |
sparcd | I'm trying to run through a tutorial on creating a Principal Source Plug-in, however it refers to things that aren't there | 23:22 |
sparcd | can anyone point me in the right direction? I'm finding docs about Zope 3 very thin on the ground | 23:23 |
*** tarek has joined #zope3-dev | 23:26 | |
afd_ | sparcd: just implement the plugin as a persistent object inside the PAU, then add the plugin in its list of active plugins | 23:26 |
afd_ | http://apidoc.zope.org/++apidoc++/Interface/zope.app.authentication.interfaces.IAuthenticatorPlugin/index.html | 23:26 |
afd_ | that's what you need to implement in the plugin | 23:26 |
sparcd | afd_: thanks for that, I was hoping for more of a tutorial as I'm still just stabbing in the dark here | 23:27 |
*** gc_basti has quit IRC | 23:27 | |
afd_ | sparcd: there's not much to it. You could also read the sources of zope.app.authentication.principalfolder | 23:28 |
sparcd | afd_: ok, I'll take a look at the principal folder | 23:29 |
afd_ | the only "catch" that's not very obvious at first is that the principalfolder is a container for "internal principals", which just store information of users and are a completely different thing from a zope principal | 23:29 |
*** bigkevmcd has quit IRC | 23:30 | |
sparcd | afd_: basically what I want to do is add a 'Client' (folder) than contains 'Client Members' (object) that can be used to login | 23:30 |
sparcd | I guess I use the PrincipalFolder idea and call it Client | 23:31 |
sparcd | afd_: how do I add one of the 'Principal Folders' to my instance out of the box? | 23:31 |
afd_ | sparcd: you could use the default implementation and store the extra data that you need in IPrincipalAnnotation | 23:32 |
sparcd | so I'd need to create a plugin within the pau that looks up client members in the site? | 23:32 |
afd_ | sparcd: that was for the question before | 23:33 |
sparcd | afd_: I don't want users to have to navigate to the pau to add clients and client members | 23:33 |
afd_ | Code to show you how to add a principal folder: http://code.google.com/p/z3ergo/source/browse/LearningJourney/src/learningjourney/app/event.py | 23:33 |
afd_ | there's also code to show you how to implement a registration system, if you look around that codebase | 23:34 |
*** nyo has quit IRC | 23:34 | |
*** natea_ has joined #zope3-dev | 23:34 | |
*** nyo1 has quit IRC | 23:35 | |
sparcd | afd_: I've tried adding a principal folder to my pau and entered a new user, but I can't now log in as that user | 23:35 |
afd_ | sparcd: did you select that plugin as active for the pau? | 23:36 |
*** run|home has quit IRC | 23:36 | |
sparcd | yes | 23:36 |
*** tarek has quit IRC | 23:37 | |
sparcd | and selected the zope basic realm credentials | 23:37 |
afd_ | try to enable the session plugin, to see if it makes a difference | 23:37 |
*** tarek has joined #zope3-dev | 23:38 | |
sparcd | ok | 23:38 |
sparcd | afd_: maybe cos I have zope.Member role required to access the site | 23:39 |
sparcd | afd_: do I add this inside my ++etc++site ? | 23:41 |
afd_ | sparcd: no, you should grant that role in your site root | 23:42 |
sparcd | afd_: I'm finding this damn near impossible to understand | 23:44 |
sparcd | I've been working with Zope2 and Plone for years and this is baffling me | 23:44 |
afd_ | sparcd: it's not that hard | 23:44 |
sparcd | i have added a principal and can't log in with those details | 23:44 |
afd_ | ++etc++site is a shortcut to the local components registry, where local utilities are registered | 23:45 |
sparcd | I have started from scratch now, so I am just trying to use the built in Principal Folder | 23:45 |
sparcd | afd_: so I can ignore ++etc++site for the moment? | 23:46 |
afd_ | you don't need to make role grants there, because normal users don't need access there | 23:46 |
afd_ | yes | 23:46 |
afd_ | you need to grant that role in the site | 23:46 |
*** nyo has joined #zope3-dev | 23:46 | |
afd_ | for example, you can add a folder to the zope root and click the "Make Site" button | 23:46 |
sparcd | ok I have done that | 23:47 |
sparcd | now :-) | 23:47 |
sparcd | and then I add my pau into that folder? | 23:47 |
afd_ | now you'll have two ++etc++site, one for the zope root and one for this site | 23:47 |
sparcd | yeah that's right | 23:47 |
afd_ | when inside the folder, click on the "manage site" button | 23:47 |
afd_ | this takes you to the corresponding ++etc++ site section | 23:47 |
sparcd | yup, now it's turned brown and into the ++etc++ folder | 23:48 |
afd_ | once there, you can add a pau | 23:48 |
afd_ | very important, you need to register that pau as a utility from the Registration button | 23:48 |
sparcd | click on the 'Register this object' button | 23:48 |
afd_ | yes | 23:48 |
sparcd | I then get an error | 23:49 |
afd_ | what error? | 23:49 |
sparcd | ComponentLookupError: (<zope.app.publisher.browser.viewmeta.AddAuthenticationRegistration object at 0x2a9e1f0>, <InterfaceClass zope.formlib.namedtemplate.INamedTemplate>, 'default') | 23:49 |
afd_ | are you on zope 2? | 23:49 |
*** elro_ has joined #zope3-dev | 23:49 | |
sparcd | no, Zope 3 | 23:49 |
sparcd | eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 91, in getAdapter | 23:49 |
afd_ | seems like zope.formlib's configure.zcml is not loaded | 23:49 |
sparcd | I'll just check that | 23:49 |
sparcd | added it to my configure.zcml | 23:50 |
sparcd | ah ha, got a textarea box now | 23:50 |
sparcd | with a comment | 23:51 |
afd_ | and a dropdown | 23:51 |
sparcd | no dropdown | 23:51 |
sparcd | I get it if I try to register anything else | 23:52 |
sparcd | a drop down, just not on pau | 23:52 |
sparcd | when I click 'Register' it registers as zope.app.security.interfaces.IAuthentication utility | 23:52 |
afd_ | that's ok | 23:53 |
afd_ | that's what we want | 23:53 |
afd_ | now you need to add a new plugin inside the pau, the principal container | 23:53 |
afd_ | this will be your users | 23:53 |
afd_ | source | 23:53 |
sparcd | yup done that now | 23:54 |
sparcd | added a user | 23:54 |
*** basti__ has joined #zope3-dev | 23:54 | |
sparcd | I get this error when I go to my new site folder not logged in: TypeError: ('Could not adapt', <zope.publisher.browser.BrowserRequest instance URL=http://localhost:8080/hammerhead>, <InterfaceClass zope.session.interfaces.ISession>) | 23:55 |
sparcd | added zope.session to my configure.zcml | 23:56 |
sparcd | woohoo, now logged in as new user | 23:57 |
sparcd | now on to my big question, if I want to add content to my site that can act as a 'member', do I need to create a plugin like the Principal Folder that finders the members in my site? | 23:57 |
sparcd | finders=finds | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!