{"action":"created","comment":{"url":"https://api.github.com/repos/nextcloud/server/pulls/comments/192596220","pull_request_review_id":125401948,"id":192596220,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjU5NjIyMA==","diff_hunk":"@@ -169,18 +169,48 @@ public function index($dir = '', $view = '', $fileid = null, $fileNotFound = fal\n \t\t\t]\n \t\t);\n \n+\n \t\t$navItems = \\OCA\\Files\\App::getNavigationManager()->getAll();\n \t\tusort($navItems, function($item1, $item2) {\n \t\t\treturn $item1['order'] - $item2['order'];\n \t\t});\n \t\t$nav->assign('navigationItems', $navItems);\n \n-\t\t$webdavurl = $this->urlGenerator->linkTo('', 'remote.php') .\n-\t\t\t'/dav/files/' .\n-\t\t\t$this->userSession->getUser()->getUID() .\n-\t\t\t'/';\n-\t\t$webdavurl = $this->urlGenerator->getAbsoluteURL($webdavurl);\n-\t\t$nav->assign('webdavurl', $webdavurl);\n+\t\t$user = $this->userSession->getUser()->getUID();\n+\n+\t\t$tagger=\\OC::$server->getTagManager();\n+\n+\n+\t\t$helper= new \\OCA\\Files\\Activity\\Helper($tagger);\n+\t\t$favElements = $helper->getFavoriteFilePaths($this->userSession->getUser()->getUID());\n+\t\t$favItems = $favElements[\"items\"];","path":"apps/files/lib/Controller/ViewController.php","position":24,"original_position":24,"commit_id":"e347f77f172ebb36575738cf84e9f39ab7386e3c","original_commit_id":"e347f77f172ebb36575738cf84e9f39ab7386e3c","user":{"login":"skjnldsv","id":14975046,"node_id":"MDQ6VXNlcjE0OTc1MDQ2","avatar_url":"https://avatars0.githubusercontent.com/u/14975046?v=4","gravatar_id":"","url":"https://api.github.com/users/skjnldsv","html_url":"https://github.com/skjnldsv","followers_url":"https://api.github.com/users/skjnldsv/followers","following_url":"https://api.github.com/users/skjnldsv/following{/other_user}","gists_url":"https://api.github.com/users/skjnldsv/gists{/gist_id}","starred_url":"https://api.github.com/users/skjnldsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skjnldsv/subscriptions","organizations_url":"https://api.github.com/users/skjnldsv/orgs","repos_url":"https://api.github.com/users/skjnldsv/repos","events_url":"https://api.github.com/users/skjnldsv/events{/privacy}","received_events_url":"https://api.github.com/users/skjnldsv/received_events","type":"User","site_admin":false},"body":"single quotes please ;)\r\n\r\n","created_at":"2018-06-03T17:02:16Z","updated_at":"2018-06-03T17:06:03Z","html_url":"https://github.com/nextcloud/server/pull/9720#discussion_r192596220","pull_request_url":"https://api.github.com/repos/nextcloud/server/pulls/9720","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/nextcloud/server/pulls/comments/192596220"},"html":{"href":"https://github.com/nextcloud/server/pull/9720#discussion_r192596220"},"pull_request":{"href":"https://api.github.com/repos/nextcloud/server/pulls/9720"}}},"pull_request":{"url":"https://api.github.com/repos/nextcloud/server/pulls/9720","id":192213194,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMjEzMTk0","html_url":"https://github.com/nextcloud/server/pull/9720","diff_url":"https://github.com/nextcloud/server/pull/9720.diff","patch_url":"https://github.com/nextcloud/server/pull/9720.patch","issue_url":"https://api.github.com/repos/nextcloud/server/issues/9720","number":9720,"state":"open","locked":false,"title":"Add Quick-Access to favorite folder in left sidepanel in files-app","user":{"login":"newhinton","id":25279821,"node_id":"MDQ6VXNlcjI1Mjc5ODIx","avatar_url":"https://avatars2.githubusercontent.com/u/25279821?v=4","gravatar_id":"","url":"https://api.github.com/users/newhinton","html_url":"https://github.com/newhinton","followers_url":"https://api.github.com/users/newhinton/followers","following_url":"https://api.github.com/users/newhinton/following{/other_user}","gists_url":"https://api.github.com/users/newhinton/gists{/gist_id}","starred_url":"https://api.github.com/users/newhinton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newhinton/subscriptions","organizations_url":"https://api.github.com/users/newhinton/orgs","repos_url":"https://api.github.com/users/newhinton/repos","events_url":"https://api.github.com/users/newhinton/events{/privacy}","received_events_url":"https://api.github.com/users/newhinton/received_events","type":"User","site_admin":false},"body":"I have implemented the feature request from Issue #9714.\r\n\r\nThe only thing which does not properly work, is the initial State of the checkbox which enables this functionality. It is properly set, but the initial state is always unchecked, regardless of the true value.","created_at":"2018-06-02T19:08:40Z","updated_at":"2018-06-03T17:06:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cec068ae42db5971aea36514bedb304194c3b0b4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nextcloud/server/pulls/9720/commits","review_comments_url":"https://api.github.com/repos/nextcloud/server/pulls/9720/comments","review_comment_url":"https://api.github.com/repos/nextcloud/server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/9720/comments","statuses_url":"https://api.github.com/repos/nextcloud/server/statuses/e347f77f172ebb36575738cf84e9f39ab7386e3c","head":{"label":"newhinton:master","ref":"master","sha":"e347f77f172ebb36575738cf84e9f39ab7386e3c","user":{"login":"newhinton","id":25279821,"node_id":"MDQ6VXNlcjI1Mjc5ODIx","avatar_url":"https://avatars2.githubusercontent.com/u/25279821?v=4","gravatar_id":"","url":"https://api.github.com/users/newhinton","html_url":"https://github.com/newhinton","followers_url":"https://api.github.com/users/newhinton/followers","following_url":"https://api.github.com/users/newhinton/following{/other_user}","gists_url":"https://api.github.com/users/newhinton/gists{/gist_id}","starred_url":"https://api.github.com/users/newhinton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newhinton/subscriptions","organizations_url":"https://api.github.com/users/newhinton/orgs","repos_url":"https://api.github.com/users/newhinton/repos","events_url":"https://api.github.com/users/newhinton/events{/privacy}","received_events_url":"https://api.github.com/users/newhinton/received_events","type":"User","site_admin":false},"repo":{"id":135748641,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU3NDg2NDE=","name":"server","full_name":"newhinton/server","owner":{"login":"newhinton","id":25279821,"node_id":"MDQ6VXNlcjI1Mjc5ODIx","avatar_url":"https://avatars2.githubusercontent.com/u/25279821?v=4","gravatar_id":"","url":"https://api.github.com/users/newhinton","html_url":"https://github.com/newhinton","followers_url":"https://api.github.com/users/newhinton/followers","following_url":"https://api.github.com/users/newhinton/following{/other_user}","gists_url":"https://api.github.com/users/newhinton/gists{/gist_id}","starred_url":"https://api.github.com/users/newhinton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newhinton/subscriptions","organizations_url":"https://api.github.com/users/newhinton/orgs","repos_url":"https://api.github.com/users/newhinton/repos","events_url":"https://api.github.com/users/newhinton/events{/privacy}","received_events_url":"https://api.github.com/users/newhinton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/newhinton/server","description":"☁️ Nextcloud server, a safe home for all your data","fork":true,"url":"https://api.github.com/repos/newhinton/server","forks_url":"https://api.github.com/repos/newhinton/server/forks","keys_url":"https://api.github.com/repos/newhinton/server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/newhinton/server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/newhinton/server/teams","hooks_url":"https://api.github.com/repos/newhinton/server/hooks","issue_events_url":"https://api.github.com/repos/newhinton/server/issues/events{/number}","events_url":"https://api.github.com/repos/newhinton/server/events","assignees_url":"https://api.github.com/repos/newhinton/server/assignees{/user}","branches_url":"https://api.github.com/repos/newhinton/server/branches{/branch}","tags_url":"https://api.github.com/repos/newhinton/server/tags","blobs_url":"https://api.github.com/repos/newhinton/server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/newhinton/server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/newhinton/server/git/refs{/sha}","trees_url":"https://api.github.com/repos/newhinton/server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/newhinton/server/statuses/{sha}","languages_url":"https://api.github.com/repos/newhinton/server/languages","stargazers_url":"https://api.github.com/repos/newhinton/server/stargazers","contributors_url":"https://api.github.com/repos/newhinton/server/contributors","subscribers_url":"https://api.github.com/repos/newhinton/server/subscribers","subscription_url":"https://api.github.com/repos/newhinton/server/subscription","commits_url":"https://api.github.com/repos/newhinton/server/commits{/sha}","git_commits_url":"https://api.github.com/repos/newhinton/server/git/commits{/sha}","comments_url":"https://api.github.com/repos/newhinton/server/comments{/number}","issue_comment_url":"https://api.github.com/repos/newhinton/server/issues/comments{/number}","contents_url":"https://api.github.com/repos/newhinton/server/contents/{+path}","compare_url":"https://api.github.com/repos/newhinton/server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/newhinton/server/merges","archive_url":"https://api.github.com/repos/newhinton/server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/newhinton/server/downloads","issues_url":"https://api.github.com/repos/newhinton/server/issues{/number}","pulls_url":"https://api.github.com/repos/newhinton/server/pulls{/number}","milestones_url":"https://api.github.com/repos/newhinton/server/milestones{/number}","notifications_url":"https://api.github.com/repos/newhinton/server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/newhinton/server/labels{/name}","releases_url":"https://api.github.com/repos/newhinton/server/releases{/id}","deployments_url":"https://api.github.com/repos/newhinton/server/deployments","created_at":"2018-06-01T18:01:36Z","updated_at":"2018-06-03T08:48:03Z","pushed_at":"2018-06-03T08:47:59Z","git_url":"git://github.com/newhinton/server.git","ssh_url":"git@github.com:newhinton/server.git","clone_url":"https://github.com/newhinton/server.git","svn_url":"https://github.com/newhinton/server","homepage":"https://nextcloud.com","size":290320,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nextcloud:master","ref":"master","sha":"d9238b810a5a01bc229644d06b412025bbaee03d","user":{"login":"nextcloud","id":19211038,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjExMDM4","avatar_url":"https://avatars1.githubusercontent.com/u/19211038?v=4","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":60243197,"node_id":"MDEwOlJlcG9zaXRvcnk2MDI0MzE5Nw==","name":"server","full_name":"nextcloud/server","owner":{"login":"nextcloud","id":19211038,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjExMDM4","avatar_url":"https://avatars1.githubusercontent.com/u/19211038?v=4","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nextcloud/server","description":"☁️ Nextcloud server, a safe home for all your data","fork":false,"url":"https://api.github.com/repos/nextcloud/server","forks_url":"https://api.github.com/repos/nextcloud/server/forks","keys_url":"https://api.github.com/repos/nextcloud/server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nextcloud/server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nextcloud/server/teams","hooks_url":"https://api.github.com/repos/nextcloud/server/hooks","issue_events_url":"https://api.github.com/repos/nextcloud/server/issues/events{/number}","events_url":"https://api.github.com/repos/nextcloud/server/events","assignees_url":"https://api.github.com/repos/nextcloud/server/assignees{/user}","branches_url":"https://api.github.com/repos/nextcloud/server/branches{/branch}","tags_url":"https://api.github.com/repos/nextcloud/server/tags","blobs_url":"https://api.github.com/repos/nextcloud/server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nextcloud/server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nextcloud/server/git/refs{/sha}","trees_url":"https://api.github.com/repos/nextcloud/server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nextcloud/server/statuses/{sha}","languages_url":"https://api.github.com/repos/nextcloud/server/languages","stargazers_url":"https://api.github.com/repos/nextcloud/server/stargazers","contributors_url":"https://api.github.com/repos/nextcloud/server/contributors","subscribers_url":"https://api.github.com/repos/nextcloud/server/subscribers","subscription_url":"https://api.github.com/repos/nextcloud/server/subscription","commits_url":"https://api.github.com/repos/nextcloud/server/commits{/sha}","git_commits_url":"https://api.github.com/repos/nextcloud/server/git/commits{/sha}","comments_url":"https://api.github.com/repos/nextcloud/server/comments{/number}","issue_comment_url":"https://api.github.com/repos/nextcloud/server/issues/comments{/number}","contents_url":"https://api.github.com/repos/nextcloud/server/contents/{+path}","compare_url":"https://api.github.com/repos/nextcloud/server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nextcloud/server/merges","archive_url":"https://api.github.com/repos/nextcloud/server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nextcloud/server/downloads","issues_url":"https://api.github.com/repos/nextcloud/server/issues{/number}","pulls_url":"https://api.github.com/repos/nextcloud/server/pulls{/number}","milestones_url":"https://api.github.com/repos/nextcloud/server/milestones{/number}","notifications_url":"https://api.github.com/repos/nextcloud/server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nextcloud/server/labels{/name}","releases_url":"https://api.github.com/repos/nextcloud/server/releases{/id}","deployments_url":"https://api.github.com/repos/nextcloud/server/deployments","created_at":"2016-06-02T07:44:14Z","updated_at":"2018-06-03T16:41:52Z","pushed_at":"2018-06-03T11:37:22Z","git_url":"git://github.com/nextcloud/server.git","ssh_url":"git@github.com:nextcloud/server.git","clone_url":"https://github.com/nextcloud/server.git","svn_url":"https://github.com/nextcloud/server","homepage":"https://nextcloud.com","size":291302,"stargazers_count":4502,"watchers_count":4502,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":775,"mirror_url":null,"archived":false,"open_issues_count":1380,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":775,"open_issues":1380,"watchers":4502,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nextcloud/server/pulls/9720"},"html":{"href":"https://github.com/nextcloud/server/pull/9720"},"issue":{"href":"https://api.github.com/repos/nextcloud/server/issues/9720"},"comments":{"href":"https://api.github.com/repos/nextcloud/server/issues/9720/comments"},"review_comments":{"href":"https://api.github.com/repos/nextcloud/server/pulls/9720/comments"},"review_comment":{"href":"https://api.github.com/repos/nextcloud/server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nextcloud/server/pulls/9720/commits"},"statuses":{"href":"https://api.github.com/repos/nextcloud/server/statuses/e347f77f172ebb36575738cf84e9f39ab7386e3c"}},"author_association":"NONE"}}
{"actor":{"display_login":"skjnldsv"}}