Bryan Roe
ec1a39af53
Fixed bug on Upstart Linux platforms, where task didn't start correctly.
2019-04-18 11:43:18 -07:00
Bryan Roe
921c636bac
1. Added 'close' to getService() return object. (NOOP on Linux/MacOS)
...
2. Updated uninstallService on windows, to force close service handles.
2019-04-17 14:55:10 -07:00
Bryan Roe
70e7836db1
Added random number helpers
2019-04-15 14:11:23 -07:00
Bryan Roe
9aae4c7508
1. Updated service-manager to support dependencies from Buffer
...
2. Updated service-host to have a 'create' method
2019-04-09 14:47:49 -07:00
Bryan Roe
7bf31b0a28
1. Added setting for Windows Certificate Store
...
2. Updated so NodeID is only saved on Windows, if Certificate Store is used
2019-04-08 17:44:49 -07:00
Bryan Roe
a5000eee85
Updated, so windows will save NodeID to db
2019-04-08 15:42:08 -07:00
Bryan Roe
4e4a9f97a8
Implemented task-scheduler for MacOS
2019-03-29 03:03:27 -07:00
Bryan Roe
0e67ee8f48
Updated service-manager on MacOS so it can accomodate naming inconsistency between plist and service name
2019-03-28 21:46:35 -07:00
Bryan Roe
f10497b4b0
Updated service-manager for MacOS:
...
1. Added start, stop, restart
2. Added isRunning, isMe
2019-03-28 21:21:53 -07:00
Bryan Roe
7fd2945b62
Starting to add 'getService' for MacOS
2019-03-28 18:11:13 -07:00
Bryan Roe
9148dbb1de
service-manager update:
...
1. Added 'appWorkingDirectory()' to getService()
2. Fixed bug where init.d services didn't have working dir set
2019-03-28 16:44:33 -07:00
Bryan Roe
b54d09876c
Updated service-manager:
...
1. Updated to allow specifying alternate target filename
2. Updated uninstallService, to use the application location specified by service, on linux and MacOS
3. Updated AppLocation on systemd to parse ExecStart
2019-03-27 22:45:47 -07:00
Bryan Roe
57a9de8a03
Updated service-manager:
...
1. Fixed bug with setting service description on Windows
2. Added ability to set failure restart options
2019-03-22 23:34:17 -07:00
Bryan Roe
45f5859f37
1. Added 'getEnvFromPid' to user-sessions, to read environment vars by PID
...
2 Updated getXInfo() in monitor-info, so it'll try to get XAUTHORITY from env vars is it can't determine it by looking at the XServer instance.
2019-03-15 12:48:30 -07:00
Bryan Roe
0048acf128
Updated to only use fs.Watch if it exists
2019-03-14 15:41:10 -07:00
Bryan Roe
6352c35e22
Updated, so on upstart platforms, it uses initctl instead of service, to fix problems on older upstart platforms that don't map service to initctl.
2019-03-14 02:53:44 -07:00
Bryan Roe
3c694116e6
Updated dispatchWrite
2019-03-14 02:05:53 -07:00
Bryan Roe
d4a1a4545d
Added finalizer for DescriptorEvents.
2019-03-13 18:05:20 -07:00
Bryan Roe
6a8b7de44c
1. Updated monitor-info, so it no longer assumes DISPLAY = :0
...
2. Updated user-sessions to have better uid and username helpers on linux
3. Updated Clipboard dispatching
2019-03-12 22:25:56 -07:00
Bryan Roe
499da726c5
Added code to fetch details about the XServer
2019-03-11 23:35:19 -07:00
Bryan Roe
37f4a5af3f
1. Integrated win-message-pump on windows
...
2. Updated clipboard to dispatch read/write to a user process
2019-03-06 22:58:23 -08:00
Bryan Roe
2a8347be26
Added 'isMe' to service object for linux
2019-03-06 16:39:18 -08:00
Bryan Roe
9ffefcdd09
integrated task-scheduler
2019-03-06 15:21:04 -08:00
Bryan Roe
75b55823ef
1. Added '.manager' singleton to service-manager.js
...
2. Updated fs.writeFileSync to support options.mode
3. Updated Linux Task Scheduler
2019-03-06 15:09:45 -08:00
Bryan Roe
0dc02d1495
Updated default service type to manual on Windows. Updated, to add ability to copy dependency files, using a different name
2019-03-05 15:50:28 -08:00
Bryan Roe
496a0b7508
1. integrated service-host
...
2. Fixed bug where windows service didn't delete the binary on uninstall
2019-03-05 14:59:44 -08:00
Bryan Roe
5fbcf23045
Added '-nodeid' command switch, to display Agent Node ID
2019-03-05 10:51:57 -08:00
Bryan Roe
0ad37730c0
Updated wget, to support options
2019-03-04 23:54:58 -08:00
Bryan Roe
268b0dd26f
1. Fixed compiler warning
...
2. Fixed bug where process.arch wasn't defined
3. Integrated PE_Parser on windows
2019-03-04 18:24:07 -08:00
Bryan Roe
a7544b6b7a
added filehash helper
2019-03-04 17:10:00 -08:00
Bryan Roe
b2cdfe38a5
1. Fixed compiler warning
...
2. Added appLocation() to service-manager
2019-03-04 15:58:35 -08:00
Bryan Roe
ee63b099ec
1. Updated clipboard/native polyfill, to workaround 16k string literal limit
...
2. Integrated service-manager, user-sessions, and process-manager
2019-03-04 14:30:53 -08:00
Bryan Roe
2f657f31e5
1. Updated 'addMethod' on emitter, to return this, so you can chain multiple together
...
2. Updated wget return value to expose an 'abort' event
2019-02-13 16:05:51 -08:00
Bryan Roe
76fac42a5f
Added 'abort' to wget and clientRequest
2019-02-13 15:57:32 -08:00
Bryan Roe
353b4b2181
Added 'wget'
2019-02-13 11:09:05 -08:00
Bryan Roe
6918c90253
Renamed '_eventHook' on EventEmitter to 'newListener' to match node definition
2019-02-12 21:40:08 -08:00
Bryan Roe
eaf4d408a8
Updated linux clipboard
2019-02-11 17:43:41 -08:00
Bryan Roe
57a8d5df1c
Added DescriptorEvents
2019-02-11 17:18:50 -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
52d0510e7b
Added String.padStart polyfill
2019-02-08 15:23:39 -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
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
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
82fc208e8b
Fixed valgrind issue
2019-01-22 16:28:36 -08:00
Bryan Roe
b33c9ee4b8
Updated Buffer.from(), to allow hex encodings to start with 0x
2019-01-18 16:20:03 -08:00
Bryan Roe
f65a5935dd
Fixed compiler warnings
2019-01-18 15:28:28 -08:00