Commit Graph

98 Commits

Author SHA1 Message Date
Simo Kinnunen
3b54213e97 Leave transaction channel when it's done. Could be made cleaner if more code was moved to the app side. 2014-02-21 15:58:54 +09:00
Simo Kinnunen
8769b8040c Initial version of transactions. Shell command implemented as an example. Still needs channel cleanup on app side, handling a device dying in the middle of a transaction, and getting device list back to normal. 2014-02-21 15:55:23 +09:00
Gunther Brunner
eae8062252 Adding nothing to show.
Exporting webpack options.
2014-02-19 22:51:40 +09:00
Gunther Brunner
a2a00736b6 Added back new screen directive. 2014-02-19 21:40:37 +09:00
Gunther Brunner
c319945d37 Merge branch 'develop' of http://ghe.amb.ca.local/stf/stf into develop
Conflicts:
	res/app/components/stf/screen/screen.jade
	res/app/device-control/device-control.css
	res/app/scripts/controllers/DeviceScreenCtrl.js
	res/app/scripts/services/ControlService.js
2014-02-19 18:24:12 +09:00
Gunther Brunner
6186c1cc87 Improved layout. 2014-02-19 16:52:26 +09:00
Gunther Brunner
347d9e9a55 Added stf namespace. 2014-02-18 20:32:45 +09:00
Gunther Brunner
a1b0d136be Updated oboe loader. 2014-02-18 20:13:01 +09:00
Gunther Brunner
c306a537b7 Remove angular dependency. 2014-02-18 19:49:17 +09:00
Gunther Brunner
80d0bb7ad2 Refactoring to use Google Angular Best Practices. 2014-02-18 19:26:30 +09:00
Gunther Brunner
6df8ed7184 Refactored settings. 2014-02-18 17:07:56 +09:00
Gunther Brunner
8e674928ea Fast rebuilds. 2014-02-18 14:48:34 +09:00
Gunther Brunner
a771952339 First package works. 2014-02-17 22:13:55 +09:00
Simo Kinnunen
e6a9c646e3 Provider better provider debug output and make fix killProcsByComm hanging on Xperia Z1. 2014-02-17 20:14:56 +09:00
Simo Kinnunen
bc9d356d7f Use InputAgent for the keyboard. 2014-02-17 19:27:45 +09:00
Gunther Brunner
61a7b9ded6 In the middle of a big refactoring. 2014-02-14 20:17:23 +09:00
Gunther Brunner
1de3621b18 Now angular works. 2014-02-13 23:14:51 +09:00
Gunther Brunner
7a0472abc9 Starting to add WebPack support. 2014-02-12 20:14:13 +09:00
Simo Kinnunen
277c9b401a Make GroupService keep the list of members up to date. 2014-02-07 11:56:19 +09:00
Simo Kinnunen
6ae7c310e0 Send logcat messages to group. 2014-02-07 01:15:39 +09:00
Simo Kinnunen
a8fe5f6613 Add LogcatApplyFiltersMessage. 2014-02-07 00:58:39 +09:00
Simo Kinnunen
e4c76e1793 Fix provider not seeing device type changes. ADB doesn't keep the object up to date by itself. 2014-02-07 00:26:16 +09:00
Simo Kinnunen
d17e86bc57 Implement device screen. 2014-02-06 22:45:19 +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
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
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