Commit Graph

  • 32a836824d Fix REST test script, and add .gitignore for dirty directory Kris Moore 2016-01-05 14:44:46 -05:00
  • 6e204d19b6 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-01-05 14:18:41 -05:00
  • a1ba1044ee Don't 'close' a socket after a TCP reply - instead just disconnect from the host after all data has been transmitted. Ken Moore 2016-01-05 14:17:46 -05:00
  • 80c649da4f Add a tests/ directory, with some basic REST testing utilities Kris Moore 2016-01-05 14:11:28 -05:00
  • a5fcddcbbe Separate out the reply systems within the websocket.[cpp/h] files, and ensure that we close the TCP socket after sending back a reply. Ken Moore 2016-01-05 13:46:55 -05:00
  • ad8d88fc7c Fix a bug parsing the rest URI Kris Moore 2016-01-05 13:35:00 -05:00
  • ea0bbad1f6 Merge branch 'master' of https://github.com/pcbsd/sysadm Kris Moore 2016-01-05 13:19:16 -05:00
  • 528c247607 Add LifePreserver API first list-cron call Kris Moore 2016-01-05 13:19:01 -05:00
  • adda4e7931 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-01-05 13:18:43 -05:00
  • 1c7dab4ab2 Fix a typo in the signal/slots for a tcp server. Ken Moore 2016-01-05 13:18:20 -05:00
  • b1e451b385 Adjust the new sysadm/network function a bit - just add proper error code handling if nothing was performed. Ken Moore 2016-01-04 15:07:53 -05:00
  • ace6c2ca4c Add a new subsystem to sysadm-server: the sysadm-network device information system. To Access: namespace="sysadm" name="network" args={"action" : "list-devices"} Ken Moore 2016-01-04 14:29:04 -05:00
  • fdf06cac1e Clean up a bit more of the websocket class. Ken Moore 2016-01-04 13:44:58 -05:00
  • 7d53e59a1d Oops, forgot to turn off debug mode before committing. Ken Moore 2016-01-04 13:33:44 -05:00
  • 8d57413401 A few more updates to the input message parsing systems for the server: Ensure that both the namespace and the name of the input message are passed through to the backend parser/system (if authorized). Ken Moore 2016-01-04 13:30:49 -05:00
  • 87ab5f2a22 Fix the input argument parsing for sysadm-server. Ken Moore 2016-01-04 13:01:39 -05:00
  • 467e7d2bbe Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2015-12-30 16:06:39 -05:00
  • 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). Ken Moore 2015-12-30 16:05:08 -05:00
  • c154668747 Add sysadm-restserver and sysadm-websocket rc.d files, so we can enable them each on their own Kris Moore 2015-12-29 14:09:36 -05:00
  • 508e025cea Make sure the port numbers get changed a bit, and fix some complication issues in the new backend. Ken Moore 2015-12-29 12:54:01 -05:00
  • 90e23c882e Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2015-12-29 12:47:05 -05:00
  • 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. Ken Moore 2015-12-29 12:43:29 -05:00
  • 9a161644d1 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2015-12-17 17:16:06 -05:00
  • 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. Ken Moore 2015-12-17 17:12:19 -05:00
  • e7a7ed7dbb Rename syscache -> sysadm Kris Moore 2015-12-17 14:22:39 -05:00
  • 27f37a9767 Rename pcbsd-sysadm rc.d -> sysadm Kris Moore 2015-12-17 14:21:05 -05:00
  • a0ae49496b Fix some issues compiling sysadm locally without it installed to /usr/local Kris Moore 2015-12-17 14:19:29 -05:00
  • 6d3a8e06b2 Add rc.d script Kris Moore 2015-12-17 14:15:40 -05:00
  • dcee9c38db Add port template for sysadm Kris Moore 2015-12-17 14:10:03 -05:00
  • 5583f4d2c0 Change port number to 12150 Kris Moore 2015-12-17 13:25:56 -05:00
  • 0c943636bd Move/remove a couple files around. Ken Moore 2015-12-15 13:15:15 -05:00
  • d639bb5a03 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2015-12-15 13:14:25 -05:00
  • 3bfc57b466 Oops - fix another stray syscache-webclient reference. Ken Moore 2015-12-15 13:14:02 -05:00
  • 1a0afb6fda Adjust the server defaults a bit more - remove any reference to "syscache" or "webclient". Ken Moore 2015-12-15 13:13:00 -05:00
  • 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). Ken Moore 2015-12-15 13:06:42 -05:00
  • d219c14a87 Add the new sysadm-lifepreserver class, with example listCron() function so we can test Kris Moore 2015-12-11 13:38:17 -05:00
  • 374528f38f Add a bit for rc.conf read support to sysadm. Ken Moore 2015-12-09 15:28:15 -05:00
  • 43dca6389f Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2015-12-09 12:42:34 -05:00
  • 3d57f7801a Fix up the IPv6 detection routine so it matches what ifconfig displays. Ken Moore 2015-12-09 12:41:42 -05:00
  • 4ee7c0e70d Finish formatting packages class. dlavigne 2015-12-09 09:57:17 -05:00
  • fecde854d0 Merge branch 'master' of https://github.com/pcbsd/sysadm Kris Moore 2015-12-08 15:24:51 -05:00
  • 455162af57 Update formatting Kris Moore 2015-12-08 15:24:45 -05:00
  • 37e8e3a775 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2015-12-08 15:24:12 -05:00
  • 74249cefb2 Copy over the new sysadm library/binary from the pcbsd/pcbsd repo into it's own repo. Ken Moore 2015-12-08 15:23:18 -05:00
  • 87a9ba5523 Update README with details Kris Moore 2015-12-08 15:19:58 -05:00
  • 538ba5cc1d Start reformat of packages to fit layout. dlavigne 2015-12-08 15:12:06 -05:00
  • 611b5f45cc Move over the API docs from pcbsd repo Kris Moore 2015-12-08 14:44:47 -05:00
  • d542ba201d Initial commit Kris Moore 2015-12-08 14:37:18 -05:00