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

839 Commits

Author SHA1 Message Date
Bryan Roe
90888b711f Added scriptVersion helper 2020-01-16 22:48:21 -08:00
Bryan Roe
a9ef6d0f61 1. Fixed detached processes on Windows
2. Updated service-manager on Windows to add an uninstaller into Program Manager
3. Updated service-manager on Windows to try to delay spawn a process to delete a service, which is required if the service to be uninstalled is the currently running process.
2020-01-15 14:53:12 -08:00
Bryan Roe
c02344373c Updated Windows clipboard to use UTF8 encoded strings 2020-01-14 10:34:04 -08:00
Bryan Roe
cefe8bffba Added '-licenses' command line switch to view licenses 2020-01-10 16:53:53 -08:00
Bryan Roe
c2f265942c Fixed formatting on FreeBSD and MacOS 2020-01-10 15:52:48 -08:00
Bryan Roe
29e6775b72 updated process-manager to include 'user' on FreeBSD and MacOS 2020-01-10 15:28:02 -08:00
Bryan Roe
364bc1e836 1. Fixed bug in log entry that showed HEX string instead of Connection URI
2. Added 'ServerIP' property to MeshAgent
2020-01-10 14:38:53 -08:00
Bryan Roe
7c1c9384ce 1. Updated windows, so returns user
2. Updated linux to not truncate command
2020-01-10 12:18:08 -08:00
Bryan Roe
a314f85c00 Fixed #ifdef problem 2020-01-09 14:05:34 -08:00
Bryan Roe
981ee96ad7 1. Updated GenericMarshal.GlobalCallback to have a close() method, to unhook global events
2. Updated EventEmitter to delete callback references for 'once', 'removeListener', and 'removeAllListeners'
3. Updated win-message-pump to cleanup global events correctly, so object can be garbage collected
2020-01-09 13:57:23 -08:00
Bryan Roe
eb257198e3 Fixed bug in Windows KVM, where certain error conditions when fetching desktop buffer, returned a success instead of an error, potentially causing a segfault 2020-01-09 13:54:02 -08:00
Bryan Roe
85b487631a Updated, so if dispatch specified without user, checks to see if current user is TSID 0, and sets SYSTEM if so. 2020-01-08 09:52:28 -08:00
Bryan Roe
36d1362deb 1. Updated win-dispatcher to support dispatching to current user
2. Updated win-virtual-terminal.js to correctly use ClosePseudoConsole()
2020-01-07 14:49:33 -08:00
Bryan Roe
65f3fd5910 Added _exposedMethod helper property 2020-01-07 14:48:31 -08:00
Bryan Roe
b944c3418d Removed code that writes hardcoded value for 'EstimatedSize'. This will get set by meshcore.js 2020-01-06 11:03:15 -08:00
Bryan Roe
8133e2481f Fixed compiler warning 2019-12-23 16:08:09 -08:00
Bryan Roe
4998eb173f Fixed edge case bug on Windows, where a Resume could result in ReadFile getting called before getOverlappedResult was called, corrupting the read buffer. 2019-12-23 17:11:12 -08:00
Bryan Roe
c758c3ded9 Updated, so KVMSlave logging works on Windows 2019-12-23 17:10:12 -08:00
Bryan Roe
235ef4ab21 Fixed HECI linker issue 2019-12-23 10:46:57 -08:00
Bryan Roe
d0edd23fd4 update debugGC() to only call gc once instead of twice, because the context can get collected after the first call. MeshCentral_v0.4.5-u 2019-12-13 09:45:52 -08:00
Bryan Roe
0a5c7fd8ba 1. added .msh flag for debug
2. Fixed Windows Crash that could occur on shutdown
2019-12-12 11:56:02 -08:00
Bryan Roe
9661c15bc9 1. added .msh flag for HECI debug
2. Fixed _GenericMarshal crash on Windows if GlobalCallback is executed after GC
2019-12-12 10:48:50 -08:00
Ylian Saint-Hilaire
286075832a Fixed canary in ILibDuktape_HECI_IoctlHandler_Dispatch() 2019-12-10 17:52:00 -08:00
Bryan Roe
dc3e49d12c Added Windows 32bit support for movable connection bar 2019-12-10 14:39:52 -08:00
Bryan Roe
7c5075b481 Updated notifybar on Windows, to allow moving on the X-axis within monitor bounds 2019-12-10 13:37:52 -08:00
Bryan Roe
29bd710972 Updated GetIntProperty to treat null/undefined as non-existant 2019-12-09 15:03:58 -08:00
Bryan Roe
0e3280a5da Updated toaster on windows to support multiple TSIDs 2019-12-09 12:47:51 -08:00
Bryan Roe
09666e0bc8 Capped max size of SMBIOS results 2019-12-09 10:46:46 -08:00
Bryan Roe
d9af17e2c9 Updated notifybar-desktop to support setting TSID on Windows 2019-12-06 15:38:32 -08:00
Bryan Roe
b0903fec7b Added ability to support multiple TSID on Windows KVM 2019-12-06 15:06:22 -08:00
Bryan Roe
0bfe380682 Added Canary Check to KVM WriteSink 2019-12-06 11:38:24 -08:00
Bryan Roe
e85d00e3e0 Updated code comment 2019-12-05 14:54:53 -08:00
Bryan Roe
397bab48c7 uncommented code to hide dispatched window 2019-12-05 14:46:48 -08:00
Bryan Roe
807f477468 added 'showModuleNames' msh flag, to show module loads 2019-12-05 14:45:56 -08:00
Bryan Roe
4a2bc80d2e Fixed Windows IPC Read, to unroll completion callback, before dispatching
Fixed edge case bug where stack wasn't popped correctly for IPC Write
2019-12-05 14:45:07 -08:00
Bryan Roe
8356cbf190 Added missing #ifdef around Windows Specific fixes 2019-12-05 10:56:13 -08:00
Bryan Roe
eced5f2233 initial add for helper for Windows to dispatch javascript to a user session 2019-12-04 15:01:07 -08:00
Bryan Roe
0f40f9092e 1. Fixed IPC cleanup on domain sockets for Windows
2. Fixed readableStream, so 'end' is still emitted when piped
2019-12-04 15:00:15 -08:00
Bryan Roe
0cb668d0af Merge branch 'master' of https://github.com/Ylianst/MeshAgent 2019-12-03 12:28:47 -08:00
Bryan Roe
cb0f43e17e Fixed unshift logic for IPC socket 2019-12-03 12:27:06 -08:00
Bryan Roe
b2522cd283 Fixed bug where _read() was defined after stream creation 2019-12-03 12:26:34 -08:00
Bryan Roe
1b38405352 Updated stream.Duplex, so _read, _write, _final are readonly 2019-12-03 12:25:30 -08:00
Bryan Roe
37acfa64f0 Fixed windows race condition between garbage collecting spawned process and exit handler, if the memory was reclaimed at just the right time MeshCentral_v0.4.5-b 2019-11-28 09:57:04 -08:00
Bryan Roe
847bb0aeb0 Updated DescriptorEvents to not use APC 2019-11-26 16:04:49 -08:00
Bryan Roe
06e08d809a integrated proxy-helper 2019-11-26 15:17:01 -08:00
Bryan Roe
c89e54cc3f Autogenerated 2019-11-26 15:11:54 -08:00
Bryan Roe
1a26a65830 Merge branch 'master' of https://github.com/Ylianst/MeshAgent 2019-11-26 15:10:01 -08:00
Bryan Roe
83f4ce5ae5 Updated DescriptorEvents to support WaitHandles 2019-11-26 15:09:11 -08:00
Bryan Roe
08f16016d9 Fixed connection handling 2019-11-26 15:08:40 -08:00
Ylian Saint-Hilaire
29b21bcdef Added Canary to HECI_IoctlHandler() 2019-11-26 14:53:31 -08:00