Are there any plans to "update" UserFolder to allow xmlrpc calls into it? The addition of manage_addUser/manage_editUser/etc that wrap _doAddUser/_doChangeUser/etc would probably suffice. The current manage_users interface is not xml-rpc friendly, unfortunately :) The point of this, BTW, is to allow a user-friendly "control panel" on the mac and windows to add (and possibly later edit) manager users. We find that the process of [remembering|setting] the admin password and then logging in, finding acl_users, adding a user, logging out (usually quitting the browser), logging back in is quite a problem for our users. Hence the control panel being able to add a manager user in one step. Richard ps. http://www.bizarsoftware.com.au/resource_centre/articles/open_source.html
No plans, but a fishbowl proposal could be written. ----- Original Message ----- From: "Richard Jones" <richard@bizarsoftware.com.au> To: <zope-dev@zope.org> Sent: Thursday, September 06, 2001 8:58 PM Subject: [Zope-dev] UserFolder and xmlrpc
Are there any plans to "update" UserFolder to allow xmlrpc calls into it? The addition of manage_addUser/manage_editUser/etc that wrap _doAddUser/_doChangeUser/etc would probably suffice. The current manage_users interface is not xml-rpc friendly, unfortunately :)
The point of this, BTW, is to allow a user-friendly "control panel" on the mac and windows to add (and possibly later edit) manager users. We find that the process of [remembering|setting] the admin password and then logging in, finding acl_users, adding a user, logging out (usually quitting the browser), logging back in is quite a problem for our users. Hence the control panel being able to add a manager user in one step.
Richard
ps. http://www.bizarsoftware.com.au/resource_centre/articles/open_source.html
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org 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 )
On Friday 07 September 2001 11:07, Chris McDonough wrote:
No plans, but a fishbowl proposal could be written.
http://dev.zope.org/Wikis/DevSite/Proposals/UserFolderXmlRpcQuickFix Richard
Excellent!! Thanks. ----- Original Message ----- From: "Richard Jones" <richard@bizarsoftware.com.au> To: "Chris McDonough" <chrism@zope.com>; <zope-dev@zope.org> Sent: Thursday, September 06, 2001 9:58 PM Subject: Re: [Zope-dev] UserFolder and xmlrpc - now in fishbowl
On Friday 07 September 2001 11:07, Chris McDonough wrote:
No plans, but a fishbowl proposal could be written.
http://dev.zope.org/Wikis/DevSite/Proposals/UserFolderXmlRpcQuickFix
Richard
On Thu, 2001-09-06 at 18:58, Richard Jones wrote:
Are there any plans to "update" UserFolder to allow xmlrpc calls into it? The addition of manage_addUser/manage_editUser/etc that wrap _doAddUser/_doChangeUser/etc would probably suffice. The current manage_users interface is not xml-rpc friendly, unfortunately :)
The point of this, BTW, is to allow a user-friendly "control panel" on the mac and windows to add (and possibly later edit) manager users. We find that the process of [remembering|setting] the admin password and then logging in, finding acl_users, adding a user, logging out (usually quitting the browser), logging back in is quite a problem for our users. Hence the control panel being able to add a manager user in one step.
You may consider downloading the ZMC GUI, it does most of this, and uses XML-RPC. it is written in Python and GTK. I am owkring on one in wxPython, for X-Platform use. Personally, I'd prefer a SOAP interface. Bill Anderson
On Saturday 08 September 2001 04:00, Bill Anderson wrote:
On Thu, 2001-09-06 at 18:58, Richard Jones wrote:
Are there any plans to "update" UserFolder to allow xmlrpc calls into it? The addition of manage_addUser/manage_editUser/etc that wrap _doAddUser/_doChangeUser/etc would probably suffice. The current manage_users interface is not xml-rpc friendly, unfortunately :)
The point of this, BTW, is to allow a user-friendly "control panel" on the mac and windows to add (and possibly later edit) manager users. We find that the process of [remembering|setting] the admin password and then logging in, finding acl_users, adding a user, logging out (usually quitting the browser), logging back in is quite a problem for our users. Hence the control panel being able to add a manager user in one step.
You may consider downloading the ZMC GUI, it does most of this, and uses XML-RPC. it is written in Python and GTK. I am owkring on one in wxPython, for X-Platform use.
The point of my post was that you can't currently XMP-RPC to add a user - the manage_users method is not a usable method from an XML-RPC perspective. We are developing our own Mac and Windows interfaces that have a slimmer scope than ZMC (and also some extensions that ZMC won't ever have) and is branded with our logos. We intend to release the source soon too - but it sounds like it'd be of little use to your project, as it's written in C. Richard
On Sun, 2001-09-09 at 17:14, Richard Jones wrote:
On Saturday 08 September 2001 04:00, Bill Anderson wrote:
On Thu, 2001-09-06 at 18:58, Richard Jones wrote:
Are there any plans to "update" UserFolder to allow xmlrpc calls into it? The addition of manage_addUser/manage_editUser/etc that wrap _doAddUser/_doChangeUser/etc would probably suffice. The current manage_users interface is not xml-rpc friendly, unfortunately :)
The point of this, BTW, is to allow a user-friendly "control panel" on the mac and windows to add (and possibly later edit) manager users. We find that the process of [remembering|setting] the admin password and then logging in, finding acl_users, adding a user, logging out (usually quitting the browser), logging back in is quite a problem for our users. Hence the control panel being able to add a manager user in one step.
You may consider downloading the ZMC GUI, it does most of this, and uses XML-RPC. it is written in Python and GTK. I am owkring on one in wxPython, for X-Platform use.
The point of my post was that you can't currently XMP-RPC to add a user - the manage_users method is not a usable method from an XML-RPC perspective.
Which is why I wrote alternative ones. Actualy, IIRC, there is a way to emulate a REQUEST object.
We are developing our own Mac and Windows interfaces that have a slimmer scope than ZMC (and also some extensions that ZMC won't ever have) and is branded with our logos. We intend to release the source soon too - but it sounds like it'd be of little use to your project, as it's written in C.
You have this backward. Mine is *already* done. I was offering the code as an example of how to do it with XML-RPC. Actually, as I sit here an dlook at your post, I do not believe you know what the ZMC is. It is not a ZC product, it is one of my own creation. You can't get much slimmer of a scope than mine, and still call it a means for managing users. All it does it let you delete a user, or change their roles via a GTK GUI. it doesn't allow, at this time, addition of users, but it is not a difficult add-on; I've just been busy on a much larger product. Oh, and if you release the source under a compatible license, and the extensions are of use, I wouldn't rule out ZMC acquiring them. ;^) Cheers, Bill.
On Monday 10 September 2001 17:42, Bill Anderson wrote:
On Sun, 2001-09-09 at 17:14, Richard Jones wrote:
The point of my post was that you can't currently XMP-RPC to add a user - the manage_users method is not a usable method from an XML-RPC perspective.
Which is why I wrote alternative ones.
I'm trying to have this interface work with an unmodified Zope. Tall order, given some of the things I'm trying to get it to do :) As it stands, we're looking at replacing z2.py...
Actualy, IIRC, there is a way to emulate a REQUEST object.
Oooh! This doesn't negate the goodness of cleaning up the API, but if you could recall how to emulate the REQUEST, I'd be VERY grateful!
We are developing our own Mac and Windows interfaces that have a slimmer scope than ZMC (and also some extensions that ZMC won't ever have) and is branded with our logos. We intend to release the source soon too - but it sounds like it'd be of little use to your project, as it's written in C.
You have this backward. Mine is *already* done. I was offering the code as an example of how to do it with XML-RPC. Actually, as I sit here an dlook at your post, I do not believe you know what the ZMC is.
*gak* I'm sorry! I got ZMC confused with another project! I have now done a web search and found ZMC and acquainted myself with it.
You can't get much slimmer of a scope than mine, and still call it a means for managing users. All it does it let you delete a user, or change their roles via a GTK GUI. it doesn't allow, at this time, addition of users, but it is not a difficult add-on; I've just been busy on a much larger product.
Yep, that's what I've discovered - and it does appear that our scope is actually much fatter than yours. We have: . status, starting and stopping of the Zope server . admin user password setting, manager user adding . services (ports) configuration . environment (python binary, INSTANCE_HOME, SOFTWARE_HOME, user) config . log watching/clearing (only half done) and as I mentioned above, we're looking at modifying z2.py to allow monitoring of startup progress.
Oh, and if you release the source under a compatible license, and the extensions are of use, I wouldn't rule out ZMC acquiring them. ;^)
I'm not sure what you mean by "extensions"... Richard
On Mon, 2001-09-10 at 02:24, Richard Jones wrote:
On Monday 10 September 2001 17:42, Bill Anderson wrote:
On Sun, 2001-09-09 at 17:14, Richard Jones wrote:
The point of my post was that you can't currently XMP-RPC to add a user - the manage_users method is not a usable method from an XML-RPC perspective.
Which is why I wrote alternative ones.
I'm trying to have this interface work with an unmodified Zope. Tall order, given some of the things I'm trying to get it to do :) As it stands, we're looking at replacing z2.py...
Well, you don't _have_ to modify zope. You could place in Script (Python) objects that take your call, and then call the appropriate manage_* methods. At least, in theory.
Actualy, IIRC, there is a way to emulate a REQUEST object.
Oooh! This doesn't negate the goodness of cleaning up the API, but if you could recall how to emulate the REQUEST, I'd be VERY grateful!
I'll see if I can dig it up...
We are developing our own Mac and Windows interfaces that have a slimmer scope than ZMC (and also some extensions that ZMC won't ever have) and is branded with our logos. We intend to release the source soon too - but it sounds like it'd be of little use to your project, as it's written in C.
You have this backward. Mine is *already* done. I was offering the code as an example of how to do it with XML-RPC. Actually, as I sit here an dlook at your post, I do not believe you know what the ZMC is.
*gak* I'm sorry! I got ZMC confused with another project! I have now done a web search and found ZMC and acquainted myself with it.
No worries. I'm just glad I figured it out. :)
You can't get much slimmer of a scope than mine, and still call it a means for managing users. All it does it let you delete a user, or change their roles via a GTK GUI. it doesn't allow, at this time, addition of users, but it is not a difficult add-on; I've just been busy on a much larger product.
Yep, that's what I've discovered - and it does appear that our scope is actually much fatter than yours. We have:
. status, starting and stopping of the Zope server . admin user password setting, manager user adding . services (ports) configuration . environment (python binary, INSTANCE_HOME, SOFTWARE_HOME, user) config . log watching/clearing (only half done)
Yeah, that sounds like one of my other projects. :) No, nothing released there yet. been to busy on the big one.
and as I mentioned above, we're looking at modifying z2.py to allow monitoring of startup progress.
Not a bad idea.
Oh, and if you release the source under a compatible license, and the extensions are of use, I wouldn't rule out ZMC acquiring them. ;^)
I'm not sure what you mean by "extensions"...
Whatever you meant by 'extensions ZMC won't ever have". :) Bill
On Monday 10 September 2001 18:34, Bill Anderson wrote:
On Mon, 2001-09-10 at 02:24, Richard Jones wrote:
On Monday 10 September 2001 17:42, Bill Anderson wrote:
On Sun, 2001-09-09 at 17:14, Richard Jones wrote:
The point of my post was that you can't currently XMP-RPC to add a user - the manage_users method is not a usable method from an XML-RPC perspective.
Which is why I wrote alternative ones.
I'm trying to have this interface work with an unmodified Zope. Tall order, given some of the things I'm trying to get it to do :) As it stands, we're looking at replacing z2.py...
Well, you don't _have_ to modify zope. You could place in Script (Python) objects that take your call, and then call the appropriate manage_* methods. At least, in theory.
That's a modification of zope in the scope of what we're doing :)
You can't get much slimmer of a scope than mine, and still call it a means for managing users. All it does it let you delete a user, or change their roles via a GTK GUI. it doesn't allow, at this time, addition of users, but it is not a difficult add-on; I've just been busy on a much larger product.
Yep, that's what I've discovered - and it does appear that our scope is actually much fatter than yours. We have:
. status, starting and stopping of the Zope server . admin user password setting, manager user adding . services (ports) configuration . environment (python binary, INSTANCE_HOME, SOFTWARE_HOME, user) config . log watching/clearing (only half done)
Yeah, that sounds like one of my other projects. :) No, nothing released there yet. been to busy on the big one.
This is just an offshoot of our general product development - a nice zope control panel front end thingy.
and as I mentioned above, we're looking at modifying z2.py to allow monitoring of startup progress.
Not a bad idea.
Yeah, I'll probably add something to ZopeStartupProvisions too...
Oh, and if you release the source under a compatible license, and the extensions are of use, I wouldn't rule out ZMC acquiring them. ;^)
I'm not sure what you mean by "extensions"...
Whatever you meant by 'extensions ZMC won't ever have". :)
Ah, well, specific to our product, we need the control panel to decode PKCS#12 certificates to pull out the public key :) Richard
[Richard Jones] | On Monday 10 September 2001 17:42, Bill Anderson wrote: | | > Actualy, IIRC, there is a way to emulate a REQUEST object. | | Oooh! This doesn't negate the goodness of cleaning up the API, but | if you could recall how to emulate the REQUEST, I'd be VERY | grateful! If I'm not mistaken: from Testing import make_request import Zope app = make_request.make_request(Zope.app())
On Monday 10 September 2001 18:38, Erik Enge wrote:
[Richard Jones]
| On Monday 10 September 2001 17:42, Bill Anderson wrote: | > Actualy, IIRC, there is a way to emulate a REQUEST object. | | Oooh! This doesn't negate the goodness of cleaning up the API, but | if you could recall how to emulate the REQUEST, I'd be VERY | grateful!
If I'm not mistaken:
from Testing import make_request import Zope
app = make_request.make_request(Zope.app())
In an XML-RPC connection... Richard
participants (4)
-
Bill Anderson -
Chris McDonough -
Erik Enge -
Richard Jones