Commit Graph

  • d018263559 Reverse the pkg repo enabled logic. default to enabled, look for no/false section to disable. Seems to fix the issue with a repo config file not including the enabled section at all, but pkg still using it. master Ken Moore 2019-05-23 19:51:51 -04:00
  • b7fa03d2b8 Fix up sysadm to work with the corrupted/modified version of the pkg config files that sysup now auto-generates. Ken Moore 2018-12-11 09:32:29 -05:00
  • f467df4133 Cleanup some config-file logic and other random file-handling Ken Moore 2018-11-28 08:15:31 -05:00
  • 694951384d Get the pkg repo detection systems up and running again. v1.1 1.1 Ken Moore 2018-10-04 04:17:35 -04:00
  • 10d00d97d9 Update sysadm-update.cpp Ken Moore 2018-09-25 12:43:29 -04:00
  • 32d74530ad Disable the sysadm/update API class unless pc-updatemanager is installed. This system does not work with the newer "trueos-update" utility. We will need a new API backend for that tool. Ken Moore 2018-09-06 08:50:25 -04:00
  • 4b0d6334d1 Make sure that the beadm backend can run if beadm is in base Ken Moore 2018-09-05 10:29:39 -04:00
  • ed2c244282 Fix up the port template to use the new Qt flavors system Ken Moore 2018-09-05 09:52:21 -04:00
  • 8ba0b72cd0 Fix up the paths where sysadm looks for pkg repo configs. Ken Moore 2018-09-05 09:19:37 -04:00
  • 67e687ba4c Update the sysadm/update API class: Make it able to use "trueos-update" as well as "pc-updatemanager" for upgrades Ken Moore 2018-09-01 07:33:26 -04:00
  • 0fdcdb2c9b Update WebBackend.cpp Ken Moore 2018-09-01 06:31:49 -04:00
  • aab6f484ef Remove the IFM_[FDDI/TOKEN] usage in SysAdm. Removed from upstream FreeBSD. Ken Moore 2018-06-12 09:26:41 -04:00
  • 25177739c2 Clean up some dispatcher parsing routines for sourcectl Ken Moore 2018-04-19 08:51:34 -04:00
  • 25ca2d430d Cleanup the service manager backend a bit. Make it more robust concerning OpenRC vs rc.d management. Ken Moore 2018-04-04 10:59:45 -04:00
  • 6630432922 Merge pull request #33 from OtacilioNeto/master Ken Moore 2018-03-19 08:14:37 -04:00
  • d7c4e29d9a Fix 100% CPU usage bug when listing users under FreeBSD. Otacílio 2018-03-18 22:52:13 -03:00
  • fd5504b304 Allow the "CDN_TYPE" option to be exposed via the update settings API calls now. This allows an easy way to switch between IPFS and CDN types. Ken Moore 2018-02-05 09:58:46 -05:00
  • b08d8461fc Put all the build files into a separate directory (keep source dir clean). Ken Moore 2018-02-05 09:53:56 -05:00
  • c1be586f87 Fix up the creation of new configuration files in sysadm-general (setConfFileValue()). Ken Moore 2017-12-18 13:27:14 -05:00
  • dd4ab15bb4 Merge branch 'master' of github.com:trueos/sysadm Ken Moore 2017-12-07 09:39:46 -05:00
  • 6b43bc6a29 Couple quick updates for handling failed update checks. Ken Moore 2017-12-07 09:39:18 -05:00
  • d6147d70f4 update port maintainer q5sys 2017-11-24 15:43:43 -05:00
  • 77986e0312 Fix the update-required flag detection Ken Moore 2017-11-22 10:43:00 -05:00
  • 06e2f83902 Merge branch 'master' of github.com:trueos/sysadm Ken Moore 2017-11-22 10:28:44 -05:00
  • 42adfc6ca1 Couple minor tweaks for the sysadm server. Ken Moore 2017-11-22 10:28:21 -05:00
  • f4a2459429 Change the internal reboot/update mechanism to use the new "applyUpdates()" function instead of just systemReboot(). Ken Moore 2017-11-17 16:02:39 -05:00
  • c5bf944017 [API CHANGE] Add a new API call for sysadm/update: action="applyupdate". This takes no other inputs, and returns the following: { "applyupdate" : { "result" : "rebooting to apply updates" } } Ken Moore 2017-11-17 15:58:37 -05:00
  • 2157dbb6c2 add new library files q5sys 2017-11-02 11:52:07 -04:00
  • d07658ee21 more api work for sourcectl q5sys 2017-11-02 11:48:25 -04:00
  • 355b47d93a cut old source source from systemmanager.cpp q5sys 2017-11-02 10:10:56 -04:00
  • 62655ebd41 backend work for source control api q5sys 2017-11-02 10:02:03 -04:00
  • ce53715265 Make sure the system update check is done via a DISPATCHER process. This prevent possible hangs in the main server thread from the health check, and also ensures that the system update check API call can now return a new "checkingforupdates" status. Ken Moore 2017-10-27 13:35:42 -04:00
  • 4247c3529a [API CHANGE] New API call: sysadm/moused, action="get_synaptics_options" No other input arguments required. This will return any additional options that are available through the "synaptics" driver system (typically used for laptops). Ken Moore 2017-10-26 13:32:43 -04:00
  • bb1ec413eb [API CHANGE] sysadm/moused, action="set_tap_to_click" Inputs (at least one required): "enable" = "true" or "false" : Turn tap to click on or off "timeout" = "[positive integer]" : Modify the timeout value (0 is sometimes used to disable tap-to-click) Ken Moore 2017-10-26 13:27:51 -04:00
  • d7ddcb5ae0 [API CHANGE] New API call: sysadm/moused, action="get_tap_to_click" No other input arguments This returns the information about the current settings of "tap-to-click" for laptop touchpads. Ken Moore 2017-10-26 12:55:07 -04:00
  • 654b1a72d5 Add another quick error detection flag to the new "getsysctl" action in the system manager. Ken Moore 2017-10-26 11:17:25 -04:00
  • 3cb89665b7 Compress the batteryInfo function into a single "apm" process call instead of 3 of them. Ken Moore 2017-10-26 09:59:10 -04:00
  • 5807bedd68 [API CHANGE] New API call: sysadm/systemmanager, action="getsysctl" Required arguments: "sysctl" (string or array of strings) This will report back the value of the requested sysctl(s). Ken Moore 2017-10-26 09:26:51 -04:00
  • 2240fdd8c7 [API CHANGE] Adjust the output structure for the "sysctllist" action in the system manager. The output now returns objects with value, type, and description of each sysctl instead of just the values. Ken Moore 2017-10-26 09:10:02 -04:00
  • 52ae9e8e5c Add ability to specify working directory to the dispatcher, and update the new fetch_ports API call. Ken Moore 2017-10-04 10:56:43 -04:00
  • 068ef24a66 Enable a new API call: sysadm/systemmanager - "action" = "fetch_ports" Ken Moore 2017-10-04 10:37:11 -04:00
  • fba91d29c9 Enable/clean the backend functio Ken Moore 2017-10-04 10:31:49 -04:00
  • a239e43c05 Add a new option to the moused options: "mouse_scroll_invert" = [true/false] This will invert the scroll direction for the mouse device. Ken Moore 2017-09-15 09:31:53 -04:00
  • 991dcdd2f9 Merge branch 'master' of github.com:trueos/sysadm Ken Moore 2017-08-25 09:25:55 -04:00
  • e9a338fa0f Make sure that pc-updatemanager syncconf is always run before any automated update checks begin. Ken Moore 2017-08-25 09:25:18 -04:00
  • 6447b0fed1 Moved the SysAdm client manpage to the client repo ZackaryWelch 2017-08-24 13:21:10 -04:00
  • cf5b11a539 Added a man page for the sysadm cli client ZackaryWelch 2017-08-24 11:26:23 -04:00
  • 93f4d89b7d Remove (Coming Soon) from SysAdm issues tracker Tim Moore 2017-08-21 12:27:56 -04:00
  • 4e23691d50 Commit some more work on an /etc/rc.conf writing routine for networking. Not enabled for API calls yet. Ken Moore 2017-08-10 14:53:30 -04:00
  • 376eaa4e37 [API CHANGE] Add a new action for sysadm/network class: "action" = "list-settings" List all the settings for network devices that are saved in /etc/rc.conf ----------------- Ken Moore 2017-08-10 13:51:35 -04:00
  • 4dded17898 Important update to pkg backend: 1) Change the API calls to all be name-based instead of origin-based 2) This fixes the detection/viewing of base packages 3) This makes the AppCafe 100% ready for the flavours/subpackages which is coming from upstream pkg sometime soon. Ken Moore 2017-08-10 10:38:32 -04:00
  • 6ab7c3dc01 Adjust the logic of the dispatcher processes a bit: For the incremental process notifications, only include the latest output from the process, not the full thing up to that point. Some processes (life preserver, pc-updatemanager) run for a long time and eventually get massive log files. Ken Moore 2017-08-07 11:52:06 -04:00
  • 34b388277d [API CHANGE] Add a new "action" for sysadm/systemmanager "action"="deviceinfo" will return the full information about all devices attached to the system (via pciconf -lv) ------------------- Ken Moore 2017-08-02 11:14:38 -04:00
  • 00251895a3 [API CHANGE] Add a new "pkg_install_verify" action to sysadm/pkg Add an "action" = "pkg_install_verify" option to the sysadm/pkg API call. REQUIRED: "pkg_origins" - string or array of pkg origins "repo" - remote repository that the package will be installed from. ---------- Ken Moore 2017-08-01 13:08:51 -04:00
  • 09c41edaca Clean up some more whitespace in sysadm server files. Ken Moore 2017-07-27 15:19:54 -04:00
  • 4a866b924f Disable some debug statements that were dumping Life Preserver logs into the webserver log file. Ken Moore 2017-07-27 15:14:22 -04:00
  • 58d309031f Fix up a couple Qt5 dependencies in the sysutils/sysadm port. Ken Moore 2017-07-07 09:11:06 -04:00
  • e78f6a003f Merge branch 'master' of github.com:trueos/sysadm Ken Moore 2017-07-03 10:36:52 -04:00
  • 724c8ac7a8 Cleanup some whitespace in SysAdm files while I was looking for something... Ken Moore 2017-07-03 10:36:21 -04:00
  • c4750152a6 prototype sourcetree management for sysadm q5sys 2017-06-05 11:40:50 -04:00
  • a0a585353c a few additions to sysadm-general q5sys 2017-06-05 10:41:40 -04:00
  • 3276b32f80 NEW API: sysadm/iocage "action"="cleantemplates" This will delete all templates which have been cached on the local system. ----------- Ken Moore 2017-06-02 11:13:29 -04:00
  • c744785115 New API: sysadm/iocage "action"="cleanreleases" This will remove all the RELEASE's which have been downloaded/cached on the local system. Ken Moore 2017-06-02 11:11:46 -04:00
  • acbf8d6730 Adjust the fetch plugin function to use the new syntax that brandon just committed upstream (did not work properly anyway with the old syntax) Ken Moore 2017-06-02 10:29:52 -04:00
  • b428fb531a NEW API: sysadm/iocage "action"="createplugin" This will fetch/create a new plugin jail. Required Arguements: "action"="createplugin" "plugin"="name_of_plugin" "net_device"="network_device_to_use" "ip4" *or* "ip6" with the address to assign to the new jail (IPv4 or IPv6 address) Ken Moore 2017-06-02 09:52:53 -04:00
  • 737e90c42a NEW API CALL: sysadm/iocage "action"="fetchreleases" This will fetch any remotely-available FreeBSD releases and update/cache them on the local system for use when spinning up jails. REQUIRED ARGUMENTS: "action" = "fetchreleases" "releases": String *or* Array of strings containing the version/release to fetch. Ken Moore 2017-06-02 08:24:45 -04:00
  • a3c44a5f5b NEW API: sysadm/iocage "action"="listjails" This will list all the current jails on the system. Ken Moore 2017-06-01 16:13:34 -04:00
  • fdd864e298 NEW API: sysadm/iocage "action"="listtemplates" This will list all the jail templates currently available on the local system. Ken Moore 2017-06-01 16:04:01 -04:00
  • 4333ac6fba API Adjustment: sysadm/iocage "action"="listplugins" Adjust the output syntax to also include "local" plugins (those already installed). The "remote" plugin format is unchanged. Ken Moore 2017-06-01 15:34:26 -04:00
  • 859b441ae2 New API Call: sysadm/iocage "action"="activatestatus" This will list the current pool which is activated for iocage to use. Ken Moore 2017-06-01 13:50:10 -04:00
  • ebae121639 Start fixing up the iocage plugin fetch function - not working yet. Ken Moore 2017-05-31 14:34:54 -04:00
  • 2bf23b8aaf API Change: sysadm/iocage - "action"="listreleases" Add an API call for listing all the FreeBSD releases supported for iocage jails Ken Moore 2017-05-31 14:24:21 -04:00
  • f1c3651ba5 API CHANGE: sysadm/iocage - "action"="listplugins" Add this API call to list all the available plugins for iocage. Ken Moore 2017-05-31 14:19:10 -04:00
  • 35759b12a1 Merge branch 'master' of github.com:trueos/sysadm Ken Moore 2017-05-30 11:46:59 -04:00
  • 0e2d941ae1 Add the qMDNS class to SysAdm's backend source tree (not tied in yet) Ken Moore 2017-05-30 11:46:31 -04:00
  • 2105b59780 Move TrueOS website link. stable/2017Q2 Tim Moore 2017-05-19 14:33:21 -04:00
  • 6392cc362f Merge branch 'master' of github.com:trueos/sysadm Ken Moore 2017-04-28 09:41:26 -04:00
  • dfb6e1b6a6 Move the pkg update routine in SysAdm to the pkg queue in the dispatcher so that it does not conflict with other possible pkg commands that get started soon after. Ken Moore 2017-04-28 09:40:38 -04:00
  • cad95cbec8 Update README.md Tim Moore 2017-04-10 11:51:07 -04:00
  • 97f82a06d8 Minor updates to Makefile and pkg-descr Kris Moore 2017-03-08 06:46:40 -05:00
  • b446bef363 Update some more of the iocage API backend. These changes not tied to front-facing API calls yet. v1.0 Ken Moore 2017-02-17 13:03:18 -05:00
  • 9cb26f211e API CHANGE: Re-enable the sysadm/iocage "deactivatepool" API call. Description: This will deactivate a ZFS pool from being used by iocage (may result in loss of data regarding iocage-created jails). Required arguments: "pool" = "zfs pool to deactivate" ----------- Ken Moore 2017-02-17 11:55:31 -05:00
  • 2047491544 API CHANGE: Re-enable the sysadm/iocage "activatepool" API call: Description: This will activate a specific ZFS pool so iocage can use it. Required arguments: "pool" = "name of ZFS pool to activate" ------------------ Ken Moore 2017-02-17 11:49:14 -05:00
  • 4fe277350a API CHANGE: De-activate the entire sysadm/iocage class of API calls. There is enough changes in the move to the new version of iocage, and the old API class was disused enough, that it is probably best to just scrap it and start from scratch. I will start re-enabling the individual API calls one per commit tomorrow probably (backend changes getting close to being finished). Ken Moore 2017-02-16 14:28:49 -05:00
  • af7e620544 Oops - fix a couple compile issues with the new iocage backend. Ken Moore 2017-02-16 12:23:43 -05:00
  • 8d479b4061 Another large batch of work on the new sysadm/iocage API backend. Not yet attached to API calls yet. Ken Moore 2017-02-16 12:21:48 -05:00
  • f7d5e99010 API Change: Remove the sysadm/iocage "getdefaultsettings" action from the available API calls. This action is not longer supported by the newer version of iocage. Ken Moore 2017-02-14 09:46:36 -05:00
  • d382ec9e8f Validate/Fix the sysadm/iocage "activatepool" and "deactivatepoll" API calls. No change to the API, just cleaned it up to work with the newer python version of iocage. Ken Moore 2017-02-14 09:41:26 -05:00
  • 4c118796dc Merge branch 'master' of http://github.com/trueos/sysadm Kris Moore 2017-02-13 16:19:39 -05:00
  • 487e9d7655 Fix iocage detection Kris Moore 2017-02-13 16:19:27 -05:00
  • 1863b10340 Quick fix for the sysadm init.d files. Ken Moore 2017-02-13 08:09:06 -05:00
  • 8080a83e1b Add stop fix for supervisor. Requires new openrc-run patch in freebsd base. Joe Maloney 2017-02-12 17:23:55 -05:00
  • de9b9af3c0 API CHANGE: New class - sysadm/powerd This is a class for managing the "powerd" service on the system. Ken Moore 2017-02-07 12:34:33 -05:00
  • e67f77f447 Add a 1 minute delay on boot for the SysAdm health checks to start. This gives a bit more time for the network connectivity to settle down first. Ken Moore 2017-02-07 10:05:52 -05:00
  • 57e197669e Make sure we clean up any extra empty lines in the update check. Ken Moore 2017-01-23 15:16:32 -05:00
  • e8e157fb58 Large update to the init.d services for SysAdm. Also clean up some things in the port makefile as well. Ken Moore 2017-01-20 12:49:59 -05:00
  • 3b2ce2ca8e Update the "pkg update" usage in the system health check. Run the PKG library function to check the repos instead - that one will only do the pkg update if there is some problem with the databases. Ken Moore 2017-01-20 08:55:37 -05:00
  • b1d8c1f048 Fix the loading of the current moused device settings. Only trim the quotes off the end if necessary. Ken Moore 2017-01-19 16:21:29 -05:00
  • 26557e3756 API CHANGE (new action) sysadm/moused, "action"="set_device_active" : This will enable/activate a device so that it can be used. REQUIRED ARGUMENTS: "device":"<device_id>" ------------- Ken Moore 2017-01-19 08:54:48 -05:00
  • 7ca9766234 API CHANGE (new action) sysadm/moused, "action" = "set_device_inactive" : Turn off a mouse device REQUIRED ARGUMENTS: "device":"<device id>" -------------- Ken Moore 2017-01-19 08:49:07 -05:00