{"action":"created","comment":{"url":"https://api.github.com/repos/hasgeek/hasjob/pulls/comments/176711117","pull_request_review_id":106460960,"id":176711117,"diff_hunk":"@@ -0,0 +1,63 @@\n+# -*- coding: utf-8 -*-\n+\n+from flask import flash, g\n+from coaster.views import route, viewdata, UrlForView, InstanceLoader, ModelView\n+from baseframe import __\n+from baseframe.forms import render_form, render_redirect\n+from .. import app, lastuser\n+from ..models import db, Filterset\n+from ..forms import FiltersetForm\n+from .admin import AdminView\n+\n+\n+@route('/f')\n+class AdminFilterset(AdminView):\n+    __decorators__ = [lastuser.requires_permission('siteadmin')]\n+\n+    @route('new', methods=['GET', 'POST'])\n+    @viewdata(tab=True, index=4, title=__(\"New\"))","path":"hasjob/views/admin_filterset.py","position":18,"original_position":18,"commit_id":"e580c086ed08debb2210f7c5834f303c58df8a0b","original_commit_id":"e580c086ed08debb2210f7c5834f303c58df8a0b","user":{"login":"jace","id":26695,"avatar_url":"https://avatars1.githubusercontent.com/u/26695?v=4","gravatar_id":"","url":"https://api.github.com/users/jace","html_url":"https://github.com/jace","followers_url":"https://api.github.com/users/jace/followers","following_url":"https://api.github.com/users/jace/following{/other_user}","gists_url":"https://api.github.com/users/jace/gists{/gist_id}","starred_url":"https://api.github.com/users/jace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jace/subscriptions","organizations_url":"https://api.github.com/users/jace/orgs","repos_url":"https://api.github.com/users/jace/repos","events_url":"https://api.github.com/users/jace/events{/privacy}","received_events_url":"https://api.github.com/users/jace/received_events","type":"User","site_admin":false},"body":"Why `index=4`?","created_at":"2018-03-23T11:48:33Z","updated_at":"2018-03-23T11:49:40Z","html_url":"https://github.com/hasgeek/hasjob/pull/430#discussion_r176711117","pull_request_url":"https://api.github.com/repos/hasgeek/hasjob/pulls/430","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/comments/176711117"},"html":{"href":"https://github.com/hasgeek/hasjob/pull/430#discussion_r176711117"},"pull_request":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/430"}}},"pull_request":{"url":"https://api.github.com/repos/hasgeek/hasjob/pulls/430","id":176796020,"html_url":"https://github.com/hasgeek/hasjob/pull/430","diff_url":"https://github.com/hasgeek/hasjob/pull/430.diff","patch_url":"https://github.com/hasgeek/hasjob/pull/430.patch","issue_url":"https://api.github.com/repos/hasgeek/hasjob/issues/430","number":430,"state":"open","locked":false,"title":"Admin UI for Filtersets","user":{"login":"shreyas-satish","id":380688,"avatar_url":"https://avatars2.githubusercontent.com/u/380688?v=4","gravatar_id":"","url":"https://api.github.com/users/shreyas-satish","html_url":"https://github.com/shreyas-satish","followers_url":"https://api.github.com/users/shreyas-satish/followers","following_url":"https://api.github.com/users/shreyas-satish/following{/other_user}","gists_url":"https://api.github.com/users/shreyas-satish/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyas-satish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyas-satish/subscriptions","organizations_url":"https://api.github.com/users/shreyas-satish/orgs","repos_url":"https://api.github.com/users/shreyas-satish/repos","events_url":"https://api.github.com/users/shreyas-satish/events{/privacy}","received_events_url":"https://api.github.com/users/shreyas-satish/received_events","type":"User","site_admin":false},"body":"- Adds a user interface to create and edit filtersets\r\n- Fixes the `from_filters` query w.r.t types and categories.","created_at":"2018-03-22T14:27:56Z","updated_at":"2018-03-23T11:49:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb806db0024192a850edd1e611cb5fa0f65356cc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hasgeek/hasjob/pulls/430/commits","review_comments_url":"https://api.github.com/repos/hasgeek/hasjob/pulls/430/comments","review_comment_url":"https://api.github.com/repos/hasgeek/hasjob/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hasgeek/hasjob/issues/430/comments","statuses_url":"https://api.github.com/repos/hasgeek/hasjob/statuses/e580c086ed08debb2210f7c5834f303c58df8a0b","head":{"label":"hasgeek:filterset_admin_ui","ref":"filterset_admin_ui","sha":"e580c086ed08debb2210f7c5834f303c58df8a0b","user":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars2.githubusercontent.com/u/443850?v=4","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"repo":{"id":1644676,"name":"hasjob","full_name":"hasgeek/hasjob","owner":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars2.githubusercontent.com/u/443850?v=4","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hasgeek/hasjob","description":"Hasjob, the HasGeek job board","fork":false,"url":"https://api.github.com/repos/hasgeek/hasjob","forks_url":"https://api.github.com/repos/hasgeek/hasjob/forks","keys_url":"https://api.github.com/repos/hasgeek/hasjob/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasgeek/hasjob/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasgeek/hasjob/teams","hooks_url":"https://api.github.com/repos/hasgeek/hasjob/hooks","issue_events_url":"https://api.github.com/repos/hasgeek/hasjob/issues/events{/number}","events_url":"https://api.github.com/repos/hasgeek/hasjob/events","assignees_url":"https://api.github.com/repos/hasgeek/hasjob/assignees{/user}","branches_url":"https://api.github.com/repos/hasgeek/hasjob/branches{/branch}","tags_url":"https://api.github.com/repos/hasgeek/hasjob/tags","blobs_url":"https://api.github.com/repos/hasgeek/hasjob/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasgeek/hasjob/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasgeek/hasjob/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasgeek/hasjob/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasgeek/hasjob/statuses/{sha}","languages_url":"https://api.github.com/repos/hasgeek/hasjob/languages","stargazers_url":"https://api.github.com/repos/hasgeek/hasjob/stargazers","contributors_url":"https://api.github.com/repos/hasgeek/hasjob/contributors","subscribers_url":"https://api.github.com/repos/hasgeek/hasjob/subscribers","subscription_url":"https://api.github.com/repos/hasgeek/hasjob/subscription","commits_url":"https://api.github.com/repos/hasgeek/hasjob/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasgeek/hasjob/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasgeek/hasjob/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasgeek/hasjob/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasgeek/hasjob/contents/{+path}","compare_url":"https://api.github.com/repos/hasgeek/hasjob/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasgeek/hasjob/merges","archive_url":"https://api.github.com/repos/hasgeek/hasjob/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasgeek/hasjob/downloads","issues_url":"https://api.github.com/repos/hasgeek/hasjob/issues{/number}","pulls_url":"https://api.github.com/repos/hasgeek/hasjob/pulls{/number}","milestones_url":"https://api.github.com/repos/hasgeek/hasjob/milestones{/number}","notifications_url":"https://api.github.com/repos/hasgeek/hasjob/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasgeek/hasjob/labels{/name}","releases_url":"https://api.github.com/repos/hasgeek/hasjob/releases{/id}","deployments_url":"https://api.github.com/repos/hasgeek/hasjob/deployments","created_at":"2011-04-21T09:29:49Z","updated_at":"2018-03-22T17:45:41Z","pushed_at":"2018-03-23T11:01:56Z","git_url":"git://github.com/hasgeek/hasjob.git","ssh_url":"git@github.com:hasgeek/hasjob.git","clone_url":"https://github.com/hasgeek/hasjob.git","svn_url":"https://github.com/hasgeek/hasjob","homepage":"https://hasjob.co","size":17005,"stargazers_count":172,"watchers_count":172,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"archived":false,"open_issues_count":142,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":76,"open_issues":142,"watchers":172,"default_branch":"master"}},"base":{"label":"hasgeek:master","ref":"master","sha":"ab6e58f1e2eaa83a4ea4b2b27a64d6ae54a34ade","user":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars2.githubusercontent.com/u/443850?v=4","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"repo":{"id":1644676,"name":"hasjob","full_name":"hasgeek/hasjob","owner":{"login":"hasgeek","id":443850,"avatar_url":"https://avatars2.githubusercontent.com/u/443850?v=4","gravatar_id":"","url":"https://api.github.com/users/hasgeek","html_url":"https://github.com/hasgeek","followers_url":"https://api.github.com/users/hasgeek/followers","following_url":"https://api.github.com/users/hasgeek/following{/other_user}","gists_url":"https://api.github.com/users/hasgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/hasgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasgeek/subscriptions","organizations_url":"https://api.github.com/users/hasgeek/orgs","repos_url":"https://api.github.com/users/hasgeek/repos","events_url":"https://api.github.com/users/hasgeek/events{/privacy}","received_events_url":"https://api.github.com/users/hasgeek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hasgeek/hasjob","description":"Hasjob, the HasGeek job board","fork":false,"url":"https://api.github.com/repos/hasgeek/hasjob","forks_url":"https://api.github.com/repos/hasgeek/hasjob/forks","keys_url":"https://api.github.com/repos/hasgeek/hasjob/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hasgeek/hasjob/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hasgeek/hasjob/teams","hooks_url":"https://api.github.com/repos/hasgeek/hasjob/hooks","issue_events_url":"https://api.github.com/repos/hasgeek/hasjob/issues/events{/number}","events_url":"https://api.github.com/repos/hasgeek/hasjob/events","assignees_url":"https://api.github.com/repos/hasgeek/hasjob/assignees{/user}","branches_url":"https://api.github.com/repos/hasgeek/hasjob/branches{/branch}","tags_url":"https://api.github.com/repos/hasgeek/hasjob/tags","blobs_url":"https://api.github.com/repos/hasgeek/hasjob/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hasgeek/hasjob/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hasgeek/hasjob/git/refs{/sha}","trees_url":"https://api.github.com/repos/hasgeek/hasjob/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hasgeek/hasjob/statuses/{sha}","languages_url":"https://api.github.com/repos/hasgeek/hasjob/languages","stargazers_url":"https://api.github.com/repos/hasgeek/hasjob/stargazers","contributors_url":"https://api.github.com/repos/hasgeek/hasjob/contributors","subscribers_url":"https://api.github.com/repos/hasgeek/hasjob/subscribers","subscription_url":"https://api.github.com/repos/hasgeek/hasjob/subscription","commits_url":"https://api.github.com/repos/hasgeek/hasjob/commits{/sha}","git_commits_url":"https://api.github.com/repos/hasgeek/hasjob/git/commits{/sha}","comments_url":"https://api.github.com/repos/hasgeek/hasjob/comments{/number}","issue_comment_url":"https://api.github.com/repos/hasgeek/hasjob/issues/comments{/number}","contents_url":"https://api.github.com/repos/hasgeek/hasjob/contents/{+path}","compare_url":"https://api.github.com/repos/hasgeek/hasjob/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hasgeek/hasjob/merges","archive_url":"https://api.github.com/repos/hasgeek/hasjob/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hasgeek/hasjob/downloads","issues_url":"https://api.github.com/repos/hasgeek/hasjob/issues{/number}","pulls_url":"https://api.github.com/repos/hasgeek/hasjob/pulls{/number}","milestones_url":"https://api.github.com/repos/hasgeek/hasjob/milestones{/number}","notifications_url":"https://api.github.com/repos/hasgeek/hasjob/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hasgeek/hasjob/labels{/name}","releases_url":"https://api.github.com/repos/hasgeek/hasjob/releases{/id}","deployments_url":"https://api.github.com/repos/hasgeek/hasjob/deployments","created_at":"2011-04-21T09:29:49Z","updated_at":"2018-03-22T17:45:41Z","pushed_at":"2018-03-23T11:01:56Z","git_url":"git://github.com/hasgeek/hasjob.git","ssh_url":"git@github.com:hasgeek/hasjob.git","clone_url":"https://github.com/hasgeek/hasjob.git","svn_url":"https://github.com/hasgeek/hasjob","homepage":"https://hasjob.co","size":17005,"stargazers_count":172,"watchers_count":172,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"archived":false,"open_issues_count":142,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":76,"open_issues":142,"watchers":172,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/430"},"html":{"href":"https://github.com/hasgeek/hasjob/pull/430"},"issue":{"href":"https://api.github.com/repos/hasgeek/hasjob/issues/430"},"comments":{"href":"https://api.github.com/repos/hasgeek/hasjob/issues/430/comments"},"review_comments":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/430/comments"},"review_comment":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hasgeek/hasjob/pulls/430/commits"},"statuses":{"href":"https://api.github.com/repos/hasgeek/hasjob/statuses/e580c086ed08debb2210f7c5834f303c58df8a0b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jace"}}