{"action":"opened","number":263,"pull_request":{"url":"https://api.github.com/repos/KanoComputing/kano-settings/pulls/263","id":35148512,"html_url":"https://github.com/KanoComputing/kano-settings/pull/263","diff_url":"https://github.com/KanoComputing/kano-settings/pull/263.diff","patch_url":"https://github.com/KanoComputing/kano-settings/pull/263.patch","issue_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/263","number":263,"state":"open","locked":false,"title":"Add disconnect wifi option","user":{"login":"carolineclark","id":5319573,"avatar_url":"https://avatars.githubusercontent.com/u/5319573?v=3","gravatar_id":"","url":"https://api.github.com/users/carolineclark","html_url":"https://github.com/carolineclark","followers_url":"https://api.github.com/users/carolineclark/followers","following_url":"https://api.github.com/users/carolineclark/following{/other_user}","gists_url":"https://api.github.com/users/carolineclark/gists{/gist_id}","starred_url":"https://api.github.com/users/carolineclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolineclark/subscriptions","organizations_url":"https://api.github.com/users/carolineclark/orgs","repos_url":"https://api.github.com/users/carolineclark/repos","events_url":"https://api.github.com/users/carolineclark/events{/privacy}","received_events_url":"https://api.github.com/users/carolineclark/received_events","type":"User","site_admin":false},"body":"The command ```sudo kano-wifi-gui --disconnect``` will now disconnect the user from the internet if they are connected to WiFi.\r\n\r\nAdded a disconnect option to the internet widget.\r\n![kano-screenshot-mon-may-11-17-58-30](https://cloud.githubusercontent.com/assets/5319573/7570385/af4a8c7a-f807-11e4-8ca0-ec1819d5a5de.png)\r\n\r\nWhen clicking disconnect, this launches a dialog once the process is finished:\r\n![kano-screenshot-mon-may-11-18-00-02](https://cloud.githubusercontent.com/assets/5319573/7570549/e1933640-f808-11e4-9b13-f2c9309e72aa.png)\r\n\r\nAdded a beautiful Disconnect button to the GUI when the user is connected via WiFi.  Will change when @TommySaehl has a design, the placement does look a bit weird.\r\n![kano-screenshot-mon-may-11-18-12-31](https://cloud.githubusercontent.com/assets/5319573/7570621/620a1eb0-f809-11e4-8af4-fed821e35d8f.png)\r\n\r\nThis is nearly complete, but needs some more refining with ethernet connections - for example, the Disconnect option in the internet widget should only be shown when connected to WiFi.\r\n\r\nNeeds this pull request to work: https://github.com/KanoComputing/kano-toolset/pull/131","created_at":"2015-05-11T17:16:40Z","updated_at":"2015-05-11T17:16:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KanoComputing/kano-settings/pulls/263/commits","review_comments_url":"https://api.github.com/repos/KanoComputing/kano-settings/pulls/263/comments","review_comment_url":"https://api.github.com/repos/KanoComputing/kano-settings/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/263/comments","statuses_url":"https://api.github.com/repos/KanoComputing/kano-settings/statuses/7fb82287637838432f416e8eff249dbfeb570e28","head":{"label":"KanoComputing:add-disconnect-wifi-option","ref":"add-disconnect-wifi-option","sha":"7fb82287637838432f416e8eff249dbfeb570e28","user":{"login":"KanoComputing","id":3909402,"avatar_url":"https://avatars.githubusercontent.com/u/3909402?v=3","gravatar_id":"","url":"https://api.github.com/users/KanoComputing","html_url":"https://github.com/KanoComputing","followers_url":"https://api.github.com/users/KanoComputing/followers","following_url":"https://api.github.com/users/KanoComputing/following{/other_user}","gists_url":"https://api.github.com/users/KanoComputing/gists{/gist_id}","starred_url":"https://api.github.com/users/KanoComputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KanoComputing/subscriptions","organizations_url":"https://api.github.com/users/KanoComputing/orgs","repos_url":"https://api.github.com/users/KanoComputing/repos","events_url":"https://api.github.com/users/KanoComputing/events{/privacy}","received_events_url":"https://api.github.com/users/KanoComputing/received_events","type":"Organization","site_admin":false},"repo":{"id":17056120,"name":"kano-settings","full_name":"KanoComputing/kano-settings","owner":{"login":"KanoComputing","id":3909402,"avatar_url":"https://avatars.githubusercontent.com/u/3909402?v=3","gravatar_id":"","url":"https://api.github.com/users/KanoComputing","html_url":"https://github.com/KanoComputing","followers_url":"https://api.github.com/users/KanoComputing/followers","following_url":"https://api.github.com/users/KanoComputing/following{/other_user}","gists_url":"https://api.github.com/users/KanoComputing/gists{/gist_id}","starred_url":"https://api.github.com/users/KanoComputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KanoComputing/subscriptions","organizations_url":"https://api.github.com/users/KanoComputing/orgs","repos_url":"https://api.github.com/users/KanoComputing/repos","events_url":"https://api.github.com/users/KanoComputing/events{/privacy}","received_events_url":"https://api.github.com/users/KanoComputing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KanoComputing/kano-settings","description":"Graphic tool to setup Kanux: email, keyboard, audio, display, wifi...","fork":false,"url":"https://api.github.com/repos/KanoComputing/kano-settings","forks_url":"https://api.github.com/repos/KanoComputing/kano-settings/forks","keys_url":"https://api.github.com/repos/KanoComputing/kano-settings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KanoComputing/kano-settings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KanoComputing/kano-settings/teams","hooks_url":"https://api.github.com/repos/KanoComputing/kano-settings/hooks","issue_events_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/events{/number}","events_url":"https://api.github.com/repos/KanoComputing/kano-settings/events","assignees_url":"https://api.github.com/repos/KanoComputing/kano-settings/assignees{/user}","branches_url":"https://api.github.com/repos/KanoComputing/kano-settings/branches{/branch}","tags_url":"https://api.github.com/repos/KanoComputing/kano-settings/tags","blobs_url":"https://api.github.com/repos/KanoComputing/kano-settings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KanoComputing/kano-settings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KanoComputing/kano-settings/git/refs{/sha}","trees_url":"https://api.github.com/repos/KanoComputing/kano-settings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KanoComputing/kano-settings/statuses/{sha}","languages_url":"https://api.github.com/repos/KanoComputing/kano-settings/languages","stargazers_url":"https://api.github.com/repos/KanoComputing/kano-settings/stargazers","contributors_url":"https://api.github.com/repos/KanoComputing/kano-settings/contributors","subscribers_url":"https://api.github.com/repos/KanoComputing/kano-settings/subscribers","subscription_url":"https://api.github.com/repos/KanoComputing/kano-settings/subscription","commits_url":"https://api.github.com/repos/KanoComputing/kano-settings/commits{/sha}","git_commits_url":"https://api.github.com/repos/KanoComputing/kano-settings/git/commits{/sha}","comments_url":"https://api.github.com/repos/KanoComputing/kano-settings/comments{/number}","issue_comment_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/comments{/number}","contents_url":"https://api.github.com/repos/KanoComputing/kano-settings/contents/{+path}","compare_url":"https://api.github.com/repos/KanoComputing/kano-settings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KanoComputing/kano-settings/merges","archive_url":"https://api.github.com/repos/KanoComputing/kano-settings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KanoComputing/kano-settings/downloads","issues_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues{/number}","pulls_url":"https://api.github.com/repos/KanoComputing/kano-settings/pulls{/number}","milestones_url":"https://api.github.com/repos/KanoComputing/kano-settings/milestones{/number}","notifications_url":"https://api.github.com/repos/KanoComputing/kano-settings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KanoComputing/kano-settings/labels{/name}","releases_url":"https://api.github.com/repos/KanoComputing/kano-settings/releases{/id}","created_at":"2014-02-21T12:51:53Z","updated_at":"2015-05-08T11:28:38Z","pushed_at":"2015-05-11T16:53:16Z","git_url":"git://github.com/KanoComputing/kano-settings.git","ssh_url":"git@github.com:KanoComputing/kano-settings.git","clone_url":"https://github.com/KanoComputing/kano-settings.git","svn_url":"https://github.com/KanoComputing/kano-settings","homepage":null,"size":7207,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":6,"default_branch":"master"}},"base":{"label":"KanoComputing:master","ref":"master","sha":"bdc92fe274a9d6f53d4bced5c7b260079be8b25d","user":{"login":"KanoComputing","id":3909402,"avatar_url":"https://avatars.githubusercontent.com/u/3909402?v=3","gravatar_id":"","url":"https://api.github.com/users/KanoComputing","html_url":"https://github.com/KanoComputing","followers_url":"https://api.github.com/users/KanoComputing/followers","following_url":"https://api.github.com/users/KanoComputing/following{/other_user}","gists_url":"https://api.github.com/users/KanoComputing/gists{/gist_id}","starred_url":"https://api.github.com/users/KanoComputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KanoComputing/subscriptions","organizations_url":"https://api.github.com/users/KanoComputing/orgs","repos_url":"https://api.github.com/users/KanoComputing/repos","events_url":"https://api.github.com/users/KanoComputing/events{/privacy}","received_events_url":"https://api.github.com/users/KanoComputing/received_events","type":"Organization","site_admin":false},"repo":{"id":17056120,"name":"kano-settings","full_name":"KanoComputing/kano-settings","owner":{"login":"KanoComputing","id":3909402,"avatar_url":"https://avatars.githubusercontent.com/u/3909402?v=3","gravatar_id":"","url":"https://api.github.com/users/KanoComputing","html_url":"https://github.com/KanoComputing","followers_url":"https://api.github.com/users/KanoComputing/followers","following_url":"https://api.github.com/users/KanoComputing/following{/other_user}","gists_url":"https://api.github.com/users/KanoComputing/gists{/gist_id}","starred_url":"https://api.github.com/users/KanoComputing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KanoComputing/subscriptions","organizations_url":"https://api.github.com/users/KanoComputing/orgs","repos_url":"https://api.github.com/users/KanoComputing/repos","events_url":"https://api.github.com/users/KanoComputing/events{/privacy}","received_events_url":"https://api.github.com/users/KanoComputing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KanoComputing/kano-settings","description":"Graphic tool to setup Kanux: email, keyboard, audio, display, wifi...","fork":false,"url":"https://api.github.com/repos/KanoComputing/kano-settings","forks_url":"https://api.github.com/repos/KanoComputing/kano-settings/forks","keys_url":"https://api.github.com/repos/KanoComputing/kano-settings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KanoComputing/kano-settings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KanoComputing/kano-settings/teams","hooks_url":"https://api.github.com/repos/KanoComputing/kano-settings/hooks","issue_events_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/events{/number}","events_url":"https://api.github.com/repos/KanoComputing/kano-settings/events","assignees_url":"https://api.github.com/repos/KanoComputing/kano-settings/assignees{/user}","branches_url":"https://api.github.com/repos/KanoComputing/kano-settings/branches{/branch}","tags_url":"https://api.github.com/repos/KanoComputing/kano-settings/tags","blobs_url":"https://api.github.com/repos/KanoComputing/kano-settings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KanoComputing/kano-settings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KanoComputing/kano-settings/git/refs{/sha}","trees_url":"https://api.github.com/repos/KanoComputing/kano-settings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KanoComputing/kano-settings/statuses/{sha}","languages_url":"https://api.github.com/repos/KanoComputing/kano-settings/languages","stargazers_url":"https://api.github.com/repos/KanoComputing/kano-settings/stargazers","contributors_url":"https://api.github.com/repos/KanoComputing/kano-settings/contributors","subscribers_url":"https://api.github.com/repos/KanoComputing/kano-settings/subscribers","subscription_url":"https://api.github.com/repos/KanoComputing/kano-settings/subscription","commits_url":"https://api.github.com/repos/KanoComputing/kano-settings/commits{/sha}","git_commits_url":"https://api.github.com/repos/KanoComputing/kano-settings/git/commits{/sha}","comments_url":"https://api.github.com/repos/KanoComputing/kano-settings/comments{/number}","issue_comment_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues/comments{/number}","contents_url":"https://api.github.com/repos/KanoComputing/kano-settings/contents/{+path}","compare_url":"https://api.github.com/repos/KanoComputing/kano-settings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KanoComputing/kano-settings/merges","archive_url":"https://api.github.com/repos/KanoComputing/kano-settings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KanoComputing/kano-settings/downloads","issues_url":"https://api.github.com/repos/KanoComputing/kano-settings/issues{/number}","pulls_url":"https://api.github.com/repos/KanoComputing/kano-settings/pulls{/number}","milestones_url":"https://api.github.com/repos/KanoComputing/kano-settings/milestones{/number}","notifications_url":"https://api.github.com/repos/KanoComputing/kano-settings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KanoComputing/kano-settings/labels{/name}","releases_url":"https://api.github.com/repos/KanoComputing/kano-settings/releases{/id}","created_at":"2014-02-21T12:51:53Z","updated_at":"2015-05-08T11:28:38Z","pushed_at":"2015-05-11T16:53:16Z","git_url":"git://github.com/KanoComputing/kano-settings.git","ssh_url":"git@github.com:KanoComputing/kano-settings.git","clone_url":"https://github.com/KanoComputing/kano-settings.git","svn_url":"https://github.com/KanoComputing/kano-settings","homepage":null,"size":7207,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KanoComputing/kano-settings/pulls/263"},"html":{"href":"https://github.com/KanoComputing/kano-settings/pull/263"},"issue":{"href":"https://api.github.com/repos/KanoComputing/kano-settings/issues/263"},"comments":{"href":"https://api.github.com/repos/KanoComputing/kano-settings/issues/263/comments"},"review_comments":{"href":"https://api.github.com/repos/KanoComputing/kano-settings/pulls/263/comments"},"review_comment":{"href":"https://api.github.com/repos/KanoComputing/kano-settings/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KanoComputing/kano-settings/pulls/263/commits"},"statuses":{"href":"https://api.github.com/repos/KanoComputing/kano-settings/statuses/7fb82287637838432f416e8eff249dbfeb570e28"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":87,"deletions":9,"changed_files":3}}