{"action":"created","comment":{"url":"https://api.github.com/repos/go-gitea/gitea/pulls/comments/134316269","pull_request_review_id":57594166,"id":134316269,"diff_hunk":"@@ -110,11 +110,37 @@ type SearchRepoOptions struct {\n \t// maximum: setting.ExplorePagingNum\n \t// in: query\n \tPageSize int `json:\"limit\"` // Can be smaller than or equal to setting.ExplorePagingNum\n+\t// Type of repository to search\n+\t//\n+\t// in: query\n+\tRepoType RepoType `json:\"type\"`\n }\n \n+// RepoType contains possible types of repository","path":"models/repo_list.go","position":10,"original_position":10,"commit_id":"aa6a2c996252707a1ada79c52661e1f464bccee9","original_commit_id":"aa6a2c996252707a1ada79c52661e1f464bccee9","user":{"login":"Morlinest","id":12720041,"avatar_url":"https://avatars3.githubusercontent.com/u/12720041?v=4","gravatar_id":"","url":"https://api.github.com/users/Morlinest","html_url":"https://github.com/Morlinest","followers_url":"https://api.github.com/users/Morlinest/followers","following_url":"https://api.github.com/users/Morlinest/following{/other_user}","gists_url":"https://api.github.com/users/Morlinest/gists{/gist_id}","starred_url":"https://api.github.com/users/Morlinest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morlinest/subscriptions","organizations_url":"https://api.github.com/users/Morlinest/orgs","repos_url":"https://api.github.com/users/Morlinest/repos","events_url":"https://api.github.com/users/Morlinest/events{/privacy}","received_events_url":"https://api.github.com/users/Morlinest/received_events","type":"User","site_admin":false},"body":"OK","created_at":"2017-08-21T19:55:09Z","updated_at":"2017-08-21T19:55:09Z","html_url":"https://github.com/go-gitea/gitea/pull/2343#discussion_r134316269","pull_request_url":"https://api.github.com/repos/go-gitea/gitea/pulls/2343","_links":{"self":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/comments/134316269"},"html":{"href":"https://github.com/go-gitea/gitea/pull/2343#discussion_r134316269"},"pull_request":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/2343"}}},"pull_request":{"url":"https://api.github.com/repos/go-gitea/gitea/pulls/2343","id":136642746,"html_url":"https://github.com/go-gitea/gitea/pull/2343","diff_url":"https://github.com/go-gitea/gitea/pull/2343.diff","patch_url":"https://github.com/go-gitea/gitea/pull/2343.patch","issue_url":"https://api.github.com/repos/go-gitea/gitea/issues/2343","number":2343,"state":"open","locked":false,"title":"Custom search for each filter in repo-search component","user":{"login":"Morlinest","id":12720041,"avatar_url":"https://avatars3.githubusercontent.com/u/12720041?v=4","gravatar_id":"","url":"https://api.github.com/users/Morlinest","html_url":"https://github.com/Morlinest","followers_url":"https://api.github.com/users/Morlinest/followers","following_url":"https://api.github.com/users/Morlinest/following{/other_user}","gists_url":"https://api.github.com/users/Morlinest/gists{/gist_id}","starred_url":"https://api.github.com/users/Morlinest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morlinest/subscriptions","organizations_url":"https://api.github.com/users/Morlinest/orgs","repos_url":"https://api.github.com/users/Morlinest/repos","events_url":"https://api.github.com/users/Morlinest/events{/privacy}","received_events_url":"https://api.github.com/users/Morlinest/received_events","type":"User","site_admin":false},"body":"Based on #2326 (need to be merged first)\r\nDiscussion on #2312\r\n\r\nLooks like:\r\n![2017-08-20_15-09-32](https://user-images.githubusercontent.com/12720041/29495174-a4009214-85b9-11e7-893c-8ef2059c7530.gif)\r\n","created_at":"2017-08-20T13:14:10Z","updated_at":"2017-08-21T19:55:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1cbb19d4d9ded593c6ea64bfb59ef4bd10acf802","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/go-gitea/gitea/milestones/4","html_url":"https://github.com/go-gitea/gitea/milestone/4","labels_url":"https://api.github.com/repos/go-gitea/gitea/milestones/4/labels","id":2111552,"number":4,"title":"1.x.x","description":"","creator":{"login":"tboerger","id":156964,"avatar_url":"https://avatars3.githubusercontent.com/u/156964?v=4","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"open_issues":278,"closed_issues":0,"state":"open","created_at":"2016-11-03T08:40:47Z","updated_at":"2017-08-21T15:30:05Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/go-gitea/gitea/pulls/2343/commits","review_comments_url":"https://api.github.com/repos/go-gitea/gitea/pulls/2343/comments","review_comment_url":"https://api.github.com/repos/go-gitea/gitea/pulls/comments{/number}","comments_url":"https://api.github.com/repos/go-gitea/gitea/issues/2343/comments","statuses_url":"https://api.github.com/repos/go-gitea/gitea/statuses/aa6a2c996252707a1ada79c52661e1f464bccee9","head":{"label":"Morlinest:feature-dashboard-filters-custom-search","ref":"feature-dashboard-filters-custom-search","sha":"aa6a2c996252707a1ada79c52661e1f464bccee9","user":{"login":"Morlinest","id":12720041,"avatar_url":"https://avatars3.githubusercontent.com/u/12720041?v=4","gravatar_id":"","url":"https://api.github.com/users/Morlinest","html_url":"https://github.com/Morlinest","followers_url":"https://api.github.com/users/Morlinest/followers","following_url":"https://api.github.com/users/Morlinest/following{/other_user}","gists_url":"https://api.github.com/users/Morlinest/gists{/gist_id}","starred_url":"https://api.github.com/users/Morlinest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morlinest/subscriptions","organizations_url":"https://api.github.com/users/Morlinest/orgs","repos_url":"https://api.github.com/users/Morlinest/repos","events_url":"https://api.github.com/users/Morlinest/events{/privacy}","received_events_url":"https://api.github.com/users/Morlinest/received_events","type":"User","site_admin":false},"repo":{"id":79448266,"name":"gitea","full_name":"Morlinest/gitea","owner":{"login":"Morlinest","id":12720041,"avatar_url":"https://avatars3.githubusercontent.com/u/12720041?v=4","gravatar_id":"","url":"https://api.github.com/users/Morlinest","html_url":"https://github.com/Morlinest","followers_url":"https://api.github.com/users/Morlinest/followers","following_url":"https://api.github.com/users/Morlinest/following{/other_user}","gists_url":"https://api.github.com/users/Morlinest/gists{/gist_id}","starred_url":"https://api.github.com/users/Morlinest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morlinest/subscriptions","organizations_url":"https://api.github.com/users/Morlinest/orgs","repos_url":"https://api.github.com/users/Morlinest/repos","events_url":"https://api.github.com/users/Morlinest/events{/privacy}","received_events_url":"https://api.github.com/users/Morlinest/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Morlinest/gitea","description":"Gitea: Git with a cup of tea","fork":true,"url":"https://api.github.com/repos/Morlinest/gitea","forks_url":"https://api.github.com/repos/Morlinest/gitea/forks","keys_url":"https://api.github.com/repos/Morlinest/gitea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Morlinest/gitea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Morlinest/gitea/teams","hooks_url":"https://api.github.com/repos/Morlinest/gitea/hooks","issue_events_url":"https://api.github.com/repos/Morlinest/gitea/issues/events{/number}","events_url":"https://api.github.com/repos/Morlinest/gitea/events","assignees_url":"https://api.github.com/repos/Morlinest/gitea/assignees{/user}","branches_url":"https://api.github.com/repos/Morlinest/gitea/branches{/branch}","tags_url":"https://api.github.com/repos/Morlinest/gitea/tags","blobs_url":"https://api.github.com/repos/Morlinest/gitea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Morlinest/gitea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Morlinest/gitea/git/refs{/sha}","trees_url":"https://api.github.com/repos/Morlinest/gitea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Morlinest/gitea/statuses/{sha}","languages_url":"https://api.github.com/repos/Morlinest/gitea/languages","stargazers_url":"https://api.github.com/repos/Morlinest/gitea/stargazers","contributors_url":"https://api.github.com/repos/Morlinest/gitea/contributors","subscribers_url":"https://api.github.com/repos/Morlinest/gitea/subscribers","subscription_url":"https://api.github.com/repos/Morlinest/gitea/subscription","commits_url":"https://api.github.com/repos/Morlinest/gitea/commits{/sha}","git_commits_url":"https://api.github.com/repos/Morlinest/gitea/git/commits{/sha}","comments_url":"https://api.github.com/repos/Morlinest/gitea/comments{/number}","issue_comment_url":"https://api.github.com/repos/Morlinest/gitea/issues/comments{/number}","contents_url":"https://api.github.com/repos/Morlinest/gitea/contents/{+path}","compare_url":"https://api.github.com/repos/Morlinest/gitea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Morlinest/gitea/merges","archive_url":"https://api.github.com/repos/Morlinest/gitea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Morlinest/gitea/downloads","issues_url":"https://api.github.com/repos/Morlinest/gitea/issues{/number}","pulls_url":"https://api.github.com/repos/Morlinest/gitea/pulls{/number}","milestones_url":"https://api.github.com/repos/Morlinest/gitea/milestones{/number}","notifications_url":"https://api.github.com/repos/Morlinest/gitea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Morlinest/gitea/labels{/name}","releases_url":"https://api.github.com/repos/Morlinest/gitea/releases{/id}","deployments_url":"https://api.github.com/repos/Morlinest/gitea/deployments","created_at":"2017-01-19T11:48:27Z","updated_at":"2017-01-19T11:48:29Z","pushed_at":"2017-08-20T20:30:24Z","git_url":"git://github.com/Morlinest/gitea.git","ssh_url":"git@github.com:Morlinest/gitea.git","clone_url":"https://github.com/Morlinest/gitea.git","svn_url":"https://github.com/Morlinest/gitea","homepage":"http://gitea.io","size":102892,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"go-gitea:master","ref":"master","sha":"100ec93a6535c4c219a0be4dffd7e74333954905","user":{"login":"go-gitea","id":12724356,"avatar_url":"https://avatars1.githubusercontent.com/u/12724356?v=4","gravatar_id":"","url":"https://api.github.com/users/go-gitea","html_url":"https://github.com/go-gitea","followers_url":"https://api.github.com/users/go-gitea/followers","following_url":"https://api.github.com/users/go-gitea/following{/other_user}","gists_url":"https://api.github.com/users/go-gitea/gists{/gist_id}","starred_url":"https://api.github.com/users/go-gitea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-gitea/subscriptions","organizations_url":"https://api.github.com/users/go-gitea/orgs","repos_url":"https://api.github.com/users/go-gitea/repos","events_url":"https://api.github.com/users/go-gitea/events{/privacy}","received_events_url":"https://api.github.com/users/go-gitea/received_events","type":"Organization","site_admin":false},"repo":{"id":72495579,"name":"gitea","full_name":"go-gitea/gitea","owner":{"login":"go-gitea","id":12724356,"avatar_url":"https://avatars1.githubusercontent.com/u/12724356?v=4","gravatar_id":"","url":"https://api.github.com/users/go-gitea","html_url":"https://github.com/go-gitea","followers_url":"https://api.github.com/users/go-gitea/followers","following_url":"https://api.github.com/users/go-gitea/following{/other_user}","gists_url":"https://api.github.com/users/go-gitea/gists{/gist_id}","starred_url":"https://api.github.com/users/go-gitea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-gitea/subscriptions","organizations_url":"https://api.github.com/users/go-gitea/orgs","repos_url":"https://api.github.com/users/go-gitea/repos","events_url":"https://api.github.com/users/go-gitea/events{/privacy}","received_events_url":"https://api.github.com/users/go-gitea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-gitea/gitea","description":"Gitea: Git with a cup of tea","fork":false,"url":"https://api.github.com/repos/go-gitea/gitea","forks_url":"https://api.github.com/repos/go-gitea/gitea/forks","keys_url":"https://api.github.com/repos/go-gitea/gitea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-gitea/gitea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-gitea/gitea/teams","hooks_url":"https://api.github.com/repos/go-gitea/gitea/hooks","issue_events_url":"https://api.github.com/repos/go-gitea/gitea/issues/events{/number}","events_url":"https://api.github.com/repos/go-gitea/gitea/events","assignees_url":"https://api.github.com/repos/go-gitea/gitea/assignees{/user}","branches_url":"https://api.github.com/repos/go-gitea/gitea/branches{/branch}","tags_url":"https://api.github.com/repos/go-gitea/gitea/tags","blobs_url":"https://api.github.com/repos/go-gitea/gitea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-gitea/gitea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-gitea/gitea/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-gitea/gitea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-gitea/gitea/statuses/{sha}","languages_url":"https://api.github.com/repos/go-gitea/gitea/languages","stargazers_url":"https://api.github.com/repos/go-gitea/gitea/stargazers","contributors_url":"https://api.github.com/repos/go-gitea/gitea/contributors","subscribers_url":"https://api.github.com/repos/go-gitea/gitea/subscribers","subscription_url":"https://api.github.com/repos/go-gitea/gitea/subscription","commits_url":"https://api.github.com/repos/go-gitea/gitea/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-gitea/gitea/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-gitea/gitea/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-gitea/gitea/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-gitea/gitea/contents/{+path}","compare_url":"https://api.github.com/repos/go-gitea/gitea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-gitea/gitea/merges","archive_url":"https://api.github.com/repos/go-gitea/gitea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-gitea/gitea/downloads","issues_url":"https://api.github.com/repos/go-gitea/gitea/issues{/number}","pulls_url":"https://api.github.com/repos/go-gitea/gitea/pulls{/number}","milestones_url":"https://api.github.com/repos/go-gitea/gitea/milestones{/number}","notifications_url":"https://api.github.com/repos/go-gitea/gitea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-gitea/gitea/labels{/name}","releases_url":"https://api.github.com/repos/go-gitea/gitea/releases{/id}","deployments_url":"https://api.github.com/repos/go-gitea/gitea/deployments","created_at":"2016-11-01T02:13:26Z","updated_at":"2017-08-21T10:05:44Z","pushed_at":"2017-08-21T19:13:41Z","git_url":"git://github.com/go-gitea/gitea.git","ssh_url":"git@github.com:go-gitea/gitea.git","clone_url":"https://github.com/go-gitea/gitea.git","svn_url":"https://github.com/go-gitea/gitea","homepage":"http://gitea.io","size":102993,"stargazers_count":3397,"watchers_count":3397,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":365,"mirror_url":null,"open_issues_count":476,"forks":365,"open_issues":476,"watchers":3397,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/2343"},"html":{"href":"https://github.com/go-gitea/gitea/pull/2343"},"issue":{"href":"https://api.github.com/repos/go-gitea/gitea/issues/2343"},"comments":{"href":"https://api.github.com/repos/go-gitea/gitea/issues/2343/comments"},"review_comments":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/2343/comments"},"review_comment":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/go-gitea/gitea/pulls/2343/commits"},"statuses":{"href":"https://api.github.com/repos/go-gitea/gitea/statuses/aa6a2c996252707a1ada79c52661e1f464bccee9"}}}}
{"actor":{"display_login":"Morlinest"}}