{"action":"created","issue":{"url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/952","repository_url":"https://api.github.com/repos/remotestorage/remotestorage.js","labels_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/952/labels{/name}","comments_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/952/comments","events_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/952/events","html_url":"https://github.com/remotestorage/remotestorage.js/pull/952","id":187602168,"number":952,"title":"[WIP] Add network-offline and network-online events","user":{"login":"skddc","id":842,"avatar_url":"https://avatars.githubusercontent.com/u/842?v=3","gravatar_id":"","url":"https://api.github.com/users/skddc","html_url":"https://github.com/skddc","followers_url":"https://api.github.com/users/skddc/followers","following_url":"https://api.github.com/users/skddc/following{/other_user}","gists_url":"https://api.github.com/users/skddc/gists{/gist_id}","starred_url":"https://api.github.com/users/skddc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skddc/subscriptions","organizations_url":"https://api.github.com/users/skddc/orgs","repos_url":"https://api.github.com/users/skddc/repos","events_url":"https://api.github.com/users/skddc/events{/privacy}","received_events_url":"https://api.github.com/users/skddc/received_events","type":"User","site_admin":false},"labels":[{"id":139608375,"url":"https://api.github.com/repos/remotestorage/remotestorage.js/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-07T00:19:55Z","updated_at":"2016-11-12T12:15:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/remotestorage/remotestorage.js/pulls/952","html_url":"https://github.com/remotestorage/remotestorage.js/pull/952","diff_url":"https://github.com/remotestorage/remotestorage.js/pull/952.diff","patch_url":"https://github.com/remotestorage/remotestorage.js/pull/952.patch"},"body":"This adds events for the network going offline (on every failed request) and going back online (on every succeeding successful request). It also moves the setting of remote.online on failure to the right place (same one that success is using).\r\n\r\nI'm using this for the new connect widget, but it's also extremely useful for custom widgets/UI and app developers.\r\n\r\nrefs #923\r\nconnected to #923"},"comment":{"url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/comments/260118787","html_url":"https://github.com/remotestorage/remotestorage.js/pull/952#issuecomment-260118787","issue_url":"https://api.github.com/repos/remotestorage/remotestorage.js/issues/952","id":260118787,"user":{"login":"galfert","id":843,"avatar_url":"https://avatars.githubusercontent.com/u/843?v=3","gravatar_id":"","url":"https://api.github.com/users/galfert","html_url":"https://github.com/galfert","followers_url":"https://api.github.com/users/galfert/followers","following_url":"https://api.github.com/users/galfert/following{/other_user}","gists_url":"https://api.github.com/users/galfert/gists{/gist_id}","starred_url":"https://api.github.com/users/galfert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galfert/subscriptions","organizations_url":"https://api.github.com/users/galfert/orgs","repos_url":"https://api.github.com/users/galfert/repos","events_url":"https://api.github.com/users/galfert/events{/privacy}","received_events_url":"https://api.github.com/users/galfert/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T12:15:45Z","updated_at":"2016-11-12T12:15:45Z","body":"I tested it with Dropbox. The offline mode seems to be broken in general. The `network-offline` event is not sent, and `remoteStorage.remote.online` is still `true`. There are no new attempted network requests afterwards. The widget shows the storage to be offline though. And after going online again the storage stays offline."}}
{"actor":{"display_login":"galfert"}}