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

1231 Commits

Author SHA1 Message Date
Bryan Roe
ae4df658ca Fixed bug where HANDLE removal doesn't dequeue a task MeshCentral_v0.5.27 2020-05-08 01:18:21 -07:00
Bryan Roe
dd0cd1af85 Fixed timeout, for child_process.waitExit() 2020-05-07 22:19:49 -07:00
Bryan Roe
7dc8ee4ef4 Added memory ownership for buffer 2020-05-07 18:19:14 -07:00
Bryan Roe
0dc052319c Fixed #ifdef 2020-05-07 12:31:58 -07:00
Bryan Roe
2ae485dad8 Fixed dwErrorStatus check 2020-05-07 11:27:05 -07:00
Bryan Roe
9668b8d77d Update to use new threading model for windows 2020-05-07 10:29:49 -07:00
Bryan Roe
47066bd825 untested changes 2020-05-06 14:03:41 -07:00
Bryan Roe
5fb0cef7db 1. Removed debug message from child-container
2. Fixed WriteEx() behavior
3. Fixed AddWaitHandle() to use APC if called from wrong thread
4. Fixed net.ipcSocket to return correct value if write completed right away
2020-05-05 16:12:23 -07:00
Bryan Roe
d26701c731 Updated ReadEx 2020-05-05 13:27:03 -07:00
Bryan Roe
969909cca7 Updated WriteEx 2020-05-05 02:00:07 -07:00
Bryan Roe
a58c3279b7 Added WaitHandles array to chain 2020-05-04 21:08:43 -07:00
Bryan Roe
ed418bd695 Fixed bugs on which WSAEvent was closed 2020-05-04 19:21:39 -07:00
Bryan Roe
1bd4e3d07c Updated Windows Chain logic, to use WSAEventSelect and WaitForMultipleObjectsEx 2020-05-04 17:25:55 -07:00
Bryan Roe
11da1118b4 updated child-container 2020-05-03 19:42:44 -07:00
Bryan Roe
99cbc98302 Updated message-box to use child-container 2020-05-03 19:41:10 -07:00
Bryan Roe
941ac6e192 1. Added NULL check
2. Added process._exit()
3. Fixed CancelIOEx usage
2020-05-03 19:40:32 -07:00
Bryan Roe
c2486d9180 1. added missing return
2. Fixed error with pushing string from filewatcher
2020-05-02 10:02:49 -07:00
Bryan Roe
d18ed5dd89 Added updated win-dispatcher to polyfills 2020-05-01 15:25:57 -07:00
Bryan Roe
b8b2638f8a Added log messages for various certiicate and nodeid issues. 2020-05-01 13:22:07 -07:00
Bryan Roe
3816c47a58 1. Removed dead code from service-manager.js2.
2. Updated win-dispatcher to create task using command line parameters, instead of stdin, negating need to export/import XML to fix non-english characters
2020-05-01 11:30:50 -07:00
Bryan Roe
33c089e275 1. Updated so CachedOnly db is created when needed
2. Updated uninstall/fulluninstall to be able to self delete
2020-05-01 11:05:47 -07:00
Bryan Roe
f38089fa3b Updated, so if database is locked, and installer is being run, db will open in cache only mode 2020-05-01 01:21:25 -07:00
Bryan Roe
a7a2b84a91 1. Updated -fullinstall -install -fulluninstall -install to use agent-installer
2. Fixed DPI awareness on Installer Dialog Box
2020-05-01 00:42:37 -07:00
Bryan Roe
10f1f53912 1. Removed usage of wcstomb_s(), which doesn't support UTF8
2. Added WideToUTF8_stupid() helper for API calls that give you byte count instead of character count of a non-null terminated UTF16 string
3. Fixed a few more places to support UTF8
2020-04-30 16:20:37 -07:00
Bryan Roe
cf91d6c709 1. Fixed bug with os.tmpdir()
2. Updated ScriptMode, so current durrectory is not changed to script path
3. Fixed process.cwd() on windows to support UTF8
2020-04-30 11:51:41 -07:00
Bryan Roe
8268fdf33a Fixed compiler warning 2020-04-30 10:26:12 -07:00
Bryan Roe
a074a17790 1. Updated win-dispatcher to only edit Task, if execPath contains UTF-8
2. Integrated updated task-scheduler into Polyfills.
2020-04-30 10:19:33 -07:00
Bryan Roe
68fe8452d3 Rev1 of task-scheduler fixes for UTF8/UTF16 problems 2020-04-30 01:40:58 -07:00
Bryan Roe
07371fed6a !. Fixed more exePath related UTF8 issues
2. Added os.tmpdir() support
3. Added Buffer.toString('utf16')
2020-04-30 01:40:03 -07:00
Bryan Roe
bf43bc0c62 test 2020-04-29 11:04:48 -07:00
Bryan Roe
5aaa062ca6 add PS integration for editing 2020-04-29 11:04:10 -07:00
Bryan Roe
71bd469551 fix 2020-04-29 03:01:44 -07:00
Bryan Roe
c7959a8332 Added ability to close message-box on windows 2020-04-28 14:27:42 -07:00
Bryan Roe
1e10f90aec Added ability to close message-box for linux 2020-04-28 12:47:58 -07:00
Bryan Roe
875c5ef2b1 Added pseudo privacy bar support to macOS 2020-04-28 11:33:46 -07:00
Bryan Roe
dbbc47e751 1. Added work-around for Zenity timeout support detection for platforms that require DISPLAY to be set in env just to query metadata
2. Fixed bug where timeout work-around resulted in success instead of timeout
2020-04-28 03:03:18 -07:00
Bryan Roe
7b339e08e0 Fixed crash that could occur if certain command line parameters are specified when there aren't sufficient permissions to open the db 2020-04-28 01:44:11 -07:00
Bryan Roe
12347a8eb4 Added multi-workspace support to privacy bar for linux 2020-04-28 01:19:24 -07:00
Bryan Roe
e1cb66e81c Added Workspace detection on X 2020-04-27 23:35:18 -07:00
Bryan Roe
4d752aa7a4 Changed release optimization from Os to O3, because macOS doesn't like Os 2020-04-27 13:28:23 -07:00
Bryan Roe
b8e58a37f7 added cpu_name for macOS 2020-04-27 00:13:48 -07:00
Bryan Roe
b1872004b0 Fixed user-consent and alerts for macOS Catalina. 2020-04-26 23:06:51 -07:00
Bryan Roe
e66adb9858 Updated to empty records are omitted MeshCentral_v0.5.15 2020-04-26 16:39:59 -07:00
Bryan Roe
a70fe75883 Fixed bug where last storage record was ommited on linux 2020-04-26 16:30:22 -07:00
Bryan Roe
af81e79702 1. Added more sysinfo details for linux
2. Added isVM() workaround for VMware if bios_vendor is not set
2020-04-26 16:09:18 -07:00
Bryan Roe
581b012340 Unified GPU names for linux and windows 2020-04-26 14:32:55 -07:00
Bryan Roe
8ec340f8b5 Added cpu_name for linux 2020-04-26 13:41:40 -07:00
Bryan Roe
1db2b400d1 Fixed dispatch loop that can happen on process exit 2020-04-26 13:03:48 -07:00
Bryan Roe
19508fa79e 1. Updated os.Name and os.name() to fetch Windows name from older versions of Windows
2. Fixed compiler warning
2020-04-26 09:57:43 -07:00
Bryan Roe
de4c507b57 Added title support to xmessage 2020-04-26 02:56:03 -07:00