{"action":"closed","number":2268,"pull_request":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2268","id":81141340,"html_url":"https://github.com/OpenSlides/OpenSlides/pull/2268","diff_url":"https://github.com/OpenSlides/OpenSlides/pull/2268.diff","patch_url":"https://github.com/OpenSlides/OpenSlides/pull/2268.patch","issue_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2268","number":2268,"state":"closed","locked":false,"title":"Parent items for Agenda items (fixes #2213)","user":{"login":"matakuka","id":11648129,"avatar_url":"https://avatars.githubusercontent.com/u/11648129?v=3","gravatar_id":"","url":"https://api.github.com/users/matakuka","html_url":"https://github.com/matakuka","followers_url":"https://api.github.com/users/matakuka/followers","following_url":"https://api.github.com/users/matakuka/following{/other_user}","gists_url":"https://api.github.com/users/matakuka/gists{/gist_id}","starred_url":"https://api.github.com/users/matakuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matakuka/subscriptions","organizations_url":"https://api.github.com/users/matakuka/orgs","repos_url":"https://api.github.com/users/matakuka/repos","events_url":"https://api.github.com/users/matakuka/events{/privacy}","received_events_url":"https://api.github.com/users/matakuka/received_events","type":"User","site_admin":false},"body":"Whenever you create or edit an object that has an agenda entry (`agenda item`, `assignment`, `motion`) you can now chose to assign a \"parent item\" (or chose \"no parent item\"). The underlying agenda item's parent_id will be updated accordingly -- See #2213.\r\n\r\nWhat remains up for discussion is the agenda *weight* of an item, as this decides where under the parent item the agenda item is listed. For now, it is not defined upon update, so probably random. I do not know how this weight is calculated.\r\n\r\nIn terms of code, I may have added a `resolve:` or two that are unnecessary, I did not fully understand when which resolve takes place, so it was a try-and-error.\r\n\r\n(on a side note: `git rebase -i HEAD~7` failed, because the order of the commits is messed up/ reversed on my machine. Is there an easy way to recover from this, without losing the last state?)","created_at":"2016-08-12T15:51:00Z","updated_at":"2016-08-25T15:22:54Z","closed_at":"2016-08-25T15:22:54Z","merged_at":"2016-08-25T15:22:54Z","merge_commit_sha":"d4870db662200361b0abfcf6478fc554e223e75f","assignee":{"login":"emanuelschuetze","id":2075427,"avatar_url":"https://avatars.githubusercontent.com/u/2075427?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuelschuetze","html_url":"https://github.com/emanuelschuetze","followers_url":"https://api.github.com/users/emanuelschuetze/followers","following_url":"https://api.github.com/users/emanuelschuetze/following{/other_user}","gists_url":"https://api.github.com/users/emanuelschuetze/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuelschuetze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuelschuetze/subscriptions","organizations_url":"https://api.github.com/users/emanuelschuetze/orgs","repos_url":"https://api.github.com/users/emanuelschuetze/repos","events_url":"https://api.github.com/users/emanuelschuetze/events{/privacy}","received_events_url":"https://api.github.com/users/emanuelschuetze/received_events","type":"User","site_admin":false},"assignees":[{"login":"emanuelschuetze","id":2075427,"avatar_url":"https://avatars.githubusercontent.com/u/2075427?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuelschuetze","html_url":"https://github.com/emanuelschuetze","followers_url":"https://api.github.com/users/emanuelschuetze/followers","following_url":"https://api.github.com/users/emanuelschuetze/following{/other_user}","gists_url":"https://api.github.com/users/emanuelschuetze/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuelschuetze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuelschuetze/subscriptions","organizations_url":"https://api.github.com/users/emanuelschuetze/orgs","repos_url":"https://api.github.com/users/emanuelschuetze/repos","events_url":"https://api.github.com/users/emanuelschuetze/events{/privacy}","received_events_url":"https://api.github.com/users/emanuelschuetze/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones/21","html_url":"https://github.com/OpenSlides/OpenSlides/milestones/2.1","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones/21/labels","id":1291312,"number":21,"title":"2.1","description":"","creator":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"open_issues":115,"closed_issues":113,"state":"open","created_at":"2015-09-04T21:00:55Z","updated_at":"2016-08-25T15:22:54Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2268/commits","review_comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2268/comments","review_comment_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2268/comments","statuses_url":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/126cfb90007872be40a68f3af1a5e90e8683fe4e","head":{"label":"matakuka:issue2213","ref":"issue2213","sha":"126cfb90007872be40a68f3af1a5e90e8683fe4e","user":{"login":"matakuka","id":11648129,"avatar_url":"https://avatars.githubusercontent.com/u/11648129?v=3","gravatar_id":"","url":"https://api.github.com/users/matakuka","html_url":"https://github.com/matakuka","followers_url":"https://api.github.com/users/matakuka/followers","following_url":"https://api.github.com/users/matakuka/following{/other_user}","gists_url":"https://api.github.com/users/matakuka/gists{/gist_id}","starred_url":"https://api.github.com/users/matakuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matakuka/subscriptions","organizations_url":"https://api.github.com/users/matakuka/orgs","repos_url":"https://api.github.com/users/matakuka/repos","events_url":"https://api.github.com/users/matakuka/events{/privacy}","received_events_url":"https://api.github.com/users/matakuka/received_events","type":"User","site_admin":false},"repo":{"id":60561590,"name":"OpenSlides","full_name":"matakuka/OpenSlides","owner":{"login":"matakuka","id":11648129,"avatar_url":"https://avatars.githubusercontent.com/u/11648129?v=3","gravatar_id":"","url":"https://api.github.com/users/matakuka","html_url":"https://github.com/matakuka","followers_url":"https://api.github.com/users/matakuka/followers","following_url":"https://api.github.com/users/matakuka/following{/other_user}","gists_url":"https://api.github.com/users/matakuka/gists{/gist_id}","starred_url":"https://api.github.com/users/matakuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matakuka/subscriptions","organizations_url":"https://api.github.com/users/matakuka/orgs","repos_url":"https://api.github.com/users/matakuka/repos","events_url":"https://api.github.com/users/matakuka/events{/privacy}","received_events_url":"https://api.github.com/users/matakuka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matakuka/OpenSlides","description":"Presentation and assembly system","fork":true,"url":"https://api.github.com/repos/matakuka/OpenSlides","forks_url":"https://api.github.com/repos/matakuka/OpenSlides/forks","keys_url":"https://api.github.com/repos/matakuka/OpenSlides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matakuka/OpenSlides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matakuka/OpenSlides/teams","hooks_url":"https://api.github.com/repos/matakuka/OpenSlides/hooks","issue_events_url":"https://api.github.com/repos/matakuka/OpenSlides/issues/events{/number}","events_url":"https://api.github.com/repos/matakuka/OpenSlides/events","assignees_url":"https://api.github.com/repos/matakuka/OpenSlides/assignees{/user}","branches_url":"https://api.github.com/repos/matakuka/OpenSlides/branches{/branch}","tags_url":"https://api.github.com/repos/matakuka/OpenSlides/tags","blobs_url":"https://api.github.com/repos/matakuka/OpenSlides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matakuka/OpenSlides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matakuka/OpenSlides/git/refs{/sha}","trees_url":"https://api.github.com/repos/matakuka/OpenSlides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matakuka/OpenSlides/statuses/{sha}","languages_url":"https://api.github.com/repos/matakuka/OpenSlides/languages","stargazers_url":"https://api.github.com/repos/matakuka/OpenSlides/stargazers","contributors_url":"https://api.github.com/repos/matakuka/OpenSlides/contributors","subscribers_url":"https://api.github.com/repos/matakuka/OpenSlides/subscribers","subscription_url":"https://api.github.com/repos/matakuka/OpenSlides/subscription","commits_url":"https://api.github.com/repos/matakuka/OpenSlides/commits{/sha}","git_commits_url":"https://api.github.com/repos/matakuka/OpenSlides/git/commits{/sha}","comments_url":"https://api.github.com/repos/matakuka/OpenSlides/comments{/number}","issue_comment_url":"https://api.github.com/repos/matakuka/OpenSlides/issues/comments{/number}","contents_url":"https://api.github.com/repos/matakuka/OpenSlides/contents/{+path}","compare_url":"https://api.github.com/repos/matakuka/OpenSlides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matakuka/OpenSlides/merges","archive_url":"https://api.github.com/repos/matakuka/OpenSlides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matakuka/OpenSlides/downloads","issues_url":"https://api.github.com/repos/matakuka/OpenSlides/issues{/number}","pulls_url":"https://api.github.com/repos/matakuka/OpenSlides/pulls{/number}","milestones_url":"https://api.github.com/repos/matakuka/OpenSlides/milestones{/number}","notifications_url":"https://api.github.com/repos/matakuka/OpenSlides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matakuka/OpenSlides/labels{/name}","releases_url":"https://api.github.com/repos/matakuka/OpenSlides/releases{/id}","deployments_url":"https://api.github.com/repos/matakuka/OpenSlides/deployments","created_at":"2016-06-06T21:19:14Z","updated_at":"2016-06-06T21:19:15Z","pushed_at":"2016-08-25T12:30:43Z","git_url":"git://github.com/matakuka/OpenSlides.git","ssh_url":"git@github.com:matakuka/OpenSlides.git","clone_url":"https://github.com/matakuka/OpenSlides.git","svn_url":"https://github.com/matakuka/OpenSlides","homepage":"http://openslides.org","size":37973,"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":"OpenSlides:master","ref":"master","sha":"e63c1438f53ad8c63bf424d0b24b97875509b00d","user":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"repo":{"id":5250779,"name":"OpenSlides","full_name":"OpenSlides/OpenSlides","owner":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSlides/OpenSlides","description":"Presentation and assembly system","fork":false,"url":"https://api.github.com/repos/OpenSlides/OpenSlides","forks_url":"https://api.github.com/repos/OpenSlides/OpenSlides/forks","keys_url":"https://api.github.com/repos/OpenSlides/OpenSlides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSlides/OpenSlides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSlides/OpenSlides/teams","hooks_url":"https://api.github.com/repos/OpenSlides/OpenSlides/hooks","issue_events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/events","assignees_url":"https://api.github.com/repos/OpenSlides/OpenSlides/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSlides/OpenSlides/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSlides/OpenSlides/tags","blobs_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSlides/OpenSlides/languages","stargazers_url":"https://api.github.com/repos/OpenSlides/OpenSlides/stargazers","contributors_url":"https://api.github.com/repos/OpenSlides/OpenSlides/contributors","subscribers_url":"https://api.github.com/repos/OpenSlides/OpenSlides/subscribers","subscription_url":"https://api.github.com/repos/OpenSlides/OpenSlides/subscription","commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSlides/OpenSlides/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSlides/OpenSlides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSlides/OpenSlides/merges","archive_url":"https://api.github.com/repos/OpenSlides/OpenSlides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSlides/OpenSlides/downloads","issues_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSlides/OpenSlides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/labels{/name}","releases_url":"https://api.github.com/repos/OpenSlides/OpenSlides/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/deployments","created_at":"2012-07-31T20:04:39Z","updated_at":"2016-08-25T12:49:55Z","pushed_at":"2016-08-25T15:22:54Z","git_url":"git://github.com/OpenSlides/OpenSlides.git","ssh_url":"git@github.com:OpenSlides/OpenSlides.git","clone_url":"https://github.com/OpenSlides/OpenSlides.git","svn_url":"https://github.com/OpenSlides/OpenSlides","homepage":"http://openslides.org","size":39095,"stargazers_count":120,"watchers_count":120,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":168,"forks":45,"open_issues":168,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2268"},"html":{"href":"https://github.com/OpenSlides/OpenSlides/pull/2268"},"issue":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2268"},"comments":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2268/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2268/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/2268/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/126cfb90007872be40a68f3af1a5e90e8683fe4e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"emanuelschuetze","id":2075427,"avatar_url":"https://avatars.githubusercontent.com/u/2075427?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuelschuetze","html_url":"https://github.com/emanuelschuetze","followers_url":"https://api.github.com/users/emanuelschuetze/followers","following_url":"https://api.github.com/users/emanuelschuetze/following{/other_user}","gists_url":"https://api.github.com/users/emanuelschuetze/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuelschuetze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuelschuetze/subscriptions","organizations_url":"https://api.github.com/users/emanuelschuetze/orgs","repos_url":"https://api.github.com/users/emanuelschuetze/repos","events_url":"https://api.github.com/users/emanuelschuetze/events{/privacy}","received_events_url":"https://api.github.com/users/emanuelschuetze/received_events","type":"User","site_admin":false},"comments":22,"review_comments":33,"commits":1,"additions":209,"deletions":99,"changed_files":7}}
{"actor":{"display_login":"emanuelschuetze"}}