[Owncloud] Hook response

2014-01-07 Thread basari ari
Hai everyone, I use hook 'post_write' from OC_filesystem to trigger my method 'save' In my method i run some process. When the process failed i want the owncloud to display error response like it usually does. example : function in owncloud that emit signal 'post_write' upload -> error uploading c

[Owncloud] Exception Handling

2013-11-21 Thread basari ari
Hello everyone, I had a problem that i can`t catch the exception from my code in ownCloud. here is the code : try { $client->refreshToken('x'); var_dump('success'); } catch (Exception $e) { var_dump($e->getMessage()); } I try this code outside ownCloud

[Owncloud] Javascript : Files app

2013-08-31 Thread basari ari
hello everyone, I got this code from owncloud app files/js/files.js : var input = (''); . . var newname=input.val(); actually, what is the value that var input and newname have? Thank you, ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org

[Owncloud] Sync Google Drive

2013-07-18 Thread basari ari
Hello everyone, I`m still newbie in Owncloud. Actually, i wanna build owncloud app to sync with GDrive for backup purposes, but it doesnt just mount google drive external storage. (Scenario) --> when i store file to google folder in my OC account, It will be stored to both owncloud and my Gdrive