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

394 Commits

Author SHA1 Message Date
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
Bryan Roe
8fd9d34ee4 Updated win-firewall 2020-02-13 14:54:52 -08:00
Bryan Roe
ceaf4a065d added polyfill for Array.includes() 2020-02-13 14:46:07 -08:00
Bryan Roe
10fd25f018 1. Added uuid/v4
2. Fixed inadvertant paste
2020-02-13 14:02:21 -08:00
Bryan Roe
76ece3bde4 Added netsh support to win-firewall 2020-02-12 14:43:47 -08:00
Bryan Roe
05d0617539 Modified Wide2UTF8, to divide buffer size by 2, when calling WideToMultiByte, if specified 2020-02-12 14:43:02 -08:00
Bryan Roe
f3656bebff Simplified memory allocation for PushWideString 2020-02-12 14:42:05 -08:00
Bryan Roe
066c173340 Fixed bug introduced with Jan 06 commit, where emit returned true if there was more than 1 listener instead of more than 0 listeners. 2020-02-07 14:53:59 -08:00
Bryan Roe
8b9988b88d Added support for Firewall Filter modifications on Windows 2020-02-07 10:11:36 -08:00
Bryan Roe
5f1656b0ba 1. Unified uncaughtException exception processing
2. updated promise, so uncaughtRejection emits an uncaughtException
2020-02-06 18:57:18 -08:00
Bryan Roe
32592bd622 1. Updated environment variables, so that string values are coerced
2. Added ability to specify termios struct values via environment variables
2020-02-04 15:23:52 -08:00
Bryan Roe
052c3d5414 Fixed windows notifications so they work, if the message contains ' characters 2020-01-31 10:43:00 -08:00
Bryan Roe
cdb7f4cfc0 Fixed bug where Windows GetClipboard was getting wrong length when UTF8 2020-01-31 09:52:10 -08:00
Bryan Roe
2e04da2fc7 Fixed bug in Windows IPC Socket, where paused stream was not resumed when you hooked the 'end' event 2020-01-30 10:35:28 -08:00
Bryan Roe
0bbc0d8f66 Added ability to dispatch method invocations on remote stream 2020-01-30 10:34:38 -08:00
Bryan Roe
726fdf2bd6 Updated, so 32 bit on 64 bit Platforms will at least support enable/disable safemode service 2020-01-28 23:57:48 -08:00
Bryan Roe
9deab670d3 Removed debug message 2020-01-28 15:05:45 -08:00
Bryan Roe
bbe2c92817 Added 'timeout' event to websocket
Added 'setTimeout' method to websocket
2020-01-28 12:23:05 -08:00
Bryan Roe
619d52fe6b Fixed possible crash that could occur in DataChannel close event handler 2020-01-28 12:22:34 -08:00
Bryan Roe
8265cafbdb Added event_forwarder helper 2020-01-28 12:21:59 -08:00
Bryan Roe
3c7d5effb2 1. Added pty and tcsetsize to child_process
2. Added ILibProcessPipe_Process_GetPTY to ILibProcessPipe
2020-01-27 17:08:45 -08:00
Bryan Roe
a5e30ab2c6 Fixed compiler warning 2020-01-24 22:42:29 -08:00
Bryan Roe
310e5c86c6 Added 'isSafeModeService' helper 2020-01-21 15:45:11 -08:00
Bryan Roe
384cbd411d Fixed edge case bug, where HTTP body fragment could get written to stream without acknowledging it, at the start of the response, which could result in the bodystream having a single duplicate fragment. 2020-01-21 13:27:45 -08:00
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