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

1928 commits

Author SHA1 Message Date
Simo Kinnunen
06fd5bc722 Change group timeout to 10 minutes. 2014-02-06 14:50:24 +09:00
Simo Kinnunen
9c4f13e6cd Be more obvious when the database connection fails. 2014-02-06 14:13:59 +09:00
Simo Kinnunen
b45ad33ec2 Ignore .env and generated doc images. 2014-02-06 13:11:53 +09:00
Simo Kinnunen
5c78002e64 Remove option --ldap-bind-enable from auth-ldap. Unnecessary. 2014-02-06 13:08:35 +09:00
Simo Kinnunen
0e0783b649 Initial device control implementation. Works with touches and NUMERIC keycodes. 2014-02-06 11:54:19 +09:00
Simo Kinnunen
ad0651a3b6 Properly delete retired workers from worker list, or graceful exit gets confused. 2014-02-05 23:13:31 +09:00
Simo Kinnunen
753d839112 dbapi.saveDeviceStatus() was using a removed method. 2014-02-05 23:11:07 +09:00
Simo Kinnunen
0a28757f62 devutil.killProcsByComm() was not falling back to SIGKILL like it should have been. Fixed. Also added a small delay between kill checks. 2014-02-05 23:08:09 +09:00
Simo Kinnunen
6893abdb75 Switch to a more consistent naming convention for services and resource loading. 2014-02-05 17:37:32 +09:00
Simo Kinnunen
91097dc569 Don't rely on lucky timings when sending messages from the provider. 2014-02-05 15:37:28 +09:00
Simo Kinnunen
36d0af71b5 Attempting to make it easier to work with a single device. Still not bound to the new controlService. 2014-02-05 11:08:37 +09:00
Simo Kinnunen
37303c5d92 Add owners to groups. 2014-02-04 20:33:53 +09:00
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