{"action":"created","issue":{"url":"https://api.github.com/repos/frab/frab/issues/261","repository_url":"https://api.github.com/repos/frab/frab","labels_url":"https://api.github.com/repos/frab/frab/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/frab/frab/issues/261/comments","events_url":"https://api.github.com/repos/frab/frab/issues/261/events","html_url":"https://github.com/frab/frab/pull/261","id":177825617,"number":261,"title":"Add support for sub-conferences","user":{"login":"zonque","id":106304,"avatar_url":"https://avatars.githubusercontent.com/u/106304?v=3","gravatar_id":"","url":"https://api.github.com/users/zonque","html_url":"https://github.com/zonque","followers_url":"https://api.github.com/users/zonque/followers","following_url":"https://api.github.com/users/zonque/following{/other_user}","gists_url":"https://api.github.com/users/zonque/gists{/gist_id}","starred_url":"https://api.github.com/users/zonque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonque/subscriptions","organizations_url":"https://api.github.com/users/zonque/orgs","repos_url":"https://api.github.com/users/zonque/repos","events_url":"https://api.github.com/users/zonque/events{/privacy}","received_events_url":"https://api.github.com/users/zonque/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-19T16:02:40Z","updated_at":"2016-09-25T11:26:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/frab/frab/pulls/261","html_url":"https://github.com/frab/frab/pull/261","diff_url":"https://github.com/frab/frab/pull/261.diff","patch_url":"https://github.com/frab/frab/pull/261.patch"},"body":"This PR adds support for sub-conferences, so that parts of a conference can be delegated to a separate team to handle their own events, while administrators of the 'master' conference stay in control of specific details.\r\n\r\nThe implementation details are:\r\n\r\n* Each conference gains a `parent` field to link to another conference. During the creation of a conference, all existing conferences the currently logged in user has administration rights for may be selected as parent.\r\n\r\n* A sub-conference inherits all `days` from `parent` and may not create any `day` itself.\r\n\r\n* The `timezone` and `timeslot_duration` attributes in sub-conferences are locked and hidden from the forms. The values are taken from `parent` instead.\r\n\r\n* Rooms and tracks of a sub-conference may only be edited by users that have administration rights for the parent conference.\r\n\r\n* In the public schedule of the parent conference, all events, tracks, rooms etc from all sub-conferences are taken into account for the HTML view and all machine-readable output formats. However, they don't appear in the usual work-flow in the parent conference.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/frab/frab/issues/comments/249416371","html_url":"https://github.com/frab/frab/pull/261#issuecomment-249416371","issue_url":"https://api.github.com/repos/frab/frab/issues/261","id":249416371,"user":{"login":"manno","id":393653,"avatar_url":"https://avatars.githubusercontent.com/u/393653?v=3","gravatar_id":"","url":"https://api.github.com/users/manno","html_url":"https://github.com/manno","followers_url":"https://api.github.com/users/manno/followers","following_url":"https://api.github.com/users/manno/following{/other_user}","gists_url":"https://api.github.com/users/manno/gists{/gist_id}","starred_url":"https://api.github.com/users/manno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manno/subscriptions","organizations_url":"https://api.github.com/users/manno/orgs","repos_url":"https://api.github.com/users/manno/repos","events_url":"https://api.github.com/users/manno/events{/privacy}","received_events_url":"https://api.github.com/users/manno/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T11:26:01Z","updated_at":"2016-09-25T11:26:01Z","body":"Hi,\r\nThanks for keeping up with this. I played around with the PR some more and have more questions.\r\n\r\nSince deep nesting of conferences is not  supported by the queries, can we have a model validation to prevent this?\r\n\r\nSub Conferences can't have days, there should be a validation in the model to enforce this.\r\n\r\nWhat should happen if an existing conference gets a parent. Can the days be deleted? Or do we just keep them in the database. What happens to existing, scheduled, events?\r\n\r\nThe public schedule of my main conference only renders rooms and events of the child conference. Might be my setup, though."}}
{"actor":{"display_login":"manno"}}