{"action":"opened","number":75,"pull_request":{"url":"https://api.github.com/repos/dndtools/dndtools/pulls/75","id":26794415,"html_url":"https://github.com/dndtools/dndtools/pull/75","diff_url":"https://github.com/dndtools/dndtools/pull/75.diff","patch_url":"https://github.com/dndtools/dndtools/pull/75.patch","issue_url":"https://api.github.com/repos/dndtools/dndtools/issues/75","number":75,"state":"open","locked":false,"title":"Require login to view anything","user":{"login":"FreezyExp","id":528425,"avatar_url":"https://avatars.githubusercontent.com/u/528425?v=3","gravatar_id":"","url":"https://api.github.com/users/FreezyExp","html_url":"https://github.com/FreezyExp","followers_url":"https://api.github.com/users/FreezyExp/followers","following_url":"https://api.github.com/users/FreezyExp/following{/other_user}","gists_url":"https://api.github.com/users/FreezyExp/gists{/gist_id}","starred_url":"https://api.github.com/users/FreezyExp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreezyExp/subscriptions","organizations_url":"https://api.github.com/users/FreezyExp/orgs","repos_url":"https://api.github.com/users/FreezyExp/repos","events_url":"https://api.github.com/users/FreezyExp/events{/privacy}","received_events_url":"https://api.github.com/users/FreezyExp/received_events","type":"User","site_admin":false},"body":"Basic login based on the admin users, logged in users can view,\r\notherwise an ugly basic login page is shown. Quick hack based on what I\r\nwas able to piece together from the internet.\r\n\r\nIt could use a setting to enable/disable, but I still need to get more familiar with how python works.\r\ncommenting out the 'LoginRequiredMiddleware.LoginRequiredMiddleware' and 'LoginRequiredMiddleware' additions from setting.py is enough to enable / disable the login requirement.\r\n","created_at":"2015-01-04T12:10:07Z","updated_at":"2015-01-04T12:10:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dndtools/dndtools/pulls/75/commits","review_comments_url":"https://api.github.com/repos/dndtools/dndtools/pulls/75/comments","review_comment_url":"https://api.github.com/repos/dndtools/dndtools/pulls/comments/{number}","comments_url":"https://api.github.com/repos/dndtools/dndtools/issues/75/comments","statuses_url":"https://api.github.com/repos/dndtools/dndtools/statuses/a5e2474190fc49839be3202fc3c6b04d5bc86b64","head":{"label":"FreezyExp:master","ref":"master","sha":"a5e2474190fc49839be3202fc3c6b04d5bc86b64","user":{"login":"FreezyExp","id":528425,"avatar_url":"https://avatars.githubusercontent.com/u/528425?v=3","gravatar_id":"","url":"https://api.github.com/users/FreezyExp","html_url":"https://github.com/FreezyExp","followers_url":"https://api.github.com/users/FreezyExp/followers","following_url":"https://api.github.com/users/FreezyExp/following{/other_user}","gists_url":"https://api.github.com/users/FreezyExp/gists{/gist_id}","starred_url":"https://api.github.com/users/FreezyExp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreezyExp/subscriptions","organizations_url":"https://api.github.com/users/FreezyExp/orgs","repos_url":"https://api.github.com/users/FreezyExp/repos","events_url":"https://api.github.com/users/FreezyExp/events{/privacy}","received_events_url":"https://api.github.com/users/FreezyExp/received_events","type":"User","site_admin":false},"repo":{"id":28772655,"name":"dndtools","full_name":"FreezyExp/dndtools","owner":{"login":"FreezyExp","id":528425,"avatar_url":"https://avatars.githubusercontent.com/u/528425?v=3","gravatar_id":"","url":"https://api.github.com/users/FreezyExp","html_url":"https://github.com/FreezyExp","followers_url":"https://api.github.com/users/FreezyExp/followers","following_url":"https://api.github.com/users/FreezyExp/following{/other_user}","gists_url":"https://api.github.com/users/FreezyExp/gists{/gist_id}","starred_url":"https://api.github.com/users/FreezyExp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreezyExp/subscriptions","organizations_url":"https://api.github.com/users/FreezyExp/orgs","repos_url":"https://api.github.com/users/FreezyExp/repos","events_url":"https://api.github.com/users/FreezyExp/events{/privacy}","received_events_url":"https://api.github.com/users/FreezyExp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FreezyExp/dndtools","description":"An open source Django-based wiki-like web application for DnD.","fork":true,"url":"https://api.github.com/repos/FreezyExp/dndtools","forks_url":"https://api.github.com/repos/FreezyExp/dndtools/forks","keys_url":"https://api.github.com/repos/FreezyExp/dndtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FreezyExp/dndtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FreezyExp/dndtools/teams","hooks_url":"https://api.github.com/repos/FreezyExp/dndtools/hooks","issue_events_url":"https://api.github.com/repos/FreezyExp/dndtools/issues/events{/number}","events_url":"https://api.github.com/repos/FreezyExp/dndtools/events","assignees_url":"https://api.github.com/repos/FreezyExp/dndtools/assignees{/user}","branches_url":"https://api.github.com/repos/FreezyExp/dndtools/branches{/branch}","tags_url":"https://api.github.com/repos/FreezyExp/dndtools/tags","blobs_url":"https://api.github.com/repos/FreezyExp/dndtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FreezyExp/dndtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FreezyExp/dndtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/FreezyExp/dndtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FreezyExp/dndtools/statuses/{sha}","languages_url":"https://api.github.com/repos/FreezyExp/dndtools/languages","stargazers_url":"https://api.github.com/repos/FreezyExp/dndtools/stargazers","contributors_url":"https://api.github.com/repos/FreezyExp/dndtools/contributors","subscribers_url":"https://api.github.com/repos/FreezyExp/dndtools/subscribers","subscription_url":"https://api.github.com/repos/FreezyExp/dndtools/subscription","commits_url":"https://api.github.com/repos/FreezyExp/dndtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/FreezyExp/dndtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/FreezyExp/dndtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/FreezyExp/dndtools/issues/comments/{number}","contents_url":"https://api.github.com/repos/FreezyExp/dndtools/contents/{+path}","compare_url":"https://api.github.com/repos/FreezyExp/dndtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FreezyExp/dndtools/merges","archive_url":"https://api.github.com/repos/FreezyExp/dndtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FreezyExp/dndtools/downloads","issues_url":"https://api.github.com/repos/FreezyExp/dndtools/issues{/number}","pulls_url":"https://api.github.com/repos/FreezyExp/dndtools/pulls{/number}","milestones_url":"https://api.github.com/repos/FreezyExp/dndtools/milestones{/number}","notifications_url":"https://api.github.com/repos/FreezyExp/dndtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FreezyExp/dndtools/labels{/name}","releases_url":"https://api.github.com/repos/FreezyExp/dndtools/releases{/id}","created_at":"2015-01-04T11:39:47Z","updated_at":"2015-01-04T12:06:55Z","pushed_at":"2015-01-04T12:06:55Z","git_url":"git://github.com/FreezyExp/dndtools.git","ssh_url":"git@github.com:FreezyExp/dndtools.git","clone_url":"https://github.com/FreezyExp/dndtools.git","svn_url":"https://github.com/FreezyExp/dndtools","homepage":null,"size":1394,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"dndtools:master","ref":"master","sha":"f7240ea3b9a804a13a68aab9bdf102d503e65012","user":{"login":"dndtools","id":3628019,"avatar_url":"https://avatars.githubusercontent.com/u/3628019?v=3","gravatar_id":"","url":"https://api.github.com/users/dndtools","html_url":"https://github.com/dndtools","followers_url":"https://api.github.com/users/dndtools/followers","following_url":"https://api.github.com/users/dndtools/following{/other_user}","gists_url":"https://api.github.com/users/dndtools/gists{/gist_id}","starred_url":"https://api.github.com/users/dndtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dndtools/subscriptions","organizations_url":"https://api.github.com/users/dndtools/orgs","repos_url":"https://api.github.com/users/dndtools/repos","events_url":"https://api.github.com/users/dndtools/events{/privacy}","received_events_url":"https://api.github.com/users/dndtools/received_events","type":"Organization","site_admin":false},"repo":{"id":8462520,"name":"dndtools","full_name":"dndtools/dndtools","owner":{"login":"dndtools","id":3628019,"avatar_url":"https://avatars.githubusercontent.com/u/3628019?v=3","gravatar_id":"","url":"https://api.github.com/users/dndtools","html_url":"https://github.com/dndtools","followers_url":"https://api.github.com/users/dndtools/followers","following_url":"https://api.github.com/users/dndtools/following{/other_user}","gists_url":"https://api.github.com/users/dndtools/gists{/gist_id}","starred_url":"https://api.github.com/users/dndtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dndtools/subscriptions","organizations_url":"https://api.github.com/users/dndtools/orgs","repos_url":"https://api.github.com/users/dndtools/repos","events_url":"https://api.github.com/users/dndtools/events{/privacy}","received_events_url":"https://api.github.com/users/dndtools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dndtools/dndtools","description":"An open source Django-based wiki-like web application for DnD.","fork":false,"url":"https://api.github.com/repos/dndtools/dndtools","forks_url":"https://api.github.com/repos/dndtools/dndtools/forks","keys_url":"https://api.github.com/repos/dndtools/dndtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dndtools/dndtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dndtools/dndtools/teams","hooks_url":"https://api.github.com/repos/dndtools/dndtools/hooks","issue_events_url":"https://api.github.com/repos/dndtools/dndtools/issues/events{/number}","events_url":"https://api.github.com/repos/dndtools/dndtools/events","assignees_url":"https://api.github.com/repos/dndtools/dndtools/assignees{/user}","branches_url":"https://api.github.com/repos/dndtools/dndtools/branches{/branch}","tags_url":"https://api.github.com/repos/dndtools/dndtools/tags","blobs_url":"https://api.github.com/repos/dndtools/dndtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dndtools/dndtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dndtools/dndtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/dndtools/dndtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dndtools/dndtools/statuses/{sha}","languages_url":"https://api.github.com/repos/dndtools/dndtools/languages","stargazers_url":"https://api.github.com/repos/dndtools/dndtools/stargazers","contributors_url":"https://api.github.com/repos/dndtools/dndtools/contributors","subscribers_url":"https://api.github.com/repos/dndtools/dndtools/subscribers","subscription_url":"https://api.github.com/repos/dndtools/dndtools/subscription","commits_url":"https://api.github.com/repos/dndtools/dndtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/dndtools/dndtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/dndtools/dndtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/dndtools/dndtools/issues/comments/{number}","contents_url":"https://api.github.com/repos/dndtools/dndtools/contents/{+path}","compare_url":"https://api.github.com/repos/dndtools/dndtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dndtools/dndtools/merges","archive_url":"https://api.github.com/repos/dndtools/dndtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dndtools/dndtools/downloads","issues_url":"https://api.github.com/repos/dndtools/dndtools/issues{/number}","pulls_url":"https://api.github.com/repos/dndtools/dndtools/pulls{/number}","milestones_url":"https://api.github.com/repos/dndtools/dndtools/milestones{/number}","notifications_url":"https://api.github.com/repos/dndtools/dndtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dndtools/dndtools/labels{/name}","releases_url":"https://api.github.com/repos/dndtools/dndtools/releases{/id}","created_at":"2013-02-27T18:35:44Z","updated_at":"2014-12-31T07:52:50Z","pushed_at":"2014-12-17T21:51:30Z","git_url":"git://github.com/dndtools/dndtools.git","ssh_url":"git@github.com:dndtools/dndtools.git","clone_url":"https://github.com/dndtools/dndtools.git","svn_url":"https://github.com/dndtools/dndtools","homepage":null,"size":1394,"stargazers_count":36,"watchers_count":36,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":41,"forks":43,"open_issues":41,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dndtools/dndtools/pulls/75"},"html":{"href":"https://github.com/dndtools/dndtools/pull/75"},"issue":{"href":"https://api.github.com/repos/dndtools/dndtools/issues/75"},"comments":{"href":"https://api.github.com/repos/dndtools/dndtools/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/dndtools/dndtools/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/dndtools/dndtools/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/dndtools/dndtools/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/dndtools/dndtools/statuses/a5e2474190fc49839be3202fc3c6b04d5bc86b64"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":119,"deletions":1,"changed_files":6}}