Commit Graph

61 Commits

Author SHA1 Message Date
Simo Kinnunen
55bdd4aecb Formatting. 2014-02-03 02:48:56 +09:00
Simo Kinnunen
6a7e10882f Allow only a single group per device. 2014-02-03 02:28:58 +09:00
Simo Kinnunen
6141bdb5ce Formatting. 2014-02-03 01:55:01 +09:00
Simo Kinnunen
3a0d177925 Make inviting/kicking work. 2014-02-03 01:31:18 +09:00
Simo Kinnunen
4ac766c371 Add missing wirerouter require to app. 2014-02-03 00:05:48 +09:00
Simo Kinnunen
5c1c9fd344 Further simplify message handling by abstracting message mapping to library code. 2014-02-02 20:37:48 +09:00
Simo Kinnunen
b9ca8b04e1 Make wireutil a bit more normal. It now requires wire on its own. 2014-02-02 20:00:29 +09:00
Simo Kinnunen
48d5648b9d Get rid of switch statements in favor of an EventEmitter-based router for message handling. 2014-02-02 19:55:44 +09:00
Simo Kinnunen
9119dcca63 Add UI to LDAP login. 2014-01-31 21:39:07 +09:00
Simo Kinnunen
7c0e04c4b4 Add user service and reorganize services. Messy commit but it's a start. 2014-01-31 15:52:16 +09:00
Simo Kinnunen
f9da1cb0bf Fix typo in error logger. 2014-01-31 13:10:58 +09:00
Simo Kinnunen
4c45a7288b Load devices with Oboe. 2014-01-31 05:10:38 +09:00
Simo Kinnunen
c119e2c3d2 Add API endpoints for loading devices. 2014-01-31 04:27:04 +09:00
Simo Kinnunen
9ed2524a7f Add socket.io with authentication and start rebuilding the device list. 2014-01-31 03:37:55 +09:00
Simo Kinnunen
fb4710e2bf Rename auth/mock resources to auth-mock for now. 2014-01-30 21:57:29 +09:00
Simo Kinnunen
f1c4e68ef7 Properly require the split module. 2014-01-30 21:29:31 +09:00
Simo Kinnunen
bc162676e3 Make it easier to see which devices are ready. 2014-01-30 21:18:41 +09:00
Simo Kinnunen
f8cceffe91 More useful logs. 2014-01-30 19:42:21 +09:00
Simo Kinnunen
88de7d1578 Fix issues with the proxy. 2014-01-30 19:36:43 +09:00
Simo Kinnunen
8bc9592a79 Add HTTP API proxy. 2014-01-30 19:29:42 +09:00
Simo Kinnunen
cadc7a17d0 Move matchesRequirements to devutil. 2014-01-30 17:02:29 +09:00
Simo Kinnunen
1616840818 Add display information to device identity. 2014-01-30 16:53:49 +09:00
Simo Kinnunen
c45c081c6f Allocate two ports to each worker. 2014-01-30 16:18:29 +09:00
Simo Kinnunen
f37e1d8adb Log number of provided devices. 2014-01-30 14:33:51 +09:00
Simo Kinnunen
3e3b98891f Fix monkey command to not break due to auto-escaping. 2014-01-30 14:26:06 +09:00
Simo Kinnunen
4b934f5c66 Give monkey EXTERNAL_STORAGE. 2014-01-30 14:22:23 +09:00
Simo Kinnunen
816904b9bb React to device reboots more gracefully. Previously, the provider would attempt to restart the worker as soon as an essential service died, even if the device was soon released after. Now that doesn't happen. 2014-01-30 12:15:22 +09:00
Simo Kinnunen
8db22952bf Initiate monkey directly from stream. On some devices monkey crashes if we just connect and disconnect. 2014-01-30 10:49:54 +09:00
Simo Kinnunen
e4679b65c0 Take hipchat token from options. 2014-01-30 00:46:46 +09:00
Simo Kinnunen
4cf3d242a5 Add HipChat notifier role. 2014-01-30 00:21:34 +09:00
Simo Kinnunen
07f611b361 Add logcat. 2014-01-29 22:01:22 +09:00
Simo Kinnunen
c859ff0530 Rename coordinator -> processor. 2014-01-29 21:05:28 +09:00
Simo Kinnunen
6ab252857f Add provider to device data. 2014-01-29 20:54:04 +09:00
Simo Kinnunen
389db73f08 Save device logs to rethinkdb. 2014-01-29 19:50:47 +09:00
Simo Kinnunen
a8914297ad Trap more errors. 2014-01-29 16:47:25 +09:00
Simo Kinnunen
ae4e4d3075 Keep better track of vital streams. Add monkey. 2014-01-29 16:24:07 +09:00
Simo Kinnunen
6c350d0068 Move more work to devutil. 2014-01-29 14:17:41 +09:00
Simo Kinnunen
3c55f91ee9 Figure out how to kill monkey reliably. 2014-01-29 12:19:48 +09:00
Simo Kinnunen
403c29c60a Start HTTP API on device. 2014-01-29 11:44:28 +09:00
Simo Kinnunen
216592a995 Push vendor files to devices. 2014-01-29 00:13:29 +09:00
Simo Kinnunen
a4725fe71c Detect if we kill device worker before it becomes operational. 2014-01-28 23:21:39 +09:00
Simo Kinnunen
f056e0d2ca Reorder switches. 2014-01-28 17:10:28 +09:00
Simo Kinnunen
5f8e617393 Push even offline statuses. 2014-01-28 16:57:51 +09:00
Simo Kinnunen
c2becebf4b Remove unused callback. 2014-01-28 16:53:10 +09:00
Simo Kinnunen
48b4c2fd0e Save devices to database. 2014-01-28 15:57:19 +09:00
Simo Kinnunen
881996557a Add user to rethinkdb after login. 2014-01-28 12:27:33 +09:00
Simo Kinnunen
bbab0e6014 Remove old option. 2014-01-27 19:30:42 +09:00
Simo Kinnunen
f2066b35fa Make app work with login. 2014-01-27 15:38:40 +09:00
Simo Kinnunen
e924b73394 Start auth-mock with stf local and make the log tag clearer. 2014-01-27 11:07:32 +09:00
Simo Kinnunen
2b46ff41d3 Fairly overkill AngularJS + RequireJS UI for the mock login screen. 2014-01-24 22:53:51 +09:00