Ken Moore
b0bfcb4c03
Convert the REST/JSON input/output structures quite a bit so the backend usage is now agnostic as to the type of input used. It will then convert the output format to match what was input (REST -> REST, JSON -> JSON).
2015-12-30 16:05:08 -05:00
Ken Moore
508e025cea
Make sure the port numbers get changed a bit, and fix some complication issues in the new backend.
2015-12-29 12:54:01 -05:00
Ken Moore
90e23c882e
Merge branch 'master' of github.com:pcbsd/sysadm
2015-12-29 12:47:05 -05:00
Ken Moore
9fe2914da3
Convert sysadm-server to run either in TCP or WebSocket mode.
...
New CLI flags:
"-ws": Use the websocket protocols instead of tcp
"-p <port number>": Use the designated port number for the server.
2015-12-29 12:43:29 -05:00
Ken Moore
9a161644d1
Merge branch 'master' of github.com:pcbsd/sysadm
2015-12-17 17:16:06 -05:00
Ken Moore
39f36d1d4f
Furthur cleanup the sysadm subsystem request forwarding mechanisms so it is easier to extend later. The return/error code for each subsystem is not used yet - will finish that within the websocket later, but the general backend systems are now setup.
2015-12-17 17:12:19 -05:00
Kris Moore
e7a7ed7dbb
Rename syscache -> sysadm
2015-12-17 14:22:39 -05:00
Kris Moore
27f37a9767
Rename pcbsd-sysadm rc.d -> sysadm
2015-12-17 14:21:05 -05:00
Kris Moore
a0ae49496b
Fix some issues compiling sysadm locally without it installed to
...
/usr/local
2015-12-17 14:19:29 -05:00
Kris Moore
6d3a8e06b2
Add rc.d script
2015-12-17 14:15:40 -05:00
Kris Moore
5583f4d2c0
Change port number to 12150
2015-12-17 13:25:56 -05:00
Ken Moore
0c943636bd
Move/remove a couple files around.
2015-12-15 13:15:15 -05:00
Ken Moore
d639bb5a03
Merge branch 'master' of github.com:pcbsd/sysadm
2015-12-15 13:14:25 -05:00
Ken Moore
3bfc57b466
Oops - fix another stray syscache-webclient reference.
2015-12-15 13:14:02 -05:00
Ken Moore
1a0afb6fda
Adjust the server defaults a bit more - remove any reference to "syscache" or "webclient".
2015-12-15 13:13:00 -05:00
Ken Moore
f5dab0048c
Add a copy of the syscache-webclient server into the sysadm/src/server.
...
Also setup the server to make it easier to extend for API/library support in the backend. All backend functionality can now be added to the new "WebBackend.cpp" file (and WebSocket.h file for headers).
2015-12-15 13:06:42 -05:00
Kris Moore
d219c14a87
Add the new sysadm-lifepreserver class, with example listCron()
...
function so we can test
2015-12-11 13:38:17 -05:00
Ken Moore
374528f38f
Add a bit for rc.conf read support to sysadm.
2015-12-09 15:28:15 -05:00
Ken Moore
3d57f7801a
Fix up the IPv6 detection routine so it matches what ifconfig displays.
2015-12-09 12:41:42 -05:00
Ken Moore
74249cefb2
Copy over the new sysadm library/binary from the pcbsd/pcbsd repo into it's own repo.
2015-12-08 15:23:18 -05:00