1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-24 20:23:19 +00:00
Commit Graph

56 Commits

Author SHA1 Message Date
Bryan Roe
382ea03135 Updated file access, so the db can be queried while an agent is still active 2019-02-25 21:43:48 -08:00
Bryan Roe
69cd6a0c6b Updated upstart check, and added support for sysV/init 2019-02-22 02:21:25 -08:00
Bryan Roe
d12afc14a6 1. Fixed Service Detection on SystemD, and changed to use auto-restart instead of systemctrl restart, to remove dependency on restart=always 2019-02-21 08:15:32 -08:00
Bryan Roe
f6762fd724 1. Added SIGTERM even for linux/macos
2. Hooked up 'serviceStop' event for linux/macos
2019-02-20 15:55:06 -08:00
Bryan Roe
25b5f88bba Updated AUTO_START 2019-02-20 14:24:10 -08:00
Bryan Roe
6128d2102d Updated Windows 2019-02-20 14:02:33 -08:00
Bryan Roe
597c73b677 Updated init and systemd 2019-02-20 13:02:44 -08:00
Bryan Roe
19b53f1cd4 1. Fixed, so state is cleaned up correctly if you exit instead of disconnect
2. Fixed, so 'end' is propagated to the websocket when terminal exits.
2019-02-15 23:31:22 -08:00
Bryan Roe
2f657f31e5 1. Updated 'addMethod' on emitter, to return this, so you can chain multiple together
2. Updated wget return value to expose an 'abort' event
2019-02-13 16:05:51 -08:00
Bryan Roe
76fac42a5f Added 'abort' to wget and clientRequest 2019-02-13 15:57:32 -08:00
Bryan Roe
353b4b2181 Added 'wget' 2019-02-13 11:09:05 -08:00
Bryan Roe
6918c90253 Renamed '_eventHook' on EventEmitter to 'newListener' to match node definition 2019-02-12 21:40:08 -08:00
Bryan Roe
eaf4d408a8 Updated linux clipboard 2019-02-11 17:43:41 -08:00
Bryan Roe
cce3d7694b Added more methods 2019-02-11 17:19:17 -08:00
Bryan Roe
2d8c213b9d Rebuilt http-digest in pure JS to fix some issues 2019-02-11 14:07:48 -08:00
Bryan Roe
a10bd1a205 added ability to read clipboard for windows 2019-02-09 19:22:27 -08:00
Bryan Roe
e8594d6b64 Added Clipboard helper 2019-02-09 00:14:54 -08:00
Bryan Roe
032e350bf9 Updated uninstallService to be sync on linux instead of async 2019-02-01 13:02:43 -08:00
Bryan Roe
da44eddf29 Fixed edge case that could cause an infinite loop 2019-01-31 22:38:56 -08:00
Bryan Roe
ca0ff0403a updated service install to be sync on linux instead of async 2019-01-31 14:39:56 -08: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
60df8bbd56 Fixed bug, where _write didn't return a value. This is important, because of bugfix with Polyfill for stream, which accidentally ignored this return value 2019-01-30 21:30:08 -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
a3780d8fa1 Added enumeration support 2019-01-28 12:04:46 -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
2690fd13d9 Added File Transfer support 2019-01-21 23:26:24 -08:00
Bryan Roe
7baea32a67 Fixed linux issues 2019-01-21 12:36:59 -08:00
Bryan Roe
05a84e3b34 firat rev of bare bones core 2019-01-21 12:15:37 -08:00
Bryan Roe
7489e1b34d Updated license 2019-01-19 00:16:12 -08:00
Bryan Roe
5fbd1588f5 updated license 2019-01-19 00:11:26 -08:00
Bryan Roe
a627ae6db0 Fixed import/export bug caused by previous change to Get/GetBuffer 2019-01-18 22:45:51 -08:00
Bryan Roe
b33c9ee4b8 Updated Buffer.from(), to allow hex encodings to start with 0x 2019-01-18 16:20:03 -08:00
Bryan Roe
96a76d7a2e added getx, which returns the result as a HEX encoded string 2019-01-17 18:51:06 -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
311431ba24 Updated to not use script container 2019-01-11 14:02:35 -08:00
Bryan Roe
02187849c3 Added MacOS support
Fixed Windows 7 issues
2019-01-11 14:02:12 -08:00
Bryan Roe
a939e61fad Updated license header
Updated how X11 support is detected and bound
2019-01-11 14:00:53 -08:00
Bryan Roe
242382d90b Added MacOS support 2019-01-11 13:56:43 -08:00
Bryan Roe
6bb0a8e7b3 Changed error handling 2019-01-11 13:56:10 -08:00
Bryan Roe
81ef5d4c2e Added MacOS support 2019-01-11 13:55:38 -08:00
Bryan Roe
17b378d53f integrated changes from Ylian 2019-01-11 13:55:06 -08:00
Bryan Roe
f5ee0de45c updated license header 2019-01-11 13:54:11 -08:00
Bryan Roe
c1b55c1fa8 added try/catch block 2019-01-11 13:53:41 -08:00
Bryan Roe
8344d03f22 updated license 2019-01-11 13:53:17 -08:00
Bryan Roe
236cc0dc2c Fixed edge case that could cause 100% cpu utilization 2019-01-11 13:52:55 -08:00
Bryan Roe
0f89f3b812 Updated webpage 2019-01-11 13:52:18 -08:00
Bryan Roe
01b8b5826e Added debug messages, and updated key enumeration 2019-01-11 13:51:56 -08:00
Bryan Roe
6bc03042eb Updated error handling and argument propagation 2019-01-11 13:51:29 -08:00
Bryan Roe
a2e018bb34 updated error handling 2019-01-11 13:49:25 -08:00
Bryan Roe
406c7b79df Added try/catch block 2019-01-11 13:48:51 -08:00