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

1934 Commits

Author SHA1 Message Date
Ylian Saint-Hilaire
99df8ca8ec Merge pull request #181 from jpros/access-validation-on-start
Added permissions validation on start for macOS
2023-10-07 12:00:00 -07:00
Ylian Saint-Hilaire
fa7125f564 Merge pull request #187 from pelwell/is183
Fix agent crash on ARM64 (Raspberry Pi)
2023-10-07 11:59:30 -07:00
Ylian Saint-Hilaire
653f13a1ff Merge pull request #189 from wizarddev038/WizardRepo
Mouse cursor blink solved
2023-10-07 11:56:23 -07:00
wizarddev038
4148170de8 Mouse cursor blink solved 2023-07-04 19:00:15 +09:00
Phil Elwell
0ba325af84 Fix agent crash on ARM64 (Raspberry Pi)
The function ILibWebClient_ProcessWebSocketData in
microstack/ILibWebClient.c reads a 64-bit integer from an address that
is only 2-byte aligned. ARM64 kernels support unaligned accesses from
userspace, but it is not enabled by default and frowned upon - the
required exception handling is ugly and inefficient.

Fix that illegal access in a simple way with a memcpy. More involved and
efficient solutions are also available, such as replacing the byte order
conversion functions with de/serialise functions that take a pointer.

