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

1231 Commits

Author SHA1 Message Date
Ylian Saint-Hilaire
376d51cb9e Added optimization comment. MeshCentral_v0.6.6 2020-08-12 12:33:58 -07:00
Bryan Roe
c155862e96 Changed default compiler optimization for release to -O2 2020-08-12 00:26:59 -07:00
Bryan Roe
c56ab5574f 1. Removed commented out code
2. Updated self test to work in service mode
2020-08-12 00:06:31 -07:00
Bryan Roe
9a8641b959 Updated LMS test case 2020-08-11 18:37:10 -07:00
Bryan Roe
79e89787f3 Fixed bug where I forgot to set the Tail of the pending queue when I added an item, when there was already an item 2020-08-11 15:21:38 -07:00
Bryan Roe
42dcbc8e4d Fixed edge case bug, where if terminate flag was set, Windows Select loop may not unblock 2020-08-11 02:26:29 -07:00
Bryan Roe
0b51917e24 Add LMS test case 2020-08-11 00:54:20 -07:00
Bryan Roe
0946ab8479 Fixed bug in rejector uncaught detection logic 2020-08-11 00:53:53 -07:00
Bryan Roe
68fe2d9ad0 Simplified promise rejection handling 2020-08-10 23:42:34 -07:00
Bryan Roe
03e4d3719f Updated AMT detection/test 2020-08-10 14:54:46 -07:00
Bryan Roe
288f98a79f Added coreinfo and fixed smbios 2020-08-07 12:34:51 -07:00
Bryan Roe
1ffe14f22c 1. Added DynamicBuffer support
2. Changed MemoryStream to use DynamicBuffer instead of native buffer, fixing smbios issue on linux
2020-08-07 10:40:52 -07:00
Bryan Roe
c9aaeecca5 updated selftest mode to pass parameters 2020-08-06 11:41:30 -07:00
Bryan Roe
9d577e80e7 Updated self test startup 2020-08-06 10:35:20 -07:00
Bryan Roe
6740cbf55d Fixed bug in message-box (user-consent) introduced in older zenity platforms 2020-08-06 01:33:30 -07:00
Bryan Roe
09260ee471 First rev of self test 2020-08-06 01:04:03 -07:00
Bryan Roe
5f02915532 1. Updated EncryptionStream.GenerateRandom to return a node JS buffer
2. Fixed bug in promise
2020-08-05 21:14:44 -07:00
Bryan Roe
e081f711cf Fixed cleanup code for unix domain socket, to remove inode in finalizer 2020-08-03 23:47:00 -07:00
Bryan Roe
399e1cc9f3 Fixed service manager on freebsd to correctly parse PID when daemon is in use 2020-08-03 21:16:51 -07:00
Bryan Roe
465805bc96 Fixed issue with freebsd MeshCentral_v0.6.1 2020-08-03 11:44:44 -07:00
Bryan Roe
f0fa377395 Added root check for service install/uninstall 2020-08-03 11:06:45 -07:00
Bryan Roe
584c967ac9 Fixed edge case bug on linux where if KVM is running when parent process is terminated, the kvm process causes the agent to restart. 2020-08-03 10:42:37 -07:00
Bryan Roe
3afdfe3609 Updated support for KDE/PLasma 2020-08-02 21:10:12 -07:00
Bryan Roe
67c3ba8b14 Updated to support macOS 2020-08-02 15:49:09 -07:00
Bryan Roe
b40b4f45e6 1. Updated macOS message-box to correctly detect cancel button press
2. Fixed compiler warning
3. Updated --no-embedded=1 detection
2020-08-02 15:48:15 -07:00
Bryan Roe
9931cdd9e1 Updated on macOS to address multiline captions and button count errors 2020-08-02 14:06:58 -07:00
Bryan Roe
96390ab06e Initial rev of helper utility to generate interactive installer for linux 2020-08-01 03:51:17 -07:00
Bryan Roe
43e09dd41e 1. Removed uneccessary printf
2. Added support for hex values for CAched db entries
3. Added --copy-msh support in agent installer
4. Added --no-embedded support
2020-08-01 02:38:38 -07:00
Bryan Roe
8ff0db9c3e Added support for custom button layouts when supported by zenity 2020-07-31 19:24:44 -07:00
Bryan Roe
70a6130747 Added 'extra' property to message-box.zenity to poke for extra-button support 2020-07-31 15:17:01 -07:00
Bryan Roe
1e5b1afb9a Fixed win-systray cleanup, so if you call remove without exiting/dumping, it disconnects the IPC. MeshCentral_v0.5.99 2020-07-31 00:38:04 -07:00
Bryan Roe
7a265a37b9 1. Fixed crash that occurs when meshcore is cleared, if FDSNAPSHOT was used
2. Fixed uncaught exception that occurs when you emit an event on a finalized object
2020-07-30 21:32:47 -07:00
Bryan Roe
8f43ced7a1 Fixed memory leak when writing compressed record 2020-07-30 21:30:50 -07:00
Bryan Roe
2e1d102311 Updated windows system tray support 2020-07-30 18:38:27 -07:00
Bryan Roe
8546a1333b Initial add... Still need to work out cleanup on LocalSystem 2020-07-30 12:47:11 -07:00
Bryan Roe
518a304bfc 1. Modified when process.exit event is emitted, so that it emits before any objects are finalized
2. Added process.exitting property that returns true if runtime is in process of exitting
2020-07-30 11:00:02 -07:00
Bryan Roe
a08cdc5d27 Forgot to add this file to repo. 2020-07-30 10:58:07 -07:00
Bryan Roe
f2eb015b2a Fixed bug in unshift() logic in do/while loop on windows IPC MeshCentral_v0.5.97 2020-07-29 13:25:40 -07:00
Bryan Roe
d56dd0b308 Updated new event emitter, so that JSON table is updated after listener is added, instead of before. 2020-07-29 01:07:47 -07:00
Bryan Roe
0f50542d8d Fixed typo in Windows Server 2012 fix. I meant to pass bytesRead, not bufferLen 2020-07-28 22:17:31 -07:00
Bryan Roe
7b9ce06818 1. Added workaround for ReadFile() problem on Windows Server 2012 2020-07-28 18:27:07 -07:00
Bryan Roe
9f09abdbcd Updated EventEmitter to use JS data structure instead of native 2020-07-28 15:17:37 -07:00
Bryan Roe
182469a82c Fixed bug with ILibParseString, if offset was specified 2020-07-28 15:16:40 -07:00
Bryan Roe
3757910295 Added Array.findIndex() polyfill 2020-07-28 15:16:09 -07:00
Bryan Roe
1064fee868 1. Fixed size checks
2. Added checks for db write errors, and added readonly mode failover, with an error event
2020-07-27 13:19:36 -07:00
Bryan Roe
e132cb9d0b Fixed hash buffer size 2020-07-27 13:18:24 -07:00
Bryan Roe
9c3fa12dc6 1. Fixed typo
2. Added handler for jpeg memory allocation error
2020-07-27 09:59:07 -07:00
Bryan Roe
453b5cdf5b Fixed broken while loop 2020-07-27 09:58:04 -07:00
Bryan Roe
c986d60132 REmoved unreferenced variable 2020-07-27 09:57:23 -07:00
Bryan Roe
6c6c9b871e 1. Added upperbound on alloca
2. Removed unreferenced variables
2020-07-27 09:56:58 -07:00