1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-24 12:13:16 +00:00
Commit Graph

108 Commits

Author SHA1 Message Date
Bryan Roe
429b645a54 1. Added ability to modify environment variables on ScriptContainers
2. Fixed bug, where child ScriptContainer would exit if return value had a JSON parse error
2019-03-12 22:23:30 -07:00
Bryan Roe
499da726c5 Added code to fetch details about the XServer 2019-03-11 23:35:19 -07:00
Bryan Roe
8fbb54d79e Fixed CreateVariable, so if a negative number is specified, it throws an exception, instead of critical exiting 2019-03-09 00:44:36 -08: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
e9676388ec Fixed bug, where cguid was set whenever agent was connected, rather than only for agent db 2019-03-05 14:58:49 -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
c8c366ff5a Fixed compiler warning 2019-03-04 18:22:51 -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
adbff6baf8 1. Added Buffer helper method
2. Added Certificate helper method
2019-03-02 19:27:39 -08:00
Bryan Roe
c130fb9d89 Fixed bug that caused crash if you tried to attach a debugger when the module is missing 2019-03-01 13:36:50 -08:00
Bryan Roe
7b74feade5 1. Fixed bug that caused tls.error event to be emitted incorrectly
2. Fixed IPv6 Support for Linux
2019-03-01 13:19:14 -08:00
Bryan Roe
4c05359e33 Fixed how the request transform stream buffers data 2019-03-01 10:26:04 -08:00
Bryan Roe
83bb49fcc1 Fixed crash in finalizer on linux, that could occur in an error condition 2019-02-26 16:13:38 -08:00
Bryan Roe
2633fc2928 Fixed bug in Domain Socket detection logic on linux 2019-02-26 15:59:38 -08:00
Bryan Roe
623983b3d4 Fixed crash that can occur on linux if an error occurs 2019-02-26 15:59:15 -08:00
Bryan Roe
382ea03135 Updated file access, so the db can be queried while an agent is still active 2019-02-25 21:43:48 -08:00
Bryan Roe
683852f70a Fixed bug, where hook handler was always NULL when it was checked 2019-02-22 10:14:21 -08:00
Bryan Roe
cefd3018d9 1. Added more cleanup for signal handlers
2. Updated, so signal is only registered if there are listeners on the event
2019-02-20 18:22:15 -08:00
Bryan Roe
176facc799 Updated 'newListener' and 'hookedEvent', to follow node, so that it is emitted before the listener is added 2019-02-20 18:21:35 -08:00
Bryan Roe
32f8179137 Added cleanup for signal descriptor 2019-02-20 16:02:37 -08:00
Bryan Roe
f6762fd724 1. Added SIGTERM even for linux/macos
2. Hooked up 'serviceStop' event for linux/macos
2019-02-20 15:55:06 -08:00
Bryan Roe
5da959c16a 1. Added metadata to _GenericMarshal
2. Added BootStrapCore functionality
2019-02-18 21:45:58 -08:00
Bryan Roe
ec112d2d22 Fixed compiler warning 2019-02-15 13:53:55 -08:00
Bryan Roe
a9cb689ec3 Removed dead code, and added 'eventNames' 2019-02-15 00:48:57 -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
65e44f0a9d Removed 'nocontinue' functionality from piped streams 2019-02-13 15:57:02 -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
9542a14ada added missing Proxy support for non TLS connections 2019-02-12 17:57:22 -08:00
Bryan Roe
d491aeb98f Added NULL check on uncaught exceptions 2019-02-12 17:56:27 -08:00
Bryan Roe
bfce186759 Updated Duktape_GetBuffer(), so if the object is null or undefined, it returns NULL instead of throwing an exception 2019-02-12 16:54:04 -08:00
Bryan Roe
a52a8e0c9f Fixed behavior so WebSoketServer does not mask data, when talking to clients, to fix interop issue with Chrome 2019-02-12 16:34:23 -08:00
Bryan Roe
995c4015b0 Added functionality so if 'webSocketMaskOverride' is specified in the db, the optimization to disable masking for TLS protected websockets is disabled 2019-02-12 13:43:42 -08:00
Bryan Roe
92abf51a8d Updated, so httpStream and WebSocketStream are identified as http or https depending if the underlying socket is a net.socket or tls.socket. Also, updated the noMasking flag on WebSocket, so it's only set if it s an https.WebSocketStream. 2019-02-11 22:14:22 -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
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