Bryan Roe
cfb4f649b4
Added work around for awk change in Ubuntu 20
2022-03-29 12:09:06 -07:00
Bryan Roe
85ef080a86
1. Added console.log/info helper
...
2. Fixed bug with user-sessions adding virtual uids incorrectly
2022-03-16 23:04:22 -07:00
Bryan Roe
b0f0ac24b3
Updated user session enumeration for linux, to include more metadata
2022-03-16 19:36:12 -07:00
Bryan Roe
28af0a05af
Added linux support for enumerating virtual x window sessions
2022-03-14 22:40:43 -07:00
Bryan Roe
532d163727
1. Removed debug line from user-sessions
...
2. Added XKB extension support
3. Added linux support for SCROLL/NUM/CAPS
2022-02-28 12:31:00 -08:00
Bryan Roe
8e36f4eb7f
Updated GDM/XAUTHORITY logic for SDDM
2022-02-17 01:47:47 -08:00
Bryan Roe
3be3ce27e9
Fixed edge case where user-sessions would report logged in user incorrectly is there was an ssh session logged in.
2022-01-28 12:06:11 -08:00
Bryan Roe
2da17d7c64
Fixed bug in determining active DM on linux when there are multiple DM entries
2021-12-13 00:22:10 -08:00
Bryan Roe
4f43c68b56
Updated consoleUid() and getXInfo() for Amazon EC2 (Amazon Linux)
2021-12-11 23:45:59 -08:00
Bryan Roe
618ba307cf
1. Fixed edge case that caused child KVM process to turn into a zombie
...
2. Fixed user-sessions.change event to delay emitting until a session activates (or a few seconds if a session doesn't activate)
2021-09-16 16:46:28 -07:00
Bryan Roe
2893faa518
1. Fixed bug with X enumeration for multi-user
...
2. Fixed Linux KVM to correctly differentiate session id and monitor id
2021-08-24 23:58:40 -07:00
Bryan Roe
9fa19bf1be
1. Added getDomain() to user-sessions for windows
...
2. Fixed service.restart() error condition, to reject the promise
3. Fixed ServiceMain start/stop/restart/state for Windows
2021-04-20 15:02:54 -07:00
Bryan Roe
55f0f91587
Updated Garbage Handling
2021-02-17 01:00:21 -08:00
Bryan Roe
7cc0f0c213
Updated installer to save ID of user that installed agent
2020-08-21 19:41:19 -07:00
Bryan Roe
ef58abb73c
Added support for mesage-box to display on lock/login screen on Windows
2020-07-01 17:11:19 -07:00
Bryan Roe
7264c43e67
REmoved pseudo terminal check from freebsd for consoleUid()
2020-06-03 21:22:35 -07:00
Bryan Roe
c97a58f037
Updated linux/freebsd user-sessions.consoleUid() to skip users logged in on a pseudo console.
2020-05-31 22:12:07 -07:00
Bryan Roe
ce29efe527
Removed buggy lock/unlock event
2020-05-30 21:02:25 -07:00
Bryan Roe
906fab95a2
1. Updated linux to be able to KVM to login prompt
...
2. Fixed project file back
3. Added comments to makefile about gdm3
2020-05-12 01:01:25 -07:00
Bryan Roe
3cd06ea4aa
1. Fixed uncaught exception that occurs on linux when you logout/logon
...
2. Added timer on logon, to allow time for dbus session to start
2020-04-06 14:43:37 -07:00
Bryan Roe
b42429a368
Updated linux-dbus and lock/unlock detection for better support across different linux distros
2020-03-13 22:29:29 -07:00
Bryan Roe
c5a559f011
Added user-sessions.Current() on FreeBSD
2020-03-05 16:18:42 -08:00
Bryan Roe
bca47688ff
1. Added 'global' polyfill
...
2. Updated service-manager in Native and JS, to add '_installedBy' on Windows
2019-11-20 14:41:22 -08:00
Bryan Roe
895ff6be15
1. Added 'getProcess' to process-manager for posix platforms with pgrep
...
2. Fixed parsing bug in user-sessions.getEnvFromPid
3. Updated linux-gnome-helpers to set environment and uid before calling gsettings
2019-11-14 15:19:27 -08:00
Bryan Roe
9a84f82a50
1. Added usernameToUserKey() to win-registry
...
2. Added getRawSessionAttribute() to user-sessions for Windows
2019-11-05 13:35:49 -08:00
Bryan Roe
1774dc2e54
1. Added 'getProcessOwnerName()' for windows in user-sessions
...
2. Added notifybar-desktop for Windows
2019-10-03 14:34:17 -07:00
Bryan Roe
d4b9f813b6
Added getGroupname on Linux, FreeBSD, and MacOS
2019-09-26 14:43:08 -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
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
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
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
422e342a5e
updated findEnv() for freebsd
2019-06-22 01:23:23 -07:00
Bryan Roe
ae3bff9e18
fixed getEnvFromPid() for freebsd
2019-06-22 01:20:16 -07:00
Bryan Roe
c9f0bff898
update to getEnvFromPid() for freebsd
2019-06-22 01:12:15 -07:00
Bryan Roe
31d8b3d2f2
user-sessions test for freebsd
2019-06-22 00:04:43 -07:00
Bryan Roe
7892064e66
Updated user-sessions so isRoot() works on freebsd
2019-06-21 16:13:19 -07:00
Bryan Roe
67e10e0e33
Updated for Linux/MacOS
2019-06-06 18:47:05 -07:00
Bryan Roe
3ab7316172
1. added 'getGroupID' for macos user-sessions
...
2. added support for per-user LaunchAgents on MacOS
2019-06-03 15:15:25 -07:00
Bryan Roe
5b0a4899e2
Updated user-sessions on MacOS to support getHomeFolder and getUsername
2019-05-30 14:59:32 -07:00
Bryan Roe
020bae80a5
1. Added ability to search env vars by uid
...
2. updated toaster to work with KDE
2019-05-17 22:10:52 -07:00
Bryan Roe
1fc476d31e
1. Added process.pid on windows
...
2. Added user-sessions.consoleUid() on windows
3. updated message-box to dispatch to consoleUid when necessary on Windows
2019-05-17 14:23:51 -07:00
Bryan Roe
45f5859f37
1. Added 'getEnvFromPid' to user-sessions, to read environment vars by PID
...
2 Updated getXInfo() in monitor-info, so it'll try to get XAUTHORITY from env vars is it can't determine it by looking at the XServer instance.
2019-03-15 12:48:30 -07:00
Bryan Roe
0048acf128
Updated to only use fs.Watch if it exists
2019-03-14 15:41:10 -07:00
Bryan Roe
6a8b7de44c
1. Updated monitor-info, so it no longer assumes DISPLAY = :0
...
2. Updated user-sessions to have better uid and username helpers on linux
3. Updated Clipboard dispatching
2019-03-12 22:25:56 -07:00
Bryan Roe
52ff7ba04c
1. Updated user-sessions.consoleUid() to not try to parse 'from'. It just returns the uid of any user listed in 'who'. This fixes Fedora, but should still work with all the other distros.
...
2. Updated, so if it can't find an Xauthority, it propagates an error, asking if the user configured DM to use X. This makes it, so on something like Fedora, it pops up a more intuitive error, that the user can fix, rather than just a generic, XOpenDisplay() error.
2019-01-30 23:17:39 -08:00
Bryan Roe
f38ec1df08
Added 'isRoot' for Windows implementation, to match Linux and MacOS
2019-01-28 15:54:31 -08:00
Bryan Roe
cf856b0d1d
Added default value of ':0' if $DISPLAY is not set
2019-01-23 18:42:42 -08:00
Bryan Roe
10c72b8a05
Updated consoleUid, to look at $DISPLAY when checking to see what users are logged in locally
2019-01-14 16:23:19 -08:00
Bryan Roe
02187849c3
Added MacOS support
...
Fixed Windows 7 issues
2019-01-11 14:02:12 -08:00