Fixes: https://github.com/Ylianst/MeshAgent/issues/183

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
2023-06-05 11:24:45 +01:00
Ylian Saint-Hilaire
ca52306f87 Merge pull request #160 from silversword411/master
docs - typo fixes
2023-04-14 13:29:41 -07:00
Ylian Saint-Hilaire
38f8926ba3 Added Visual Studio 2022 and Windows ARM 64bit support 2023-04-14 13:20:45 -07:00
João Paulo Ros
59d871a53b Added permissions validation on start for macOS: Screen Recording, Accessibility, and Full Disk Access.
It uses a Private API from Apple for Full Disk Access, which might not work forever, but for the current versions is working.
The FDA code is converted from Objective-C from https://github.com/MacPaw/PermissionsKit
2023-03-30 21:04:10 -07:00
Bryan Roe
06cef1a520 Fixed typo 2023-01-20 13:15:17 -08:00
Bryan Roe
478dd7d728 Fixed typo 2023-01-20 13:14:08 -08:00
Bryan Roe
aa4590ce53 1. Added Wayland helper
2. Fixed agent customization support for Docker/PseudoService
2023-01-20 13:10:05 -08:00
Bryan Roe
7ea36ae572 1. Added -import
2. Added ability to set uid on agent start
2023-01-20 13:06:15 -08:00
Bryan Roe
c067e28ed6 Added missing 'import' commandline switch 2022-12-14 10:12:08 -08:00
Bryan Roe
1ac56a2aa2 Added code, to set the background mode for IDC_IMAGE, fixing a transparency issue for Windows Common Controls v6 2022-12-02 11:42:16 -08:00
silversword411
d2899745ea docs - typo fixes 2022-11-10 09:48:42 -05:00
Bryan Roe
650667126c Added additional logging. Added fix for enumeration bug that could cause SctpSendPacket to go into infinite loop MeshCentral_v1.1.0 2022-11-02 23:01:45 -07:00
Bryan Roe
597fade801 Fixed bug, where returned value has trailing whitepsace 2022-11-02 08:45:43 -07:00
Bryan Roe
9d38b7ea43 Updated Linux, FreeBSD, OpenBSD, and macOS libraries to OpenSSL/1.1.1s 2022-11-01 19:54:44 -07:00
Bryan Roe
743c6dbe19 Updated to pass module via environment rather than command line, getting around windows max length issue 2022-11-01 13:16:53 -07:00
Bryan Roe
28a3f17060 Updated Windows Libraries to OpenSSL/1.1.1s 2022-11-01 10:39:02 -07:00
Bryan Roe
545a176b7d Added #ifdef to fix compiler error on non windows platforms 2022-10-31 17:23:54 -07:00
Bryan Roe
0520e66dc6 Fixed bug where if ScriptContainer is GC, it did not unhook events, which could result in a crash if the event was dispatched after cleanup 2022-10-31 15:22:39 -07:00
Bryan Roe
0bcab07f58 Added module for windows desktop utilities. Helper for some accessibility functions as well as background desktop image. 2022-10-30 16:45:22 -07:00
Bryan Roe
ad949af462 Updated MeshAgent.ConnectedServer to reflect the actual server location when connected in LAN mode 2022-10-28 13:37:57 -07:00
Bryan Roe
0d36d4e2a8 Updated Windows IPAddressChanged Handler, to reset Multicast socket, to allow a rebind. 2022-10-28 01:06:18 -07:00
Bryan Roe
061d636438 Fixed a bug, where if a dmi entry was empty, it prevented the other entries from getting decoded 2022-10-27 00:59:59 -07:00
Bryan Roe
535e079318 Added code fragment showing how to find a service using service-manager 2022-10-27 00:07:23 -07:00
Bryan Roe
e194dabbfa Updated Details Dialog on Windows Installer, to have an autoproxy check box. Updated so that this checkbox shows the configured autoproxy state, and can be manually set or unset. 2022-10-25 22:50:36 -07:00
Bryan Roe
3675eeb586 Added ability to spawn User Consent from consoel test and from command line 2022-10-21 22:58:31 -07:00
Bryan Roe
f99e365be3 Added -export command line option to export modules 2022-10-20 22:31:05 -07:00
Bryan Roe
236786bc42 Added ability to export JS modules from agent. 2022-10-20 22:27:35 -07:00
Bryan Roe
2be1bac351 Updated code-utils to be able to sync modules folder with expanded folder 2022-10-19 23:25:11 -07:00
Bryan Roe
83dd10c29a Added ability to deflate/compress from expanded_modules to polyfills.c 2022-10-18 22:16:01 -07:00
Bryan Roe
e21557a5c2 Added code-utils, to be able to expand compressed/integrated JavaScript at runtime. Updated polyfills so that code-utils can easily extract segments. 2022-10-18 00:16:45 -07:00
Bryan Roe
b60391b1c3 Added version flag to readdirSync(), so can be patched easily on server side if necessary 2022-10-14 11:11:48 -07:00
Bryan Roe
62bcda48c9 1. Updated fs.readdirSync(), so when enumerating windir with a 32 bit agent on 64 bit windows, it will add 'sysnative' to the results
2. Added documentation for sysinfo
2022-10-14 01:10:45 -07:00
Bryan Roe
72de10d955 updated proxy-helper to support auto-proxy auto detect 2022-10-12 22:18:34 -07:00
Bryan Roe
1db1d9fbe6 Fixed compiler warning 2022-10-12 09:25:11 -07:00
Bryan Roe
f5283e30ae Update documentation 2022-10-11 00:14:24 -07:00
Bryan Roe
f811d1fc93 Updated documentation 2022-10-08 18:27:56 -07:00
Bryan Roe
0a1fa58d4d Update documentation 2022-10-06 15:43:06 -07:00
Bryan Roe
705aac16ad Added documentation 2022-10-05 23:05:26 -07:00
Bryan Roe
f93610e022 Updated internal documentation 2022-10-05 00:03:07 -07:00
Bryan Roe
9f4ef70b2e Updated documentation 2022-10-04 01:26:38 -07:00
Bryan Roe
6a06f9b46b Updated 64bit check for powershell 2022-10-03 09:43:50 -07:00
Bryan Roe
37a6e5207b Updated documentation, as well as fix a 64 bit issue with powershell 2022-10-03 09:42:16 -07:00
Bryan Roe
c1cd8d7a5a Updated Windows App, to display ToolTip with full server URL, and to truncate the displayed URL in the static text field with an ellipsis if too long. 2022-09-28 13:17:24 -07:00
Bryan Roe
da840cd373 Updated text mode for macOS compatibility 2022-09-26 15:54:22 -07:00
Bryan Roe
7a778cdbd4 Updated so that if GUI check fails, will only display help if no parameters are passed in 2022-09-22 14:55:33 -07:00
Bryan Roe
c0b63eae13 Fixed bug where custom MSH fields were not picked up by the installer 2022-09-22 12:41:26 -07:00