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

453 Commits

Author SHA1 Message Date
Bryan Roe
a47c50646c Updated usage description of 'daemon' tool 2019-10-19 00:05:27 -07:00
Bryan Roe
5cbbedb8aa Fixed uncaught exception if PID file is already deleted when pseudo process is killed 2019-10-18 23:59:59 -07:00
Bryan Roe
001e4944d1 Hooked up respawn in pseudoservice config to daemon crashRestart 2019-10-18 23:54:09 -07:00
Bryan Roe
e23b090ced Updated pseudo service, so daemon is a standalone tool to start/stop services 2019-10-18 23:19:28 -07:00
Bryan Roe
318d2eee1f Updated, so if pseudo service logging is not set, to disable console.log 2019-10-18 20:53:48 -07:00
Bryan Roe
e491def440 1. Unified service type detection, between native and JS
2. Added basic support for pseudo services
2019-10-18 17:40:16 -07:00
Bryan Roe
1bd4cb3131 1. experimental/pseudo 'daemon' support added 2019-10-16 14:34:09 -07:00
Bryan Roe
35c7acd216 Fixed notifybar for X, so works on 32 bit platforms 2019-10-11 19:08:21 -07:00
Bryan Roe
024f8172c0 Updated to work with platforms that don't implement user sessions, such as PuppyLinux. 2019-10-11 10:22:27 -07:00
Bryan Roe
89ea224e18 Fixed user-consent dialog for PuppyLinux 2019-10-10 14:35:08 -07:00
Bryan Roe
169fabf959 Updated linux, so ldconfig always works 2019-10-10 13:51:09 -07:00
Bryan Roe
554d022904 removed debug messages 2019-10-10 10:35:37 -07:00
Bryan Roe
fa6c77f4e4 Updated linux behavior, so when finding X when it can't use ldconfig, it will try to load the library to make sure it works first. Previously, it would return the first result, which could cause problems the first result is for the wrong platform, ie 32 bit vs 64 bit 2019-10-10 10:24:50 -07:00
Bryan Roe
92da4d02b3 1. Added ability to allow importing lib locations for X via env vars
2. Updated notifybar-desktop for X to import X lib location when spawning child
2019-10-07 17:04:12 -07:00
Bryan Roe
2cb4117a74 Added X support for notifybar-desktop 2019-10-07 12:50:58 -07:00
Bryan Roe
d49b781ee4 Added ability to register for ClientMessage events 2019-10-06 19:22:11 -07:00
Bryan Roe
5f169ab624 1. Added 'setAllowedActions' to monitor-info for X
2. Added ability to specify min/max size for X
2019-10-04 15:04:01 -07:00
Bryan Roe
1ec290f090 Added 'close' method 2019-10-04 12:32:58 -07: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
357fca53ca Added 'close' to win-message-pump 2019-10-02 14:29:53 -07:00
Bryan Roe
be2f08aac7 1. Fixed bug in monitor-info, where Windows was reported as not supported
2. Added support for APC Thread Dispatching to _GenericMarshal
3. Updated win-message-pump to use APC dispatching of Message Pump Thread
4. Added support to create non-hidden windows in win-message-pump
2019-10-02 14:00:32 -07:00
Bryan Roe
d4b9f813b6 Added getGroupname on Linux, FreeBSD, and MacOS 2019-09-26 14:43:08 -07:00
Bryan Roe
6f2e2ed109 Added Mouse Cursor Capture support to X11/KVM 2019-09-20 16:50:50 -07:00
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
da6cf39dd2 Added 'index' to networkInterfaces() on windows
Added missing #define
Added IPAddress helper
2019-09-08 19:30:31 -07:00
Bryan Roe
f75e2514a9 Updated Buffer.from() so that 'binary' encoding is properly suppoerted 2019-09-06 21:43:07 -07:00
Bryan Roe
48590a7dff Added update() to getService() on Windows 2019-08-28 00:44:14 -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
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