1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00
Commit graph

116 commits

Author SHA1 Message Date
Simo Kinnunen
3e7d91cb91 If device gets unplugged after a service fails (happens easily because the socket dies), don't log a provider error. 2014-02-04 16:07:56 +09:00
Simo Kinnunen
adaf3da228 New rewrite of provider. By moving to promises we should no longer have issues with double-quits. 2014-02-04 15:42:52 +09:00
Simo Kinnunen
8a23b37deb Formatting. 2014-02-04 00:44:42 +09:00
Simo Kinnunen
b50ec6b4b0 Expose input services. 2014-02-03 21:10:15 +09:00
Simo Kinnunen
eb332ff36a Merge DeviceIdentityMessage on the app side. 2014-02-03 19:56:01 +09:00
Simo Kinnunen
2086d7d439 Better device present/absent handling by separating it from the status event. 2014-02-03 19:42:20 +09:00
Simo Kinnunen
f432dc9fb9 Give priority to static files. They don't need cookies, auth or validation. 2014-02-03 14:26:41 +09:00
Simo Kinnunen
59178ee837 Ensure that each request has a corresponding user in the database. 2014-02-03 14:23:05 +09:00
Simo Kinnunen
b84968c08c Ensure that device is saved before probing it. 2014-02-03 11:09:40 +09:00
Simo Kinnunen
483bf1be7a Default to null operator if none can be found. Easier to work with than undefined. 2014-02-03 03:15:19 +09:00
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
ade611670e Fix dep name. 2014-01-31 23:50:20 +09:00
Gunther Brunner
9a153615d4 Fixed auth ldap and mock templates. 2014-01-31 21:48:37 +09:00
Simo Kinnunen
9119dcca63 Add UI to LDAP login. 2014-01-31 21:39:07 +09:00
Simo Kinnunen
01339b089e Remove numeric flags in favor of plain string data. Scales better. 2014-01-31 19:38:53 +09:00
Simo Kinnunen
f173e6650a Add operator to device data. 2014-01-31 19:31:21 +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
52ae7765c8 Add Oboe.js. 2014-01-31 03:52:55 +09:00
Simo Kinnunen
9ed2524a7f Add socket.io with authentication and start rebuilding the device list. 2014-01-31 03:37:55 +09:00
Gunther Brunner
176310cb6d Changed name to email for now. 2014-01-30 23:23:06 +09:00
Gunther Brunner
00628279c7 Styling the login page. 2014-01-30 23:17:35 +09:00
Simo Kinnunen
fb4710e2bf Rename auth/mock resources to auth-mock for now. 2014-01-30 21:57:29 +09:00
Simo Kinnunen
a2750d3013 Store device display URL. 2014-01-30 21:48:20 +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
aca775b7f7 Add SONY_ERICSSON to manufacturer list and try to be a bit more intelligent when detecting it. 2014-01-30 20:05:16 +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
e0426d01be Remove unused method devutil.startProp(). It was probably added by mistake. 2014-01-30 15:34:00 +09:00
Simo Kinnunen
e083855d61 Map PANASONIC. 2014-01-30 14:47:01 +09:00
Simo Kinnunen
a54f449987 Map NEC. 2014-01-30 14:41:42 +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
090908f161 Apparently Linux doesn't allow multiple arguments in shebang. Removing --harmony flag as it's currently unused anyway, and switching to Promise.longStackTraces(). 2014-01-30 13:52:10 +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