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

472 Commits

Author SHA1 Message Date
Bryan Roe
b34eee2dca 1. Added 'getUsername' for windows
2. Added UTF8/Wide conversions for _GenericMarshal
3. Added UTF8 support for win-registry and process-manager
2019-08-08 15:37:17 -07:00
Bryan Roe
10332b3775 Updated user consent dialog box on windows to popup as a foreground window 2019-08-07 17:21:43 -07:00
Bryan Roe
7e5ddc6767 Updated error reporting for service.restart() on windows MeshCentral_v0.3.9-k 2019-08-07 16:26:08 -07:00
Bryan Roe
66273f8950 1. Updated waitExit() for windows to support a timeout
2. Updated ProcessPipe for Windows, to disable inheritance on detach
3. Updated service-manager to support restart on self for windows
2019-08-07 15:23:13 -07:00
Bryan Roe
a89a3204c1 1. Added ability to query if Select was interrupted with APC
2. Updated So that before readableStream and 'exit' are dispatched, APC's are unrolled if 'select' was interrupted, preventing stack corruption caused by trying to make a re-entrant winsock call, which is not supported by winsock.
2019-08-07 11:32:33 -07:00
Bryan Roe
d5962cd1b2 Modified service.stop() on Windows to use a promise, so you can verify the run state 2019-08-06 18:14:39 -07:00
Bryan Roe
09590fa779 Updated Release builds to enable Deadlock detection 2019-08-05 13:37:43 -07:00
Bryan Roe
19366a1ee1 Applied same stderr fix to QFE 2019-08-05 11:15:49 -07:00
Bryan Roe
c0fcf75f58 Fixed bug, where stderr was not subscribed, causing the stream to pause if stderr is written to, which will happen on Win Server when fetching AV state. If stream is paused, the waitExit() line will hang 2019-08-05 11:12:00 -07:00
Bryan Roe
4cef81719e 1. Fixed upper limit for inline JS on command line
2. Updated win-info to be able to fetch list of installed apps
MeshCentral_v0.3.8-y
2019-07-31 15:14:01 -07:00
Bryan Roe
0c7290723c Optimized getService() on MacOS to use a property getter for some properties to speed things up when enumerating 2019-07-31 10:29:22 -07:00
Bryan Roe
8ffac90514 Implemented enumerateService for MacOS 2019-07-31 00:54:28 -07:00
Bryan Roe
7a319f4302 Implemented enumerateService() for Linux and FreeBSD 2019-07-30 23:47:43 -07:00
Bryan Roe
5a85f2dc47 add 'description' to getService() for init and upstart on linux 2019-07-30 17:30:36 -07:00
Bryan Roe
245a130b50 Fixed compiler warnings 2019-07-30 15:45:03 -07:00
Bryan Roe
91ca33e466 Added osinfo, partitions, and memory to Windows 2019-07-30 15:00:38 -07:00
Bryan Roe
f393b6e229 added defrag and pendingReboot 2019-07-30 13:55:49 -07:00
Bryan Roe
0d3bc77bde Renamed win-info
Added AV Info
2019-07-29 23:37:29 -07:00
Bryan Roe
26f676a069 Added ability to query HotFix Status for Windows 2019-07-29 22:54:59 -07:00
Bryan Roe
baffe1d115 Fixed bug with enumerateService() 2019-07-29 18:50:57 -07:00
Bryan Roe
06a96d61a6 Merge branch 'master' of https://github.com/Ylianst/MeshAgent 2019-07-25 15:04:34 -07:00
Bryan Roe
2bb8bd3190 Initial rev, to support locking the desktop on MacOS, Windows, and Linux. 2019-07-25 15:04:06 -07:00
Bryan Roe
d700f16325 updated user-sessions on linux, so that if 'who' is not supported, consoleUid will return root. This fixes platforms such as puppy, where the platform is logged in as root. 2019-07-25 15:03:28 -07:00
Bryan Roe
cbc183bfdb Modified, so 32-bit PowerShell is used from SysWow64 on 64-bit windows, to work around issue where PowerShell will respawn itself 2019-07-24 22:11:05 -07:00
Bryan Roe
bd0bf102cd Added product_uuid and MacOS support 2019-07-24 17:22:39 -07:00
Bryan Roe
a831086cfe Added support for Windows PowerShell 2019-07-24 14:58:11 -07:00
Bryan Roe
d701b9a3e9 First rev, for Windows and Linux 2019-07-23 16:17:35 -07:00
Bryan Roe
3efdc27478 1. Updated so that APCs are used for thread dispatching for Read/Exit on Windows
2. Updated to add support for child_process.waitExit() on Windows.
2019-07-23 16:16:53 -07:00
Bryan Roe
69fe1a74e4 fixed compiler warning 2019-07-23 16:13:07 -07:00
Bryan Roe
22b8e6ca7c Added build notes for FreeBSD 2019-07-22 17:16:03 -07:00
Bryan Roe
1b78195987 Updated comments in makefile, and update test for FreeBSD 2019-07-22 16:38:22 -07:00
Bryan Roe
4f89b363ee Added support to lock MacOS desktop 2019-07-19 13:09:37 -07:00
Bryan Roe
531041a17e Fixed MacOS compiler warning 2019-07-19 13:09:19 -07:00
Bryan Roe
804843eb32 Updated, so on INIT platforms when crash restart is specified, parameters can still be passed 2019-07-19 11:16:54 -07:00
Bryan Roe
5b7f892496 Udpated service-manager, so crash restart is supported on INIT platforms that are not UPSTART 2019-07-18 14:12:26 -07:00
Bryan Roe
58f0230c7a fixed compiler warning 2019-07-17 17:14:41 -07:00
Bryan Roe
02f3d8a76f Updated proxy check, to look at /etc/profile.d/proxy_setup if it exists 2019-07-17 14:08:46 -07:00
Bryan Roe
134461448e Added workaround for 'busybox' as service type 2019-07-16 15:12:52 -07:00
Bryan Roe
735ac0f0c9 Fixed compiler warnings 2019-07-16 15:12:21 -07:00
Bryan Roe
424720211d Updated NetInfo, so desc is omitted if it's blank (MacOS/FreeBSD). Updated os.networkInterfaces() for FreeBSD 2019-06-25 23:39:35 -07:00
Bryan Roe
29efb10ce6 Merge branch 'master' of https://github.com/Ylianst/MeshAgent 2019-06-25 23:17:38 -07:00
Bryan Roe
654af73a9a update mesh.NetInfo for MacOS and FreeBSD 2019-06-25 23:17:29 -07:00
Bryan Roe
608c77106f Merge branch 'master' of https://github.com/Ylianst/MeshAgent 2019-06-25 10:47:15 -07:00
Bryan Roe
bf3eabda1c Fixed line endings, which caused compilation error with clang 2019-06-25 10:46:58 -07:00
Bryan Roe
e2bcd832b5 Fixed infinite loop bug... Check if OnSendOK needs to be sent 2019-06-24 17:23:32 -07:00
Bryan Roe
fc8fba9f62 Fixed bug with os.hostname() 2019-06-24 16:45:30 -07:00
Bryan Roe
7237586206 fixed indentation 2019-06-24 16:09:12 -07:00
Bryan Roe
f629d47896 freebsd 2019-06-24 16:05:00 -07:00
Bryan Roe
a665f77155 update freebsd message-box 2019-06-24 15:55:34 -07:00
Bryan Roe
444601dea7 Updated message-box for freebsd 2019-06-24 15:33:02 -07:00