{"action":"created","comment":{"url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/comments/116936149","pull_request_review_id":38595802,"id":116936149,"diff_hunk":"@@ -0,0 +1,190 @@\n+define(function (require) {\n+  var OriginView = require('coreJS/app/views/originView');\n+  var Origin = require('coreJS/app/origin');\n+\n+  var TenantView = OriginView.extend({\n+    tagName: 'div',\n+    className: function () {\n+      var className = 'tenant-item tb-row' + ' ' + this.model.get('_id');\n+      return className;\n+    },\n+    isSelected: false,\n+\n+    events: {\n+      'click': 'onClicked',\n+      'click a.edit': 'onEditClicked',\n+      'click a.save': 'onSaveClicked',\n+      'click a.cancel': 'onCancelClicked',\n+\n+      'click button.disableTenant': 'onDisableTenantClicked',\n+      'click button.enableTenant': 'onEnableClicked'\n+    },\n+\n+    preRender: function () {\n+      this.listenTo(Origin, 'tenantManagement:tenant:reset', this.resetView);\n+      this.listenTo(this.model, 'destroy', this.remove);\n+      this.listenTo(this, 'remove', this.remove);\n+    },\n+\n+    render: function () {\n+      OriginView.prototype.render.apply(this, arguments);\n+      this.applyStyles();\n+    },\n+\n+    applyStyles: function () {\n+      if (this.model.get('_isDeleted') === true) {\n+        this.$el.addClass('inactive');\n+      } else {\n+        this.$el.removeClass('inactive');\n+      }\n+\n+      if (this.isSelected) {\n+        this.$el.addClass('selected');\n+        this.$('.edit-mode').removeClass('display-none');\n+        this.$('.write').addClass('display-none');\n+      } else {\n+        this.$el.removeClass('selected');\n+        this.$('.edit-mode').addClass('display-none');\n+        this.$('.write').addClass('display-none');\n+      }\n+    },\n+\n+    resetView: function () {\n+      if (this.isSelected) {\n+        this.isSelected = false;\n+        this.applyStyles();\n+      }\n+    },\n+\n+    setEditMode: function () {\n+      this.editMode = true;\n+      this.applyStyles();\n+    },\n+\n+    setViewMode: function () {\n+      this.editMode = false;\n+      this.applyStyles();\n+    },\n+\n+    getColumnFromDiv: function (div) {\n+      return $(div).closest('.tb-col-inner');\n+    },\n+\n+    getInputFromDiv: function (div) {\n+      return $('.input', this.getColumnFromDiv(div));\n+    },\n+\n+    disableFieldEdit: function (div) {\n+      $('.read', div).removeClass('display-none');\n+      $('.write', div).addClass('display-none');\n+    },\n+\n+    enableFieldEdit: function (div) {\n+      $('.read', div).addClass('display-none');\n+      $('.write', div).removeClass('display-none').children('input').focus();\n+    },\n+\n+    onEditClicked: function (event) {\n+      event && event.preventDefault();\n+\n+      var $column = this.getColumnFromDiv(event.currentTarget);\n+\n+      // disable any existing inputs first\n+      this.disableFieldEdit(this.$el);\n+      this.enableFieldEdit($column);\n+      var $input = this.getInputFromDiv($column);\n+      var inputType = $input.attr('type');\n+      if (inputType === 'text' || inputType === 'email') {\n+        $input.val(this.model.get($input.attr('data-modelKey')));\n+      }\n+    },\n+\n+    onClicked: function (event) {\n+      if (!this.isSelected) {\n+        Origin.trigger('tenantManagement:tenant:reset');\n+        this.isSelected = true;\n+        this.applyStyles();\n+      }\n+    },\n+\n+    onSaveClicked: function (event) {\n+      event && event.preventDefault();\n+\n+      var $column = this.getColumnFromDiv(event.currentTarget);\n+      this.disableFieldEdit($column);\n+\n+      // save if not the same as old value\n+      var $input = this.getInputFromDiv($column);\n+      if ($input.val() && this.model.get($input.attr('data-modelKey')) !== $input.val()) {\n+        this.updateModel($input.attr('data-modelKey'), $input.val());\n+      }\n+    },\n+\n+    onCancelClicked: function (event) {\n+      event && event.preventDefault();\n+      this.disableFieldEdit(this.getColumnFromDiv(event.currentTarget));\n+    },\n+\n+    onDisableTenantClicked: function (event) {\n+      var self = this;\n+      Origin.Notify.confirm({\n+        type: 'confirm',\n+        text: window.polyglot.t('app.disabletenantconfirm') + ' ' + this.model.get('name'),\n+        callback: function (confirmed) {\n+          if (confirmed) {\n+            self.disableTenant(event);\n+          }\n+        }\n+      });\n+    },\n+\n+    disableTenant: function (event) {\n+      this.updateModel('_isDeleted', true);\n+    },\n+\n+    onEnableClicked: function (event) {\n+      var self = this;\n+      Origin.Notify.confirm({\n+        type: 'confirm',\n+        text: window.polyglot.t('app.enabletenantconfirm') + ' ' + this.model.get('name'),\n+        callback: function (confirmed) {\n+          if (confirmed) {\n+            self.enableTenant(event);\n+          }\n+        }\n+      });\n+    },\n+\n+    enableTenant: function (event) {\n+      this.updateModel('_isDeleted', false);\n+    },\n+\n+    updateModel: function (key, value) {\n+      var self = this;\n+      var toSave = {};\n+      toSave[key] = value;\n+      this.model.save(toSave, {\n+        patch: true,\n+        wait: true,\n+        success: function () {\n+          Origin.trigger('tenantManagement:tenant:reset');\n+        },\n+        error: function (err) {\n+          return self.onError(window.polyglot.t('app.updatetenanterror'));\n+        }\n+      });\n+    },\n+\n+    onError: function (error) {\n+      Origin.Notify.alert({\n+        type: 'error',\n+        text: error.message || error\n+      });\n+    }\n+","path":"frontend/src/plugins/tenantManagement/views/tenantView.js","position":184,"original_position":184,"commit_id":"65720f1c44264ec49b90df97302198a8b1e2c733","original_commit_id":"65720f1c44264ec49b90df97302198a8b1e2c733","user":{"login":"taylortom","id":1059083,"avatar_url":"https://avatars1.githubusercontent.com/u/1059083?v=3","gravatar_id":"","url":"https://api.github.com/users/taylortom","html_url":"https://github.com/taylortom","followers_url":"https://api.github.com/users/taylortom/followers","following_url":"https://api.github.com/users/taylortom/following{/other_user}","gists_url":"https://api.github.com/users/taylortom/gists{/gist_id}","starred_url":"https://api.github.com/users/taylortom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylortom/subscriptions","organizations_url":"https://api.github.com/users/taylortom/orgs","repos_url":"https://api.github.com/users/taylortom/repos","events_url":"https://api.github.com/users/taylortom/events{/privacy}","received_events_url":"https://api.github.com/users/taylortom/received_events","type":"User","site_admin":false},"body":"Whitespace looks a bit off down here","created_at":"2017-05-17T08:15:06Z","updated_at":"2017-05-17T08:17:19Z","html_url":"https://github.com/adaptlearning/adapt_authoring/pull/1637#discussion_r116936149","pull_request_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/1637","_links":{"self":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/comments/116936149"},"html":{"href":"https://github.com/adaptlearning/adapt_authoring/pull/1637#discussion_r116936149"},"pull_request":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/1637"}}},"pull_request":{"url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/1637","id":120995454,"html_url":"https://github.com/adaptlearning/adapt_authoring/pull/1637","diff_url":"https://github.com/adaptlearning/adapt_authoring/pull/1637.diff","patch_url":"https://github.com/adaptlearning/adapt_authoring/pull/1637.patch","issue_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/1637","number":1637,"state":"open","locked":false,"title":"Tenant management","user":{"login":"taylortom","id":1059083,"avatar_url":"https://avatars1.githubusercontent.com/u/1059083?v=3","gravatar_id":"","url":"https://api.github.com/users/taylortom","html_url":"https://github.com/taylortom","followers_url":"https://api.github.com/users/taylortom/followers","following_url":"https://api.github.com/users/taylortom/following{/other_user}","gists_url":"https://api.github.com/users/taylortom/gists{/gist_id}","starred_url":"https://api.github.com/users/taylortom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylortom/subscriptions","organizations_url":"https://api.github.com/users/taylortom/orgs","repos_url":"https://api.github.com/users/taylortom/repos","events_url":"https://api.github.com/users/taylortom/events{/privacy}","received_events_url":"https://api.github.com/users/taylortom/received_events","type":"User","site_admin":false},"body":"Tenant management MVP 0.0.1\r\n\r\n### Requirements:\r\n- [x] Super admin: Able to view existing tenancies\r\n- [x] Super admin: Able to create new tenancies\r\n- [x] Super admin: Able to update existing tenancies\r\n- [ ] Super admin: Able to delete existing tenancies\r\n- [x] Super admin: Able to transfer an individual user from one tenant to another\r\n- [ ] Tenant admin: Able to view users in the tenancy\r\n- [ ] Tenant admin: Able to create new users in the tenancy\r\n- [ ] Tenant admin: Able to update existing users in the tenancy\r\n- [ ] Tenant admin: Able to delete existing users from the tenancy\r\n- [ ] Tenant admin: Able to assign tenancy-scope system roles to users within the tenancy\r\n- [ ] Tenant admin: Able to unassign tenancy-scope system roles to users within the tenancy\r\n- [ ] Tenant admin: Able to remove any course in the tenancy\r\n- [ ] Tenant admin: Able to change the owner of any course in the tenancy\r\n\r\n### Other\r\n- [ ] Update to fit with final user management UI (specifically the removal of edit mode)\r\n- [ ] Remove space plugin\r\n- [ ] Should tenant admin be able to access tenant management for their own tenant? (to change name etc.)\r\n\r\nAlso see https://github.com/adaptlearning/adapt_authoring/pull/1458 for previous conversation thread.","created_at":"2017-05-17T07:59:44Z","updated_at":"2017-05-17T08:17:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"aniketdharia","id":5195781,"avatar_url":"https://avatars0.githubusercontent.com/u/5195781?v=3","gravatar_id":"","url":"https://api.github.com/users/aniketdharia","html_url":"https://github.com/aniketdharia","followers_url":"https://api.github.com/users/aniketdharia/followers","following_url":"https://api.github.com/users/aniketdharia/following{/other_user}","gists_url":"https://api.github.com/users/aniketdharia/gists{/gist_id}","starred_url":"https://api.github.com/users/aniketdharia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniketdharia/subscriptions","organizations_url":"https://api.github.com/users/aniketdharia/orgs","repos_url":"https://api.github.com/users/aniketdharia/repos","events_url":"https://api.github.com/users/aniketdharia/events{/privacy}","received_events_url":"https://api.github.com/users/aniketdharia/received_events","type":"User","site_admin":false},"assignees":[{"login":"aniketdharia","id":5195781,"avatar_url":"https://avatars0.githubusercontent.com/u/5195781?v=3","gravatar_id":"","url":"https://api.github.com/users/aniketdharia","html_url":"https://github.com/aniketdharia","followers_url":"https://api.github.com/users/aniketdharia/followers","following_url":"https://api.github.com/users/aniketdharia/following{/other_user}","gists_url":"https://api.github.com/users/aniketdharia/gists{/gist_id}","starred_url":"https://api.github.com/users/aniketdharia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniketdharia/subscriptions","organizations_url":"https://api.github.com/users/aniketdharia/orgs","repos_url":"https://api.github.com/users/aniketdharia/repos","events_url":"https://api.github.com/users/aniketdharia/events{/privacy}","received_events_url":"https://api.github.com/users/aniketdharia/received_events","type":"User","site_admin":false},{"login":"ambadasavhad","id":16382236,"avatar_url":"https://avatars2.githubusercontent.com/u/16382236?v=3","gravatar_id":"","url":"https://api.github.com/users/ambadasavhad","html_url":"https://github.com/ambadasavhad","followers_url":"https://api.github.com/users/ambadasavhad/followers","following_url":"https://api.github.com/users/ambadasavhad/following{/other_user}","gists_url":"https://api.github.com/users/ambadasavhad/gists{/gist_id}","starred_url":"https://api.github.com/users/ambadasavhad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambadasavhad/subscriptions","organizations_url":"https://api.github.com/users/ambadasavhad/orgs","repos_url":"https://api.github.com/users/ambadasavhad/repos","events_url":"https://api.github.com/users/ambadasavhad/events{/privacy}","received_events_url":"https://api.github.com/users/ambadasavhad/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/1637/commits","review_comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/1637/comments","review_comment_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/1637/comments","statuses_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/65720f1c44264ec49b90df97302198a8b1e2c733","head":{"label":"adaptlearning:tenant-management","ref":"tenant-management","sha":"65720f1c44264ec49b90df97302198a8b1e2c733","user":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars2.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"repo":{"id":13562581,"name":"adapt_authoring","full_name":"adaptlearning/adapt_authoring","owner":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars2.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adaptlearning/adapt_authoring","description":"A server-based user interface for authoring eLearning courses using the Adapt Framework.","fork":false,"url":"https://api.github.com/repos/adaptlearning/adapt_authoring","forks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/forks","keys_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/teams","hooks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/hooks","issue_events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/events{/number}","events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/events","assignees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/assignees{/user}","branches_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/branches{/branch}","tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/tags","blobs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/{sha}","languages_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/languages","stargazers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/stargazers","contributors_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contributors","subscribers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscribers","subscription_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscription","commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contents/{+path}","compare_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/merges","archive_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/downloads","issues_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues{/number}","pulls_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls{/number}","milestones_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/milestones{/number}","notifications_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/labels{/name}","releases_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/releases{/id}","deployments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/deployments","created_at":"2013-10-14T13:52:24Z","updated_at":"2017-05-02T04:27:20Z","pushed_at":"2017-05-17T07:59:44Z","git_url":"git://github.com/adaptlearning/adapt_authoring.git","ssh_url":"git@github.com:adaptlearning/adapt_authoring.git","clone_url":"https://github.com/adaptlearning/adapt_authoring.git","svn_url":"https://github.com/adaptlearning/adapt_authoring","homepage":"https://www.adaptlearning.org/","size":43131,"stargazers_count":123,"watchers_count":123,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":113,"mirror_url":null,"open_issues_count":291,"forks":113,"open_issues":291,"watchers":123,"default_branch":"master"}},"base":{"label":"adaptlearning:develop","ref":"develop","sha":"9052b3ed1cd1e675b46d97d6b87ce9b7dc45064e","user":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars2.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"repo":{"id":13562581,"name":"adapt_authoring","full_name":"adaptlearning/adapt_authoring","owner":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars2.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adaptlearning/adapt_authoring","description":"A server-based user interface for authoring eLearning courses using the Adapt Framework.","fork":false,"url":"https://api.github.com/repos/adaptlearning/adapt_authoring","forks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/forks","keys_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/teams","hooks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/hooks","issue_events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/events{/number}","events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/events","assignees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/assignees{/user}","branches_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/branches{/branch}","tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/tags","blobs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/{sha}","languages_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/languages","stargazers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/stargazers","contributors_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contributors","subscribers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscribers","subscription_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscription","commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contents/{+path}","compare_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/merges","archive_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/downloads","issues_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues{/number}","pulls_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls{/number}","milestones_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/milestones{/number}","notifications_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/labels{/name}","releases_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/releases{/id}","deployments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/deployments","created_at":"2013-10-14T13:52:24Z","updated_at":"2017-05-02T04:27:20Z","pushed_at":"2017-05-17T07:59:44Z","git_url":"git://github.com/adaptlearning/adapt_authoring.git","ssh_url":"git@github.com:adaptlearning/adapt_authoring.git","clone_url":"https://github.com/adaptlearning/adapt_authoring.git","svn_url":"https://github.com/adaptlearning/adapt_authoring","homepage":"https://www.adaptlearning.org/","size":43131,"stargazers_count":123,"watchers_count":123,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":113,"mirror_url":null,"open_issues_count":291,"forks":113,"open_issues":291,"watchers":123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/1637"},"html":{"href":"https://github.com/adaptlearning/adapt_authoring/pull/1637"},"issue":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/1637"},"comments":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/1637/comments"},"review_comments":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/1637/comments"},"review_comment":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/1637/commits"},"statuses":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/65720f1c44264ec49b90df97302198a8b1e2c733"}}}}
{"actor":{"display_login":"taylortom"}}