Bryan Roe
b2f3e28c33
1. Fixed windows null dereference crash
...
2. Updated Linux KVM support check, to check if X is apawned, which fixes cases where X libraries are present, but X isn't running.
2019-09-19 15:15:29 -07:00
Bryan Roe
92fe765c32
Fixed bug with service.isMe() for init and upstart linux
2019-09-13 14:41:19 -07:00
Bryan Roe
660aabb178
1. Added -b64exec
...
2. Updated service-manager on windows to ignore running state when uninstalling
2019-09-13 11:37:41 -07:00
Bryan Roe
5f586a2039
Added ability to fetch default route interface
2019-09-09 12:53:06 -07:00
Bryan Roe
48590a7dff
Added update() to getService() on Windows
2019-08-28 00:44:14 -07:00
Bryan Roe
898f606062
Updated field offsets for AMTInfo
2019-08-27 12:02:30 -07:00
Bryan Roe
e384a1a680
Added startType to getService() for MacOS
2019-08-27 11:19:12 -07:00
Bryan Roe
fd7a0a0f5b
Added startType property to getService() for Linux/systemd and FreeBSD
2019-08-27 11:04:43 -07:00
Bryan Roe
c983afdd4b
Added 'startType' property for getService result on Windows and Linux (Upstart/InitV)
2019-08-27 02:38:12 -07:00
Bryan Roe
5e006bc0a9
Added work-around if linux-dbus isn't updated
2019-08-22 17:26:52 -07:00
Bryan Roe
fbd67d2c9c
1. Updated linux-dbus to support querying if a service is present
...
2. Updated toaster, so it will check if org.freedesktop.Notification is installed
2019-08-22 16:57:12 -07:00
Bryan Roe
5e47259913
Added logic to check PATH on linux to make sure /sbin is included for current process
2019-08-22 13:40:20 -07:00
Bryan Roe
b78545514e
Added work around if zenity version check fails, which only happens on extremely old zenity when run as service
2019-08-22 10:52:21 -07:00
Bryan Roe
b0545c070d
Updated notify-send fallback, so that it will only try to su to logged in user if the current user is root.
2019-08-22 00:55:39 -07:00
Bryan Roe
a0ffbc1e90
Fixed error case for linux notifications, by checking zenity version, to do fallback for notify-send, if it exists, otherwise using zenity --info, with a faked timeout if necessary.
2019-08-22 00:36:15 -07:00
Bryan Roe
0469531f02
Added zenity.version
2019-08-21 22:50:53 -07:00
Bryan Roe
994aaaf30d
1. Fixed timeout for KDE dialogs
...
2. Updated to support timeout on older zenity platforms
2019-08-21 16:55:28 -07:00
Bryan Roe
1360835f1b
1. Updated libfinder for Linux for cases when ldconfig is not on PATH
...
2. Updated websockets, so it will autofragment into 30k chunks, as a temp workaround for platforms like CentOS 5.11 until I find the underlying issue
2019-08-21 11:46:38 -07:00
Bryan Roe
8292a609ea
Added support for non-english username and hostname on Windows. Server modifications still needed for hostname display.
2019-08-19 13:53:37 -07:00
Bryan Roe
07cfa46500
Fixed bug where VkKeyScan wasnt properly masking the results
2019-08-15 23:52:27 -07:00
Bryan Roe
afa2ad1723
Updated behavior so VkKeyScan codes outside of the range 0-255 are ignored, fixing a crash in powershell
2019-08-15 13:35:44 -07:00
Bryan Roe
6f8e813024
Modifed win-terminal, so it throws an exception if concurrent sessions are attempted. (Not supported, so throwing an exception allows us to propagate an error)
2019-08-13 22:34:48 -07:00
Bryan Roe
bc2ef6a3f4
Added support for fetching system proxy settings from gnome
2019-08-12 11:27:15 -07:00
Bryan Roe
2f439ac716
1. Added comments to agentcore.c
...
2. Updated user-sessions to use getent passwd instead of /etc/passwd
3. Added user-sessions.getHomeFolder() for linux
4. Added gnome helper to fetch proxy settings from gnome
2019-08-09 18:20:40 -07:00
Bryan Roe
b3accf17c1
Fixed typo, causing bug where service.conf wasn't committed when systemd tried to enable the service, resulting in the service not being configured to AUTO_START, when AUTO_START is specified.
2019-08-09 01:22:37 -07:00
Bryan Roe
9ae4eef5b7
1. Updated win-registry to be able to read REG_EXPAND_SZ types
...
2. Updated service-manager to support UTF8 on Windows
2019-08-08 17:32:58 -07:00
Bryan Roe
b34eee2dca
1. Added 'getUsername' for windows
...
2. Added UTF8/Wide conversions for _GenericMarshal
3. Added UTF8 support for win-registry and process-manager
2019-08-08 15:37:17 -07:00
Bryan Roe
10332b3775
Updated user consent dialog box on windows to popup as a foreground window
2019-08-07 17:21:43 -07:00
Bryan Roe
7e5ddc6767
Updated error reporting for service.restart() on windows
2019-08-07 16:26:08 -07:00
Bryan Roe
66273f8950
1. Updated waitExit() for windows to support a timeout
...
2. Updated ProcessPipe for Windows, to disable inheritance on detach
3. Updated service-manager to support restart on self for windows
2019-08-07 15:23:13 -07:00
Bryan Roe
d5962cd1b2
Modified service.stop() on Windows to use a promise, so you can verify the run state
2019-08-06 18:14:39 -07:00
Bryan Roe
19366a1ee1
Applied same stderr fix to QFE
2019-08-05 11:15:49 -07:00
Bryan Roe
c0fcf75f58
Fixed bug, where stderr was not subscribed, causing the stream to pause if stderr is written to, which will happen on Win Server when fetching AV state. If stream is paused, the waitExit() line will hang
2019-08-05 11:12:00 -07:00
Bryan Roe
4cef81719e
1. Fixed upper limit for inline JS on command line
...
2. Updated win-info to be able to fetch list of installed apps
2019-07-31 15:14:01 -07:00
Bryan Roe
0c7290723c
Optimized getService() on MacOS to use a property getter for some properties to speed things up when enumerating
2019-07-31 10:29:22 -07:00
Bryan Roe
8ffac90514
Implemented enumerateService for MacOS
2019-07-31 00:54:28 -07:00
Bryan Roe
7a319f4302
Implemented enumerateService() for Linux and FreeBSD
2019-07-30 23:47:43 -07:00
Bryan Roe
5a85f2dc47
add 'description' to getService() for init and upstart on linux
2019-07-30 17:30:36 -07:00
Bryan Roe
91ca33e466
Added osinfo, partitions, and memory to Windows
2019-07-30 15:00:38 -07:00
Bryan Roe
f393b6e229
added defrag and pendingReboot
2019-07-30 13:55:49 -07:00
Bryan Roe
0d3bc77bde
Renamed win-info
...
Added AV Info
2019-07-29 23:37:29 -07:00
Bryan Roe
26f676a069
Added ability to query HotFix Status for Windows
2019-07-29 22:54:59 -07:00
Bryan Roe
baffe1d115
Fixed bug with enumerateService()
2019-07-29 18:50:57 -07:00
Bryan Roe
06a96d61a6
Merge branch 'master' of https://github.com/Ylianst/MeshAgent
2019-07-25 15:04:34 -07:00
Bryan Roe
2bb8bd3190
Initial rev, to support locking the desktop on MacOS, Windows, and Linux.
2019-07-25 15:04:06 -07:00
Bryan Roe
d700f16325
updated user-sessions on linux, so that if 'who' is not supported, consoleUid will return root. This fixes platforms such as puppy, where the platform is logged in as root.
2019-07-25 15:03:28 -07:00
Bryan Roe
cbc183bfdb
Modified, so 32-bit PowerShell is used from SysWow64 on 64-bit windows, to work around issue where PowerShell will respawn itself
2019-07-24 22:11:05 -07:00
Bryan Roe
bd0bf102cd
Added product_uuid and MacOS support
2019-07-24 17:22:39 -07:00
Bryan Roe
a831086cfe
Added support for Windows PowerShell
2019-07-24 14:58:11 -07:00
Bryan Roe
d701b9a3e9
First rev, for Windows and Linux
2019-07-23 16:17:35 -07:00