Bryan Roe
cce3d7694b
Added more methods
2019-02-11 17:19:17 -08:00
Bryan Roe
57a8d5df1c
Added DescriptorEvents
2019-02-11 17:18:50 -08:00
Bryan Roe
05400ea3aa
Fixed compiler warning
2019-02-11 14:43:24 -08:00
Bryan Roe
2d8c213b9d
Rebuilt http-digest in pure JS to fix some issues
2019-02-11 14:07:48 -08:00
Bryan Roe
86d0b0fd18
fixed compiler warning
2019-02-10 21:53:41 -08:00
Bryan Roe
a10bd1a205
added ability to read clipboard for windows
2019-02-09 19:22:27 -08:00
Bryan Roe
e8594d6b64
Added Clipboard helper
2019-02-09 00:14:54 -08:00
Bryan Roe
9697af5215
Updated so 'Finish' is emitted when "Ready" is called, after 'End' is emitted;
2019-02-08 15:25:38 -08:00
Bryan Roe
52d0510e7b
Added String.padStart polyfill
2019-02-08 15:23:39 -08:00
Bryan Roe
6afb6e5316
1. Modified, so if connection: close is specified, it won't try to reuse the socket
...
2. Added 'generateNonce' helper method
2019-02-08 15:23:10 -08:00
Bryan Roe
8f1501a343
Added listenerCount
2019-02-08 10:39:35 -08:00
Bryan Roe
ae72740a18
1. Updated ILibProcessPipe, so that buffer will grow as necessary
...
2. Updated Windows KVM, to add an accumulator for JUMBO commands
2019-02-06 16:32:31 -08:00
Bryan Roe
8d8099f0d4
added inline JS support to Service
2019-02-05 19:05:03 -08:00
Bryan Roe
2096619903
Enable Jumbo Support on Windows KVM
2019-02-04 17:10:37 -08:00
Bryan Roe
26a3ccefd0
Added missing includes, if NOTLS is specified for Linux
2019-02-04 12:49:44 -08:00
Bryan Roe
82e25a12ea
Fixed Build configuration for Release_NoOpenSSL_x64, which was pointing to wrong configuration in solution file
...
Added missing link for ncrypt for NoOpenSSL configuration
2019-02-04 12:32:49 -08:00
Bryan Roe
e9f5209552
Changed how the ForceUnblockPipe works on Linux, to not use fdopen/fdclose.
...
Also modified, so when flushing the ForceUnblockPipe, if the descriptor is invalid, it will recreate it, fixing a 100% CPU issue on linux, that seems to happen after a self-update.
2019-02-02 22:49:20 -08:00
Bryan Roe
817f2786e2
Updated 'ChainViewer'
2019-02-02 02:55:12 -08:00
Bryan Roe
aeaa229e31
1. Modified WebRTC_DataChannel to use union, to simplify struct def
...
2. Added ChainLink MetaData
3. Added 'ChainViewer' to allow JS to debug Chain events
2019-02-01 23:33:02 -08:00
Bryan Roe
88c63b2976
Added ability to inline JS on the command line
2019-02-01 17:22:56 -08:00
Bryan Roe
1b5a6d0bc6
Updated selfupdate to use fork/execv instead of command
...
Updated SelfUpdate logging
Added SelfUpdate debugging helpers
2019-02-01 17:22:33 -08:00
Bryan Roe
032e350bf9
Updated uninstallService to be sync on linux instead of async
2019-02-01 13:02:43 -08:00
Bryan Roe
e9f8626be8
Added missing Canary checks, and altered engine_free to wipe memory
2019-02-01 13:02:14 -08:00
Bryan Roe
bd16538a8e
Fixed compiler warnings on MacOS
2019-02-01 01:13:07 -08:00
Bryan Roe
e3f1d7121c
Added process.cwd()
2019-02-01 01:12:32 -08:00
Bryan Roe
da44eddf29
Fixed edge case that could cause an infinite loop
2019-01-31 22:38:56 -08:00
Bryan Roe
5995742cef
Added db key to log update messages to aid in debugging update failures.
2019-01-31 14:40:52 -08:00
Bryan Roe
ca0ff0403a
updated service install to be sync on linux instead of async
2019-01-31 14:39:56 -08:00
Bryan Roe
0cb052fcc6
Added additional check to verify if emitter was finalized
2019-01-31 14:38:51 -08:00
Bryan Roe
a6cbc1a9c1
Fixed typo in comments
2019-01-30 23:39:52 -08:00
Bryan Roe
56cf77e147
Added comments about Linux KVM with regards to X and DM
...
Edited comments on installing libjpeg headers.
2019-01-30 23:37:23 -08:00
Bryan Roe
12a7e3e4a0
fixed misspelling in message
2019-01-30 23:20:37 -08:00
Bryan Roe
52ff7ba04c
1. Updated user-sessions.consoleUid() to not try to parse 'from'. It just returns the uid of any user listed in 'who'. This fixes Fedora, but should still work with all the other distros.
...
2. Updated, so if it can't find an Xauthority, it propagates an error, asking if the user configured DM to use X. This makes it, so on something like Fedora, it pops up a more intuitive error, that the user can fix, rather than just a generic, XOpenDisplay() error.
2019-01-30 23:17:39 -08:00
Bryan Roe
60df8bbd56
Fixed bug, where _write didn't return a value. This is important, because of bugfix with Polyfill for stream, which accidentally ignored this return value
2019-01-30 21:30:08 -08:00
Bryan Roe
cef67a1c8e
Updated, so if ignoreProxyFile is specified in db, it will not try to use a proxy
2019-01-30 13:03:37 -08:00
Bryan Roe
1f4f3185bd
Updated JS WebRTC debug hooks
2019-01-29 22:41:35 -08:00
Bryan Roe
305f04ad2e
Updated behavior, so if a websocket write occurs on a non microstack thread, and it needs to merge buffers, it will allocate off the heap instead of the stack, to prevent a stack overflow if a very large amount of data is passed in.
2019-01-29 17:14:44 -08:00
Bryan Roe
dfbe5bca50
Added proxy detection logic for MacOS
2019-01-29 14:44:20 -08:00
Bryan Roe
ba0c2f645e
Updated behavior, so if a HECI descriptor has a read error, it will emit 'error' instead of 'end'
MeshCentral_v0.2.7-b
2019-01-29 10:46:16 -08:00
Bryan Roe
0557787ceb
Updated behavior of getJSModule so that the order of precedence matches the recent changes to require()
2019-01-29 00:37:29 -08:00
Bryan Roe
258c1396c7
Added proxy detection logic on windows
2019-01-28 15:57:11 -08:00
Bryan Roe
61de975f3a
1. Unified how JS modules can be integrated, by creating an ILibDuktape_Polyfills_JS_Init() method.
...
2. Updated behavior so when modules are queried, local filesystem takes precedence on search results
3. Updated 'promise' integration to use the new method above
4. Added 'win-registry' integration on windows, so it can be used by agentcore.c
2019-01-28 15:56:41 -08:00
Bryan Roe
f38ec1df08
Added 'isRoot' for Windows implementation, to match Linux and MacOS
2019-01-28 15:54:31 -08:00
Bryan Roe
a3780d8fa1
Added enumeration support
2019-01-28 12:04:46 -08:00
Bryan Roe
ba4028d2d6
1. fixed bug, where return value was set incorrectly when calling _write
...
2. updated behavior, so if unshift is called with zero length buffer, it is a no-op
2019-01-28 10:42:20 -08:00
Bryan Roe
559928de5b
The following updates, fix KVM for openSUSE and other distros with similar behavior
...
1. Removed 'setDisplay()' because it doesn't work
2. Added more descriptive error message when XOpenDisplay fails
3. Added ability to set XAUTHORITY in the child process if it wasn't set, by finding how X was started
MeshCentral_v0.2.6-x
2019-01-24 11:19:33 -08:00
Bryan Roe
bf6e9ce1e0
test script
2019-01-24 07:54:48 -08:00
Bryan Roe
cf856b0d1d
Added default value of ':0' if $DISPLAY is not set
MeshCentral_v0.2.6-w
2019-01-23 18:42:42 -08:00
Bryan Roe
74d8bd9aac
Fixed compiler warning
2019-01-23 17:50:18 -08:00
Bryan Roe
6c6c0ff9ab
Updated, so if XOpenDisplay() fails, an error is propagated back up
2019-01-23 17:17:05 -08:00