|
Hi Dongsheng!
Can we put back setAuthToken? I am not using quite the same method as you to retrieve it and I would like to be able to set it manually. Or I can just do $this->boxclient->auth_token = $foo I guess. Can you approve this patch for inclusion:
Hi, Penny, there was a setAuthToken function there, but I removed it, because I didn't use it in repository API, if you need it, feel free to add it
I absolutely agree with your patch, just do it, thanks. Hi Dongsheng,
How are we (translators) supposed to commit the translation of the strings in repository_boxnet.php? (same applies for all repository plugins). The strings of all "official" parts of Moodle used to be stored in the lang/en_utf8. With this change with the plugins, it could be more and more difficult to manage the translation. Sorry, Nicolas, you are right, I will move this language file to lang/en_utf8 very soon. Thanks for tell me
NP, I thought it was intended for plugins. Glad to see that it's not the case
box.net changed their developer API website and registration process
please update the info page the administrator see when it requesting to add a box.net API and presented a link to an old box.net developer site. i started the new registration process with box.net to get a box.net "service" i am unable to login with my username and password
i get "invalid password" error while i am connecting (login) successfully with the same username and password onto the main box.net website. Hi, Nadav, I cannot reproduce your problem, I can login succeccfully
Hi, Nadav, I met your problem yesterday, the I found out that was boxnet's problem, the login web service is not available, so it returned invalid account.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
$box = new boxclient('dmls97d8j3i9tn7av8y71m9eb55vrtj4');
$t = $box->getTicket();
$box->getAuthToken($t['ticket'], 'unoter@gmail.com', 'xxxxxxx');
$ret = $box->uploadFile(array('file'=>'/var/www/phpFlickr-2.2.0.tar.bz2'));