[Zope-dev] authenticating over XML-RPC to implement the Blogger API
Hello Everyone, I've got a problem and was wondering if anyone on this list my have some insight as to howto solve it. I want to implement a the Blogger XML-RPC API to allow users to add content toa Zope site (the API is here http://plant.blogger.com/api/index.html). It requires that theusername and password be sent as parameters in each function call. is it possible to hookinto Zopes authentication scheme via a external method or python script? I've also noticedthat it could be possible to grab the username and password from the XML-RPC call whenZPublisher calls request.processInputs(), but I don't know how Zope authenticates the userthis may be to late in the process to try and fudge with the request object. Has anyone elsedone user authentication via parameters? Any help would be appreciated -- Nathan Sain ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] SV: [Zope] authenticating over XML-RPC to implement the Blogger API
object. Has anyone elsedone user authentication via parameters? I have patched my xmlrpclib.py to allow authentication with username/password. I dont have access to it right now, but I can send it to you tomorrow morning... /Magnus ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Call Profiler
On Fri, 1 Feb 2002 21:53, seb bacon wrote: I wrote: I've just announced our Call Profiler product on zope.org and the zope announce list (waiting for people in different timezones to authorise them :) ( http://www.zope.org/Members/richard/CallProfiler/ for the impatient) This is absolutely excellent, well done and thanks :) I added various FSObjects to the profiled modules list and have been looking at my CMF systems - it's really instructive. Please send me the config entries for them. Also, if anyone has used ZPT with it, let me know if my guess of the config for them is correct :) On one hand, the performance hit when dynamically patching the methods is zero when the product is not active, but it does mean diddling with methods that really probably should be left alone. On the other hand, having changes to the core code to test for profiling being enabled introduces a small performance hit even when profiling is not activated. You could do this check only if zope is being run in debug mode; then there would be zero perormance hit in production sites. No, there's still the performance check for am I in debug mode? which is equivalent to am I in profiling mode?. Sure, it's small, but it's there. Any comments? I think the reporting could do with some usability improvements. It's good now, but takes a while to navigate round. Yep, I know :) - All the reports could benefit from being sortable by column. In the works already :) - the trace for a complete template could be slightly clearer. The colour coding for the start and end of a module could have a clear legend, for example. I'll put a legend in. Is the colour coding what you meant by clearer or is there something else? - there needs to be some solution for really long URLs, which require lots of horizontal scrolling - just displaying the final parts of the path, with the rest of the url hidden somehow? Yep, that's a good idea. I can't think of exactly what else I would do to improve it right now I've already got some more code in place that I'm testing right now which does aggregation of matching result profiles. That is, if a request results in the same call profile, the timings are aggregated into min/average/max. Really neat :) Thanks for the feedback! Richard ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] User Groups
I've just released NuxUserGroups 0.6. This is the first release and is still alpha-quality code pending further testing, so I'm only announcing it here. This product adds the notion of groups of users. For now, the groups are only used in the local roles, where you can define an additionnal mapping of groups - roles. This gives the users who belong to these groups additionnal local roles. The product: - defines a new UserFolder, called UserFolderWithGroups, where you can define the groups and what users belong to what groups, - patches BasicUser to add group support methods, - patches the the local roles management pages of the ZMI to define what groups have what local roles, - patches the local role machinery in BasicUser to take into account the groups when computing local roles. TODO - CMF catalog support. CAVEATS This product is not compatible with other products that may patch local roles support in BasicUser, for instance LRBlacklist. Do not use them together. http://www.zope.org/Members/nuxeo/Products/NuxUserGroups/ Awaiting your comments and feedback, Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 10 http://nuxeo.com mailto:[EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] dynamically using inheritance
On Sat, 2 Feb 2002, Ed Colmar wrote: dtml-call REQUEST.set('skinname', 'skins.default') dtml-with _.string(skinname) This is a [EMAIL PROTECTED] question rather than a zope-dev question, but: dtml-with _[skinname] should solve your problem. That looks the string held in skinname up in the namespace and passes it to dtml-with. --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: [Zope] authenticating over XML-RPC to implement the Blogger API
I don't think basic auth is going to cut it. The API wants username and password to be passed as arguments. Probably need to hack a user folder implementation. - Original Message - From: Andy [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, February 03, 2002 10:33 PM Subject: Re: [Zope] authenticating over XML-RPC to implement the Blogger API ZSyncer does user authentication over xmlrpc via xmlrpclibBasicAuth.py, download it and take a look. - Original Message - From: Nathan Sain [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 04, 2002 9:19 AM Subject: [Zope] authenticating over XML-RPC to implement the Blogger API Hello Everyone, I've got a problem and was wondering if anyone on this list my have some insight as to howto solve it. I want to implement a the Blogger XML-RPC API to allow users to add content toa Zope site (the API is here http://plant.blogger.com/api/index.html). It requires that theusername and password be sent as parameters in each function call. is it possible to hookinto Zopes authentication scheme via a external method or python script? I've also noticedthat it could be possible to grab the username and password from the XML-RPC call whenZPublisher calls request.processInputs(), but I don't know how Zope authenticates the userthis may be to late in the process to try and fudge with the request object. Has anyone elsedone user authentication via parameters? Any help would be appreciated -- Nathan Sain ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )