{"action":"created","comment":{"url":"https://api.github.com/repos/uclouvain/osis/pulls/comments/215616824","pull_request_review_id":152918657,"id":215616824,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTYxNjgyNA==","diff_hunk":"@@ -50,6 +50,14 @@ class AcademicYear(SerializableModel):\n     def name(self):\n         return self.__str__()\n \n+    @property\n+    def is_even(self):\n+        return True if self.year % 2 == 0 else False\n+\n+    @property\n+    def is_odd(self):\n+        return True if self.year % 2 == 1 else False","path":"base/models/academic_year.py","position":10,"original_position":10,"commit_id":"92a458135028f9a55d1ff26a173ef243a7bee199","original_commit_id":"92a458135028f9a55d1ff26a173ef243a7bee199","user":{"login":"matgerard","id":14902946,"node_id":"MDQ6VXNlcjE0OTAyOTQ2","avatar_url":"https://avatars3.githubusercontent.com/u/14902946?v=4","gravatar_id":"","url":"https://api.github.com/users/matgerard","html_url":"https://github.com/matgerard","followers_url":"https://api.github.com/users/matgerard/followers","following_url":"https://api.github.com/users/matgerard/following{/other_user}","gists_url":"https://api.github.com/users/matgerard/gists{/gist_id}","starred_url":"https://api.github.com/users/matgerard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matgerard/subscriptions","organizations_url":"https://api.github.com/users/matgerard/orgs","repos_url":"https://api.github.com/users/matgerard/repos","events_url":"https://api.github.com/users/matgerard/events{/privacy}","received_events_url":"https://api.github.com/users/matgerard/received_events","type":"User","site_admin":false},"body":"Idem :) ","created_at":"2018-09-06T13:05:13Z","updated_at":"2018-09-06T13:05:30Z","html_url":"https://github.com/uclouvain/osis/pull/4206#discussion_r215616824","pull_request_url":"https://api.github.com/repos/uclouvain/osis/pulls/4206","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/comments/215616824"},"html":{"href":"https://github.com/uclouvain/osis/pull/4206#discussion_r215616824"},"pull_request":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/4206"}}},"pull_request":{"url":"https://api.github.com/repos/uclouvain/osis/pulls/4206","id":213601858,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNjAxODU4","html_url":"https://github.com/uclouvain/osis/pull/4206","diff_url":"https://github.com/uclouvain/osis/pull/4206.diff","patch_url":"https://github.com/uclouvain/osis/pull/4206.patch","issue_url":"https://api.github.com/repos/uclouvain/osis/issues/4206","number":4206,"state":"open","locked":false,"title":"Osis 1772","user":{"login":"chfivet","id":15813887,"node_id":"MDQ6VXNlcjE1ODEzODg3","avatar_url":"https://avatars3.githubusercontent.com/u/15813887?v=4","gravatar_id":"","url":"https://api.github.com/users/chfivet","html_url":"https://github.com/chfivet","followers_url":"https://api.github.com/users/chfivet/followers","following_url":"https://api.github.com/users/chfivet/following{/other_user}","gists_url":"https://api.github.com/users/chfivet/gists{/gist_id}","starred_url":"https://api.github.com/users/chfivet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chfivet/subscriptions","organizations_url":"https://api.github.com/users/chfivet/orgs","repos_url":"https://api.github.com/users/chfivet/repos","events_url":"https://api.github.com/users/chfivet/events{/privacy}","received_events_url":"https://api.github.com/users/chfivet/received_events","type":"User","site_admin":false},"body":"Référence Jira : OSIS-1772\r\n\r\nVérifier les points suivants : \r\n- [ ] Ouvrir une release task Jira si le ticket génère une tâche pour la release : \r\n    - modification de configuration\r\n    - table à synchroniser en entier, etc.\r\n- [ ] Uniformiser les modèles osis-portal avec les changements effectués dans osis si nécessaire\r\n- [ ] Permissions et droits d’accès mettre à jour la documentation si : \r\n    - on rajoute/modifie une permission\r\n    - on rajoute/modifie un groupe d’utilisateurs, etc.\r\n","created_at":"2018-09-06T12:34:41Z","updated_at":"2018-09-06T13:05:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aff08e5a1c7d14ab8cc23940f2a6db3cf0c7439a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/uclouvain/osis/pulls/4206/commits","review_comments_url":"https://api.github.com/repos/uclouvain/osis/pulls/4206/comments","review_comment_url":"https://api.github.com/repos/uclouvain/osis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uclouvain/osis/issues/4206/comments","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/92a458135028f9a55d1ff26a173ef243a7bee199","head":{"label":"uclouvain:OSIS-1769","ref":"OSIS-1769","sha":"92a458135028f9a55d1ff26a173ef243a7bee199","user":{"login":"uclouvain","id":9862060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NjIwNjA=","avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"repo":{"id":37489388,"node_id":"MDEwOlJlcG9zaXRvcnkzNzQ4OTM4OA==","name":"osis","full_name":"uclouvain/osis","owner":{"login":"uclouvain","id":9862060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NjIwNjA=","avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uclouvain/osis","description":"Open Student Information System Backoffice","fork":false,"url":"https://api.github.com/repos/uclouvain/osis","forks_url":"https://api.github.com/repos/uclouvain/osis/forks","keys_url":"https://api.github.com/repos/uclouvain/osis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uclouvain/osis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uclouvain/osis/teams","hooks_url":"https://api.github.com/repos/uclouvain/osis/hooks","issue_events_url":"https://api.github.com/repos/uclouvain/osis/issues/events{/number}","events_url":"https://api.github.com/repos/uclouvain/osis/events","assignees_url":"https://api.github.com/repos/uclouvain/osis/assignees{/user}","branches_url":"https://api.github.com/repos/uclouvain/osis/branches{/branch}","tags_url":"https://api.github.com/repos/uclouvain/osis/tags","blobs_url":"https://api.github.com/repos/uclouvain/osis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uclouvain/osis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uclouvain/osis/git/refs{/sha}","trees_url":"https://api.github.com/repos/uclouvain/osis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/{sha}","languages_url":"https://api.github.com/repos/uclouvain/osis/languages","stargazers_url":"https://api.github.com/repos/uclouvain/osis/stargazers","contributors_url":"https://api.github.com/repos/uclouvain/osis/contributors","subscribers_url":"https://api.github.com/repos/uclouvain/osis/subscribers","subscription_url":"https://api.github.com/repos/uclouvain/osis/subscription","commits_url":"https://api.github.com/repos/uclouvain/osis/commits{/sha}","git_commits_url":"https://api.github.com/repos/uclouvain/osis/git/commits{/sha}","comments_url":"https://api.github.com/repos/uclouvain/osis/comments{/number}","issue_comment_url":"https://api.github.com/repos/uclouvain/osis/issues/comments{/number}","contents_url":"https://api.github.com/repos/uclouvain/osis/contents/{+path}","compare_url":"https://api.github.com/repos/uclouvain/osis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uclouvain/osis/merges","archive_url":"https://api.github.com/repos/uclouvain/osis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uclouvain/osis/downloads","issues_url":"https://api.github.com/repos/uclouvain/osis/issues{/number}","pulls_url":"https://api.github.com/repos/uclouvain/osis/pulls{/number}","milestones_url":"https://api.github.com/repos/uclouvain/osis/milestones{/number}","notifications_url":"https://api.github.com/repos/uclouvain/osis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uclouvain/osis/labels{/name}","releases_url":"https://api.github.com/repos/uclouvain/osis/releases{/id}","deployments_url":"https://api.github.com/repos/uclouvain/osis/deployments","created_at":"2015-06-15T20:25:28Z","updated_at":"2018-09-06T10:50:38Z","pushed_at":"2018-09-06T12:57:56Z","git_url":"git://github.com/uclouvain/osis.git","ssh_url":"git@github.com:uclouvain/osis.git","clone_url":"https://github.com/uclouvain/osis.git","svn_url":"https://github.com/uclouvain/osis","homepage":"http://uclouvain.github.io/osis","size":68499,"stargazers_count":37,"watchers_count":37,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":15,"open_issues":19,"watchers":37,"default_branch":"dev"}},"base":{"label":"uclouvain:dev","ref":"dev","sha":"fb65098df2357fcb85f3e8dc393d4f43f004246f","user":{"login":"uclouvain","id":9862060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NjIwNjA=","avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"repo":{"id":37489388,"node_id":"MDEwOlJlcG9zaXRvcnkzNzQ4OTM4OA==","name":"osis","full_name":"uclouvain/osis","owner":{"login":"uclouvain","id":9862060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NjIwNjA=","avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uclouvain/osis","description":"Open Student Information System Backoffice","fork":false,"url":"https://api.github.com/repos/uclouvain/osis","forks_url":"https://api.github.com/repos/uclouvain/osis/forks","keys_url":"https://api.github.com/repos/uclouvain/osis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uclouvain/osis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uclouvain/osis/teams","hooks_url":"https://api.github.com/repos/uclouvain/osis/hooks","issue_events_url":"https://api.github.com/repos/uclouvain/osis/issues/events{/number}","events_url":"https://api.github.com/repos/uclouvain/osis/events","assignees_url":"https://api.github.com/repos/uclouvain/osis/assignees{/user}","branches_url":"https://api.github.com/repos/uclouvain/osis/branches{/branch}","tags_url":"https://api.github.com/repos/uclouvain/osis/tags","blobs_url":"https://api.github.com/repos/uclouvain/osis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uclouvain/osis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uclouvain/osis/git/refs{/sha}","trees_url":"https://api.github.com/repos/uclouvain/osis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/{sha}","languages_url":"https://api.github.com/repos/uclouvain/osis/languages","stargazers_url":"https://api.github.com/repos/uclouvain/osis/stargazers","contributors_url":"https://api.github.com/repos/uclouvain/osis/contributors","subscribers_url":"https://api.github.com/repos/uclouvain/osis/subscribers","subscription_url":"https://api.github.com/repos/uclouvain/osis/subscription","commits_url":"https://api.github.com/repos/uclouvain/osis/commits{/sha}","git_commits_url":"https://api.github.com/repos/uclouvain/osis/git/commits{/sha}","comments_url":"https://api.github.com/repos/uclouvain/osis/comments{/number}","issue_comment_url":"https://api.github.com/repos/uclouvain/osis/issues/comments{/number}","contents_url":"https://api.github.com/repos/uclouvain/osis/contents/{+path}","compare_url":"https://api.github.com/repos/uclouvain/osis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uclouvain/osis/merges","archive_url":"https://api.github.com/repos/uclouvain/osis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uclouvain/osis/downloads","issues_url":"https://api.github.com/repos/uclouvain/osis/issues{/number}","pulls_url":"https://api.github.com/repos/uclouvain/osis/pulls{/number}","milestones_url":"https://api.github.com/repos/uclouvain/osis/milestones{/number}","notifications_url":"https://api.github.com/repos/uclouvain/osis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uclouvain/osis/labels{/name}","releases_url":"https://api.github.com/repos/uclouvain/osis/releases{/id}","deployments_url":"https://api.github.com/repos/uclouvain/osis/deployments","created_at":"2015-06-15T20:25:28Z","updated_at":"2018-09-06T10:50:38Z","pushed_at":"2018-09-06T12:57:56Z","git_url":"git://github.com/uclouvain/osis.git","ssh_url":"git@github.com:uclouvain/osis.git","clone_url":"https://github.com/uclouvain/osis.git","svn_url":"https://github.com/uclouvain/osis","homepage":"http://uclouvain.github.io/osis","size":68499,"stargazers_count":37,"watchers_count":37,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":15,"open_issues":19,"watchers":37,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/4206"},"html":{"href":"https://github.com/uclouvain/osis/pull/4206"},"issue":{"href":"https://api.github.com/repos/uclouvain/osis/issues/4206"},"comments":{"href":"https://api.github.com/repos/uclouvain/osis/issues/4206/comments"},"review_comments":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/4206/comments"},"review_comment":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/4206/commits"},"statuses":{"href":"https://api.github.com/repos/uclouvain/osis/statuses/92a458135028f9a55d1ff26a173ef243a7bee199"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"matgerard"}}