{"action":"created","comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/87961241","pull_request_review_id":8549418,"id":87961241,"diff_hunk":"@@ -305,10 +308,35 @@ def get_notification_title(self, content):\n         return content.title\n \n \n+class PingSubscription(AnswerSubscription, MultipleNotificationsMixin):\n+    \"\"\"\n+    Subscription to ping of a user\n+    \"\"\"\n+    module = _(u'Ping')\n+    objects = SubscriptionManager()\n+\n+    def __unicode__(self):\n+        return _(u'<Abonnement du membre \"{0}\" aux mentions>').format(self.profile, self.object_id)\n+\n+    def get_notification_title(self, answer):\n+        assert hasattr(answer, 'author')\n+        assert hasattr(answer, \"get_notification_title\")\n+\n+        return _(u'{0} vous a mentionné sur {1}.').format(answer.author, answer.get_notification_title())","path":"zds/notification/models.py","position":106,"original_position":106,"commit_id":"49edc088bd5ec094ec2cc2b86845a5e497327a08","original_commit_id":"49edc088bd5ec094ec2cc2b86845a5e497327a08","user":{"login":"vhf","id":2022803,"avatar_url":"https://avatars.githubusercontent.com/u/2022803?v=3","gravatar_id":"","url":"https://api.github.com/users/vhf","html_url":"https://github.com/vhf","followers_url":"https://api.github.com/users/vhf/followers","following_url":"https://api.github.com/users/vhf/following{/other_user}","gists_url":"https://api.github.com/users/vhf/gists{/gist_id}","starred_url":"https://api.github.com/users/vhf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhf/subscriptions","organizations_url":"https://api.github.com/users/vhf/orgs","repos_url":"https://api.github.com/users/vhf/repos","events_url":"https://api.github.com/users/vhf/events{/privacy}","received_events_url":"https://api.github.com/users/vhf/received_events","type":"User","site_admin":false},"body":"En fait je reviens sur mon idée, c'est probablement pas là.","created_at":"2016-11-15T07:36:00Z","updated_at":"2016-11-15T07:36:00Z","html_url":"https://github.com/zestedesavoir/zds-site/pull/3945#discussion_r87961241","pull_request_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3945","_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/87961241"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/3945#discussion_r87961241"},"pull_request":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3945"}}},"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3945","id":92503307,"html_url":"https://github.com/zestedesavoir/zds-site/pull/3945","diff_url":"https://github.com/zestedesavoir/zds-site/pull/3945.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/3945.patch","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3945","number":3945,"state":"open","locked":false,"title":"Nouvelle version markdown supportant @ping","user":{"login":"cgabard","id":6103932,"avatar_url":"https://avatars.githubusercontent.com/u/6103932?v=3","gravatar_id":"","url":"https://api.github.com/users/cgabard","html_url":"https://github.com/cgabard","followers_url":"https://api.github.com/users/cgabard/followers","following_url":"https://api.github.com/users/cgabard/following{/other_user}","gists_url":"https://api.github.com/users/cgabard/gists{/gist_id}","starred_url":"https://api.github.com/users/cgabard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgabard/subscriptions","organizations_url":"https://api.github.com/users/cgabard/orgs","repos_url":"https://api.github.com/users/cgabard/repos","events_url":"https://api.github.com/users/cgabard/events{/privacy}","received_events_url":"https://api.github.com/users/cgabard/received_events","type":"User","site_admin":false},"body":"| Q                                   | R\r\n| ----------------------------------- | -------------------------------------------\r\n| Type de modification                | correction de bug / nouvelle fonctionnalité \r\n| Ticket(s) (_issue(s)_) concerné(s)  | -\r\n\r\n### QA\r\n\r\nBeaucoup de modifications. La principale est le support du ping grâce à @GerardPaligot \r\n\r\nConcernant le markdown, il y a beaucoup de corrections de bugs, principalement : \r\n\r\n - Support des règles de typographie (voir https://github.com/zestedesavoir/Python-ZMarkdown/blob/master-zds/tests/test_zds.py#L195 pour des exemples)\r\n - Bug sur les tableaux et des cellules qui disparaissent : https://github.com/zestedesavoir/Python-ZMarkdown/issues/119 ou https://github.com/zestedesavoir/Python-ZMarkdown/issues/107\r\n - Le support des légendes qui corrigent beaucoup des bugs, dont les légendes de balises math qui n'avaient jamais vraiment marché.\r\n\r\n","created_at":"2016-11-06T21:27:17Z","updated_at":"2016-11-15T07:36:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee11acb641de91a8a4f16a485770f863db7eea50","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3945/commits","review_comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3945/comments","review_comment_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3945/comments","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/49edc088bd5ec094ec2cc2b86845a5e497327a08","head":{"label":"cgabard:nouvelle-version-markdown","ref":"nouvelle-version-markdown","sha":"49edc088bd5ec094ec2cc2b86845a5e497327a08","user":{"login":"cgabard","id":6103932,"avatar_url":"https://avatars.githubusercontent.com/u/6103932?v=3","gravatar_id":"","url":"https://api.github.com/users/cgabard","html_url":"https://github.com/cgabard","followers_url":"https://api.github.com/users/cgabard/followers","following_url":"https://api.github.com/users/cgabard/following{/other_user}","gists_url":"https://api.github.com/users/cgabard/gists{/gist_id}","starred_url":"https://api.github.com/users/cgabard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgabard/subscriptions","organizations_url":"https://api.github.com/users/cgabard/orgs","repos_url":"https://api.github.com/users/cgabard/repos","events_url":"https://api.github.com/users/cgabard/events{/privacy}","received_events_url":"https://api.github.com/users/cgabard/received_events","type":"User","site_admin":false},"repo":{"id":73019615,"name":"zds-site","full_name":"cgabard/zds-site","owner":{"login":"cgabard","id":6103932,"avatar_url":"https://avatars.githubusercontent.com/u/6103932?v=3","gravatar_id":"","url":"https://api.github.com/users/cgabard","html_url":"https://github.com/cgabard","followers_url":"https://api.github.com/users/cgabard/followers","following_url":"https://api.github.com/users/cgabard/following{/other_user}","gists_url":"https://api.github.com/users/cgabard/gists{/gist_id}","starred_url":"https://api.github.com/users/cgabard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgabard/subscriptions","organizations_url":"https://api.github.com/users/cgabard/orgs","repos_url":"https://api.github.com/users/cgabard/repos","events_url":"https://api.github.com/users/cgabard/events{/privacy}","received_events_url":"https://api.github.com/users/cgabard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cgabard/zds-site","description":"Dépot ZDS","fork":true,"url":"https://api.github.com/repos/cgabard/zds-site","forks_url":"https://api.github.com/repos/cgabard/zds-site/forks","keys_url":"https://api.github.com/repos/cgabard/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cgabard/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cgabard/zds-site/teams","hooks_url":"https://api.github.com/repos/cgabard/zds-site/hooks","issue_events_url":"https://api.github.com/repos/cgabard/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/cgabard/zds-site/events","assignees_url":"https://api.github.com/repos/cgabard/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/cgabard/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/cgabard/zds-site/tags","blobs_url":"https://api.github.com/repos/cgabard/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cgabard/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cgabard/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/cgabard/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cgabard/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/cgabard/zds-site/languages","stargazers_url":"https://api.github.com/repos/cgabard/zds-site/stargazers","contributors_url":"https://api.github.com/repos/cgabard/zds-site/contributors","subscribers_url":"https://api.github.com/repos/cgabard/zds-site/subscribers","subscription_url":"https://api.github.com/repos/cgabard/zds-site/subscription","commits_url":"https://api.github.com/repos/cgabard/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/cgabard/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/cgabard/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/cgabard/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/cgabard/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/cgabard/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cgabard/zds-site/merges","archive_url":"https://api.github.com/repos/cgabard/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cgabard/zds-site/downloads","issues_url":"https://api.github.com/repos/cgabard/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/cgabard/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/cgabard/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/cgabard/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cgabard/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/cgabard/zds-site/releases{/id}","deployments_url":"https://api.github.com/repos/cgabard/zds-site/deployments","created_at":"2016-11-06T21:18:35Z","updated_at":"2016-11-06T21:18:38Z","pushed_at":"2016-11-14T20:59:05Z","git_url":"git://github.com/cgabard/zds-site.git","ssh_url":"git@github.com:cgabard/zds-site.git","clone_url":"https://github.com/cgabard/zds-site.git","svn_url":"https://github.com/cgabard/zds-site","homepage":null,"size":104963,"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":"dev"}},"base":{"label":"zestedesavoir:dev","ref":"dev","sha":"194f191b3c54fe4491cfce2293ffe114aebe8296","user":{"login":"zestedesavoir","id":7406239,"avatar_url":"https://avatars.githubusercontent.com/u/7406239?v=3","gravatar_id":"","url":"https://api.github.com/users/zestedesavoir","html_url":"https://github.com/zestedesavoir","followers_url":"https://api.github.com/users/zestedesavoir/followers","following_url":"https://api.github.com/users/zestedesavoir/following{/other_user}","gists_url":"https://api.github.com/users/zestedesavoir/gists{/gist_id}","starred_url":"https://api.github.com/users/zestedesavoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestedesavoir/subscriptions","organizations_url":"https://api.github.com/users/zestedesavoir/orgs","repos_url":"https://api.github.com/users/zestedesavoir/repos","events_url":"https://api.github.com/users/zestedesavoir/events{/privacy}","received_events_url":"https://api.github.com/users/zestedesavoir/received_events","type":"Organization","site_admin":false},"repo":{"id":14778920,"name":"zds-site","full_name":"zestedesavoir/zds-site","owner":{"login":"zestedesavoir","id":7406239,"avatar_url":"https://avatars.githubusercontent.com/u/7406239?v=3","gravatar_id":"","url":"https://api.github.com/users/zestedesavoir","html_url":"https://github.com/zestedesavoir","followers_url":"https://api.github.com/users/zestedesavoir/followers","following_url":"https://api.github.com/users/zestedesavoir/following{/other_user}","gists_url":"https://api.github.com/users/zestedesavoir/gists{/gist_id}","starred_url":"https://api.github.com/users/zestedesavoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestedesavoir/subscriptions","organizations_url":"https://api.github.com/users/zestedesavoir/orgs","repos_url":"https://api.github.com/users/zestedesavoir/repos","events_url":"https://api.github.com/users/zestedesavoir/events{/privacy}","received_events_url":"https://api.github.com/users/zestedesavoir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zestedesavoir/zds-site","description":"Dépôt de ZdS, faisant notamment fonctionner https://zestedesavoir.com","fork":false,"url":"https://api.github.com/repos/zestedesavoir/zds-site","forks_url":"https://api.github.com/repos/zestedesavoir/zds-site/forks","keys_url":"https://api.github.com/repos/zestedesavoir/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zestedesavoir/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zestedesavoir/zds-site/teams","hooks_url":"https://api.github.com/repos/zestedesavoir/zds-site/hooks","issue_events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/events","assignees_url":"https://api.github.com/repos/zestedesavoir/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/zestedesavoir/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/zestedesavoir/zds-site/tags","blobs_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/zestedesavoir/zds-site/languages","stargazers_url":"https://api.github.com/repos/zestedesavoir/zds-site/stargazers","contributors_url":"https://api.github.com/repos/zestedesavoir/zds-site/contributors","subscribers_url":"https://api.github.com/repos/zestedesavoir/zds-site/subscribers","subscription_url":"https://api.github.com/repos/zestedesavoir/zds-site/subscription","commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/zestedesavoir/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/zestedesavoir/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zestedesavoir/zds-site/merges","archive_url":"https://api.github.com/repos/zestedesavoir/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zestedesavoir/zds-site/downloads","issues_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/zestedesavoir/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/zestedesavoir/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/zestedesavoir/zds-site/releases{/id}","deployments_url":"https://api.github.com/repos/zestedesavoir/zds-site/deployments","created_at":"2013-11-28T14:23:48Z","updated_at":"2016-11-10T23:41:20Z","pushed_at":"2016-11-14T20:59:06Z","git_url":"git://github.com/zestedesavoir/zds-site.git","ssh_url":"git@github.com:zestedesavoir/zds-site.git","clone_url":"https://github.com/zestedesavoir/zds-site.git","svn_url":"https://github.com/zestedesavoir/zds-site","homepage":"","size":175038,"stargazers_count":169,"watchers_count":169,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":134,"mirror_url":null,"open_issues_count":234,"forks":134,"open_issues":234,"watchers":169,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3945"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/3945"},"issue":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3945"},"comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3945/comments"},"review_comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3945/comments"},"review_comment":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3945/commits"},"statuses":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/49edc088bd5ec094ec2cc2b86845a5e497327a08"}}}}
{"actor":{"display_login":"vhf"}}