Commit Graph

442 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
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
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