{"action":"opened","number":45,"pull_request":{"url":"https://api.github.com/repos/arneb/django-messages/pulls/45","id":27292768,"html_url":"https://github.com/arneb/django-messages/pull/45","diff_url":"https://github.com/arneb/django-messages/pull/45.diff","patch_url":"https://github.com/arneb/django-messages/pull/45.patch","issue_url":"https://api.github.com/repos/arneb/django-messages/issues/45","number":45,"state":"open","locked":false,"title":"Better handling of deleted messages (Fixes #40)","user":{"login":"danjjl","id":747240,"avatar_url":"https://avatars.githubusercontent.com/u/747240?v=3","gravatar_id":"","url":"https://api.github.com/users/danjjl","html_url":"https://github.com/danjjl","followers_url":"https://api.github.com/users/danjjl/followers","following_url":"https://api.github.com/users/danjjl/following{/other_user}","gists_url":"https://api.github.com/users/danjjl/gists{/gist_id}","starred_url":"https://api.github.com/users/danjjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danjjl/subscriptions","organizations_url":"https://api.github.com/users/danjjl/orgs","repos_url":"https://api.github.com/users/danjjl/repos","events_url":"https://api.github.com/users/danjjl/events{/privacy}","received_events_url":"https://api.github.com/users/danjjl/received_events","type":"User","site_admin":false},"body":"- Messages deleted more than `MESSAGES_DELETED_MAX_AGE` days ago do not appear in the trash.\r\n- Users can mark a message as permanently deleted.\r\n\r\nIf both users permanently deleted a message or if message was deleted more than `MESSAGES_DELETED_MAX_AGE` days ago, then the message is removed from the database (on `permanently_delete()` call, on `empty_trash()` call or using `delete_deleted_messages.py`)\r\n\r\nNew dependency to handle `MESSAGES_DELETED_MAX_AGE` setting: [django-appconf](https://github.com/jezdez/django-appconf)\r\n\r\n- I have not added extra tests.\r\n- They could be mistakes in the use of the `notification` package.\r\n- I have not updated the translations\r\n","created_at":"2015-01-13T18:26:19Z","updated_at":"2015-01-13T18:26:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arneb/django-messages/pulls/45/commits","review_comments_url":"https://api.github.com/repos/arneb/django-messages/pulls/45/comments","review_comment_url":"https://api.github.com/repos/arneb/django-messages/pulls/comments/{number}","comments_url":"https://api.github.com/repos/arneb/django-messages/issues/45/comments","statuses_url":"https://api.github.com/repos/arneb/django-messages/statuses/78ff3aba6f1f832a46695f61de6961a8dc2a3073","head":{"label":"danjjl:master","ref":"master","sha":"78ff3aba6f1f832a46695f61de6961a8dc2a3073","user":{"login":"danjjl","id":747240,"avatar_url":"https://avatars.githubusercontent.com/u/747240?v=3","gravatar_id":"","url":"https://api.github.com/users/danjjl","html_url":"https://github.com/danjjl","followers_url":"https://api.github.com/users/danjjl/followers","following_url":"https://api.github.com/users/danjjl/following{/other_user}","gists_url":"https://api.github.com/users/danjjl/gists{/gist_id}","starred_url":"https://api.github.com/users/danjjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danjjl/subscriptions","organizations_url":"https://api.github.com/users/danjjl/orgs","repos_url":"https://api.github.com/users/danjjl/repos","events_url":"https://api.github.com/users/danjjl/events{/privacy}","received_events_url":"https://api.github.com/users/danjjl/received_events","type":"User","site_admin":false},"repo":{"id":28664076,"name":"django-messages","full_name":"danjjl/django-messages","owner":{"login":"danjjl","id":747240,"avatar_url":"https://avatars.githubusercontent.com/u/747240?v=3","gravatar_id":"","url":"https://api.github.com/users/danjjl","html_url":"https://github.com/danjjl","followers_url":"https://api.github.com/users/danjjl/followers","following_url":"https://api.github.com/users/danjjl/following{/other_user}","gists_url":"https://api.github.com/users/danjjl/gists{/gist_id}","starred_url":"https://api.github.com/users/danjjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danjjl/subscriptions","organizations_url":"https://api.github.com/users/danjjl/orgs","repos_url":"https://api.github.com/users/danjjl/repos","events_url":"https://api.github.com/users/danjjl/events{/privacy}","received_events_url":"https://api.github.com/users/danjjl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danjjl/django-messages","description":"A Django application handling private messages between users.","fork":true,"url":"https://api.github.com/repos/danjjl/django-messages","forks_url":"https://api.github.com/repos/danjjl/django-messages/forks","keys_url":"https://api.github.com/repos/danjjl/django-messages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danjjl/django-messages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danjjl/django-messages/teams","hooks_url":"https://api.github.com/repos/danjjl/django-messages/hooks","issue_events_url":"https://api.github.com/repos/danjjl/django-messages/issues/events{/number}","events_url":"https://api.github.com/repos/danjjl/django-messages/events","assignees_url":"https://api.github.com/repos/danjjl/django-messages/assignees{/user}","branches_url":"https://api.github.com/repos/danjjl/django-messages/branches{/branch}","tags_url":"https://api.github.com/repos/danjjl/django-messages/tags","blobs_url":"https://api.github.com/repos/danjjl/django-messages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danjjl/django-messages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danjjl/django-messages/git/refs{/sha}","trees_url":"https://api.github.com/repos/danjjl/django-messages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danjjl/django-messages/statuses/{sha}","languages_url":"https://api.github.com/repos/danjjl/django-messages/languages","stargazers_url":"https://api.github.com/repos/danjjl/django-messages/stargazers","contributors_url":"https://api.github.com/repos/danjjl/django-messages/contributors","subscribers_url":"https://api.github.com/repos/danjjl/django-messages/subscribers","subscription_url":"https://api.github.com/repos/danjjl/django-messages/subscription","commits_url":"https://api.github.com/repos/danjjl/django-messages/commits{/sha}","git_commits_url":"https://api.github.com/repos/danjjl/django-messages/git/commits{/sha}","comments_url":"https://api.github.com/repos/danjjl/django-messages/comments{/number}","issue_comment_url":"https://api.github.com/repos/danjjl/django-messages/issues/comments/{number}","contents_url":"https://api.github.com/repos/danjjl/django-messages/contents/{+path}","compare_url":"https://api.github.com/repos/danjjl/django-messages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danjjl/django-messages/merges","archive_url":"https://api.github.com/repos/danjjl/django-messages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danjjl/django-messages/downloads","issues_url":"https://api.github.com/repos/danjjl/django-messages/issues{/number}","pulls_url":"https://api.github.com/repos/danjjl/django-messages/pulls{/number}","milestones_url":"https://api.github.com/repos/danjjl/django-messages/milestones{/number}","notifications_url":"https://api.github.com/repos/danjjl/django-messages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danjjl/django-messages/labels{/name}","releases_url":"https://api.github.com/repos/danjjl/django-messages/releases{/id}","created_at":"2014-12-31T11:05:27Z","updated_at":"2015-01-13T18:14:02Z","pushed_at":"2015-01-13T18:14:02Z","git_url":"git://github.com/danjjl/django-messages.git","ssh_url":"git@github.com:danjjl/django-messages.git","clone_url":"https://github.com/danjjl/django-messages.git","svn_url":"https://github.com/danjjl/django-messages","homepage":"","size":384,"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":"arneb:master","ref":"master","sha":"398ecf5e7f2d78f92cd658ff3f4d881ba88994b3","user":{"login":"arneb","id":26743,"avatar_url":"https://avatars.githubusercontent.com/u/26743?v=3","gravatar_id":"","url":"https://api.github.com/users/arneb","html_url":"https://github.com/arneb","followers_url":"https://api.github.com/users/arneb/followers","following_url":"https://api.github.com/users/arneb/following{/other_user}","gists_url":"https://api.github.com/users/arneb/gists{/gist_id}","starred_url":"https://api.github.com/users/arneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arneb/subscriptions","organizations_url":"https://api.github.com/users/arneb/orgs","repos_url":"https://api.github.com/users/arneb/repos","events_url":"https://api.github.com/users/arneb/events{/privacy}","received_events_url":"https://api.github.com/users/arneb/received_events","type":"User","site_admin":false},"repo":{"id":3033401,"name":"django-messages","full_name":"arneb/django-messages","owner":{"login":"arneb","id":26743,"avatar_url":"https://avatars.githubusercontent.com/u/26743?v=3","gravatar_id":"","url":"https://api.github.com/users/arneb","html_url":"https://github.com/arneb","followers_url":"https://api.github.com/users/arneb/followers","following_url":"https://api.github.com/users/arneb/following{/other_user}","gists_url":"https://api.github.com/users/arneb/gists{/gist_id}","starred_url":"https://api.github.com/users/arneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arneb/subscriptions","organizations_url":"https://api.github.com/users/arneb/orgs","repos_url":"https://api.github.com/users/arneb/repos","events_url":"https://api.github.com/users/arneb/events{/privacy}","received_events_url":"https://api.github.com/users/arneb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arneb/django-messages","description":"A Django application handling private messages between users.","fork":false,"url":"https://api.github.com/repos/arneb/django-messages","forks_url":"https://api.github.com/repos/arneb/django-messages/forks","keys_url":"https://api.github.com/repos/arneb/django-messages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arneb/django-messages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arneb/django-messages/teams","hooks_url":"https://api.github.com/repos/arneb/django-messages/hooks","issue_events_url":"https://api.github.com/repos/arneb/django-messages/issues/events{/number}","events_url":"https://api.github.com/repos/arneb/django-messages/events","assignees_url":"https://api.github.com/repos/arneb/django-messages/assignees{/user}","branches_url":"https://api.github.com/repos/arneb/django-messages/branches{/branch}","tags_url":"https://api.github.com/repos/arneb/django-messages/tags","blobs_url":"https://api.github.com/repos/arneb/django-messages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arneb/django-messages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arneb/django-messages/git/refs{/sha}","trees_url":"https://api.github.com/repos/arneb/django-messages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arneb/django-messages/statuses/{sha}","languages_url":"https://api.github.com/repos/arneb/django-messages/languages","stargazers_url":"https://api.github.com/repos/arneb/django-messages/stargazers","contributors_url":"https://api.github.com/repos/arneb/django-messages/contributors","subscribers_url":"https://api.github.com/repos/arneb/django-messages/subscribers","subscription_url":"https://api.github.com/repos/arneb/django-messages/subscription","commits_url":"https://api.github.com/repos/arneb/django-messages/commits{/sha}","git_commits_url":"https://api.github.com/repos/arneb/django-messages/git/commits{/sha}","comments_url":"https://api.github.com/repos/arneb/django-messages/comments{/number}","issue_comment_url":"https://api.github.com/repos/arneb/django-messages/issues/comments/{number}","contents_url":"https://api.github.com/repos/arneb/django-messages/contents/{+path}","compare_url":"https://api.github.com/repos/arneb/django-messages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arneb/django-messages/merges","archive_url":"https://api.github.com/repos/arneb/django-messages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arneb/django-messages/downloads","issues_url":"https://api.github.com/repos/arneb/django-messages/issues{/number}","pulls_url":"https://api.github.com/repos/arneb/django-messages/pulls{/number}","milestones_url":"https://api.github.com/repos/arneb/django-messages/milestones{/number}","notifications_url":"https://api.github.com/repos/arneb/django-messages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arneb/django-messages/labels{/name}","releases_url":"https://api.github.com/repos/arneb/django-messages/releases{/id}","created_at":"2011-12-22T11:17:47Z","updated_at":"2015-01-12T19:41:45Z","pushed_at":"2014-11-17T08:46:47Z","git_url":"git://github.com/arneb/django-messages.git","ssh_url":"git@github.com:arneb/django-messages.git","clone_url":"https://github.com/arneb/django-messages.git","svn_url":"https://github.com/arneb/django-messages","homepage":"","size":743,"stargazers_count":186,"watchers_count":186,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"open_issues_count":9,"forks":92,"open_issues":9,"watchers":186,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arneb/django-messages/pulls/45"},"html":{"href":"https://github.com/arneb/django-messages/pull/45"},"issue":{"href":"https://api.github.com/repos/arneb/django-messages/issues/45"},"comments":{"href":"https://api.github.com/repos/arneb/django-messages/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/arneb/django-messages/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/arneb/django-messages/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/arneb/django-messages/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/arneb/django-messages/statuses/78ff3aba6f1f832a46695f61de6961a8dc2a3073"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":89,"deletions":9,"changed_files":8}}