1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-23 03:33:35 +00:00
Commit Graph

1231 Commits

Author SHA1 Message Date
Bryan Roe
c51dcb4e8d update os.name() for freebsd 2019-06-17 16:46:22 -07:00
Bryan Roe
124c0d386f Initial modifications to support FreeBSD 2019-06-17 15:45:46 -07:00
Bryan Roe
cefab43b99 Fixed agent connection retry logic MeshCentral_v0.3.6-n 2019-06-14 15:11:40 -07:00
Bryan Roe
583628214e Added 'listening' property to net.server 2019-06-14 13:56:07 -07:00
Bryan Roe
4a392f4c15 Fixed compiler warnings on MacOS 2019-06-14 10:37:14 -07:00
Bryan Roe
b9617595ab Updated error case when attempting to show dialog/toast when nobody is logged in 2019-06-14 10:27:49 -07:00
Bryan Roe
38aea71c35 Updated, so Linux Distros that don't have XServer instances running when no users are logged in, will display a descriptive message 2019-06-13 14:43:27 -07:00
Bryan Roe
d8842d05d7 Merge branch 'master' of https://github.com/Ylianst/MeshAgent 2019-06-13 13:59:16 -07:00
Bryan Roe
9f99051e20 1. Fixed re-entrancy issue with Pre/Post select when WaitExit is used
2. Updated cleanup, so that the processing loop unwinds first
2019-06-13 13:47:26 -07:00
Bryan Roe
bb82553fa8 1. Updated LinkedList to use ILibMemory_SmartAllocate
2. Updated ILibChain_Continue to flag when it exits the processing loop
3. Updated main loop to reset continuation flag at the start of each loop
2019-06-13 13:36:43 -07:00
Bryan Roe
7365f1a49d Updated build configuration for 32-bit Release, so that is passes all VirusTotal scans. 2019-06-13 13:03:50 -07:00
Bryan Roe
68fd05d4c8 Fixed linux compiler warning 2019-06-13 10:49:29 -07:00
Bryan Roe
3448aa42df Updated posix, so broken pipe will flag an active pipe for removal instead of directly removing it, which caused a segfault with the latest cleanup code 2019-06-06 21:59:50 -07:00
Bryan Roe
4451e12e7a Updated Cleanup for Linux/MacOS, still need to fix 2019-06-06 18:47:41 -07:00
Bryan Roe
67e10e0e33 Updated for Linux/MacOS 2019-06-06 18:47:05 -07:00
Bryan Roe
f28ea50560 Fixed Interleaved bug 2019-06-06 18:46:26 -07:00
Bryan Roe
4a11c63b6c Fixed semaphores on MacOS 2019-06-06 18:45:42 -07:00
Bryan Roe
4f0fbc9581 Removed debug message 2019-06-06 18:44:58 -07:00
Bryan Roe
ffdcdbc13d Fixed bug where KVM messages to parent could get interleaved 2019-06-05 11:09:37 -07:00
Bryan Roe
f15c11c845 1. Updated MacOS, so detached child process uses fork instead of vfork
2. Updated detached to be a bitmask on the type
3. Updated MacOS message-box cleanup
2019-06-04 13:06:17 -07:00
Bryan Roe
3ab7316172 1. added 'getGroupID' for macos user-sessions
2. added support for per-user LaunchAgents on MacOS
2019-06-03 15:15:25 -07:00
Bryan Roe
5b0a4899e2 Updated user-sessions on MacOS to support getHomeFolder and getUsername 2019-05-30 14:59:32 -07:00
Bryan Roe
e08d1996d5 Updated event emitter, so that 'on', 'once', etc, return the emitter, so they can be chained together 2019-05-30 10:06:11 -07:00
Bryan Roe
78512cda21 Updated, so writableAll is supported on Posix, on server domain sockets 2019-05-29 15:23:59 -07:00
Bryan Roe
792ab99f06 updated when osversion is called 2019-05-24 15:30:19 -07:00
Bryan Roe
134f34d9cf 1. added 'ILibChain_IsLinkAlive' macro
2. incremental update for macos message-box
2019-05-24 15:11:27 -07:00
Bryan Roe
c17d6a069b Fixed bug with macos recipe that caused clang to optimize regardless of flags set 2019-05-24 15:09:07 -07:00
Bryan Roe
45ea5722b8 updated to cleanup better 2019-05-23 16:27:37 -07:00
Bryan Roe
2895768ebf 1. Added 'close' to net.server
2. updated message-box for MacOS (In Progress)
2019-05-23 15:41:00 -07:00
Bryan Roe
1a1ba0084e Updated MacOS service-manager to support LaunchAgents, and updated to support launchctl 2.0 API on Mac OS 10.10 and above 2019-05-22 13:50:03 -07:00
Bryan Roe
567feba9ff 1. Updated service-manager to support installing LaunchAgents
2. Started skeleton code for MacOS message-box
2019-05-20 17:25:25 -07:00
Bryan Roe
e28b5d7b0e 1. Added support for KDE
2. Added zenity fallback for platforms where notify-send doesn't work correctly
2019-05-18 02:48:27 -07:00
Bryan Roe
020bae80a5 1. Added ability to search env vars by uid
2. updated toaster to work with KDE
2019-05-17 22:10:52 -07:00
Bryan Roe
bbe2098b7e 1. Integrated win-console on windows
2. Updated toaster, to better support linux. And updated flow for windows.
2019-05-17 16:10:36 -07:00
Bryan Roe
f4f0a37522 updated getXInfo, so returns only DISPLAY if XAUTHORITY is not found 2019-05-17 16:09:47 -07:00
Bryan Roe
1fc476d31e 1. Added process.pid on windows
2. Added user-sessions.consoleUid() on windows
3. updated message-box to dispatch to consoleUid when necessary on Windows
2019-05-17 14:23:51 -07:00
Bryan Roe
26d86ce449 Added canary check to mitigate crash on linux 2019-05-16 23:38:51 -07:00
Bryan Roe
8ac2e127ef Fixed compiler warnings 2019-05-16 15:11:10 -07:00
Bryan Roe
842a7d475b Added initial rev of message-box, to allow spawning a dialog box into a user context 2019-05-16 15:07:47 -07:00
Bryan Roe
e0e52bbb16 Added ability to specify environment variables on linux 'child_process.execFile' 2019-05-16 15:05:24 -07:00
Bryan Roe
5e0bc797a7 Updated promise, so you can't resolve/reject more than once 2019-05-16 11:17:11 -07:00
Bryan Roe
679366445f Updated server finalizer, so it cleans up named pipe, if its an IPC server. 2019-05-15 10:48:01 -07:00
Bryan Roe
da7b9aa47b Updated, so 'restartCore' preserves localScript flag 2019-05-15 10:47:10 -07:00
Bryan Roe
fdb4411825 Added comments describing differences between two similar macros 2019-05-15 10:46:16 -07:00
Bryan Roe
7cf000571d 1. Fixed compiler warning
2. Updated so process.exit() throws exception when called in agent mode
2019-05-14 14:52:39 -07:00
Bryan Roe
d0fb36d10b Add ability to specify detached=true in options 2019-05-12 21:39:02 -07:00
Bryan Roe
88266aa7ad updated '-info- to contain commit hash and date if available 2019-05-09 15:27:56 -07:00
Bryan Roe
2015b668f2 Added commitHash to process.versions.meshAgent 2019-05-09 14:58:42 -07:00
Bryan Roe
bb9bbca2a8 Updated to try to fetch commit hash and date 2019-05-09 11:51:01 -07:00
Bryan Roe
35dc87d545 Updated how commit hash is detected 2019-05-09 07:42:51 -07:00