Services D6
Guys,
Scott Nelson (snelson) included me as one of the maintainers last friday and im glad to announce a new version of Services module for D6 (in fact, i released 2 versions today). The 6.x 0.11 contains several bugs fixed, a new security fix and some nice and long waited features:
* user.get service
* user.save service
* user.delete service
* file.get service
* file.getNodeFiles service
* menu.get service
* Several services were renamed for consistency, including node.load service to node.get
* node and user services now have a very granular permissions
* views services reviewed and some new features added (offset and limit and a new permission check)
* "#file" attribute for services to allow them to put into another file the callback functions
* Drupal code compliance
The 6.x 0.11is more powerful, faster and consume MUCH less memory.
Hopefully, 6.x 0.11 will be on of the last releases before the final 1.0! So i hope all of you test it hard. If you already reported a bug on the issues list, take another test using this version and update the issue.
regards,
massa
PS 1: What about the D5 versions? well, i dont even have a D5 test site anymore. So i will need someone else to this job
PS 2: We need to fix some documentation. It will be done bit to bit



Features missing
Guys,
i forgot to post a list of missing features that i plan to someday include:
* enable/disable each service
* enable/disable each service PER user/
* expand services list a lot, specially regarding taxonomy and comments. but node, path and menu services still need some work
* OAuth integration (there are some patches available)
* MAYBE integrate other servers, like SOAP
I will be glad to check and test any patch about these features.
regards,
massa
I track the Srevices CVS via
I track the Srevices CVS via RSS and dude you are working fast! :) It's a good thing for the services module, as it seemed stuck in the past few month.
Keep on the good job...
I agree
that you're working fast.... Nice!
good stuff!
__
Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. - Douglas Adams
some remarks
Hey massa,
Thanks for your update!
Just some remarks:
I found user.save function accepts UID for some reason instead of account information in service definition. Was this intended or you just missed something? in actual function it expects $account for passing it to user_save directly. So probably this is service declaration problem.
.load sounds better and reasonable than .get to me ;) no offence, just my note
Hope you can patch this user.save service soon.
Thanks,
BD.
Small update
brain dancer,
1* user.save was wrong. i tested another thing it on my pc then i forgot to return the right code. Fixed. Other services are also somewhat wrong, because i commited the testing code. I will make a deep checkup later.
2* .get is more consistent with other Drupal services (system.getVariable, user.get, comment.get, file,get) and other services, like flickr.
Guys,
im planning to make OAuth the main and only authentication system. Im studying the codes to make the integration seamless.
regards,
massa
Only?
While I have no issue with making oAuth the primary/default authentication system, it seems a horrible mistake to make it the ONLY one. I would think some kind of pluggable authentication would be best option. oAuth is not going to work for every installation or every sitution, and to make that assumption seems needlessly limiting.
CVS went wrong?
What happened with the CVS, only branch 6.x is available ( 6.0.12 and 6.0.13 ) !!!!
API key usage
Sorry if this is off-topic in this thread, but is it possible to provide a sample of the API key usage for D6?
I can see that the method signature for "user.login" is "['struct', 'string', 'string', 'string', 'string', 'string', 'string', 'string']" but there doesn't seem to be any example or documentation whatsoever that defines which parameter is what. I assume the strings are hash, timestamp, nonce, methodname, sessionid, username, password but I have no idea what the 'struct' could be.
Drupal 5
Do you have plans to release this features for Drupal 5?
Please
I too would love to see this. Just joining the chorus. ;)
Yeah would be great to keep
Yeah would be great to keep the Drupal 5 version up to par too!
Thx
I am willing to help to
I am willing to help to create a version 5 version of these services
Sweet! Thanks :)
Sweet! Thanks :)