1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-28 23:33:20 +00:00

Commit Graph

  • cac5ea8f9c Integrated freebsd changes for user-sessions, monitor-info, and service-manager Bryan Roe 2019-06-24 10:52:06 -07:00
  • fb36f05459 freebsd update.. still needs work Bryan Roe 2019-06-23 21:27:54 -07:00
  • 7745338d9e added stop, start, restart, uninstallService for freebsd Bryan Roe 2019-06-22 09:55:33 -07:00
  • a75e12b400 fixed indentation Bryan Roe 2019-06-22 09:39:08 -07:00
  • 894c4e7a7e updated appLocation() for freebsd when daemon is used Bryan Roe 2019-06-22 09:36:16 -07:00
  • dd8c16299c first rev of service-manager update for freebsd Bryan Roe 2019-06-22 02:24:39 -07:00
  • ddfa6e5212 integrated freebsd changes Bryan Roe 2019-06-22 01:37:10 -07:00
  • 940161e498 update getXInfo() for freebsd Bryan Roe 2019-06-22 01:34:41 -07:00
  • 422e342a5e updated findEnv() for freebsd Bryan Roe 2019-06-22 01:23:23 -07:00
  • ae3bff9e18 fixed getEnvFromPid() for freebsd Bryan Roe 2019-06-22 01:20:16 -07:00
  • c9f0bff898 update to getEnvFromPid() for freebsd Bryan Roe 2019-06-22 01:12:15 -07:00
  • de0f88188f integrated freebsd changes for user-sessions Bryan Roe 2019-06-22 00:10:03 -07:00
  • 31d8b3d2f2 user-sessions test for freebsd Bryan Roe 2019-06-22 00:04:43 -07:00
  • cfa22baf9c fixed indentation Bryan Roe 2019-06-21 17:43:27 -07:00
  • 4d615ab955 fixed appWorkingDirectory() bug on freebsd Bryan Roe 2019-06-21 17:38:03 -07:00
  • 83fdcbc4b9 freebsd update Bryan Roe 2019-06-21 17:35:57 -07:00
  • acc191212e initial update for freebsd Bryan Roe 2019-06-21 17:22:08 -07:00
  • 7892064e66 Updated user-sessions so isRoot() works on freebsd Bryan Roe 2019-06-21 16:13:19 -07:00
  • bf173d408c 1. Updated so if Server Address cannot be resolved, it will not say "connecting" 2. Updated, so resolve failure + cache miss, will not prevent retry. Bryan Roe 2019-06-21 14:42:09 -07:00
  • c9ed96f5a0 Fixed errant rename from Ylian Bryan Roe 2019-06-21 14:28:12 -07:00
  • 9a37e2f4fd Added AgentID=27, Raspberry Pi on Raspian 7. Ylian Saint-Hilaire 2019-06-21 10:06:13 -07:00
  • eb83b255ca Added comment Bryan Roe 2019-06-20 22:59:01 -07:00
  • 95b02cadf1 updated to support kvm on freebsd Bryan Roe 2019-06-20 22:04:17 -07:00
  • 0c9707a3fc Integrated 'lib-finder' for freebsd, and integrated updated monitor-info Bryan Roe 2019-06-20 21:09:03 -07:00
  • ece7db84dd Updated for freebsd Bryan Roe 2019-06-20 21:05:03 -07:00
  • 604e853354 fixed freebsd bugs Bryan Roe 2019-06-20 16:48:38 -07:00
  • 2d59578c21 Updated for freebsd Bryan Roe 2019-06-20 16:19:48 -07:00
  • bfbd572e07 Updated to support freebsd Bryan Roe 2019-06-20 16:15:03 -07:00
  • eb297dbfe8 Updated AsyncSocket_MultiWrite and WebRTC for OpenSSL/1.1.1c Bryan Roe 2019-06-20 14:14:50 -07:00
  • 6de8178723 Updated TLS buffering, to fix issue associated with OpenSSL/1.1.1c Still needs additional work Bryan Roe 2019-06-20 13:56:33 -07:00
  • 13ad575bb5 1. Fixed to address changes with OpenSSL/1.1.1c 2. ToDo: Still need to update WebRTC and Pending Writes Bryan Roe 2019-06-19 15:29:56 -07:00
  • f8eca4008a Fixed line ending Bryan Roe 2019-06-18 11:39:45 -07:00
  • 318b58ad3c Fixed typo Bryan Roe 2019-06-18 10:43:41 -07:00
  • ce9ce169a1 Added DEBUG to freebsd recipe Bryan Roe 2019-06-18 00:26:25 -07:00
  • 78bc6220b8 Added license Bryan Roe 2019-06-17 23:56:14 -07:00
  • f84fc79646 Initial version of lib-finder Bryan Roe 2019-06-17 23:47:45 -07:00
  • 00d0066b2a Added os.nics() helper for freebsd Bryan Roe 2019-06-17 18:19:52 -07:00
  • c51dcb4e8d update os.name() for freebsd Bryan Roe 2019-06-17 16:46:22 -07:00
  • 124c0d386f Initial modifications to support FreeBSD Bryan Roe 2019-06-17 15:45:46 -07:00
  • cefab43b99 Fixed agent connection retry logic MeshCentral_v0.3.6-n Bryan Roe 2019-06-14 15:11:40 -07:00
  • 583628214e Added 'listening' property to net.server Bryan Roe 2019-06-14 13:56:07 -07:00
  • 4a392f4c15 Fixed compiler warnings on MacOS Bryan Roe 2019-06-14 10:37:14 -07:00
  • b9617595ab Updated error case when attempting to show dialog/toast when nobody is logged in Bryan Roe 2019-06-14 10:27:49 -07:00
  • 38aea71c35 Updated, so Linux Distros that don't have XServer instances running when no users are logged in, will display a descriptive message Bryan Roe 2019-06-13 14:43:27 -07:00
  • d8842d05d7 Merge branch 'master' of https://github.com/Ylianst/MeshAgent Bryan Roe 2019-06-13 13:59:16 -07:00
  • 9f99051e20 1. Fixed re-entrancy issue with Pre/Post select when WaitExit is used 2. Updated cleanup, so that the processing loop unwinds first Bryan Roe 2019-06-13 13:47:26 -07:00
  • 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 Bryan Roe 2019-06-13 13:36:43 -07:00
  • 7365f1a49d Updated build configuration for 32-bit Release, so that is passes all VirusTotal scans. Bryan Roe 2019-06-13 13:03:50 -07:00
  • 68fd05d4c8 Fixed linux compiler warning Bryan Roe 2019-06-13 10:49:29 -07:00
  • 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 Bryan Roe 2019-06-06 21:59:50 -07:00
  • 4451e12e7a Updated Cleanup for Linux/MacOS, still need to fix Bryan Roe 2019-06-06 18:47:41 -07:00
  • 67e10e0e33 Updated for Linux/MacOS Bryan Roe 2019-06-06 18:47:05 -07:00
  • f28ea50560 Fixed Interleaved bug Bryan Roe 2019-06-06 18:46:26 -07:00
  • 4a11c63b6c Fixed semaphores on MacOS Bryan Roe 2019-06-06 18:45:42 -07:00
  • 4f0fbc9581 Removed debug message Bryan Roe 2019-06-06 18:44:58 -07:00
  • ffdcdbc13d Fixed bug where KVM messages to parent could get interleaved Bryan Roe 2019-06-05 11:09:37 -07:00
  • 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 Bryan Roe 2019-06-04 13:06:17 -07:00
  • 3ab7316172 1. added 'getGroupID' for macos user-sessions 2. added support for per-user LaunchAgents on MacOS Bryan Roe 2019-06-03 15:15:25 -07:00
  • 5b0a4899e2 Updated user-sessions on MacOS to support getHomeFolder and getUsername Bryan Roe 2019-05-30 14:59:32 -07:00
  • e08d1996d5 Updated event emitter, so that 'on', 'once', etc, return the emitter, so they can be chained together Bryan Roe 2019-05-30 10:06:11 -07:00
  • 78512cda21 Updated, so writableAll is supported on Posix, on server domain sockets Bryan Roe 2019-05-29 15:23:59 -07:00
  • 792ab99f06 updated when osversion is called Bryan Roe 2019-05-24 15:30:19 -07:00
  • 134f34d9cf 1. added 'ILibChain_IsLinkAlive' macro 2. incremental update for macos message-box Bryan Roe 2019-05-24 15:11:27 -07:00
  • c17d6a069b Fixed bug with macos recipe that caused clang to optimize regardless of flags set Bryan Roe 2019-05-24 15:09:07 -07:00
  • 45ea5722b8 updated to cleanup better Bryan Roe 2019-05-23 16:27:37 -07:00
  • 2895768ebf 1. Added 'close' to net.server 2. updated message-box for MacOS (In Progress) Bryan Roe 2019-05-23 15:41:00 -07:00
  • 1a1ba0084e Updated MacOS service-manager to support LaunchAgents, and updated to support launchctl 2.0 API on Mac OS 10.10 and above Bryan Roe 2019-05-22 13:50:03 -07:00
  • 567feba9ff 1. Updated service-manager to support installing LaunchAgents 2. Started skeleton code for MacOS message-box Bryan Roe 2019-05-20 17:25:25 -07:00
  • e28b5d7b0e 1. Added support for KDE 2. Added zenity fallback for platforms where notify-send doesn't work correctly Bryan Roe 2019-05-18 02:48:27 -07:00
  • 020bae80a5 1. Added ability to search env vars by uid 2. updated toaster to work with KDE Bryan Roe 2019-05-17 22:10:52 -07:00
  • bbe2098b7e 1. Integrated win-console on windows 2. Updated toaster, to better support linux. And updated flow for windows. Bryan Roe 2019-05-17 16:10:36 -07:00
  • f4f0a37522 updated getXInfo, so returns only DISPLAY if XAUTHORITY is not found Bryan Roe 2019-05-17 16:09:47 -07:00
  • 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 Bryan Roe 2019-05-17 14:23:51 -07:00
  • 26d86ce449 Added canary check to mitigate crash on linux Bryan Roe 2019-05-16 23:38:51 -07:00
  • 8ac2e127ef Fixed compiler warnings Bryan Roe 2019-05-16 15:11:10 -07:00
  • 842a7d475b Added initial rev of message-box, to allow spawning a dialog box into a user context Bryan Roe 2019-05-16 15:07:47 -07:00
  • e0e52bbb16 Added ability to specify environment variables on linux 'child_process.execFile' Bryan Roe 2019-05-16 15:05:24 -07:00
  • 5e0bc797a7 Updated promise, so you can't resolve/reject more than once Bryan Roe 2019-05-16 11:17:11 -07:00
  • 679366445f Updated server finalizer, so it cleans up named pipe, if its an IPC server. Bryan Roe 2019-05-15 10:48:01 -07:00
  • da7b9aa47b Updated, so 'restartCore' preserves localScript flag Bryan Roe 2019-05-15 10:47:10 -07:00
  • fdb4411825 Added comments describing differences between two similar macros Bryan Roe 2019-05-15 10:46:16 -07:00
  • 7cf000571d 1. Fixed compiler warning 2. Updated so process.exit() throws exception when called in agent mode Bryan Roe 2019-05-14 14:52:39 -07:00
  • d0fb36d10b Add ability to specify detached=true in options Bryan Roe 2019-05-12 21:39:02 -07:00
  • 88266aa7ad updated '-info- to contain commit hash and date if available Bryan Roe 2019-05-09 15:27:56 -07:00
  • 2015b668f2 Added commitHash to process.versions.meshAgent Bryan Roe 2019-05-09 14:58:42 -07:00
  • bb9bbca2a8 Updated to try to fetch commit hash and date Bryan Roe 2019-05-09 11:51:01 -07:00
  • 35dc87d545 Updated how commit hash is detected Bryan Roe 2019-05-09 07:42:51 -07:00
  • 03413da00e Updated windows build script to include commit hash Bryan Roe 2019-05-08 21:46:47 -07:00
  • 7b98af6a60 Added process.versions Bryan Roe 2019-05-08 18:30:13 -07:00
  • 2c45d57259 Fixed typo with nodeid helper on windows Bryan Roe 2019-05-07 12:06:22 -07:00
  • a082c8bf55 Merge branch 'WindowsIPC' Bryan Roe 2019-05-02 23:49:34 -07:00
  • ac07dc59d5 Updated, so if broken pipe detected, server will re-bind if necessary WindowsIPC Bryan Roe 2019-05-01 23:21:27 -07:00
  • 6770921ca7 Updated ReadEx/WriteEx so it returns status, which can be used to detect broken pipe Bryan Roe 2019-05-01 21:19:56 -07:00
  • 067a3ee2a2 removed printf Bryan Roe 2019-05-01 16:41:03 -07:00
  • c6e0d2a0ac Fixed IPC_Write to emit drain when no more pending writes Bryan Roe 2019-05-01 16:38:12 -07:00
  • 6f1e1c4d9e Updated Windows IPC Bryan Roe 2019-05-01 16:13:43 -07:00
  • 585595791b Updated to use revices ReAlloc Macro Bryan Roe 2019-05-01 16:13:27 -07:00
  • 014aa11ec0 Updated ReadableStream, so you can define it multiple times, such that the finalizer will not compound Bryan Roe 2019-05-01 16:12:59 -07:00
  • b9f18b9897 Added CreateFinalizerEx, where you can specify 'singleton' which clears any previously defined finalizers Bryan Roe 2019-05-01 16:12:25 -07:00
  • 40b3ca4d03 1. Added CancelEx 2. Updated, so if ReadEx is used, buffer is not freed directly Bryan Roe 2019-05-01 16:10:58 -07:00