Commit Graph

  • 341082fe42 Cleanup a lot of the firewall manager backend class. Should be ready for hooking up API calls now. Ken Moore 2016-09-09 15:24:02 -04:00
  • 68e8bb16bb Add substitutions patch to conf.py for all handbooks. Mrt134 2016-09-08 12:44:59 -04:00
  • 5e60b7479c Update sysadmclient.rst - Fix build errors related to internal references to the TrueOS handbook. Internal references have been replaced with links to specific sections of the online trueos handbook. - Fix PEP8 errors and a few unfinished sentences. - Rework introduction slightly to reference the server handbook and note the remote access elements are disabled by default. Mrt134 2016-09-06 13:39:38 -04:00
  • d29ad39e78 Merge sysadmclient.rst from trueos-docs repo into sysadm client handbook - Copy over sysadmclient.rst from trueos-docs repo and reconfigure index and conf files to incorporate the file. - Add all required images for sysadmclient.rst. Mrt134 2016-09-06 12:09:25 -04:00
  • 49fb902581 Review server handbook: - Rewrite Introduction section for clarity. - Add references to other SysAdm handbooks. - Fix whitespace issues in all files. - Fix numerous errors in all files. - Add note about the current WIP nature of SysAdm. - Add note listing current default ports SysAdm needs to be opened for remote access to work. Also noted the user can redefine which ports SysAdm uses. Mrt134 2016-09-06 10:57:30 -04:00
  • a1dfac0392 Allow for case insensitive matching on the name of packages. This mimics the behavior of 'pkg search', which performs a case insensitive search. Jeff 'Raid' Baitis 2016-09-02 00:00:04 -07:00
  • f5d9caefed Update API reference, client, and server handbooks - Edited link colors to be a stronger blue/red color. - Altered hover role for links to add underlining to the link texts. - Restyled roles - Unified padding boxes and colors (exception: :guilabel: uses a different color). All roles should now have the same height padding, which has been reduced as well. - Role colors have all been lightened to avoid being distracting or making contained text hard to read. - Removed bold from :menuselection:. - :command: now renders as a monospace font. - Restyled admonitions - Darkened text inside admonition boxes. - Rounded border elements around boxes. - Reworked borders to be smaller and darker in color. - Fixed figure captions to be smaller and fit better with the surrounding text. - Restyled tables - Table captions now have the same style as figure captions. - Altered color for headers - Added hover themeing for tables: mousing over a row or header title will change its color. Mrt134 2016-09-01 13:37:37 -04:00
  • cc1c83be7b API Reference Guide update: - Add new class file: services.rst. - Update all API calls to current: Aug 30,2016 Mrt134 2016-08-30 14:39:37 -04:00
  • 75f21cfe1b API CHANGE Last round of new "action"s for the sysadm/services class, "action":"[enable/disable]" Required input arguments: "services":["service1","service2","etc"] Ken Moore 2016-08-30 14:22:33 -04:00
  • 0408f61f4c API CHANGE Add the "is_running" output field to the sysadm/services "list_services" output. This also cleans up the is_enabled detection routine so it should be more reliable. Ken Moore 2016-08-30 13:32:53 -04:00
  • 8a594044bb API CHANGE Add 3 new API calls (all almost the same - just different "actions" and the return message will be slightly different) Ken Moore 2016-08-30 11:27:51 -04:00
  • 200a7de9e0 API CHANGE Add a new output field to the sysadm/updates "check for updates". Ken Moore 2016-08-30 10:04:30 -04:00
  • cd959daa3f Ken missed a } Kris Moore 2016-08-29 22:54:04 -04:00
  • ce86331f1e Clean up the new sysadm/services class just a bit more. Getting ready to add all the start/stop/restart API calls. Ken Moore 2016-08-29 16:09:30 -04:00
  • 0d4eb2c4f3 Cleanup the rc.conf parsing a bit more - turn of debugging messages, and ensure we use [one][start/stop/restart] as needed depending on if it is enabled or not. Ken Moore 2016-08-29 14:59:32 -04:00
  • 2f7bfe06aa API CHANGE Modify the output fields for the sysadm/services, "list_services" action: Now each service entry will look like this: "accounting": { "description": "", "is_enabled": "false", "name": "accounting", "path": "/etc/rc.d/accounting", "tag": "accounting_enable" } Ken Moore 2016-08-29 14:09:20 -04:00
  • 1bf0ec425f API CHANGE Add a new API class/call to sysadm: namespace: sysadm name: services This class is for managing all the background daemons on the system. Ken Moore 2016-08-29 11:41:15 -04:00
  • c24bc90769 Give sysadm a proper mkport.sh script Kris Moore 2016-08-27 17:13:54 -04:00
  • 7f76acb950 Merge branch 'master' of github.com:trueos/sysadm Mrt134 2016-08-25 13:44:32 -04:00
  • 65037a300c Finish in-depth review of API Guide: - Line by line review of all .rst files in the API Reference Guide. - Fix whitespace issues. - Fix numerous spelling and grammar errors. - Reworked numerous sections for clarity and flow. - Fixed oversize tables to be fully PEP8 compliant. Mrt134 2016-08-25 13:42:30 -04:00
  • 9312915ccf Cleanup the home dir creation routine a bit more in the sysadm/users class: *DO NOT* try to create a home dir if /nonexistant or /var/empty are specified. Ken Moore 2016-08-25 12:25:01 -04:00
  • c0ca7a333b Merge branch 'master' of github.com:trueos/sysadm Ken Moore 2016-08-25 11:15:02 -04:00
  • 9f06fbb03c Fix up the addition/modification of users in the sysadm/users class. Ken Moore 2016-08-25 11:13:25 -04:00
  • 7ec47963ac Begin in-depth review of API Reference guide. - Whitespace fixes. - Reworking text. - Reducing the size of tables for better PEP8 conformity. - Altering admonition box titles (use tip and danger). - Update roles (use :guilabel: and verify other uses). Mrt134 2016-08-24 15:57:57 -04:00
  • cf4a485382 Style and arrow patch update + general review of API and Server handbooks. - Updated trueos_style to current. - Updated menuselection arrow replacement patch to current. - Reviewed API reference guide: - Reviewed for :guilabel: additions. - Added missing trademark symbols. - Update Server handbook: - Added missing trademaks. - Replaced outdated link. - Updated admonition boxes. - Added :guilabel: role where necessary. - Add more descriptive text of SysAdm and the goals of the project. - Updated code-boxes. Mrt134 2016-08-24 13:13:57 -04:00
  • 9ed043f0f5 Add reworked theme values and apply menuselection arrow patch to all handbooks. Mrt134 2016-08-23 13:52:55 -04:00
  • 38eb34625e :guilabel: directive change to all handbooks Mrt134 2016-08-22 10:17:12 -04:00
  • 88e501eb29 Merge pull request #24 from q5sys/master Ken Moore 2016-08-18 14:29:45 -04:00
  • fd6f82a91c Update README.md JT Pennington 2016-08-18 14:07:31 -04:00
  • b99379f412 Update README.md JT Pennington 2016-08-18 14:06:30 -04:00
  • e530a797f7 Organization update 2: - Moved API docs to general "docs" folder; all handbooks are now in the same area. - Deleted "pcbsd_style" from all three handbooks as it is now trueos_style. - Fixed a number of themeing elements for server and client handbooks. - Added logos to both handbooks. Mrt134 2016-08-18 12:26:45 -04:00
  • e47ef0915e Accidental add of _build files: Mrt134 2016-08-18 12:04:58 -04:00
  • 7c73b6a282 Handbook logisitics: Mrt134 2016-08-18 12:02:33 -04:00
  • dd34a97f57 Update API guide to current 8/18/16 - Modified "usershow" action to add "canremove": "false". - Added new "groupmod" action with examples. Mrt134 2016-08-18 09:58:03 -04:00
  • 1fd947f5b4 API CHANGE: Add a new action to the sysadm/users class: "groupmod" This action allows for modifying a given group on the system Ken Moore 2016-08-17 12:15:48 -04:00
  • 8700aab62a API CHANGE In the sysadm/users "action"="usershow" output, put a "canremove"="false" within the object of the currently-active user (so the client knows which user(s) cannot be removed right now). We might be able to extend this later on the server side to set that flag for *all* active users on the system instead. Ken Moore 2016-08-16 13:09:50 -04:00
  • f073d2aa17 Merge branch 'master' of github.com:trueos/sysadm Ken Moore 2016-08-16 11:46:50 -04:00
  • 57fcd94467 API CHANGE: Modify a couple sysadm/users API calls: "action"="usermod": Add in the optional PersonaCrypt arguments: 1) "personacrypt_init"="<device>" AND "personacrypt_password"="<password for device>" This will initialize a personacrypt device and move the current home directory contents onto the device. 2) "personacrypt_import"="<base64-encoded contents of a PC key file>" This will import an existing key for the designated user and allow a previously initialized device to be used for this user. 3) "personacrypt_disable"="<device password>" This will disable the personacrypt key for this user, and merge any data from the device back onto the local system (if <device password> is valid/non-empty) Ken Moore 2016-08-16 11:41:13 -04:00
  • 4c2f3c9f7c Merge branch 'master' of github.com:trueos/sysadm Mrt134 2016-08-16 11:38:57 -04:00
  • 4e6f1f79d2 Update API handbook - Added all missing API calls and updates from mid-June to current. - Pared down several tables closer to PEP8 sizing. Mrt134 2016-08-16 11:36:39 -04:00
  • 72479c177c Merge branch 'master' of github.com:trueos/sysadm Ken Moore 2016-08-16 09:32:56 -04:00
  • 216ca5a9f2 Oops - fix a true/false reversal in the sysadm/users "userdelete" "clean_home" optional argument. Ken Moore 2016-08-16 09:32:14 -04:00
  • 81aedaaaab Add trueos_style, sysadm icon, and handbook name change. - Added trueos_style to themes/ - Added sysadm_circle_red.png - Edited conf.py: - Use trueos_style for html builds. - Use sysadm_circle_red.png as the sidebar logo. - Altered handbook name to "SysAdm API reference guide". Mrt134 2016-08-15 11:21:18 -04:00
  • dac91284c8 API CHANGE Add a new option to the sysadm/users class: "action":"groupdelete" "name":"groupToDelete" Ken Moore 2016-08-11 10:01:21 -04:00
  • ee1627b505 Fix up the fast/full update check backend. It looks like the QDateTime.addSecs() function is not working properly on Qt 5.5.1 - switch to the .secsTo() function instead when looking for the amount of time between the file modification and current time. Ken Moore 2016-08-10 12:48:43 -04:00
  • 373a28c4f5 API CHANGE Add a new optional input argument to the sysadm/updates, "checkupdates" action: "force":"[true/false]" (default is false) Ken Moore 2016-08-10 11:51:22 -04:00
  • 12ba560fd6 API CHANGE Add a new field in the output args for the sysadm/updates check for updates: "last_check":"<ISO date/time stamp>" Ken Moore 2016-08-10 11:45:52 -04:00
  • a2bba87315 API CHANGE Add a new API call to the sysadm/update class: "action":"changesettings" This allows for changing the various updatemanager settings (maxbe, package_set, package_url, auto_update) Ken Moore 2016-08-09 13:22:46 -04:00
  • 4457397733 API CHANGE Add a new API call to the sysadm/update class for reading all the current settings. Ken Moore 2016-08-09 12:45:27 -04:00
  • 06c71afa4a API CHANGE: Add a new "stopupdate" action for the sysadm/update class. (no additional inputs required). This will look for any currently-running pc-updatemanager processes and kill/stop them as needed. Ken Moore 2016-08-09 11:27:08 -04:00
  • d430de0fce API CHANGE: Remove the "fbsdupdate" and "fbsdupdatepkgs" options within the sysadm-update API call for starting an update. These options are no longer available with base pkgs (everything is run through the "pkgupdate" option instead). Ken Moore 2016-08-09 10:51:14 -04:00
  • fbc436db75 Fix all Sphinx build errors with API handbook - Fixed every sphinx build error for JSON parsing. - For invalid JSON messages, replaced .. code-block:: JSON with the generic code block directive ::. - Fixed multiple errors across various valid JSON code blocks. - Fixed a few spacing errors with .. note:: entries. Mrt134 2016-08-04 15:01:15 -04:00
  • 26d114639a Cleanup some of the PKG database queries. Ken Moore 2016-08-04 14:52:27 -04:00
  • fa4b19693d Add an additional check to the pkg repo listing to verify which repos are active too. Ken Moore 2016-08-04 14:37:01 -04:00
  • 31ea5f3497 If there are no .conf files for the pkg repos yet, have it run "pkg update" to generate them and re-try the repo list function. Ken Moore 2016-08-02 12:23:35 -04:00
  • a652d1bf0a Merge branch 'master' of github.com:trueos/sysadm Ken Moore 2016-08-02 11:13:37 -04:00
  • bdf59b5691 Fix the parsing of the lpreserver replicate list command in the sysadm server. Ken Moore 2016-08-02 11:10:33 -04:00
  • a5c3e7b8b6 Update qt5 required modules and github links - Removed two qt5 modules which are no longer required to build sysadm. - Updated github links to reflect migration from PC-BSD to TrueOS. Mrt134 2016-08-02 10:53:14 -04:00
  • e6c589dc66 Clean up the pkg-plist for the sysadm server (jobd files were still in plist, but disabled in source) Ken Moore 2016-08-01 14:40:29 -04:00
  • 204310feb6 Rename mkports.sh to mkport.sh so that the auto-sync tool can find/use it. Ken Moore 2016-08-01 14:08:34 -04:00
  • 4a260b66e2 API CHANGE Add a "groupadd" action to the sysadm/users class. This will create a new group on the system REQUIRED: "name" OPTIONAL: "gid","users" Ken Moore 2016-07-28 16:11:35 -04:00
  • a0d82f2367 API CHANGE Add an "action"="groupshow" option to the sysadm/users class. This will list all the known groups on the system and any users associated with them (if all access) or which ones the current user is in (if limited access). Ken Moore 2016-07-28 15:06:15 -04:00
  • 3c24217a88 Ensure we create user's home dir on new user creation. Ken Moore 2016-07-25 15:57:13 -04:00
  • 5a5e0df1ad API CHANGE Add a new API call: sysadm/users, action=personacrypt_listdevs This will run personacrypt and return any removeable devices which may be used as PC devices. Ken Moore 2016-07-25 15:35:06 -04:00
  • 585beba03a API CHANGE Add new "usermod" action to the sysadm/users class. This is nearly identical to the "useradd" action, but performs changes to an existing user only (limited access users may modify their own settings, but not other users settings). Ken Moore 2016-07-25 14:45:43 -04:00
  • 86528334e0 [API CHANGE] Add a new API call to the sysadm/users framework as well as add a bunch more output to current users requests (error/success reporting instead of just the overall good/bad flag). Ken Moore 2016-07-25 10:14:06 -04:00
  • 6ed9dd4e74 Update a bit of the new "adduser" routine quite a bit, adding support for personacrypt init/import options as well (untested). Ken Moore 2016-07-22 13:20:23 -04:00
  • f586a30d77 API CHANGE Add a new API call for creating a user on the system: action: "useradd" Required fields: "password" AND ("name" OR "uid") Optional fields: "comment", "home_dir", "expire", "change", "shell", "group", "other_groups", "class" Ken Moore 2016-07-21 16:21:28 -04:00
  • 35f8f466f9 API CHANGE Add a new "sysadm/users" API class to sysadm for managing users/groups on the system. The "usershow" action is the only one enabled at the present time. Ken Moore 2016-07-21 14:57:03 -04:00
  • 4bf475bdc6 SysAdm PEP8 Conversion - Converted SysAdm Server Handbook to PEP8 standards. - Converted SysAdm API Handbook to PEP8 standards. Mrt134 2016-07-05 18:26:39 -04:00
  • 4da94971cc Oops. Forgot to commit a change to the server Auth manager when working on the SSL crash issue on the client. Ken Moore 2016-06-22 20:12:16 -04:00
  • bcaf188dc1 Disable the installation of the jobd routines, and also deactivate the 2nd layer SSL encryption through a bridge for the moment (base64 only right now). Ken Moore 2016-06-21 15:14:29 -04:00
  • 5da15e8f0f SysAdm Introduction addition Tim Moore II 2016-06-14 10:13:33 -04:00
  • faf64cdc0d Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-06-03 15:10:11 -04:00
  • 0f3ec82dc1 [API CHANGE] Add a new field to the "rpc/identify" API call output { namespace : rpc, name : identify, id : junk, args : junk } Ken Moore 2016-06-03 15:08:05 -04:00
  • d935b7b441 Syntax fix - Updated bridge initialization commands to reflect new syntax - fixed a make error in conf.py Mrt134 2016-06-03 10:39:17 -04:00
  • 9343ce5e52 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-06-03 09:27:55 -04:00
  • f65591ad3a Unify the CLI flag format between the server/bridge, and add help/usage information to the server. Ken Moore 2016-06-03 09:27:20 -04:00
  • e184d4b9d6 Updated "starting sysadm" section - Updated Starting SysAdm section to reflect current instructions - Fixed a couple grammar and spelling errors in the Bridge Initialization section Mrt134 2016-06-02 15:02:17 -04:00
  • 4a51c050d4 Rework bridge initialization - Reworked bridge initialization section for clarity - fixed a css error in the handbook theme Mrt134 2016-06-02 14:30:23 -04:00
  • 2f5321ea75 Sysadm server handbook section addition - Added WIP section "Bridge System Initialization" to server handbook - Divided instructions into two methods - one for complete ground up and another for allowing user access to an established network. - Began clarifying and testing instructions. Mrt134 2016-05-31 15:03:32 -04:00
  • 0c6ef4dd85 Add the "BRIDGE_CONNECTIONS_ONLY" option to the sysadm.conf.dist which is distributed. Ken Moore 2016-05-27 13:44:17 -04:00
  • 2cc0b94db5 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-05-27 11:39:52 -04:00
  • ea9ed1fa6b Enable a randomized encryption layer within the server->client communications through a bridge. Ken Moore 2016-05-27 11:39:12 -04:00
  • 4963a82e13 Merge pull request #21 from mheily/master Kris Moore 2016-05-27 10:30:58 -04:00
  • ad696629d6 Add documentation for running under jobd(8), and avoid auto-enabling the service at package install time Mark Heily 2016-05-26 21:53:47 -04:00
  • ce41041ce5 Get encryption turned on in the server for bridged connections. Still not fully-functional - but getting there. Ken Moore 2016-05-26 15:37:55 -04:00
  • bf4e4d4212 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-05-26 13:32:47 -04:00
  • 9fcc25d239 Clean up some more of the communication system for the server/client connection through a bridge. Seems to be functioning with base64 encoding only right now. Ken Moore 2016-05-26 13:31:46 -04:00
  • 18e61346b6 Refinement to connection.rst & Mrt134 2016-05-26 09:35:50 -04:00
  • 65f8f7f747 Added initial examples of client-bridge-server ssl authentication to api handbook (api/connection.rst) - added #4 to section 1.1 Authentication: SSL Certificate Initiation - provided examples of an initial request and reply - added notation to identify at which point messages become encrypted Mrt134 2016-05-25 10:22:31 -04:00
  • 68a4bb29c7 Get the encryption systems setup with a temporary base64 encoding instead of full SSL encryption (for testing the encode/decode routines) Ken Moore 2016-05-25 09:01:38 -04:00
  • 90eeee0469 Enable the variant of the SSL auth procedures in the websocket. Ken Moore 2016-05-25 08:36:23 -04:00
  • 12d2517f17 Another couple minor tweaks to the server auth systems. Ken Moore 2016-05-25 08:35:35 -04:00
  • d845364382 Merge branch 'master' of github.com:pcbsd/sysadm Ken Moore 2016-05-25 08:17:06 -04:00
  • 4ec1dd2694 Get the server all setup for enabling encryption (alternate API calls implemented - just no encryption turned on yet). Ken Moore 2016-05-25 08:16:15 -04:00
  • dc7b2f6138 Opps fix typo Kris Moore 2016-05-24 09:43:30 -04:00
  • f5bdfc4f1d Fix pkg-plist Kris Moore 2016-05-24 09:42:12 -04:00
  • 84481bec41 Merge pull request #20 from mheily/master Kris Moore 2016-05-24 09:35:01 -04:00
  • 22e9088a81 Remove /usr/local/share path Mark Heily 2016-05-23 22:20:10 -04:00