thinkhy
3dba33f071
replace "ps comm" with "ps" in the function listPidsByComm
...
There exists an incompatibility problem as the shell command "ps comm" is invalid in some devices such as Google Pixel.
Below is the output when I issued "ps com" in Pixel:
1|sailfish:/ $ ps com
bad pid 'com'
1|sailfish:/ $ echo $?
1
So I replaced "ps comm" with "ps" which is workable for all the Android device.
2017-06-11 23:08:47 +08:00
thinkhy
08d9220b58
Create devutil.js
2017-06-11 18:02:31 +08:00
Simo Kinnunen
0b071a1f5c
Remove "Device database does not have an entry for device ..." entirely, everyone still thinks it's an error.
2017-05-24 15:02:04 +09:00
Simo Kinnunen
6f1025e8ff
Refactor doctor to be more resilient to unexpected errors, which made our life even harder especially on Ubuntu where the RethinkDB version contains more things in it.
2017-04-23 01:17:44 +09:00
Simo Kinnunen
5839867619
Add IMSI to device details.
2017-01-13 13:52:11 +09:00
Simo Kinnunen
5781d42ac2
Remove the now unused cliutil.
2016-12-22 05:38:49 +09:00
Simo Kinnunen
cc736ba0ac
Ported CLI from commander to yargs because yargs suits our large CLI better and is easier to develop with. Split commands into separate files since the file was getting annoyingly long.
2016-12-22 05:32:03 +09:00
Marc Bachmann
bac74538c9
chore(package): update uuid to version 3.0.0
2016-11-23 03:21:32 +01:00
Simo Kinnunen
33e4e617bb
Update STFService.apk to 1.1.0. Switches to abstract sockets which fixes
...
adb getting stuck when tethering is being used.
2016-09-03 04:01:07 +09:00
Gunther Brunner
711ab4a8e5
Updated npm dependencies.
...
ProtobufJS and Bluebird require further work.
2016-08-03 20:08:30 +09:00
Vishal Banthia
b60cb6ef6a
Fix eslint errors
2016-07-22 19:40:27 +05:30
Vishal Banthia
a6266931ad
Modify APIs from Aysnc -> Sync using timeout
2016-07-22 19:34:22 +05:30
Vishal Banthia
232163d290
add remoteDebugUrl into database so that it is accessible from api
2016-07-22 19:34:22 +05:30
Gunther Brunner
20ec477450
Remove eslint errors.
2016-06-01 23:15:50 +09:00
Gunther Brunner
8cee2497c6
Make crystal clear that not having data for a device is not an error.
2016-06-01 19:29:13 +09:00
Gunther Brunner
e18d78ddef
Fix ADB version matching regex.
2016-04-19 17:22:29 +09:00
Gunther Brunner
8fc5f748d2
Add new stf doctor command to check if the versions of external dependencies are correct.
...
Add a `--devices` option to show a list of USB connected devices and a list of the devices that ADB can see.
2016-01-28 00:05:54 +09:00
Gunther Brunner
7c2bf332e4
Fix for-in loop.
2016-01-19 23:35:45 +09:00
Gunther Brunner
0a9e6080fa
Fix last ESLint errors.
2016-01-19 23:27:12 +09:00
Gunther Brunner
434f63b3a9
Fix all lib/ files with ESLint rules with 0 errors.
2016-01-19 20:52:38 +09:00
Gunther Brunner
466af18058
Add eslint task. Needs eslintrc tweaking.
2016-01-14 21:20:54 +09:00
Vishal Banthia
8a342daef9
remove default expiry in jwt token
2015-12-03 02:08:26 +09:00
Vishal Banthia
62413b3780
allow user to create an access token to access stf api from user settings tab.
2015-11-26 02:40:34 +09:00
Simo Kinnunen
8e8f2d17b7
Make ZMQ keepalive options optional, since they're breaking things on
...
some systems. You should now use the ZMQ_TCP_KEEPALIVE=1 and
ZMQ_TCP_KEEPALIVE_IDLE=<value> environment variables to set them.
2015-10-21 20:13:45 +09:00
Simo Kinnunen
0942ecea7a
Fix stf local not accepting multiple serials. Fixes #91 .
2015-10-14 01:56:30 +09:00
Simo Kinnunen
b248e96dc2
Output a warning instead of crashing if ZMQ library is too old to
...
support TCP keepalive options. Fixes #109 .
2015-10-14 01:40:30 +09:00
Gunther Brunner
342890e884
Start fixing npm test warnings.
2015-10-13 21:21:32 +09:00
Simo Kinnunen
5216eac5ce
Remove unused VNC authentication utilities.
2015-10-13 04:05:07 +09:00
Simo Kinnunen
5b5520b705
VNC authentication works, although there is no UI for adding passwords
...
yet. Direct database manipulation is required for now.
2015-10-13 04:05:07 +09:00
Vishal Banthia
6c741cbf4b
Set TCP_KEEPALIVE socket option to fix tcp_connection problem in
...
some network. Issue-100
2015-10-09 16:32:02 +09:00
Simo Kinnunen
9d20484dcb
Limit VNC size by default.
2015-09-15 04:25:21 +09:00
Simo Kinnunen
dc07777829
Hopefully get rid of FrameProducer._stop() timeouts. Doesn't reproduce locally.
2015-07-15 14:15:05 +09:00
Simo Kinnunen
7ad09d6713
Update jws to 3.0.0.
2015-07-01 17:32:30 +09:00
Simo Kinnunen
374781532f
Fix stf generate-fake-device.
2015-06-29 19:25:16 +09:00
Simo Kinnunen
736b6f769e
Reaper decides if a device is present or not. Allows devices to "come back to life" if they start beating again.
2015-06-03 18:49:42 +09:00
Simo Kinnunen
9130717e0e
The doubly linked list implementation was revealed to be buggy by simple unit tests. Fixed.
2015-06-02 15:35:16 +09:00
Simo Kinnunen
d806d4fe54
EventEmitter constructor was not being called in many places. It did work due to the EventEmitter3 constructor being empty, but we can't rely on that.
2015-06-02 13:26:43 +09:00
Simo Kinnunen
92c18539fc
Move ttlset to the common util folder. Could be used by something else too.
2015-06-02 10:39:43 +09:00
Simo Kinnunen
5bb05f52f6
Move some screen utilities to the global util directory so that they can be used for other things too.
2015-04-30 13:41:32 +09:00
Simo Kinnunen
e43ae34d4b
Make all zmq endpoints use srv records.
2014-12-17 21:01:20 +09:00
Simo Kinnunen
f0aae7d4e5
The srv resolver should be easier to use now.
2014-12-17 20:30:52 +09:00
Simo Kinnunen
23621d0bdd
The DB should now be able to connect to SRV records. It will also attempt to fail over once if a connection closes.
2014-12-17 17:55:58 +09:00
Simo Kinnunen
6b5ecf3afb
Nexus 9 support. Home button doesn't work, presumably due to auto-unlocking.
2014-11-10 11:42:59 +09:00
Simo Kinnunen
100280db5a
Give forward plugin its own folder. Should make it easier to clean it up.
2014-10-14 16:24:18 +09:00
Simo Kinnunen
035acec372
Use same event fin packets.
2014-10-14 16:16:52 +09:00
Simo Kinnunen
617e20522b
Reverse port forwarding backend actually works now. UI needs some work for the "new vision".
2014-10-09 18:35:06 +09:00
Gunther Brunner
a4a46fc48b
Add support for Screen size (in inches).
2014-09-12 19:32:45 +09:00
Simo Kinnunen
4234bb9e34
Remove rutil in favor of the updated rethinkdb driver.
2014-07-22 12:55:33 +09:00
Simo Kinnunen
9604f2dde2
Fix some JSHint warnings.
2014-07-21 15:12:17 +09:00
Simo Kinnunen
b9484019a3
Update to new device DB.
2014-06-18 22:52:02 +09:00