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

419 Commits

Author SHA1 Message Date
Bryan Roe
05cd4136d0 Added to windows 'sysinfo' to show GPU/CPU/HDD make/model 2020-04-25 21:59:40 -07:00
Bryan Roe
28dbc59746 Updated VM detection for ProxMox 2020-04-24 23:56:07 -07:00
Bryan Roe
cb991c17f0 Fixed docker container support 2020-04-24 23:00:21 -07:00
Bryan Roe
55a832ba33 Fixed bug with Xen/AWS detection 2020-04-24 21:10:32 -07:00
Bryan Roe
26e48ff044 Added Docker container detection 2020-04-24 19:34:24 -07:00
Bryan Roe
9682464cb6 1. fixed #def issue
2. Added Virtual Machine  detection
2020-04-24 16:06:59 -07:00
Bryan Roe
de24ee7543 Fixed edge case bug, where EventLoopThread could be momentarily stalled on exit, on windows 2020-04-24 14:22:13 -07:00
Bryan Roe
ccc3c81ab5 Updated KVM detection, to retry every 10 seconds for 3 minutes if XLIBS are detected but X server is not 2020-04-23 22:40:16 -07:00
Bryan Roe
3843d0173d 1. Added NULL reference check
2. Removed suspend/resume duktape call
2020-04-23 19:53:57 -07:00
Bryan Roe
54b291187b 1. Fixed compiler warning when NO_IFADDR is defined
2. Added pthread_timedjoin_np() workaround for older glibc/gcc
2020-04-23 16:47:57 -07:00
Bryan Roe
e7f46497bd Fixed bug in ScriptContainer on Windows, where a dispatch failed 2020-04-22 17:24:25 -07:00
Bryan Roe
28db019101 1. Added ability to spawn joinable threads on linux
2. Added ILibThread_TimedJoin()
2020-04-20 21:51:55 -07:00
Bryan Roe
71d4b1edca 1. Fixed compiler warnings
2. Updated thread cleanup/finalizer logic to rely on ctxd if necessary
2020-04-20 17:01:53 -07:00
Bryan Roe
0c6db0b2a6 1. Added additional memory check helpers
2. Updated Process exit detection to check apc flags
2020-04-19 15:18:52 -07:00
Bryan Roe
72cbf91686 updated cleanup logic 2020-04-18 17:08:09 -07:00
Bryan Roe
743a38eeeb 1. Updated WaitHandle_Add2 to no use APC to dispatch to event loop, becuase winsock is not re-entrant, and don't want to risk corruption
2. Updated memory handling for async methods in Generic Marshal
2020-04-18 13:53:38 -07:00
Bryan Roe
df752bdc70 Updated memory handling of async method 2020-04-18 09:30:29 -07:00
Bryan Roe
5ba1288cdf Modified JS runtime to use ILibMemory_Extra to point to udata structure,
then used that for consistency checks
2020-04-17 15:05:47 -07:00
Bryan Roe
255d20c263 Fixed potential crash in WebRTC finalizer 2020-04-14 16:13:47 -07:00
Bryan Roe
5fd96b36c3 Fixed typo in freebsd service path 2020-04-14 01:20:54 -07:00
Bryan Roe
7a1da84490 Fixed freebsd bug with installService() 2020-04-14 01:16:22 -07:00
Bryan Roe
e3b8cc4d2c 1. Fixed edge case bug, where TLS packet was corrupt
2. Added compile switch for KVM ALL TILES
3. Added compile switch for Debug fragmentation of Sends
4. Fixed compiler warnings
5. Added comments to makefile
2020-04-13 20:08:32 -07:00
Bryan Roe
9aaef732d9 1. Fixed bug where ILibAsyncSocket wrote a corrupt TLS packet
2. Removed linux work-around/hack that is not needed due to above fix
2020-04-12 01:42:49 -07:00
Bryan Roe
cd18577a19 Updated crc32c to be unsigned 2020-04-08 19:17:18 -07:00
Bryan Roe
00b613fcb1 Added try/catch around getLibInfo() to fix an issue on ChromeOS 2020-04-08 13:11:39 -07:00
Bryan Roe
b8208f63ed Fixed Installer/Uninstaller
1. Remapped -fulluninstall to -funinstall
2. Updated behavior so db is not loaded if agent-installer is invoked
3. Renamed Windows Uninstaller from MeshCentralAgent to Mesh Agent for consistency
4. Update service-manager.installService(), such that if the service is the mesh agent, the windows uninstaller will invoke -fulluninstall
5. Updated agent-installer so that secondary agent and its scheduled tasks will be deleted on uninstall
6. Updated event-emitter, so if process.exit() is called on an emit(), it won't throw a catchable exception
2020-04-07 00:03:11 -07:00
Bryan Roe
3cd06ea4aa 1. Fixed uncaught exception that occurs on linux when you logout/logon
2. Added timer on logon, to allow time for dbus session to start
2020-04-06 14:43:37 -07:00
Bryan Roe
4bcb16c35a Added work around for older versions of SCHTASK, like in Windows 7, when execPath includes spaces. This fixes spawning user terminal session, among other things. 2020-04-06 09:26:55 -07:00
Bryan Roe
d25023e92b Added workaround that is needed due to PowerShell bug in Windows 7 2020-04-05 10:28:54 -07:00
Bryan Roe
0c1d7d6caa Fixed bug in message box return value, introduced with new alert modifications 2020-04-04 14:17:22 -07:00
Bryan Roe
e89274c835 Fixed edge case crash when calling response.end() with a buffer 2020-04-03 18:23:42 -07:00
Bryan Roe
7dbfae9bea Added support for dbus system events 2020-03-31 16:40:44 -07:00
Bryan Roe
46e4113814 1. Fixed Control Channel bug, where host field never contained port number
2. Updated tunnels, so host field only contains port if its not a default port
2020-03-19 23:54:16 -07:00
Bryan Roe
1796d8e266 Added support for "OK" dialog to message-box 2020-03-19 11:39:51 -07:00
Bryan Roe
a714468636 Added gateway support to MeshAGent.NetInfo and OS.networkInterfaces() for macOS 2020-03-18 16:41:21 -07:00
Bryan Roe
3d88fd7539 Fixed readdirSync to support junctions on Windows 2020-03-18 12:08:13 -07:00
Bryan Roe
76bb6f7613 Removed debug message 2020-03-13 23:36:25 -07:00
Bryan Roe
b42429a368 Updated linux-dbus and lock/unlock detection for better support across different linux distros 2020-03-13 22:29:29 -07:00
Bryan Roe
c5a559f011 Added user-sessions.Current() on FreeBSD 2020-03-05 16:18:42 -08:00
Bryan Roe
164b24a925 1. Updated macOS to wait for network ready
2. Implemented Restart/Shutdown Power Actions for macOS
2020-02-27 13:19:57 -08:00
Bryan Roe
908698fb68 Fixed uninstall logic for macOS 2020-02-26 11:25:01 -08:00
Bryan Roe
ee8bf176e8 Updated for macos 2020-02-26 00:03:57 -08:00
Bryan Roe
6f5f065eb5 1. Changed Array.includes polyfill to be nonenumerable, fixing potential problems when using for loops
2. Added uninstall helper
3. Fixed macOS bug on 'load' function
2020-02-25 23:32:21 -08:00
Bryan Roe
2669b10a5b Fixed uncaught exception on exit 2020-02-25 14:21:24 -08:00
Bryan Roe
7f49bedd29 Updated DNS Cache logic 2020-02-24 16:00:08 -08:00
Bryan Roe
f11fb9d3cb Fixed bug, where if DNS resolve fails, an attempt is made to fetch cache results, but the result was accidentally left on the value stack 2020-02-24 15:45:15 -08:00
Bryan Roe
ffcffafeb5 1. modified os.platform() to return process.platform, for consistency
2. updated os.name() on Windows to try to fetch name and id from registry
2020-02-24 10:11:42 -08:00
Bryan Roe
1731670522 1. Fixed bug in process-manager.getProcessInfo() on linux
2. Updated agent-installer
3. Fixed JSON error in SimpleDataStore
2020-02-15 00:22:15 -08:00
Bryan Roe
69808283be Updated agent-installer 2020-02-14 23:03:56 -08:00
Bryan Roe
4d7aa678bd Fixed build for No_OpenSSL build mode 2020-02-14 09:14:17 -08:00