{"action":"closed","number":24,"pull_request":{"url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/pulls/24","id":33432053,"html_url":"https://github.com/splitbrain/dokuwiki-plugin-statistics/pull/24","diff_url":"https://github.com/splitbrain/dokuwiki-plugin-statistics/pull/24.diff","patch_url":"https://github.com/splitbrain/dokuwiki-plugin-statistics/pull/24.patch","issue_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/issues/24","number":24,"state":"closed","locked":false,"title":"Better history","user":{"login":"micgro42","id":7372507,"avatar_url":"https://avatars.githubusercontent.com/u/7372507?v=3","gravatar_id":"","url":"https://api.github.com/users/micgro42","html_url":"https://github.com/micgro42","followers_url":"https://api.github.com/users/micgro42/followers","following_url":"https://api.github.com/users/micgro42/following{/other_user}","gists_url":"https://api.github.com/users/micgro42/gists{/gist_id}","starred_url":"https://api.github.com/users/micgro42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micgro42/subscriptions","organizations_url":"https://api.github.com/users/micgro42/orgs","repos_url":"https://api.github.com/users/micgro42/repos","events_url":"https://api.github.com/users/micgro42/events{/privacy}","received_events_url":"https://api.github.com/users/micgro42/received_events","type":"User","site_admin":false},"body":"If the time interval is now between 8 weeks and 365 days the diagrams a week-sized bins. Below that the bins are day-sized and and for an interval of 366 days and above a bin spans a month.\r\n\r\nThere was a bug in the SQL Query that summed the data for items grouped by week or month, instead of calculating the average.\r\n\r\nI have updated the labels on the graphs, which are now correctly axis-labels. Legend should only be used if there is more then one set of data shown in a graph. (For example if we were to merge two of the graphs).","created_at":"2015-04-16T09:17:56Z","updated_at":"2015-04-16T09:39:08Z","closed_at":"2015-04-16T09:39:08Z","merged_at":"2015-04-16T09:39:08Z","merge_commit_sha":"b28763727c98a62ecfecc452c89073ab23b68cec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/pulls/24/commits","review_comments_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/pulls/24/comments","review_comment_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/issues/24/comments","statuses_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/statuses/9a029664ebbd28547ea5890bb387081d90020488","head":{"label":"micgro42:betterHistory","ref":"betterHistory","sha":"9a029664ebbd28547ea5890bb387081d90020488","user":{"login":"micgro42","id":7372507,"avatar_url":"https://avatars.githubusercontent.com/u/7372507?v=3","gravatar_id":"","url":"https://api.github.com/users/micgro42","html_url":"https://github.com/micgro42","followers_url":"https://api.github.com/users/micgro42/followers","following_url":"https://api.github.com/users/micgro42/following{/other_user}","gists_url":"https://api.github.com/users/micgro42/gists{/gist_id}","starred_url":"https://api.github.com/users/micgro42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micgro42/subscriptions","organizations_url":"https://api.github.com/users/micgro42/orgs","repos_url":"https://api.github.com/users/micgro42/repos","events_url":"https://api.github.com/users/micgro42/events{/privacy}","received_events_url":"https://api.github.com/users/micgro42/received_events","type":"User","site_admin":false},"repo":{"id":34007221,"name":"dokuwiki-plugin-statistics","full_name":"micgro42/dokuwiki-plugin-statistics","owner":{"login":"micgro42","id":7372507,"avatar_url":"https://avatars.githubusercontent.com/u/7372507?v=3","gravatar_id":"","url":"https://api.github.com/users/micgro42","html_url":"https://github.com/micgro42","followers_url":"https://api.github.com/users/micgro42/followers","following_url":"https://api.github.com/users/micgro42/following{/other_user}","gists_url":"https://api.github.com/users/micgro42/gists{/gist_id}","starred_url":"https://api.github.com/users/micgro42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micgro42/subscriptions","organizations_url":"https://api.github.com/users/micgro42/orgs","repos_url":"https://api.github.com/users/micgro42/repos","events_url":"https://api.github.com/users/micgro42/events{/privacy}","received_events_url":"https://api.github.com/users/micgro42/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/micgro42/dokuwiki-plugin-statistics","description":"Gather usage/view statistics of a DokuWiki","fork":true,"url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics","forks_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/forks","keys_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/teams","hooks_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/hooks","issue_events_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/issues/events{/number}","events_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/events","assignees_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/assignees{/user}","branches_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/branches{/branch}","tags_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/tags","blobs_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/git/refs{/sha}","trees_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/statuses/{sha}","languages_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/languages","stargazers_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/stargazers","contributors_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/contributors","subscribers_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/subscribers","subscription_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/subscription","commits_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/commits{/sha}","git_commits_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/git/commits{/sha}","comments_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/comments{/number}","issue_comment_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/issues/comments{/number}","contents_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/contents/{+path}","compare_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/merges","archive_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/downloads","issues_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/issues{/number}","pulls_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/pulls{/number}","milestones_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/milestones{/number}","notifications_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/labels{/name}","releases_url":"https://api.github.com/repos/micgro42/dokuwiki-plugin-statistics/releases{/id}","created_at":"2015-04-15T17:01:46Z","updated_at":"2015-04-15T17:01:46Z","pushed_at":"2015-04-16T09:12:10Z","git_url":"git://github.com/micgro42/dokuwiki-plugin-statistics.git","ssh_url":"git@github.com:micgro42/dokuwiki-plugin-statistics.git","clone_url":"https://github.com/micgro42/dokuwiki-plugin-statistics.git","svn_url":"https://github.com/micgro42/dokuwiki-plugin-statistics","homepage":"http://www.dokuwiki.org/plugin:statistics","size":814,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"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":"splitbrain:master","ref":"master","sha":"ce8b4dfc9ca7f4cc02c2d0199925dbfa77352130","user":{"login":"splitbrain","id":86426,"avatar_url":"https://avatars.githubusercontent.com/u/86426?v=3","gravatar_id":"","url":"https://api.github.com/users/splitbrain","html_url":"https://github.com/splitbrain","followers_url":"https://api.github.com/users/splitbrain/followers","following_url":"https://api.github.com/users/splitbrain/following{/other_user}","gists_url":"https://api.github.com/users/splitbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/splitbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splitbrain/subscriptions","organizations_url":"https://api.github.com/users/splitbrain/orgs","repos_url":"https://api.github.com/users/splitbrain/repos","events_url":"https://api.github.com/users/splitbrain/events{/privacy}","received_events_url":"https://api.github.com/users/splitbrain/received_events","type":"User","site_admin":false},"repo":{"id":717341,"name":"dokuwiki-plugin-statistics","full_name":"splitbrain/dokuwiki-plugin-statistics","owner":{"login":"splitbrain","id":86426,"avatar_url":"https://avatars.githubusercontent.com/u/86426?v=3","gravatar_id":"","url":"https://api.github.com/users/splitbrain","html_url":"https://github.com/splitbrain","followers_url":"https://api.github.com/users/splitbrain/followers","following_url":"https://api.github.com/users/splitbrain/following{/other_user}","gists_url":"https://api.github.com/users/splitbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/splitbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splitbrain/subscriptions","organizations_url":"https://api.github.com/users/splitbrain/orgs","repos_url":"https://api.github.com/users/splitbrain/repos","events_url":"https://api.github.com/users/splitbrain/events{/privacy}","received_events_url":"https://api.github.com/users/splitbrain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/splitbrain/dokuwiki-plugin-statistics","description":"Gather usage/view statistics of a DokuWiki","fork":false,"url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics","forks_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/forks","keys_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/teams","hooks_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/hooks","issue_events_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/issues/events{/number}","events_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/events","assignees_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/assignees{/user}","branches_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/branches{/branch}","tags_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/tags","blobs_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/git/refs{/sha}","trees_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/statuses/{sha}","languages_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/languages","stargazers_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/stargazers","contributors_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/contributors","subscribers_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/subscribers","subscription_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/subscription","commits_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/commits{/sha}","git_commits_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/git/commits{/sha}","comments_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/comments{/number}","issue_comment_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/issues/comments{/number}","contents_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/contents/{+path}","compare_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/merges","archive_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/downloads","issues_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/issues{/number}","pulls_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/pulls{/number}","milestones_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/milestones{/number}","notifications_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/labels{/name}","releases_url":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/releases{/id}","created_at":"2010-06-12T14:09:46Z","updated_at":"2015-01-07T10:41:21Z","pushed_at":"2015-04-16T09:39:08Z","git_url":"git://github.com/splitbrain/dokuwiki-plugin-statistics.git","ssh_url":"git@github.com:splitbrain/dokuwiki-plugin-statistics.git","clone_url":"https://github.com/splitbrain/dokuwiki-plugin-statistics.git","svn_url":"https://github.com/splitbrain/dokuwiki-plugin-statistics","homepage":"http://www.dokuwiki.org/plugin:statistics","size":1022,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/pulls/24"},"html":{"href":"https://github.com/splitbrain/dokuwiki-plugin-statistics/pull/24"},"issue":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/issues/24"},"comments":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/splitbrain/dokuwiki-plugin-statistics/statuses/9a029664ebbd28547ea5890bb387081d90020488"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"splitbrain","id":86426,"avatar_url":"https://avatars.githubusercontent.com/u/86426?v=3","gravatar_id":"","url":"https://api.github.com/users/splitbrain","html_url":"https://github.com/splitbrain","followers_url":"https://api.github.com/users/splitbrain/followers","following_url":"https://api.github.com/users/splitbrain/following{/other_user}","gists_url":"https://api.github.com/users/splitbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/splitbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splitbrain/subscriptions","organizations_url":"https://api.github.com/users/splitbrain/orgs","repos_url":"https://api.github.com/users/splitbrain/repos","events_url":"https://api.github.com/users/splitbrain/events{/privacy}","received_events_url":"https://api.github.com/users/splitbrain/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":49,"deletions":15,"changed_files":5}}