1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-17 16:53:13 +00:00
Commit Graph

111 Commits

Author SHA1 Message Date
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
7fa076a0cb Changed property definition of wget and process.arch to be getters, so that the wget module won't be cached at startup. 2019-08-10 00:25:50 -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
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
baffe1d115 Fixed bug with enumerateService() 2019-07-29 18:50:57 -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
4f89b363ee Added support to lock MacOS desktop 2019-07-19 13:09:37 -07:00
Bryan Roe
804843eb32 Updated, so on INIT platforms when crash restart is specified, parameters can still be passed 2019-07-19 11:16:54 -07:00
Bryan Roe
5b7f892496 Udpated service-manager, so crash restart is supported on INIT platforms that are not UPSTART 2019-07-18 14:12:26 -07:00
Bryan Roe
134461448e Added workaround for 'busybox' as service type 2019-07-16 15:12:52 -07:00
Bryan Roe
7237586206 fixed indentation 2019-06-24 16:09:12 -07:00
Bryan Roe
f629d47896 freebsd 2019-06-24 16:05:00 -07:00
Bryan Roe
a665f77155 update freebsd message-box 2019-06-24 15:55:34 -07:00
Bryan Roe
444601dea7 Updated message-box for freebsd 2019-06-24 15:33:02 -07:00
Bryan Roe
74530d5a5f Added workaround for findPath from service, for freebsd 2019-06-24 15:20:21 -07:00
Bryan Roe
2c6f9780ee added missing platform check for freebsd in findPath() 2019-06-24 15:05:45 -07:00
Bryan Roe
cac5ea8f9c Integrated freebsd changes for user-sessions, monitor-info, and service-manager 2019-06-24 10:52:06 -07:00
Bryan Roe
ddfa6e5212 integrated freebsd changes 2019-06-22 01:37:10 -07:00
Bryan Roe
de0f88188f integrated freebsd changes for user-sessions 2019-06-22 00:10:03 -07:00
Bryan Roe
7892064e66 Updated user-sessions so isRoot() works on freebsd 2019-06-21 16:13:19 -07:00
Bryan Roe
eb83b255ca Added comment 2019-06-20 22:59:01 -07:00
Bryan Roe
0c9707a3fc Integrated 'lib-finder' for freebsd, and integrated updated monitor-info 2019-06-20 21:09:03 -07:00
Bryan Roe
2d59578c21 Updated for freebsd 2019-06-20 16:19:48 -07:00
Bryan Roe
b9617595ab Updated error case when attempting to show dialog/toast when nobody is logged in 2019-06-14 10:27:49 -07:00
Bryan Roe
67e10e0e33 Updated for Linux/MacOS 2019-06-06 18:47:05 -07:00
Bryan Roe
f15c11c845 1. Updated MacOS, so detached child process uses fork instead of vfork
2. Updated detached to be a bitmask on the type
3. Updated MacOS message-box cleanup
2019-06-04 13:06:17 -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
1a1ba0084e Updated MacOS service-manager to support LaunchAgents, and updated to support launchctl 2.0 API on Mac OS 10.10 and above 2019-05-22 13:50:03 -07:00
Bryan Roe
e28b5d7b0e 1. Added support for KDE
2. Added zenity fallback for platforms where notify-send doesn't work correctly
2019-05-18 02:48:27 -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
bbe2098b7e 1. Integrated win-console on windows
2. Updated toaster, to better support linux. And updated flow for windows.
2019-05-17 16:10:36 -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
842a7d475b Added initial rev of message-box, to allow spawning a dialog box into a user context 2019-05-16 15:07:47 -07:00
Bryan Roe
5e0bc797a7 Updated promise, so you can't resolve/reject more than once 2019-05-16 11:17:11 -07:00
Bryan Roe
2c45d57259 Fixed typo with nodeid helper on windows 2019-05-07 12:06:22 -07:00
Bryan Roe
5f535d8664 Updated task-scheduler for MacOS 2019-04-22 17:17:23 -07:00
Bryan Roe
1adcae7957 Added 'isLoaded' and 'load' helper on MacOS 2019-04-19 15:12:06 -07:00
Bryan Roe
c64a726f2d Updated service-manager for MacOS to better tolerate KeepAlive settings 2019-04-19 14:22:28 -07:00
Bryan Roe
6e543689f5 Updates service-manager on MacOS so Start/Stop calls load/unload when necessary 2019-04-18 14:50:38 -07:00