{"action":"created","issue":{"url":"https://api.github.com/repos/raulhaag/MiMangaNu/issues/230","repository_url":"https://api.github.com/repos/raulhaag/MiMangaNu","labels_url":"https://api.github.com/repos/raulhaag/MiMangaNu/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/raulhaag/MiMangaNu/issues/230/comments","events_url":"https://api.github.com/repos/raulhaag/MiMangaNu/issues/230/events","html_url":"https://github.com/raulhaag/MiMangaNu/issues/230","id":140339960,"number":230,"title":"Bug - Before downloading check network connection","user":{"login":"lenisko","id":10072920,"avatar_url":"https://avatars.githubusercontent.com/u/10072920?v=3","gravatar_id":"","url":"https://api.github.com/users/lenisko","html_url":"https://github.com/lenisko","followers_url":"https://api.github.com/users/lenisko/followers","following_url":"https://api.github.com/users/lenisko/following{/other_user}","gists_url":"https://api.github.com/users/lenisko/gists{/gist_id}","starred_url":"https://api.github.com/users/lenisko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenisko/subscriptions","organizations_url":"https://api.github.com/users/lenisko/orgs","repos_url":"https://api.github.com/users/lenisko/repos","events_url":"https://api.github.com/users/lenisko/events{/privacy}","received_events_url":"https://api.github.com/users/lenisko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-12T03:00:38Z","updated_at":"2016-05-12T14:12:07Z","closed_at":null,"body":"Like in title, right now user can try to refresh list without network connection, it's pointless."},"comment":{"url":"https://api.github.com/repos/raulhaag/MiMangaNu/issues/comments/218769366","html_url":"https://github.com/raulhaag/MiMangaNu/issues/230#issuecomment-218769366","issue_url":"https://api.github.com/repos/raulhaag/MiMangaNu/issues/230","id":218769366,"user":{"login":"xtj-9182","id":9414008,"avatar_url":"https://avatars.githubusercontent.com/u/9414008?v=3","gravatar_id":"","url":"https://api.github.com/users/xtj-9182","html_url":"https://github.com/xtj-9182","followers_url":"https://api.github.com/users/xtj-9182/followers","following_url":"https://api.github.com/users/xtj-9182/following{/other_user}","gists_url":"https://api.github.com/users/xtj-9182/gists{/gist_id}","starred_url":"https://api.github.com/users/xtj-9182/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtj-9182/subscriptions","organizations_url":"https://api.github.com/users/xtj-9182/orgs","repos_url":"https://api.github.com/users/xtj-9182/repos","events_url":"https://api.github.com/users/xtj-9182/events{/privacy}","received_events_url":"https://api.github.com/users/xtj-9182/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T14:12:07Z","updated_at":"2016-05-12T14:12:07Z","body":"there's a minor problem with this, from what I can tell it might not be easy to detect if a user is connected or not, for example the user might be using a vpn or 3g and we might not be able to detect that and then we deny the user to update his manga even though he is connected. \r\n\r\nFor now I'm thinking about doing something like this:\r\nwe check if the user is connected and deny updates if he isn't \r\nthen we add an option to ignore the network state which will enable the user to update anyway in case he is connected to a vpn or we failed to detect that he is connected for some other reason."}}