Commit Graph

153 Commits

Author SHA1 Message Date
Simo Kinnunen
e7a887ae45 Rename vital checkers. 2014-03-04 19:19:11 +09:00
Simo Kinnunen
a25df0b293 Wake up and unlock device when it's being used. A bit messy, pending refactor. 2014-03-04 18:00:31 +09:00
Simo Kinnunen
2692f71219 Only track devices when we need to. 2014-02-27 15:05:50 +09:00
Simo Kinnunen
08be119883 Remove old utility methods. 2014-02-26 20:48:35 +09:00
Simo Kinnunen
be9d1c9579 Invite/kick now uses transactions so that you can know whether the device actually joined or not. It's a bit messy right now, should introduce some sugar to make it cleaner. 2014-02-26 19:03:11 +09:00
Simo Kinnunen
b177d198b3 Don't try to be clever with cleanup. It's too tricky to get it right. 2014-02-25 21:01:21 +09:00
Simo Kinnunen
4896ca406e Reap dead devices using timeouts. Previously, if a provider died without being able to clean up properly, the device would stay as a ghost. 2014-02-25 20:45:29 +09:00
Simo Kinnunen
f24e777961 Move webpack-config.js to the middleware folder. 2014-02-25 14:13:20 +09:00
Simo Kinnunen
d8bc09e020 Reorder MessageTypes. 2014-02-21 16:34:29 +09:00
Simo Kinnunen
4381a5ddfe Remove remnants of console and old tx implementation. 2014-02-21 16:31:22 +09:00
Simo Kinnunen
df3a29d94c Use promises for socket client for better reliability. 2014-02-21 15:59:30 +09:00
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
Simo Kinnunen
30fdc62711 Fix promiseutil.periodicNotify to actually resolve with correct values. 2014-02-17 19:15:56 +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
1fbaae8d8e Add utility for turning keymaps into characters mappings. 2014-02-12 00:09:18 +09:00
Simo Kinnunen
b6ccc29d0c Rename filter_value_* to filter_behavior_literal_*. 2014-02-11 23:09:23 +09:00
Simo Kinnunen
077982f08a Add a very lazy test for keyutil.parseKeyCharacterMap(). 2014-02-10 22:08:29 +09:00
Simo Kinnunen
329b862e4f Add key character map parser. 2014-02-10 21:48:25 +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
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
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
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