From xmlrpc@opengroupware.org Fri Feb 3 17:06:45 2006 From: xmlrpc@opengroupware.org (Adam Tauno Williams) Date: Fri, 03 Feb 2006 12:06:45 -0500 Subject: [OGo-XML-RPC] MOGI 0.0.6 Message-ID: <1138986405.15142.3.camel@aleph.whitemice.org> --=-wdasfaNjDJqZGKiIGDvk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've released MOGI 0.0.6. This version adds support for create, updating, and deleting appointment objects as well as the ability to retrieve the three task lists (to do, delegated, and archived). Version 0.0.4, which I didn't announce, added the ability to check and modify permissions on contact and enterprise objects. http://www.whitemiceconsulting.com/node/32 --=-wdasfaNjDJqZGKiIGDvk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBD442lLRePpNle04MRAqs7AJ0XHx3O05HRxOO24yVfvNf1iot63wCfXb3S hmq5MF8H7IBaDoUfTWmOvo0= =O0AY -----END PGP SIGNATURE----- --=-wdasfaNjDJqZGKiIGDvk-- From xmlrpc@opengroupware.org Fri Feb 3 20:07:26 2006 From: xmlrpc@opengroupware.org (Adam Tauno Williams) Date: Fri, 03 Feb 2006 15:07:26 -0500 Subject: [OGo-XML-RPC] Group permissions via XML-RPC or webdav In-Reply-To: <92fad8ce0601311505t4474f5d7g8e4c0823927fd3ce@mail.gmail.com> References: <92fad8ce0601300839j3db37dc1oa98836e7d6e269ee@mail.gmail.com> <1138639796.7317.10.camel@aleph.whitemice.org> <633DDF62-7173-492B-8112-661B64672270@opengroupware.org> <92fad8ce0601310259u6d4a34a6u8f1b1820b381149e@mail.gmail.com> <1138710118.8300.59.camel@aleph.whitemice.org> <756c35a9690a025a74a16b1a15c7274b@opengroupware.org> <1138714690.7044.5.camel@aleph.whitemice.org> <92fad8ce0601311505t4474f5d7g8e4c0823927fd3ce@mail.gmail.com> Message-ID: <1138997246.7153.5.camel@aleph.whitemice.org> --=-vNU2krQavfTTTvoSwQ4S Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, 2006-02-01 at 00:05 +0100, Alejandro Mart=C3=ADnez Marcos wrote: > > Would be fine with me. "readAccessTeam" would be a single team pkey, > > and "writeACL" would be an array of team pkeys? But wouldn't it have t= o > > be - > > appointment.setPermissions(appointment, readAccessTeam, writeACL) > > - where "appointment" is the pkey of the appointment object? > > But it would still be very useful to have some way to retrieve the > > current permission settings (read team, and write teams). So a > > setPermissions would need an accompanying getPermissions. > I also think it will be clearer in a different method. But why several > groups for writing and just one for reading, i.e., why not an array in > both parameters? Alejandro, have you filed a bug in Bugzilla concerning this? --=-vNU2krQavfTTTvoSwQ4S Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBD47f+LRePpNle04MRAkNZAJ4+8wY/pKUtzgheRNowLElQISi3cQCfTnlq aYm6NkZ9Wx7R9rXq7+VxjM4= =Epxu -----END PGP SIGNATURE----- --=-vNU2krQavfTTTvoSwQ4S-- From xmlrpc@opengroupware.org Tue Feb 7 18:37:18 2006 From: xmlrpc@opengroupware.org (Adam Tauno Williams) Date: Tue, 07 Feb 2006 13:37:18 -0500 Subject: [OGo-XML-RPC] Group permissions via XML-RPC or webdav In-Reply-To: <1138997246.7153.5.camel@aleph.whitemice.org> References: <92fad8ce0601300839j3db37dc1oa98836e7d6e269ee@mail.gmail.com> <1138639796.7317.10.camel@aleph.whitemice.org> <633DDF62-7173-492B-8112-661B64672270@opengroupware.org> <92fad8ce0601310259u6d4a34a6u8f1b1820b381149e@mail.gmail.com> <1138710118.8300.59.camel@aleph.whitemice.org> <756c35a9690a025a74a16b1a15c7274b@opengroupware.org> <1138714690.7044.5.camel@aleph.whitemice.org> <92fad8ce0601311505t4474f5d7g8e4c0823927fd3ce@mail.gmail.com> <1138997246.7153.5.camel@aleph.whitemice.org> Message-ID: <1139337438.7085.7.camel@aleph.whitemice.org> --=-PE2A0J6pclBLmRwA6qR4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, 2006-02-03 at 15:07 -0500, Adam Tauno Williams wrote: > On Wed, 2006-02-01 at 00:05 +0100, Alejandro Mart=C3=ADnez Marcos wrote: > > > Would be fine with me. "readAccessTeam" would be a single team pkey, > > > and "writeACL" would be an array of team pkeys? But wouldn't it have= to > > > be - > > > appointment.setPermissions(appointment, readAccessTeam, writeACL) > > > - where "appointment" is the pkey of the appointment object? > > > But it would still be very useful to have some way to retrieve the > > > current permission settings (read team, and write teams). So a > > > setPermissions would need an accompanying getPermissions. > > I also think it will be clearer in a different method. But why several > > groups for writing and just one for reading, i.e., why not an array in > > both parameters? > Alejandro, have you filed a bug in Bugzilla concerning this? There appears to already be a bug report relating to this: http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=3D219 --=-PE2A0J6pclBLmRwA6qR4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBD6OjeLRePpNle04MRAl7IAJ43eDxrSlWrqAtKoo4wc9tx2NUw6QCfYei7 z7bVeRRVTCnU2OjYP10iwWM= =NYnW -----END PGP SIGNATURE----- --=-PE2A0J6pclBLmRwA6qR4-- From xmlrpc@opengroupware.org Sat Feb 11 22:34:34 2006 From: xmlrpc@opengroupware.org (Adam Tauno Williams) Date: Sat, 11 Feb 2006 17:34:34 -0500 Subject: [OGo-XML-RPC] MOGI 0.0.10 & MOGoCal Message-ID: <1139697274.1377.19.camel@aleph.whitemice.org> I've posted MOGI 0.0.10 at the usual place - http://www.whitemiceconsulting.com/node/91 This version of MOGI's RPC2 backend supports adding and removing participants to appointments. A list of the currently working features of the RPC2 backend can be found here - http://www.whitemiceconsulting.com/node/32 It also includes the first basically functional version of MOGoCal, which is a GTK# calendering client. It supports CRUD (create, remove, update, delete) including changing participants and creating cyclic appointments. A screenshot is here - http://www.whitemiceconsulting.com/system/files?file=MOGoCal-0.0.10.png For MOGoCal source look in the Applications/MOGoCal folder. A binary should be in the Bin/Debug folder, it requires the presence of a OGoMojo.ini file to run. From xmlrpc@opengroupware.org Mon Feb 13 09:59:11 2006 From: xmlrpc@opengroupware.org (Henk van Lingen) Date: Mon, 13 Feb 2006 10:59:11 +0100 Subject: [OGo-XML-RPC] Re: [OGo-Users] WOHttpAllowHost In-Reply-To: <1139590776.8006.3.camel@aleph.whitemice.org> References: <20060210143525.GC6973@cs.uu.nl> <1139590776.8006.3.camel@aleph.whitemice.org> Message-ID: <20060213095911.GA31880@cs.uu.nl> On Fri, Feb 10, 2006 at 11:59:36AM -0500, Adam Tauno Williams wrote: > There is a list specifically for XML-RPC related questions Yes, thanks. But I didn't (and still don't) know what is WOHttpAllowHost supposed to do. It doesn't seem to be a XMLRPC thing, right? But I reply to the XML-RPC list now. > > What does 'WOHttpAllowHost' do? > > I'm struggling to get a Ruby script to talk to ogo-xmlrpcd. The logfile > > keeps telling me "WOHttpAdaptor: ACCESS DENIED:". Not sure the problem > > is in the ruby script or the username/password I googled around and found > > some mention of 'WOHttpAdaptor settings'. Does this restrict connections > > to xmlrpcd or to something else? > > Are you accessing the XML-RPC daemon via mgobjweb? If no, do so. I don't know. What is mgobjweb? (google gives only your mail :-)) I'm talking to ogo-xmlrpcd, which comes with the RPM release. > I assume you are sending basic credentials in your request? I've a LDAP server connected to OGo. I thought that's also working for the xmlrpcd and not only for the webinterface? What do you mean by basic credentials? I'm sending a username/password combi. > > And how should one change the value with " Defaults write NSGlobalDomain > > WOHttpAllowHost" for multi valued variables? I still have to restore the original values... Regards, -- Henk van Lingen, Systems & Network Administrator (o- -+ Dept. of Computer Science, Utrecht University. /\ | phone: +31-30-2535278 v_/_ http://henk.vanlingen.net/ http://www.tuxtown.net/netiquette/ From xmlrpc@opengroupware.org Mon Feb 13 11:05:14 2006 From: xmlrpc@opengroupware.org (Adam Tauno Williams) Date: Mon, 13 Feb 2006 06:05:14 -0500 Subject: [OGo-XML-RPC] Re: [OGo-Users] WOHttpAllowHost In-Reply-To: <20060213095911.GA31880@cs.uu.nl> References: <20060210143525.GC6973@cs.uu.nl> <1139590776.8006.3.camel@aleph.whitemice.org> <20060213095911.GA31880@cs.uu.nl> Message-ID: <1139828714.8328.5.camel@aleph.whitemice.org> > > There is a list specifically for XML-RPC related questions > Yes, thanks. But I didn't (and still don't) know what is WOHttpAllowHost > supposed to do. It doesn't seem to be a XMLRPC thing, right? WOHttpAllowHost determines what addresses the daemon should accept connections from. Mine looks like - WOHttpAllowHost = ( localhost, "127.0.0.1", "localhost.localdomain" ); > > > What does 'WOHttpAllowHost' do? > > > I'm struggling to get a Ruby script to talk to ogo-xmlrpcd. The logfile > > > keeps telling me "WOHttpAdaptor: ACCESS DENIED:". Not sure the problem > > > is in the ruby script or the username/password I googled around and found > > > some mention of 'WOHttpAdaptor settings'. Does this restrict connections > > > to xmlrpcd or to something else? What is the URL you are connecting to the daemon with? Does it contain something like {hostname}:20000? If so your setup is incorrect, you should just be able to specify the host name http://{hostname}/RPC2 Can you visit http://{hostname}/RPC2 with a browser? > > Are you accessing the XML-RPC daemon via mgobjweb? If no, do so. > I don't know. What is mgobjweb? (google gives only your mail :-)) > I'm talking to ogo-xmlrpcd, which comes with the RPM release. It connects Apache to the OGo daemons, here is is misspelled, it is "ngobjweb" > > I assume you are sending basic credentials in your request? > I've a LDAP server connected to OGo. I thought that's also working for > the xmlrpcd and not only for the webinterface? What do you mean by > basic credentials? I'm sending a username/password combi. If LDAP is configured it works for all services. Yes, username/password usually constitutes BASIC credentials. From xmlrpc@opengroupware.org Mon Feb 13 11:13:35 2006 From: xmlrpc@opengroupware.org (Helge Hess) Date: Mon, 13 Feb 2006 12:13:35 +0100 Subject: [OGo-XML-RPC] Re: [OGo-Users] WOHttpAllowHost In-Reply-To: <20060213095911.GA31880@cs.uu.nl> References: <20060210143525.GC6973@cs.uu.nl> <1139590776.8006.3.camel@aleph.whitemice.org> <20060213095911.GA31880@cs.uu.nl> Message-ID: <51E7C17E-B8A8-48BB-A930-50C33539FB49@opengroupware.org> On 13. Feb 2006, at 10:59 Uhr, Henk van Lingen wrote: > Yes, thanks. But I didn't (and still don't) know what is > WOHttpAllowHost > supposed to do. It doesn't seem to be a XMLRPC thing, right? > But I reply to the XML-RPC list now. Its the same for all SOPE based daemons. >> Are you accessing the XML-RPC daemon via mgobjweb? If no, do so. > I don't know. What is mgobjweb? (google gives only your mail :-)) > I'm talking to ogo-xmlrpcd, which comes with the RPM release. Its the Apache module which forwards the requests from the client to the actual backend server (ogo-xmlrpcd in this case). You can find plenty of information on it in Google (mod_ngobjweb). Its configured in Apache. >> I assume you are sending basic credentials in your request? > I've a LDAP server connected to OGo. I thought that's also > working for > the xmlrpcd and not only for the webinterface? Yes, it does. > What do you mean by basic credentials? I'm sending a username/ > password combi. Well, the HTTP credentials used to authenticate against the XML-RPC server. If you get a HTTP 401 reply you have an issue here, but first you need to connect using Apache ;-) >>> And how should one change the value with " Defaults write >>> NSGlobalDomain >>> WOHttpAllowHost" for multi valued variables? > I still have to restore the original values... Defaults delete NSGlobalDomain WOHttpAllowHost Greets, Helge -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From xmlrpc@opengroupware.org Mon Feb 13 13:31:57 2006 From: xmlrpc@opengroupware.org (Henk van Lingen) Date: Mon, 13 Feb 2006 14:31:57 +0100 Subject: [OGo-XML-RPC] Re: [OGo-Users] WOHttpAllowHost In-Reply-To: <51E7C17E-B8A8-48BB-A930-50C33539FB49@opengroupware.org> References: <20060210143525.GC6973@cs.uu.nl> <1139590776.8006.3.camel@aleph.whitemice.org> <20060213095911.GA31880@cs.uu.nl> <51E7C17E-B8A8-48BB-A930-50C33539FB49@opengroupware.org> Message-ID: <20060213133157.GB31880@cs.uu.nl> On Mon, Feb 13, 2006 at 12:13:35PM +0100, Helge Hess wrote: > > >>Are you accessing the XML-RPC daemon via mgobjweb? If no, do so. > > I don't know. What is mgobjweb? (google gives only your mail :-)) > > I'm talking to ogo-xmlrpcd, which comes with the RPM release. > > Its the Apache module which forwards the requests from the client to > the actual backend server (ogo-xmlrpcd in this case). > You can find plenty of information on it in Google (mod_ngobjweb). Oke, I thought it was possible to talk directly to ogo-xmlrpcd via port 22000. But I understand this apache module in the middle is needed. Now indeed I can do something like: #!/sw/bin/ruby require 'xmlrpc/client' server = XMLRPC::Client.new(host='ogo', path='/RPC2', port='80', proxy_host=nil, proxy_port=nil, user='foo', password='bar') puts server.call("team.getTeams") This works, thanks, -- Henk van Lingen, Systems & Network Administrator (o- -+ Dept. of Computer Science, Utrecht University. /\ | phone: +31-30-2535278 v_/_ http://henk.vanlingen.net/ http://www.tuxtown.net/netiquette/ From xmlrpc@opengroupware.org Mon Feb 13 13:41:57 2006 From: xmlrpc@opengroupware.org (Helge Hess) Date: Mon, 13 Feb 2006 14:41:57 +0100 Subject: [OGo-XML-RPC] Re: [OGo-Users] WOHttpAllowHost In-Reply-To: <20060213133157.GB31880@cs.uu.nl> References: <20060210143525.GC6973@cs.uu.nl> <1139590776.8006.3.camel@aleph.whitemice.org> <20060213095911.GA31880@cs.uu.nl> <51E7C17E-B8A8-48BB-A930-50C33539FB49@opengroupware.org> <20060213133157.GB31880@cs.uu.nl> Message-ID: <6C37EDF1-7A39-462B-89B8-08D4600511B8@opengroupware.org> On 13. Feb 2006, at 14:31 Uhr, Henk van Lingen wrote: > I thought it was possible to talk directly to ogo-xmlrpcd In theory its possible in some setups, but its highly recommended not to do this. Which is why I won't explain how it can be done ;-) Greets, Helge -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From xmlrpc@opengroupware.org Mon Feb 27 20:36:35 2006 From: xmlrpc@opengroupware.org (Adam Tauno Williams) Date: Mon, 27 Feb 2006 15:36:35 -0500 Subject: [OGo-XML-RPC] "Must use setCurrentEntity if select is not done through database" Message-ID: <1141072595.6838.8.camel@aleph.whitemice.org> --=-enALcLlKbSdvfU608hMg Content-Type: text/plain Content-Transfer-Encoding: quoted-printable After doing an insert of an account I want to change the "login" so I call "account.update". But it fails with a message of "Must use setCurrentEntity if select is not done through database"... ????? Anyone have a clue what his means? =20 Otherwise, if it is not possible to change "login" what is the purpose of account.update? Date: Mon, 27 Feb 2006 20:17:27 GMT Server: Apache/2.0.53 (Linux/SUSE) content-type: text/xml content-length: 322 Keep-Alive: timeout=3D15, max=3D91 Connection: Keep-Alive faultC= ode0faultStringInvalid argument: Must use setCurrentEntity if select is = not done through database --=-enALcLlKbSdvfU608hMg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBEA2LTLRePpNle04MRAhs8AJ97p5hKSTHeaigWtN0eEDvqby4uAQCfWoBj L+cH7XpwBedBJzTqgzEUi00= =wsNw -----END PGP SIGNATURE----- --=-enALcLlKbSdvfU608hMg--