{"action":"published","release":{"url":"https://api.github.com/repos/queapp/core/releases/880982","assets_url":"https://api.github.com/repos/queapp/core/releases/880982/assets","upload_url":"https://uploads.github.com/repos/queapp/core/releases/880982/assets{?name}","html_url":"https://github.com/queapp/core/releases/tag/v0.7.0-pre1","id":880982,"tag_name":"v0.7.0-pre1","target_commitish":"dev/0.7","name":"v0.7 Prerelease 1 - Rooms, working spark stuff","draft":false,"author":{"login":"1egoman","id":1704236,"avatar_url":"https://avatars.githubusercontent.com/u/1704236?v=3","gravatar_id":"","url":"https://api.github.com/users/1egoman","html_url":"https://github.com/1egoman","followers_url":"https://api.github.com/users/1egoman/followers","following_url":"https://api.github.com/users/1egoman/following{/other_user}","gists_url":"https://api.github.com/users/1egoman/gists{/gist_id}","starred_url":"https://api.github.com/users/1egoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1egoman/subscriptions","organizations_url":"https://api.github.com/users/1egoman/orgs","repos_url":"https://api.github.com/users/1egoman/repos","events_url":"https://api.github.com/users/1egoman/events{/privacy}","received_events_url":"https://api.github.com/users/1egoman/received_events","type":"User","site_admin":false},"prerelease":true,"created_at":"2015-01-19T16:10:29Z","published_at":"2015-01-24T12:51:05Z","assets":[],"tarball_url":"https://api.github.com/repos/queapp/core/tarball/v0.7.0-pre1","zipball_url":"https://api.github.com/repos/queapp/core/zipball/v0.7.0-pre1","body":"Rooms\r\n===\r\nServices were outdated - I hadn't touched them in months. I've got rid of them and implemented rooms instead. A room is a collection of things, sorted like they are in the physical world. So, all the `lamp`s I have in my basement, for example, would go into a room named basement. And, each lamp has an `enter` event and a `leave` event - for each event a user can set the state of the thing. So, the idea is, a user walks into a room, and this information is sent to Que via some activation mechanism (nfc tags?). Then, the user see's the room become 'activated', and everything specified in the enter state turns on, off, or to a specific value. Same thing when a use leaves.\r\n\r\nSpark Bugs\r\n===\r\nSince I hadn't gotten my hands on a spark at the last final release, some things weren't working right. I fixed all those issues and spark integration 100% works.\r\n\r\nOther Stuff\r\n===\r\n- fixed json parse error in action.trigger/detrigger\r\n- added ui elements for room enter and leave\r\n- clear block cache on block add\r\n- documentation formatting\r\n- updated add spark page\r\n- documented log levels\r\n- log levels\r\n- que.setThingValue only runs when there is an update\r\n- added room count to dashboard\r\n- block logging: logs are prepended.\r\n- slight update to spark input block template code\r\n- updated block logging code\r\n- polling for expired auth sessions\r\n- user sessions should now expire\r\n- removed console.log\r\n- added my custom launcher to gitignore\r\n- added underscore-min.map\r\n- fixed adding of things to rooms\r\n- fixed documentation links\r\n- fixed username in navbar cursor\r\n- blocks now are cached, and fixed a small bug in thing cache\r\n- move room add button out from behind edit button\r\n- removed a significant amount of API calls between client and server by\r\n- switched all the service stuff to room stuff\r\n- add a thing based on its action\r\n- updated documentation links\r\n- fixed documentation formatting"}}