{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/14987","labels_url":"https://api.github.com/repos/owncloud/core/issues/14987/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/14987/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/14987/events","html_url":"https://github.com/owncloud/core/pull/14987","id":62623780,"number":14987,"title":"OCS Fixes to allow setting of password without removing additional settings","user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/5%20-%20To%20review","name":"5 - To review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/sharing","name":"sharing","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":194,"closed_issues":669,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-04-08T16:03:42Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":12,"created_at":"2015-03-18T08:31:15Z","updated_at":"2015-04-08T16:26:37Z","closed_at":"2015-04-08T12:44:17Z","pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/14987","html_url":"https://github.com/owncloud/core/pull/14987","diff_url":"https://github.com/owncloud/core/pull/14987.diff","patch_url":"https://github.com/owncloud/core/pull/14987.patch"},"body":"Redo of #14868 but only for the OCS API.\r\n\r\nWhat has been done:\r\n- Added setPassword to share.php\r\n- Fixed OCS API call\r\n- Added unit tests\r\n\r\nRelated issues #10671 and #14826 \r\n\r\nNo work has been done in the web frontend since we need to switch that to the OCS API anyway. And the patch did not fix it completely anyway.\r\n\r\nMight be a good idea to backport this fix as well. Since the clients use the OCS API."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/90966426","html_url":"https://github.com/owncloud/core/pull/14987#issuecomment-90966426","issue_url":"https://api.github.com/repos/owncloud/core/issues/14987","id":90966426,"user":{"login":"SergioBertolinSG","id":9048796,"avatar_url":"https://avatars.githubusercontent.com/u/9048796?v=3","gravatar_id":"","url":"https://api.github.com/users/SergioBertolinSG","html_url":"https://github.com/SergioBertolinSG","followers_url":"https://api.github.com/users/SergioBertolinSG/followers","following_url":"https://api.github.com/users/SergioBertolinSG/following{/other_user}","gists_url":"https://api.github.com/users/SergioBertolinSG/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioBertolinSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioBertolinSG/subscriptions","organizations_url":"https://api.github.com/users/SergioBertolinSG/orgs","repos_url":"https://api.github.com/users/SergioBertolinSG/repos","events_url":"https://api.github.com/users/SergioBertolinSG/events{/privacy}","received_events_url":"https://api.github.com/users/SergioBertolinSG/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T16:26:37Z","updated_at":"2015-04-08T16:26:37Z","body":"I have tested #14826, I can't add a password correctly using\r\n curl -v -X PUT -d password=sergio http://USER:PASSWORD@OCPATH/ocs/v1.php/apps/files_sharing/api/v1/shares/SHARE_ID\r\n\r\nIt puts a password, but it is rejected when i open the shared link.\r\n\r\nAlso putting a password using the web ui makes the expiration date dissapear, the UI calls this code?\r\n"}}