Giter VIP home page Giter VIP logo

sway's People

Contributors

jessicamarcus avatar jimankrom avatar mike-d-adsk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sway's Issues

As a control user, I need to be notified of authorization.

After authentication, the user app should be notified of when they are calibrating or controlling the system.

While the user does not have control, it should poll an authorization service that returns a response stating that the user is authorized to be in control, or authorized to calibrate.

Calibration MUST override control.

The authorization response should also be returned upon a successful submission to the server.

Not having authorization should stop the client from sending any messages, and should poll the server for authorization.

If the server returns a BANNED authorization, the client should cease all operations.

As a user, I would like any sway installation to remember me over time.

Current implementation has some support for cookies. This could be greatly improved.
User MAC addresses could be captured and stored in an optional database (using node-arp), along with some connection information (such as "Installations visited", etc).

Users could be remembered as donors, friends, family... even people that need to be prevented from connecting.

As a sway user, I want accurate positioning within the installation space (WiFi positioning / triangulation)

Investigation / research task.

  • What will this take?
  • Is it viable?
  • Is it accurate enough to make it worth pursuing? (and what -is- that threshold?)

For Video Bleep (videobleep.tv) we already have roughly guaranteed triangular points - the tripod setup. Could each tripod be given a wifi AP to triangulate from?

Some links:
http://trillworks.com/nick/2011/11/25/real-time-indoor-navigation-for-android-phones/
https://developer.mozilla.org/en-US/docs/Web/API/WiFi_Information_API

As an admin user, I would like to see a list of all users on the admin page

The Admin.html page should show a list of all users currently connected to the Sway control server.

The current list of live users is found at /users.

The user list must show user id and user agent; however the user agent string is long and in the future will be limited to just relevant information such as device information (see issue #5 )

As a control user, the application should detect when I am idle.

When a user's screen locks, sway continues to send the same frame over and over.

This should
(1) Detect that the user is idle
(2) set a long timeout to delete the user completely
(3) set a short timeout to allow the user to control within a short recovery period.
(4) in between those two, have the user reconnect and re-queue.

Infrastructure for Sway environment (dev, debug, release)

Grunt should get all packages (npm, bower(?)) for the UI, API and Test packages in the application.

  • As UI does not run on node, bower should install all packages there.
  • API should be installed via npm.
  • Test should be installed via npm, however not every component we will use for UI testing is npm compatible - evaluate use of bower for install of those components (sinon especially).

As an administrator, I want to be able to see information about how the system is performing.

Create sway.monitor.js

Create basic instrumentation / logging for a snapshot each second of:

  • requests served
  • user count
  • users queued / dequeued

Design could be that a monitor snapshot object exists to gather these counts, and each second we add it to the logging array.

  • Hang on to these value for the past n seconds (configurable)
  • Allow charting it in the admin UI
  • Allow actions based on certain thresholds of values.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.