{"action":"created","comment":{"url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/comments/28867571","id":28867571,"diff_hunk":"@@ -31,28 +31,15 @@ function islandora_usage_stats_admin_settings() {\n \n   $form['usage']['islandora_usage_stats_cooldown_seconds'] = array(\n     '#type' => 'textfield',\n-    '#title' => 'Cooldown time (in seconds)',\n+    '#title' => t('Cooldown time'),\n     '#description' => t('The number of seconds to wait before counting a repeated view request from the same IP'),\n     '#default_value' => variable_get('islandora_usage_stats_cooldown_seconds', '300'),\n   );\n-  $form['usage']['islandora_usage_stats_alter_pdf_display'] = array(\n-    '#type' => 'checkbox',\n-    '#title' => t('Alter PDF Display'),\n-    '#description' => t('Whether or not to alter the PDF display to include usage stats.'),\n-    '#default_value' => variable_get('islandora_usage_stats_alter_pdf_display', FALSE),\n-  );\n-\n-  $form['usage']['islandora_usage_stats_use_access_log'] = array(\n-    '#type' => 'checkbox',\n-    '#title' => 'Enable view and download log *REQUIRED FOR RECENT ACTIVITY BLOCK*',\n-    '#description' => t('Keep a log of all object view/download activity'),\n-    '#default_value' => variable_get('islandora_usage_stats_use_access_log', '1'),\n-  );\n \n   $form['usage']['islandora_usage_stats_exclude_bots'] = array(\n     '#type' => 'checkbox',\n-    '#title' => 'Exclude common bots to avoid artifical view count inflation',\n-    '#description' => t('Exclude bots who play nicely from view counts'),\n+    '#title' => t('Exlude bots'),","path":"includes/admin.form.inc","position":27,"original_position":27,"commit_id":"636a302a9817be62eeaeb2a111894df5b685eab9","original_commit_id":"636a302a9817be62eeaeb2a111894df5b685eab9","user":{"login":"jordandukart","id":1337738,"avatar_url":"https://avatars.githubusercontent.com/u/1337738?v=3","gravatar_id":"","url":"https://api.github.com/users/jordandukart","html_url":"https://github.com/jordandukart","followers_url":"https://api.github.com/users/jordandukart/followers","following_url":"https://api.github.com/users/jordandukart/following{/other_user}","gists_url":"https://api.github.com/users/jordandukart/gists{/gist_id}","starred_url":"https://api.github.com/users/jordandukart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordandukart/subscriptions","organizations_url":"https://api.github.com/users/jordandukart/orgs","repos_url":"https://api.github.com/users/jordandukart/repos","events_url":"https://api.github.com/users/jordandukart/events{/privacy}","received_events_url":"https://api.github.com/users/jordandukart/received_events","type":"User","site_admin":false},"body":"`Exlude.`","created_at":"2015-04-22T12:38:20Z","updated_at":"2015-04-22T12:38:20Z","html_url":"https://github.com/discoverygarden/islandora_usage_stats/pull/29#discussion_r28867571","pull_request_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/comments/28867571"},"html":{"href":"https://github.com/discoverygarden/islandora_usage_stats/pull/29#discussion_r28867571"},"pull_request":{"href":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/29","id":33795044,"html_url":"https://github.com/discoverygarden/islandora_usage_stats/pull/29","diff_url":"https://github.com/discoverygarden/islandora_usage_stats/pull/29.diff","patch_url":"https://github.com/discoverygarden/islandora_usage_stats/pull/29.patch","issue_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/issues/29","number":29,"state":"open","locked":false,"title":"Large rework.","user":{"login":"willtp87","id":688918,"avatar_url":"https://avatars.githubusercontent.com/u/688918?v=3","gravatar_id":"","url":"https://api.github.com/users/willtp87","html_url":"https://github.com/willtp87","followers_url":"https://api.github.com/users/willtp87/followers","following_url":"https://api.github.com/users/willtp87/following{/other_user}","gists_url":"https://api.github.com/users/willtp87/gists{/gist_id}","starred_url":"https://api.github.com/users/willtp87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willtp87/subscriptions","organizations_url":"https://api.github.com/users/willtp87/orgs","repos_url":"https://api.github.com/users/willtp87/repos","events_url":"https://api.github.com/users/willtp87/events{/privacy}","received_events_url":"https://api.github.com/users/willtp87/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-21T19:31:53Z","updated_at":"2015-04-22T12:38:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40f87c30e8b1aad4db68961e26c9740aab8187ae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/29/commits","review_comments_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/29/comments","review_comment_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/issues/29/comments","statuses_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/statuses/636a302a9817be62eeaeb2a111894df5b685eab9","head":{"label":"willtp87:7.x.rework","ref":"7.x.rework","sha":"636a302a9817be62eeaeb2a111894df5b685eab9","user":{"login":"willtp87","id":688918,"avatar_url":"https://avatars.githubusercontent.com/u/688918?v=3","gravatar_id":"","url":"https://api.github.com/users/willtp87","html_url":"https://github.com/willtp87","followers_url":"https://api.github.com/users/willtp87/followers","following_url":"https://api.github.com/users/willtp87/following{/other_user}","gists_url":"https://api.github.com/users/willtp87/gists{/gist_id}","starred_url":"https://api.github.com/users/willtp87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willtp87/subscriptions","organizations_url":"https://api.github.com/users/willtp87/orgs","repos_url":"https://api.github.com/users/willtp87/repos","events_url":"https://api.github.com/users/willtp87/events{/privacy}","received_events_url":"https://api.github.com/users/willtp87/received_events","type":"User","site_admin":false},"repo":{"id":34134338,"name":"islandora_usage_stats","full_name":"willtp87/islandora_usage_stats","owner":{"login":"willtp87","id":688918,"avatar_url":"https://avatars.githubusercontent.com/u/688918?v=3","gravatar_id":"","url":"https://api.github.com/users/willtp87","html_url":"https://github.com/willtp87","followers_url":"https://api.github.com/users/willtp87/followers","following_url":"https://api.github.com/users/willtp87/following{/other_user}","gists_url":"https://api.github.com/users/willtp87/gists{/gist_id}","starred_url":"https://api.github.com/users/willtp87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willtp87/subscriptions","organizations_url":"https://api.github.com/users/willtp87/orgs","repos_url":"https://api.github.com/users/willtp87/repos","events_url":"https://api.github.com/users/willtp87/events{/privacy}","received_events_url":"https://api.github.com/users/willtp87/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/willtp87/islandora_usage_stats","description":"Track views of islandora items","fork":true,"url":"https://api.github.com/repos/willtp87/islandora_usage_stats","forks_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/forks","keys_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/teams","hooks_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/hooks","issue_events_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/issues/events{/number}","events_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/events","assignees_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/assignees{/user}","branches_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/branches{/branch}","tags_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/tags","blobs_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/git/refs{/sha}","trees_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/statuses/{sha}","languages_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/languages","stargazers_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/stargazers","contributors_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/contributors","subscribers_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/subscribers","subscription_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/subscription","commits_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/commits{/sha}","git_commits_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/git/commits{/sha}","comments_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/comments{/number}","issue_comment_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/issues/comments{/number}","contents_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/contents/{+path}","compare_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/merges","archive_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/downloads","issues_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/issues{/number}","pulls_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/pulls{/number}","milestones_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/milestones{/number}","notifications_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/labels{/name}","releases_url":"https://api.github.com/repos/willtp87/islandora_usage_stats/releases{/id}","created_at":"2015-04-17T18:54:38Z","updated_at":"2014-12-04T16:39:22Z","pushed_at":"2015-04-21T19:29:48Z","git_url":"git://github.com/willtp87/islandora_usage_stats.git","ssh_url":"git@github.com:willtp87/islandora_usage_stats.git","clone_url":"https://github.com/willtp87/islandora_usage_stats.git","svn_url":"https://github.com/willtp87/islandora_usage_stats","homepage":null,"size":852,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"7.x"}},"base":{"label":"discoverygarden:7.x","ref":"7.x","sha":"7f1319e662c9f42b6c92835a7a61894c02bca57e","user":{"login":"discoverygarden","id":598560,"avatar_url":"https://avatars.githubusercontent.com/u/598560?v=3","gravatar_id":"","url":"https://api.github.com/users/discoverygarden","html_url":"https://github.com/discoverygarden","followers_url":"https://api.github.com/users/discoverygarden/followers","following_url":"https://api.github.com/users/discoverygarden/following{/other_user}","gists_url":"https://api.github.com/users/discoverygarden/gists{/gist_id}","starred_url":"https://api.github.com/users/discoverygarden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discoverygarden/subscriptions","organizations_url":"https://api.github.com/users/discoverygarden/orgs","repos_url":"https://api.github.com/users/discoverygarden/repos","events_url":"https://api.github.com/users/discoverygarden/events{/privacy}","received_events_url":"https://api.github.com/users/discoverygarden/received_events","type":"Organization","site_admin":false},"repo":{"id":25922288,"name":"islandora_usage_stats","full_name":"discoverygarden/islandora_usage_stats","owner":{"login":"discoverygarden","id":598560,"avatar_url":"https://avatars.githubusercontent.com/u/598560?v=3","gravatar_id":"","url":"https://api.github.com/users/discoverygarden","html_url":"https://github.com/discoverygarden","followers_url":"https://api.github.com/users/discoverygarden/followers","following_url":"https://api.github.com/users/discoverygarden/following{/other_user}","gists_url":"https://api.github.com/users/discoverygarden/gists{/gist_id}","starred_url":"https://api.github.com/users/discoverygarden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discoverygarden/subscriptions","organizations_url":"https://api.github.com/users/discoverygarden/orgs","repos_url":"https://api.github.com/users/discoverygarden/repos","events_url":"https://api.github.com/users/discoverygarden/events{/privacy}","received_events_url":"https://api.github.com/users/discoverygarden/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/discoverygarden/islandora_usage_stats","description":"Track views of islandora items","fork":true,"url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats","forks_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/forks","keys_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/teams","hooks_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/hooks","issue_events_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/issues/events{/number}","events_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/events","assignees_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/assignees{/user}","branches_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/branches{/branch}","tags_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/tags","blobs_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/git/refs{/sha}","trees_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/statuses/{sha}","languages_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/languages","stargazers_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/stargazers","contributors_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/contributors","subscribers_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/subscribers","subscription_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/subscription","commits_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/commits{/sha}","git_commits_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/git/commits{/sha}","comments_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/comments{/number}","issue_comment_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/issues/comments{/number}","contents_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/contents/{+path}","compare_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/merges","archive_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/downloads","issues_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/issues{/number}","pulls_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls{/number}","milestones_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/milestones{/number}","notifications_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/labels{/name}","releases_url":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/releases{/id}","created_at":"2014-10-29T13:32:47Z","updated_at":"2014-12-04T16:39:22Z","pushed_at":"2015-04-21T19:31:56Z","git_url":"git://github.com/discoverygarden/islandora_usage_stats.git","ssh_url":"git@github.com:discoverygarden/islandora_usage_stats.git","clone_url":"https://github.com/discoverygarden/islandora_usage_stats.git","svn_url":"https://github.com/discoverygarden/islandora_usage_stats","homepage":null,"size":1144,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":0,"default_branch":"7.x"}},"_links":{"self":{"href":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/29"},"html":{"href":"https://github.com/discoverygarden/islandora_usage_stats/pull/29"},"issue":{"href":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/issues/29"},"comments":{"href":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/discoverygarden/islandora_usage_stats/statuses/636a302a9817be62eeaeb2a111894df5b685eab9"}}}}