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

1037 Commits

Author SHA1 Message Date
Ylian Saint-Hilaire
8d86bcfa1c Minor fixes to -? help text. 2022-08-24 23:57:15 -07:00
Bryan Roe
4d1dc7a082 Updated Windows Installer to populate DisplayVersion in registry 2022-08-24 00:54:18 -07:00
Bryan Roe
de512f8ae1 Updated platform check to be 'linux' instead of not 'win32', fixing issues with BSD/macOS 2022-08-22 19:57:39 -07:00
Bryan Roe
b2e64e2147 Add explicit close to win-dispatcher
Add #ifdef exclusion for kvm-helper on macos
2022-08-22 09:46:12 -07:00
Bryan Roe
ad03c83c22 Fixed edge case with child-container, where if exit is called before child connects, could result in hung client, or stale server. 2022-08-21 15:33:01 -07:00
Bryan Roe
7905caa745 Fixed bug when user specified with quotes, causing failover from win-task to SCHTASKS. Also fixed referencing issue that caused delayed GC when using SCHTASKS 2022-08-21 10:54:41 -07:00
Bryan Roe
8b49af30be Backed out change that prevented a disconnect from propagating correctly. 2022-08-19 16:25:28 -07:00
Bryan Roe
cf0bf3cd59 Added variable check before dereference 2022-08-19 11:42:47 -07:00
Bryan Roe
cd60e2bdf9 Added memory check before dereference 2022-08-19 10:13:46 -07:00
Bryan Roe
36286d9e7d Updated WebSocketStream, so when you call end on the decoded stream, it will call end on the encoded stream. This will cause all the references to detach, allowing timely garbage collection. 2022-08-19 00:49:14 -07:00
Bryan Roe
905aafd9b1 Optimized references in HTTP WebSockets, and added more leaktest scenarios. 2022-08-18 01:39:59 -07:00
Bryan Roe
d4864597ae Optimized referencing within win-dispatcher to facilitate better garbage collection 2022-08-17 11:27:34 -07:00
Bryan Roe
6ba372d9b1 Updated to clear strong reference after an immediate triggers. 2022-08-16 13:23:30 -07:00
Bryan Roe
9d3f353ef5 Fixed issue with Zenity on FreeBSD 2022-08-12 16:54:41 -07:00
Bryan Roe
80b14d0163 Fixed MessagePump shutdown to wait in an alertable state, fixing a scenario where memory was leaked because an APC was never called, because the event thread was not alertable while it was waiting for the apc thread to shutdown. Also fixed an edge case crash that could occur when a dispatcher was shut down. 2022-08-09 20:33:20 -07:00
Bryan Roe
373b0b424d Fixed memory leaks with Metadata string on Windows IPC socket, and overlapped data structure 2022-08-09 15:15:46 -07:00
Bryan Roe
10c6aa295c Updated process-manager to support an options object, for search
Added win-utils to provide windows specific helper methods.
Added ability to set/query system taskbar autohide on Windows
2022-08-03 14:43:26 -07:00
Bryan Roe
7cffca38f5 Fixed Windows Handle leak 2022-07-25 09:42:49 -07:00
Bryan Roe
687f79d8d1 Updated documentation 2022-07-21 22:50:58 -07:00
Bryan Roe
fd93f62fe4 Added documentation to fs
Addressed minor issues from static analysis
2022-07-21 00:24:10 -07:00
Bryan Roe
06cc2ae7ea Restored line accidentally deleted 2022-07-19 23:33:44 -07:00
Bryan Roe
6a0f448c65 1. Fixed while() loop that could get stuck in loop due to 4 byte align issue
2. Added more inline documentation to fs
2022-07-19 22:52:25 -07:00
Bryan Roe
f1a2842d2b Fixed compiler warning 2022-07-18 23:22:58 -07:00
Bryan Roe
1c953c6006 Added documentation 2022-07-18 23:03:01 -07:00
Bryan Roe
8072454550 Added setting to enable/disable default Pin State 2022-07-15 20:23:28 -07:00
Bryan Roe
4e8aa9e782 Fixed bug with ScriptContainer JSON dispatcher, that caused the child to crash 2022-07-12 18:35:49 -07:00
Bryan Roe
f4880573f3 Fixed JSON error in Process Enumeration that can occur in some linux distros 2022-07-12 12:27:44 -07:00
Bryan Roe
6409183e72 Fixed bug where ctx dereference was placed before the validity check, instead of after 2022-07-02 10:42:54 -07:00
Bryan Roe
62195b6081 Added Digest Auth and Auth-Int support for server connections 2022-07-01 12:24:56 -07:00
Bryan Roe
25749eccaa Fixed bug that prevented digest/auth-int from correctly inserting entity body hash into the response. 2022-07-01 10:45:23 -07:00
Bryan Roe
963beb2b25 Removed debug console.log() 2022-07-01 03:03:08 -07:00
Bryan Roe
8f60da4435 Fixed parsing bug of digest authenticate headers when multiple qop options are present. Added support for auth-int on the client side. 2022-07-01 03:01:28 -07:00
Bryan Roe
fd59b52e89 Fixed macOS related issues with MeshCore tests.
Fixed bug in macOS clipboard where 0x0D0A was tacked on the end of the buffer
Fixed bug with customized agents, where MeshAgent.isService was returning the wrong value
2022-06-30 14:47:02 -07:00
Bryan Roe
b493da68e4 Fixed bug on Linux Agent, where a service stop, didn't gracefully shutdown the agent. Modified so that SIGTERM is caught, and causes the agent to gracefully shutdown. This change made it so the clipboard cleanup code could correctly run. 2022-06-30 01:23:29 -07:00
Bryan Roe
dcd8669746 Rev2 of SelfTest update
Added console.getInfoLevel() method
2022-06-29 14:11:51 -07:00
Bryan Roe
043848a0f9 Fixed bug in WebSocketStream partial fragment handler, where if fragment buffer size was 0, it would not realloc() correctly.
Also updated self-test to have inline documentation, as well as support for console debugging
2022-06-28 20:36:32 -07:00
Bryan Roe
b3e7943264 Updated agent-installer and update-test so that the self update test can be used with very old agents, to test updating to/from old releases. 2022-06-28 13:10:13 -07:00
Bryan Roe
b6349db37e Documented code for agent-installer 2022-06-27 14:50:43 -07:00
Bryan Roe
af669c1da8 Removed debug message 2022-06-27 10:33:37 -07:00
Bryan Roe
386fb23b1f Updated service-manager.js 2022-06-27 10:27:48 -07:00
Bryan Roe
36681dbbf8 1. Fixed bug where global-tunnel.end() didn't clear the proxy
2. Broke infinite loop that could occur with circular referenced list
3. Added NULL check
2022-06-23 01:33:03 -07:00
Bryan Roe
460fb89851 1. Fixed process.stdin for POSIX
2. Added support for console.echo and console.canonical
2022-06-17 21:07:02 -07:00
Bryan Roe
39fa19b284 Added Linux PCI bus enumeration support 2022-06-16 18:43:16 -07:00
Bryan Roe
aecf6a59c0 1. Added support for USB enumeration on Linux
2. Added workaround for awk bug with Ubuntu 16-18
2022-06-16 15:31:35 -07:00
Bryan Roe
69751822b0 Canonicalized field names 2022-06-15 23:14:24 -07:00
Bryan Roe
376c82fc2d Another update for Ubuntu 16 2022-06-15 23:01:14 -07:00
Bryan Roe
1f40c4c983 Tweaked for Ubuntu 16 2022-06-15 22:58:51 -07:00
Bryan Roe
5b58c57352 Added support for decoding memory controller information from DMI for linux 2022-06-15 20:04:14 -07:00
Bryan Roe
f710290357 1. Added CycleCount, MinimumDelay, MaximumDelay, support to Self Update Test
2. Fixed edge case resource leak with clipboard on linux
2022-06-14 22:03:49 -07:00
Bryan Roe
de8322321c 1. Updated global-tunnel properties
2. Updated error message to be more descriptive
2022-06-14 15:15:30 -07:00