{"action":"created","issue":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/4202","repository_url":"https://api.github.com/repos/zestedesavoir/zds-site","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/4202/labels{/name}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/4202/comments","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/4202/events","html_url":"https://github.com/zestedesavoir/zds-site/pull/4202","id":207010001,"number":4202,"title":"Améliore l'historique de modération pour le staff","user":{"login":"GCodeur","id":22531188,"avatar_url":"https://avatars.githubusercontent.com/u/22531188?v=3","gravatar_id":"","url":"https://api.github.com/users/GCodeur","html_url":"https://github.com/GCodeur","followers_url":"https://api.github.com/users/GCodeur/followers","following_url":"https://api.github.com/users/GCodeur/following{/other_user}","gists_url":"https://api.github.com/users/GCodeur/gists{/gist_id}","starred_url":"https://api.github.com/users/GCodeur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GCodeur/subscriptions","organizations_url":"https://api.github.com/users/GCodeur/orgs","repos_url":"https://api.github.com/users/GCodeur/repos","events_url":"https://api.github.com/users/GCodeur/events{/privacy}","received_events_url":"https://api.github.com/users/GCodeur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-11T21:40:22Z","updated_at":"2017-02-12T11:44:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/4202","html_url":"https://github.com/zestedesavoir/zds-site/pull/4202","diff_url":"https://github.com/zestedesavoir/zds-site/pull/4202.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/4202.patch"},"body":"| Q                                   | R\r\n| ----------------------------------- | -------------------------------------------\r\n| Type de modification                | évolution\r\n| Ticket(s) (_issue(s)_) concerné(s)  | reprise de #4177 \r\n\r\nCette pull request améliore la gestion du karma et des sanctions en créant un historique commun visible sur le profil d'un membre. Un tableau liste donc les modifications du karma et les sanctions.\r\n\r\n### QA\r\n\r\n* Sanctionner un membre et ajouter une note de karma ;\r\n* Vérifier que ces deux actions apparaissent sur son profil dans le bon ordre (du plan récent au plus ancien) ;\r\n* Vérifier que la valeur actuelle du karma apparaît bien dans le sous-menu `Modération` et est correcte ;\r\n* Vérifier que l'historique de modération n'apparaît pas sur un membre n'ayant pas été sanctionné et n'ayant aucune note de karma ;\r\n* Vérifier que les tests `zds.member.tests.tests_views` passent toujours."},"comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments/279212886","html_url":"https://github.com/zestedesavoir/zds-site/pull/4202#issuecomment-279212886","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/4202","id":279212886,"user":{"login":"GCodeur","id":22531188,"avatar_url":"https://avatars.githubusercontent.com/u/22531188?v=3","gravatar_id":"","url":"https://api.github.com/users/GCodeur","html_url":"https://github.com/GCodeur","followers_url":"https://api.github.com/users/GCodeur/followers","following_url":"https://api.github.com/users/GCodeur/following{/other_user}","gists_url":"https://api.github.com/users/GCodeur/gists{/gist_id}","starred_url":"https://api.github.com/users/GCodeur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GCodeur/subscriptions","organizations_url":"https://api.github.com/users/GCodeur/orgs","repos_url":"https://api.github.com/users/GCodeur/repos","events_url":"https://api.github.com/users/GCodeur/events{/privacy}","received_events_url":"https://api.github.com/users/GCodeur/received_events","type":"User","site_admin":false},"created_at":"2017-02-12T11:44:05Z","updated_at":"2017-02-12T11:44:05Z","body":"En effet :)\r\n\r\nC'était surtout le triage par date qui me posait problème et je suis content qu'on puisse le faire en une simple ligne. C'est aussi grâce aux modèles qui étaient cohérents entre eux (`note`, `moderator`, `user` et `pubdate` avaient le même nom sur les deux modèles, de quoi bien simplifier les choses). ;)"}}
{"actor":{"display_login":"GCodeur"}}