{"action":"created","comment":{"url":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/comments/38439775","id":38439775,"diff_hunk":"@@ -56,6 +63,86 @@ internal static TimeRange CellularDataBlackout\n             }\n         }\n \n+        internal static string WlanBlackoutRange\n+        {\n+            get\n+            {\n+                try\n+                {\n+                    return (string)GetRegistryValue(WlanBlackoutRangeKeyName, null);\n+                }\n+                catch (Exception)\n+                {\n+                }\n+\n+                return null;\n+            }\n+        }\n+\n+        internal static string WwanBlackoutRange\n+        {\n+            get\n+            {\n+                try\n+                {\n+                    return (string)GetRegistryValue(WwanBlackoutRangeKeyName, null);\n+                }\n+                catch (Exception)\n+                {\n+                }\n+\n+                return null;\n+            }\n+        }\n+\n+        internal static bool RoamingBlackout\n+        {\n+            get\n+            {\n+                try\n+                {\n+                    return GetRegistryValue(RoamingBlackoutKeyName, false);                    \n+                }\n+                catch (Exception)\n+                {\n+                }\n+\n+                return false;\n+            }\n+        }\n+\n+        internal static bool OnChargeBlackout\n+        {\n+            get\n+            {\n+                try\n+                {\n+                    return GetRegistryValue(OnChargeBlackoutKeyName, true);","path":"src/reyna/Preferences.cs","position":77,"original_position":77,"commit_id":"21ec57051fafb62e1dcd3020427904bcfeb30372","original_commit_id":"21ec57051fafb62e1dcd3020427904bcfeb30372","user":{"login":"aflugge","id":7136348,"avatar_url":"https://avatars.githubusercontent.com/u/7136348?v=3","gravatar_id":"","url":"https://api.github.com/users/aflugge","html_url":"https://github.com/aflugge","followers_url":"https://api.github.com/users/aflugge/followers","following_url":"https://api.github.com/users/aflugge/following{/other_user}","gists_url":"https://api.github.com/users/aflugge/gists{/gist_id}","starred_url":"https://api.github.com/users/aflugge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aflugge/subscriptions","organizations_url":"https://api.github.com/users/aflugge/orgs","repos_url":"https://api.github.com/users/aflugge/repos","events_url":"https://api.github.com/users/aflugge/events{/privacy}","received_events_url":"https://api.github.com/users/aflugge/received_events","type":"User","site_admin":false},"body":"OnChargeBlackout should default to false.","created_at":"2015-09-01T16:28:48Z","updated_at":"2015-09-01T16:28:48Z","html_url":"https://github.com/B2MSolutions/reyna.net/pull/4#discussion_r38439775","pull_request_url":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/comments/38439775"},"html":{"href":"https://github.com/B2MSolutions/reyna.net/pull/4#discussion_r38439775"},"pull_request":{"href":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/4","id":43297667,"html_url":"https://github.com/B2MSolutions/reyna.net/pull/4","diff_url":"https://github.com/B2MSolutions/reyna.net/pull/4.diff","patch_url":"https://github.com/B2MSolutions/reyna.net/pull/4.patch","issue_url":"https://api.github.com/repos/B2MSolutions/reyna.net/issues/4","number":4,"state":"open","locked":false,"title":"Restrict data upload for CE","user":{"login":"b2mdevelopment","id":1344268,"avatar_url":"https://avatars.githubusercontent.com/u/1344268?v=3","gravatar_id":"","url":"https://api.github.com/users/b2mdevelopment","html_url":"https://github.com/b2mdevelopment","followers_url":"https://api.github.com/users/b2mdevelopment/followers","following_url":"https://api.github.com/users/b2mdevelopment/following{/other_user}","gists_url":"https://api.github.com/users/b2mdevelopment/gists{/gist_id}","starred_url":"https://api.github.com/users/b2mdevelopment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b2mdevelopment/subscriptions","organizations_url":"https://api.github.com/users/b2mdevelopment/orgs","repos_url":"https://api.github.com/users/b2mdevelopment/repos","events_url":"https://api.github.com/users/b2mdevelopment/events{/privacy}","received_events_url":"https://api.github.com/users/b2mdevelopment/received_events","type":"User","site_admin":false},"body":"This feature deals with restricting sending any data via HTTP to elemez, the limitation could be enforced via \"time windows\" for\r\n\r\n* WLAN, default true\r\n* WWAN, default true\r\n\r\nand with a on / off toggle for\r\n\r\n* WWAN roaming, default false\r\n* On charge, default true\r\n* Off charge, default true","created_at":"2015-08-25T15:10:47Z","updated_at":"2015-09-01T16:28:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c80e5746db2b7eefd8e2e1229f157e8e61be1d0b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/4/commits","review_comments_url":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/4/comments","review_comment_url":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/B2MSolutions/reyna.net/issues/4/comments","statuses_url":"https://api.github.com/repos/B2MSolutions/reyna.net/statuses/21ec57051fafb62e1dcd3020427904bcfeb30372","head":{"label":"B2MSolutions:restrict-upload-data","ref":"restrict-upload-data","sha":"21ec57051fafb62e1dcd3020427904bcfeb30372","user":{"login":"B2MSolutions","id":1344042,"avatar_url":"https://avatars.githubusercontent.com/u/1344042?v=3","gravatar_id":"","url":"https://api.github.com/users/B2MSolutions","html_url":"https://github.com/B2MSolutions","followers_url":"https://api.github.com/users/B2MSolutions/followers","following_url":"https://api.github.com/users/B2MSolutions/following{/other_user}","gists_url":"https://api.github.com/users/B2MSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/B2MSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B2MSolutions/subscriptions","organizations_url":"https://api.github.com/users/B2MSolutions/orgs","repos_url":"https://api.github.com/users/B2MSolutions/repos","events_url":"https://api.github.com/users/B2MSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/B2MSolutions/received_events","type":"Organization","site_admin":false},"repo":{"id":8437771,"name":"reyna.net","full_name":"B2MSolutions/reyna.net","owner":{"login":"B2MSolutions","id":1344042,"avatar_url":"https://avatars.githubusercontent.com/u/1344042?v=3","gravatar_id":"","url":"https://api.github.com/users/B2MSolutions","html_url":"https://github.com/B2MSolutions","followers_url":"https://api.github.com/users/B2MSolutions/followers","following_url":"https://api.github.com/users/B2MSolutions/following{/other_user}","gists_url":"https://api.github.com/users/B2MSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/B2MSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B2MSolutions/subscriptions","organizations_url":"https://api.github.com/users/B2MSolutions/orgs","repos_url":"https://api.github.com/users/B2MSolutions/repos","events_url":"https://api.github.com/users/B2MSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/B2MSolutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/B2MSolutions/reyna.net","description":"Reyna for .NET","fork":false,"url":"https://api.github.com/repos/B2MSolutions/reyna.net","forks_url":"https://api.github.com/repos/B2MSolutions/reyna.net/forks","keys_url":"https://api.github.com/repos/B2MSolutions/reyna.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/B2MSolutions/reyna.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/B2MSolutions/reyna.net/teams","hooks_url":"https://api.github.com/repos/B2MSolutions/reyna.net/hooks","issue_events_url":"https://api.github.com/repos/B2MSolutions/reyna.net/issues/events{/number}","events_url":"https://api.github.com/repos/B2MSolutions/reyna.net/events","assignees_url":"https://api.github.com/repos/B2MSolutions/reyna.net/assignees{/user}","branches_url":"https://api.github.com/repos/B2MSolutions/reyna.net/branches{/branch}","tags_url":"https://api.github.com/repos/B2MSolutions/reyna.net/tags","blobs_url":"https://api.github.com/repos/B2MSolutions/reyna.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/B2MSolutions/reyna.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/B2MSolutions/reyna.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/B2MSolutions/reyna.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/B2MSolutions/reyna.net/statuses/{sha}","languages_url":"https://api.github.com/repos/B2MSolutions/reyna.net/languages","stargazers_url":"https://api.github.com/repos/B2MSolutions/reyna.net/stargazers","contributors_url":"https://api.github.com/repos/B2MSolutions/reyna.net/contributors","subscribers_url":"https://api.github.com/repos/B2MSolutions/reyna.net/subscribers","subscription_url":"https://api.github.com/repos/B2MSolutions/reyna.net/subscription","commits_url":"https://api.github.com/repos/B2MSolutions/reyna.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/B2MSolutions/reyna.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/B2MSolutions/reyna.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/B2MSolutions/reyna.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/B2MSolutions/reyna.net/contents/{+path}","compare_url":"https://api.github.com/repos/B2MSolutions/reyna.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/B2MSolutions/reyna.net/merges","archive_url":"https://api.github.com/repos/B2MSolutions/reyna.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/B2MSolutions/reyna.net/downloads","issues_url":"https://api.github.com/repos/B2MSolutions/reyna.net/issues{/number}","pulls_url":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls{/number}","milestones_url":"https://api.github.com/repos/B2MSolutions/reyna.net/milestones{/number}","notifications_url":"https://api.github.com/repos/B2MSolutions/reyna.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/B2MSolutions/reyna.net/labels{/name}","releases_url":"https://api.github.com/repos/B2MSolutions/reyna.net/releases{/id}","created_at":"2013-02-26T17:22:09Z","updated_at":"2014-12-09T11:20:21Z","pushed_at":"2015-09-01T14:10:47Z","git_url":"git://github.com/B2MSolutions/reyna.net.git","ssh_url":"git@github.com:B2MSolutions/reyna.net.git","clone_url":"https://github.com/B2MSolutions/reyna.net.git","svn_url":"https://github.com/B2MSolutions/reyna.net","homepage":"","size":12564,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"B2MSolutions:master","ref":"master","sha":"ef6274d1b52ce7c228fe8612fbf344aaaf4c5f04","user":{"login":"B2MSolutions","id":1344042,"avatar_url":"https://avatars.githubusercontent.com/u/1344042?v=3","gravatar_id":"","url":"https://api.github.com/users/B2MSolutions","html_url":"https://github.com/B2MSolutions","followers_url":"https://api.github.com/users/B2MSolutions/followers","following_url":"https://api.github.com/users/B2MSolutions/following{/other_user}","gists_url":"https://api.github.com/users/B2MSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/B2MSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B2MSolutions/subscriptions","organizations_url":"https://api.github.com/users/B2MSolutions/orgs","repos_url":"https://api.github.com/users/B2MSolutions/repos","events_url":"https://api.github.com/users/B2MSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/B2MSolutions/received_events","type":"Organization","site_admin":false},"repo":{"id":8437771,"name":"reyna.net","full_name":"B2MSolutions/reyna.net","owner":{"login":"B2MSolutions","id":1344042,"avatar_url":"https://avatars.githubusercontent.com/u/1344042?v=3","gravatar_id":"","url":"https://api.github.com/users/B2MSolutions","html_url":"https://github.com/B2MSolutions","followers_url":"https://api.github.com/users/B2MSolutions/followers","following_url":"https://api.github.com/users/B2MSolutions/following{/other_user}","gists_url":"https://api.github.com/users/B2MSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/B2MSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B2MSolutions/subscriptions","organizations_url":"https://api.github.com/users/B2MSolutions/orgs","repos_url":"https://api.github.com/users/B2MSolutions/repos","events_url":"https://api.github.com/users/B2MSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/B2MSolutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/B2MSolutions/reyna.net","description":"Reyna for .NET","fork":false,"url":"https://api.github.com/repos/B2MSolutions/reyna.net","forks_url":"https://api.github.com/repos/B2MSolutions/reyna.net/forks","keys_url":"https://api.github.com/repos/B2MSolutions/reyna.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/B2MSolutions/reyna.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/B2MSolutions/reyna.net/teams","hooks_url":"https://api.github.com/repos/B2MSolutions/reyna.net/hooks","issue_events_url":"https://api.github.com/repos/B2MSolutions/reyna.net/issues/events{/number}","events_url":"https://api.github.com/repos/B2MSolutions/reyna.net/events","assignees_url":"https://api.github.com/repos/B2MSolutions/reyna.net/assignees{/user}","branches_url":"https://api.github.com/repos/B2MSolutions/reyna.net/branches{/branch}","tags_url":"https://api.github.com/repos/B2MSolutions/reyna.net/tags","blobs_url":"https://api.github.com/repos/B2MSolutions/reyna.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/B2MSolutions/reyna.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/B2MSolutions/reyna.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/B2MSolutions/reyna.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/B2MSolutions/reyna.net/statuses/{sha}","languages_url":"https://api.github.com/repos/B2MSolutions/reyna.net/languages","stargazers_url":"https://api.github.com/repos/B2MSolutions/reyna.net/stargazers","contributors_url":"https://api.github.com/repos/B2MSolutions/reyna.net/contributors","subscribers_url":"https://api.github.com/repos/B2MSolutions/reyna.net/subscribers","subscription_url":"https://api.github.com/repos/B2MSolutions/reyna.net/subscription","commits_url":"https://api.github.com/repos/B2MSolutions/reyna.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/B2MSolutions/reyna.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/B2MSolutions/reyna.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/B2MSolutions/reyna.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/B2MSolutions/reyna.net/contents/{+path}","compare_url":"https://api.github.com/repos/B2MSolutions/reyna.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/B2MSolutions/reyna.net/merges","archive_url":"https://api.github.com/repos/B2MSolutions/reyna.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/B2MSolutions/reyna.net/downloads","issues_url":"https://api.github.com/repos/B2MSolutions/reyna.net/issues{/number}","pulls_url":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls{/number}","milestones_url":"https://api.github.com/repos/B2MSolutions/reyna.net/milestones{/number}","notifications_url":"https://api.github.com/repos/B2MSolutions/reyna.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/B2MSolutions/reyna.net/labels{/name}","releases_url":"https://api.github.com/repos/B2MSolutions/reyna.net/releases{/id}","created_at":"2013-02-26T17:22:09Z","updated_at":"2014-12-09T11:20:21Z","pushed_at":"2015-09-01T14:10:47Z","git_url":"git://github.com/B2MSolutions/reyna.net.git","ssh_url":"git@github.com:B2MSolutions/reyna.net.git","clone_url":"https://github.com/B2MSolutions/reyna.net.git","svn_url":"https://github.com/B2MSolutions/reyna.net","homepage":"","size":12564,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/4"},"html":{"href":"https://github.com/B2MSolutions/reyna.net/pull/4"},"issue":{"href":"https://api.github.com/repos/B2MSolutions/reyna.net/issues/4"},"comments":{"href":"https://api.github.com/repos/B2MSolutions/reyna.net/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/B2MSolutions/reyna.net/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/B2MSolutions/reyna.net/statuses/21ec57051fafb62e1dcd3020427904bcfeb30372"}}}}