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
ba4028d2d6
1. fixed bug, where return value was set incorrectly when calling _write
...
2. updated behavior, so if unshift is called with zero length buffer, it is a no-op
2019-01-28 10:42:20 -08:00
Bryan Roe
559928de5b
The following updates, fix KVM for openSUSE and other distros with similar behavior
...
1. Removed 'setDisplay()' because it doesn't work
2. Added more descriptive error message when XOpenDisplay fails
3. Added ability to set XAUTHORITY in the child process if it wasn't set, by finding how X was started
MeshCentral_v0.2.6-x
2019-01-24 11:19:33 -08:00
Bryan Roe
bf6e9ce1e0
test script
2019-01-24 07:54:48 -08:00
Bryan Roe
cf856b0d1d
Added default value of ':0' if $DISPLAY is not set
MeshCentral_v0.2.6-w
2019-01-23 18:42:42 -08:00
Bryan Roe
74d8bd9aac
Fixed compiler warning
2019-01-23 17:50:18 -08:00
Bryan Roe
6c6c0ff9ab
Updated, so if XOpenDisplay() fails, an error is propagated back up
2019-01-23 17:17:05 -08:00
Bryan Roe
14a65d4bca
Updated LocalMacAddress check, so resetNodeId will only be determined if the list of local MACs contains something other than zeros.
2019-01-23 16:39:30 -08:00
Bryan Roe
d6500322b9
Updated, so double-click events are propagated from browser to agent. On MacOS, this is then used to simulate double-click, as Linux/Windows doesn't need to explicitly simulate double-click.
2019-01-23 15:54:40 -08:00
Bryan Roe
5c01a68c26
updated comments
2019-01-23 14:37:59 -08:00
Bryan Roe
00dd28b4a2
Merge branch 'master' of https://github.com/Ylianst/MeshAgent
2019-01-23 14:33:40 -08:00
Bryan Roe
97a2e5b12c
Updated so compiles for MIPS correctly
2019-01-23 14:32:52 -08:00
Ylian Saint-Hilaire
ebbeb07c45
Added double click stub for MacOS.
2019-01-23 13:21:43 -08:00
Bryan Roe
3a0f519f54
Fixed bug, where if Duktape_GetContextGuidHex() returned non-NULL, an attempt to modify immutable memory was attempted
2019-01-23 11:37:42 -08:00
Bryan Roe
3b514cd526
fixed typo
MeshCentral_v0.2.6-u
2019-01-22 17:05:44 -08:00
Bryan Roe
69947b9c8c
Fixed bug where resolution was only sent on first KVM connection
2019-01-22 16:30:41 -08:00
Bryan Roe
84f9c14d5a
Fixed bug, where if multiple KVM sessions are connected, only the first one had the resolution sent...
2019-01-22 16:28:59 -08:00
Bryan Roe
82fc208e8b
Fixed valgrind issue
2019-01-22 16:28:36 -08:00
Bryan Roe
1b013abe2d
Updated behavior so if agent update is disabled, it will send an agent hash of all zeros to the server, when asked for agent hash. This fixes a bug where the new version of the server only pushes a core, if the hash check succeeds.
2019-01-22 14:29:03 -08:00
Bryan Roe
2690fd13d9
Added File Transfer support
2019-01-21 23:26:24 -08:00
Bryan Roe
e3d6c048e3
Updated, so that options object passed to attachDebugger(), is passed to duktape-debugger via a global object in the debugger context
2019-01-21 18:19:52 -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
MeshCentral_v0.2.6-o
2019-01-19 00:16:12 -08:00
Bryan Roe
5fbd1588f5
updated license
2019-01-19 00:11:26 -08:00
Bryan Roe
2046a22e9a
Added meshcore DelayStart feature
2019-01-18 22:46:12 -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
f36bd6f8e0
Added native Timeout helper
2019-01-18 22:45:11 -08:00
Bryan Roe
2d0e8d227f
Updated endianess of AgentCapabilities
2019-01-18 19:22:24 -08:00
Bryan Roe
9351108e60
Fixed typo in macro
2019-01-18 17:03:13 -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
d64dfb5504
Fixed compiler warnings on some toolchains
2019-01-18 16:02:00 -08:00
Bryan Roe
694108d245
Moved pragma to satisfy some toolchains
2019-01-18 15:52:58 -08:00
Bryan Roe
f65a5935dd
Fixed compiler warnings
2019-01-18 15:28:28 -08:00
Bryan Roe
e5600ea6b0
Added missing fseek
2019-01-18 14:58:13 -08:00
Bryan Roe
4f5d3bcfe4
Fixed file format to be consistent between 32/64 bit... Updated so it will auto update old format to new format
2019-01-18 14:26:16 -08:00
Bryan Roe
2366122d58
Fixed bug where clearing proxy setting, didn't clear all the settings
2019-01-17 22:59:27 -08:00
Bryan Roe
335ff51bfe
Removed reference to unused files
2019-01-17 22:09:17 -08:00
Bryan Roe
4a26ff4df2
removed files that aren't used
2019-01-17 22:01:39 -08:00
Bryan Roe
3612e45cef
Fixed compiler warning on GCC related to duktape specific issue
2019-01-17 21:56:34 -08:00
Bryan Roe
9a6e4af874
fixed typo in printf error message
2019-01-17 19:04:20 -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
9eef92aae2
Added "GetBuffer", which always returns a buffer.
...
Updated "Get" so it always returns a string, which underneath it just fetches the buffer and calls toString() on it.
2019-01-17 18:50:02 -08:00
Bryan Roe
1e537debfb
Fixed Buffer, so if the buffer contains a NULL, the string is truncated at the NULL
2019-01-17 18:48:47 -08:00
Bryan Roe
51a8b5c44d
fixed compiler warning
2019-01-17 18:08:51 -08:00
Bryan Roe
d0348b083b
Merge branch 'master' of https://github.com/Ylianst/MeshAgent
2019-01-17 18:06:39 -08:00
Bryan Roe
a0767cd665
Added ability to merge AgentCapabilities from db
2019-01-17 18:06:33 -08:00
Bryan Roe
ba28e98ef7
1. Fixed bug where the last result data length could include the NULL terminator if the input string length was too long.
...
2. Updated DB calls, to Get/Put will truncate the NULL terminator if it is specified in the key name
3. Updated COMPACT, so keynames will be fixed if it contains a NULL terminator
2019-01-17 18:05:26 -08:00
Ylian Saint-Hilaire
8988b5eada
Added another Linux mshx bad name for v1 migration.
2019-01-17 16:54:56 -08:00