Commit Graph

  • 9ae2bac697 Clarify resize limitation. dlavigne 2016-03-03 15:32:53 -05:00
  • 32a662c47d Doc version command. dlavigne 2016-03-03 15:22:49 -05:00
  • 1b1ee8bb22 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-03-03 15:19:54 -05:00
  • 9396d7ae1a Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-03-03 15:19:47 -05:00
  • 31a4424b26 Doc resizedisk action. dlavigne 2016-03-03 15:17:28 -05:00
  • d2ef14a0d1 Large update to the dispatcher/events systems. Now there is a new DispatcherParsing.h file where any subsystem-specific dispatcher calls may be detected/parsed/handled as needed, and the iohyve fetch routine was updated to use this routine (for a proof of concept - could probably still use a bit more log output). Ken Moore 2016-03-03 15:16:55 -05:00
  • 91a2c700cb Add API call to show iohyve version Kris Moore 2016-03-03 14:22:53 -05:00
  • 213e8191c9 Merge branch 'master' of https://github.com/pcbsd/sysadm Kris Moore 2016-03-03 13:57:35 -05:00
  • 9b03d42d87 Add API call to resize a VM disk Kris Moore 2016-03-03 13:57:16 -05:00
  • 1edaf3ff6e Doc deletedisk action. dlavigne 2016-03-03 13:49:57 -05:00
  • 1b46761032 Merge branch 'master' of https://github.com/pcbsd/sysadm Kris Moore 2016-03-03 13:38:12 -05:00
  • f91651d342 Add API call to remove a disk from a VM Kris Moore 2016-03-03 13:37:57 -05:00
  • 31dce38318 Doc listdisks action. dlavigne 2016-03-03 13:33:23 -05:00
  • f180b2ee05 Doc adddisk action. dlavigne 2016-03-03 13:28:11 -05:00
  • 04ee45494f Add new API call to add/create a disk for a VM Kris Moore 2016-03-03 13:24:02 -05:00
  • f5fbb30ebb Merge branch 'master' of https://github.com/pcbsd/sysadm Kris Moore 2016-03-03 13:11:48 -05:00
  • 30cb48e926 Add API call to list disks connected to a VM Kris Moore 2016-03-03 13:11:13 -05:00
  • 124172ed8a Doc delete action. dlavigne 2016-03-03 12:59:54 -05:00
  • caf6bd1e06 Add new API call to delete an iohyve guest Kris Moore 2016-03-03 12:46:03 -05:00
  • 2312271340 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-03-03 11:59:22 -05:00
  • 1fc3b3fbb4 Couple changes: 1) Fix the event registration detection (string/array for args, not object/array) 2) Add a 30 second connection timeout for the client to successfully authorize before the server will close the connection. Ken Moore 2016-03-03 11:57:45 -05:00
  • a83bae9f6c Start docs for dispatcher subsystem. dlavigne 2016-03-03 11:19:10 -05:00
  • 4fa264ea4f Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-03-03 10:53:58 -05:00
  • 21fbf8643a A couple fixes to try and track down a seg fault when a distpatch finishes. Ken Moore 2016-03-03 10:53:27 -05:00
  • cf5390676e Merge branch 'master' of https://github.com/pcbsd/sysadm Kris Moore 2016-03-03 10:46:41 -05:00
  • b886a597f9 Remove >/dev/nulls Kris Moore 2016-03-03 10:46:24 -05:00
  • e57f7fecea Add ssl management actions. dlavigne 2016-03-03 10:45:05 -05:00
  • 283f660b25 Make sure we stop the daemon process Kris Moore 2016-03-03 10:28:31 -05:00
  • 26080479d2 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-03-03 10:08:56 -05:00
  • 94ab5c3ac2 Change a couple "delete" calls to the Qt ->deleteLater() function in the dispatcher. Ken Moore 2016-03-03 10:08:27 -05:00
  • 358009fd8b Doc list_pools action. dlavigne 2016-03-03 10:06:38 -05:00
  • 5f148d5388 Show debug output from iso fetch slots Kris Moore 2016-03-03 10:07:15 -05:00
  • 47f6f813f8 Fix incorrect subheading. dlavigne 2016-03-03 09:47:31 -05:00
  • d995b75b27 Doc list-devices action. dlavigne 2016-03-03 09:43:17 -05:00
  • 682215f6a1 Document listisos action. dlavigne 2016-03-03 09:28:40 -05:00
  • 1b0cd22e84 Add a new API call to the iohyve subsystem: action="listisos" This will list all the known ISO files which iohyve can use. Ken Moore 2016-03-02 14:56:39 -05:00
  • 10df62f69f Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-03-02 13:17:19 -05:00
  • ffc6211e65 Fix a sysctl lookup error checking bug (will return empty/0 value instead of a random byte array/value when the sysctl does not exist). Ken Moore 2016-03-02 13:16:19 -05:00
  • 005e4b4a5d This section has been reworked. New info to follow. dlavigne 2016-03-02 12:55:02 -05:00
  • a14e9a30d6 Add a new API call: sysadm/zfs (action==list_pools) This subsystem can be expanded later for any zfs/zpool command calls Ken Moore 2016-03-02 12:34:17 -05:00
  • e45b9e5101 Quick streamlining of a dispatcher process access function. Ken Moore 2016-03-02 12:08:23 -05:00
  • b3b79c338e Merge branch 'master' of https://github.com/pcbsd/sysadm Kris Moore 2016-02-29 16:46:51 -05:00
  • 6312500fc1 Add couple of debug statements Kris Moore 2016-02-29 16:45:36 -05:00
  • 01656e1763 Turn off a bunch more debugging in the dispatcher since it all seems to be working now. Ken Moore 2016-02-29 16:24:55 -05:00
  • 3cebb77190 Clean up some of the dispatcher multi-threading, and turn off some debugging in the auth manager. Ken Moore 2016-02-29 16:15:20 -05:00
  • 718ed8f594 Attempt to fix dispatcher queues Kris Moore 2016-02-29 15:37:49 -05:00
  • 08df048c69 Commit for ken to fix DProc issues Kris Moore 2016-02-29 15:27:17 -05:00
  • e9e6abdcd6 Fix renamed slot name Kris Moore 2016-02-29 14:47:20 -05:00
  • 269db2628e Merge branch 'master' of https://github.com/pcbsd/sysadm Kris Moore 2016-02-29 14:44:35 -05:00
  • 2401da278d Add new WebBackendSlots.cpp which has the initial slots for Iohvye Fetch processing Kris Moore 2016-02-29 14:44:18 -05:00
  • ef6f7ec39f Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-02-29 14:43:36 -05:00
  • 3663931eb7 Add a new signal to the Dispatcher process: ProcessOutput(QString log) Ken Moore 2016-02-29 14:43:02 -05:00
  • 187b1cc3e3 Fix typo. Dru Lavigne 2016-02-29 13:35:55 -05:00
  • 2887addb92 Minor formatting fixes. dlavigne 2016-02-29 13:28:23 -05:00
  • fb1e0008a5 Update connection.rst Ken Moore 2016-02-29 11:42:51 -05:00
  • 7be9688773 Update README Kris Moore 2016-02-27 12:01:11 -05:00
  • 1f94a24f1d Update more of the sysrc / service Kris Moore 2016-02-26 18:59:54 -05:00
  • 0588229c7e Update service example Kris Moore 2016-02-26 18:59:23 -05:00
  • 27607befef Fix a parsing bug in the beadm list function. Ken Moore 2016-02-25 14:37:03 -05:00
  • e1c162454e Fix a bug in the auth system where exising auth tokens could accidentally get removed from the internal hash. Ken Moore 2016-02-25 12:46:27 -05:00
  • e64bf091ab Rework how the SSL registration information is saved/retrieved for listing a bit. Ken Moore 2016-02-25 09:24:40 -05:00
  • c064bdcfcd Small set of general cleanup in the server sources: 1) Fix a connection issue in the dispatcher 2) Always run the [T]SOCKET->isValid() check before interacting with any socket. Ken Moore 2016-02-25 08:49:17 -05:00
  • b18a6a1a2a Auto-restart the daemon after a crash Kris Moore 2016-02-24 13:15:13 -05:00
  • 55af9df9f9 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-02-23 14:53:09 -05:00
  • cdbe769fe2 Fix up the new "State" event system a bit. Ken Moore 2016-02-23 14:52:45 -05:00
  • 03650dd925 Set portsdir Kris Moore 2016-02-23 13:56:02 -05:00
  • 90a9e3f5bd Move location of sysadm.ini Kris Moore 2016-02-23 12:24:39 -05:00
  • dddfabaef2 Just in case, also specify the char* length on the server when loading it into the QByteArray. Ken Moore 2016-02-23 11:22:56 -05:00
  • 775ce5c337 Remove a lot of debugging and fix a possible crash with the SSL decrypt routine on the server. This now completely works. Ken Moore 2016-02-23 11:20:59 -05:00
  • cab15e9137 Revert "Fix the crash of the server on SSL login attempt - still does not work reliably though." Ken Moore 2016-02-23 10:39:43 -05:00
  • 68a520bb48 Fix the crash of the server on SSL login attempt - still does not work reliably though. Ken Moore 2016-02-22 16:45:55 -05:00
  • dfdc795bb2 Require that the SSL public key be base64 encoded when recieved for registration on the server. Also change the server SSL type flag to TLS 1.0 or later (instead of TLS 1.0 only) Ken Moore 2016-02-22 14:02:02 -05:00
  • 2e64d2d0a6 Fix the location of the SSL files used for the websocket server. Ken Moore 2016-02-22 13:13:47 -05:00
  • b2cd436269 Flip the flags for -ws -> -rest Kris Moore 2016-02-22 12:56:48 -05:00
  • 6640762196 Fix up the timers in the event watcher. Due to the multi-threading, we need to create the timers in the start() function instead of the constructor. Ken Moore 2016-02-22 12:53:27 -05:00
  • a6c76fbaa1 Add the new sysadm.conf.dist file to the project, and add it to the pkg-plist as well. Ken Moore 2016-02-22 12:33:18 -05:00
  • 8f1116719a Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-02-22 12:27:22 -05:00
  • 7e230c5f5f Change the location of the sysadm server internal settings file (QSettings file), and add support for an optional sysadm.conf file which is loaded on server startup. Ken Moore 2016-02-22 12:25:52 -05:00
  • 69ebb9d435 Rename sysadm-websocket -> sysadm, and sysadm-restserver -> sysadm-rest Kris Moore 2016-02-22 11:53:30 -05:00
  • 9ebf28134e Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-02-22 09:42:37 -05:00
  • e8b65c04d2 Update the dispatcher class to return a pointer to the newly created DProcess object so that the requestor can connect to various process signals as needed. Ken Moore 2016-02-22 09:41:09 -05:00
  • 0074c95e72 Add 4 modes for getjailsettings. dlavigne 2016-02-22 08:13:40 -05:00
  • ab19e341d5 Doc halt and reboot actions. dlavigne 2016-02-22 07:48:24 -05:00
  • 19618b7581 Get rid of the "toLatin1()" call when converting the base64 encrypted string to a bytearray. Ken Moore 2016-02-19 16:25:13 -05:00
  • 9bb9add1db Update the server to expect a base64 encoded string as the encrypted string (for JSON transport). Ken Moore 2016-02-19 16:07:39 -05:00
  • 2bd77b9882 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-02-19 15:15:56 -05:00
  • 767bf82ec8 Finish fixing up the new auth_ssl option (lots of debugging still enabled). The SSL encode/decode systems still are not working yet - looks like an inherent incompatibility with a text-base transport system (JSON), so we will need to find another method (acting on a file and sending the hash instead?). Ken Moore 2016-02-19 15:13:29 -05:00
  • 6cfaf6e597 Completely re-do the SSL authentication systems. Now it is a two-stage auth system, where the server generates a random string, sends it to the client for encryptions with their private SSL key, then gets sent back to the server where the new string is decrypted with the known SSL keys and compared to teh original for accuracy. Ken Moore 2016-02-18 17:01:09 -05:00
  • 80bcd67733 Add two new API calls, to shutdown/halt the system, and to reboot the system. Kris Moore 2016-02-17 13:08:12 -05:00
  • cd72cb1308 Fix location of sysadm-general.h Kris Moore 2016-02-12 12:58:04 -05:00
  • a1593e759a Add initial Event watcher for system health, needs fixing since QTimer isn't working at the moment, kenmoore will investigate Kris Moore 2016-02-12 12:54:45 -05:00
  • cc5ecf1f65 Doc umountbe action. dlavigne 2016-02-12 10:24:11 -05:00
  • 14923ef541 Update mountbe example. dlavigne 2016-02-12 10:13:40 -05:00
  • d3d32b15c5 New API call for unmounting a boot environment. This will specify the -f flag which will force unmount even if the BE is busy. JoshDW19 2016-02-11 14:49:14 -05:00
  • 6152e7d5f4 Merge branch 'master' of https://github.com/pcbsd/sysadm JoshDW19 2016-02-11 13:15:12 -05:00
  • a95927e28d Fixed a bug where a response was not being returned on the mountbe API call. Updated example below. JoshDW19 2016-02-11 13:14:16 -05:00
  • f351f85f74 Doc mountbe action. dlavigne 2016-02-11 12:47:38 -05:00
  • cfb7537d78 Doc execjail action. dlavigne 2016-02-11 12:35:37 -05:00
  • 37b55c6f8f Doc df action. dlavigne 2016-02-11 12:06:36 -05:00
  • 231fb7e044 Doc destroyjail action. dlavigne 2016-02-11 11:58:39 -05:00