{"action":"created","comment":{"url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/comments/77442784","id":77442784,"diff_hunk":"@@ -0,0 +1,15 @@\n+(ns kixi.heimdall.group\n+  (:require [kixi.heimdall.components.database :as db]\n+            [kixi.heimdall.util :as util]\n+            [qbits.alia.uuid :as uuid]))\n+\n+(defn create!\n+  [session {:keys [owner_id] :as group}]\n+  (let [group-id (uuid/random)\n+        group-data (assoc group\n+                          :id group-id\n+                          :created (util/db-now)","path":"src/kixi/heimdall/group.clj","position":11,"original_position":11,"commit_id":"e7ece7cda5a929d91cbe9dba711bc5118379974b","original_commit_id":"e7ece7cda5a929d91cbe9dba711bc5118379974b","user":{"login":"elisehuard","id":8934,"avatar_url":"https://avatars.githubusercontent.com/u/8934?v=3","gravatar_id":"","url":"https://api.github.com/users/elisehuard","html_url":"https://github.com/elisehuard","followers_url":"https://api.github.com/users/elisehuard/followers","following_url":"https://api.github.com/users/elisehuard/following{/other_user}","gists_url":"https://api.github.com/users/elisehuard/gists{/gist_id}","starred_url":"https://api.github.com/users/elisehuard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elisehuard/subscriptions","organizations_url":"https://api.github.com/users/elisehuard/orgs","repos_url":"https://api.github.com/users/elisehuard/repos","events_url":"https://api.github.com/users/elisehuard/events{/privacy}","received_events_url":"https://api.github.com/users/elisehuard/received_events","type":"User","site_admin":false},"body":"groups should also have an optional name field, so we can have designated groups (GLA, etc etc)","created_at":"2016-09-03T20:37:21Z","updated_at":"2016-09-03T20:37:21Z","html_url":"https://github.com/MastodonC/kixi.heimdall/pull/13#discussion_r77442784","pull_request_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/comments/77442784"},"html":{"href":"https://github.com/MastodonC/kixi.heimdall/pull/13#discussion_r77442784"},"pull_request":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/13","id":83778733,"html_url":"https://github.com/MastodonC/kixi.heimdall/pull/13","diff_url":"https://github.com/MastodonC/kixi.heimdall/pull/13.diff","patch_url":"https://github.com/MastodonC/kixi.heimdall/pull/13.patch","issue_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/13","number":13,"state":"open","locked":false,"title":"WIP: add user groups","user":{"login":"Eleonore9","id":2502761,"avatar_url":"https://avatars.githubusercontent.com/u/2502761?v=3","gravatar_id":"","url":"https://api.github.com/users/Eleonore9","html_url":"https://github.com/Eleonore9","followers_url":"https://api.github.com/users/Eleonore9/followers","following_url":"https://api.github.com/users/Eleonore9/following{/other_user}","gists_url":"https://api.github.com/users/Eleonore9/gists{/gist_id}","starred_url":"https://api.github.com/users/Eleonore9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eleonore9/subscriptions","organizations_url":"https://api.github.com/users/Eleonore9/orgs","repos_url":"https://api.github.com/users/Eleonore9/repos","events_url":"https://api.github.com/users/Eleonore9/events{/privacy}","received_events_url":"https://api.github.com/users/Eleonore9/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-02T10:25:14Z","updated_at":"2016-09-03T20:37:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e213571cd8b5703d065b0027f6d510ba773c0db","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/13/commits","review_comments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/13/comments","review_comment_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/13/comments","statuses_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/statuses/e7ece7cda5a929d91cbe9dba711bc5118379974b","head":{"label":"MastodonC:feature/add-user-groups","ref":"feature/add-user-groups","sha":"e7ece7cda5a929d91cbe9dba711bc5118379974b","user":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"repo":{"id":65217657,"name":"kixi.heimdall","full_name":"MastodonC/kixi.heimdall","owner":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MastodonC/kixi.heimdall","description":"kixi.heimdall","fork":false,"url":"https://api.github.com/repos/MastodonC/kixi.heimdall","forks_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/forks","keys_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/teams","hooks_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/hooks","issue_events_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/events{/number}","events_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/events","assignees_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/assignees{/user}","branches_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/branches{/branch}","tags_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/tags","blobs_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/refs{/sha}","trees_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/statuses/{sha}","languages_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/languages","stargazers_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/stargazers","contributors_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/contributors","subscribers_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/subscribers","subscription_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/subscription","commits_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/commits{/sha}","git_commits_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/commits{/sha}","comments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/comments{/number}","issue_comment_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/comments{/number}","contents_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/contents/{+path}","compare_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/merges","archive_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/downloads","issues_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues{/number}","pulls_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls{/number}","milestones_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/milestones{/number}","notifications_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/labels{/name}","releases_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/releases{/id}","deployments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/deployments","created_at":"2016-08-08T15:51:34Z","updated_at":"2016-08-08T15:52:46Z","pushed_at":"2016-09-02T17:21:44Z","git_url":"git://github.com/MastodonC/kixi.heimdall.git","ssh_url":"git@github.com:MastodonC/kixi.heimdall.git","clone_url":"https://github.com/MastodonC/kixi.heimdall.git","svn_url":"https://github.com/MastodonC/kixi.heimdall","homepage":null,"size":782,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"MastodonC:master","ref":"master","sha":"10ee5d93f262791f9e534a5af623beb9354fe98c","user":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"repo":{"id":65217657,"name":"kixi.heimdall","full_name":"MastodonC/kixi.heimdall","owner":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MastodonC/kixi.heimdall","description":"kixi.heimdall","fork":false,"url":"https://api.github.com/repos/MastodonC/kixi.heimdall","forks_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/forks","keys_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/teams","hooks_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/hooks","issue_events_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/events{/number}","events_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/events","assignees_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/assignees{/user}","branches_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/branches{/branch}","tags_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/tags","blobs_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/refs{/sha}","trees_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/statuses/{sha}","languages_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/languages","stargazers_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/stargazers","contributors_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/contributors","subscribers_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/subscribers","subscription_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/subscription","commits_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/commits{/sha}","git_commits_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/commits{/sha}","comments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/comments{/number}","issue_comment_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/comments{/number}","contents_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/contents/{+path}","compare_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/merges","archive_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/downloads","issues_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues{/number}","pulls_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls{/number}","milestones_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/milestones{/number}","notifications_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/labels{/name}","releases_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/releases{/id}","deployments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/deployments","created_at":"2016-08-08T15:51:34Z","updated_at":"2016-08-08T15:52:46Z","pushed_at":"2016-09-02T17:21:44Z","git_url":"git://github.com/MastodonC/kixi.heimdall.git","ssh_url":"git@github.com:MastodonC/kixi.heimdall.git","clone_url":"https://github.com/MastodonC/kixi.heimdall.git","svn_url":"https://github.com/MastodonC/kixi.heimdall","homepage":null,"size":782,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/13"},"html":{"href":"https://github.com/MastodonC/kixi.heimdall/pull/13"},"issue":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/13"},"comments":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/statuses/e7ece7cda5a929d91cbe9dba711bc5118379974b"}}}}
{"actor":{"display_login":"elisehuard"}}