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

33 Commits

Author SHA1 Message Date
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
Ylian Saint-Hilaire
3c80473a94 Major agent update. 2018-09-05 11:01:17 -07:00