From 052d0c4fe0977871d1315941d7934d9e56f8ecc0 Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Thu, 5 Aug 2021 23:36:02 +0200 Subject: [PATCH] security/acme-client: show more options in list view --- security/acme-client/pkg-descr | 1 + .../controllers/OPNsense/AcmeClient/Api/ActionsController.php | 2 +- .../OPNsense/AcmeClient/Api/ValidationsController.php | 2 +- .../src/opnsense/mvc/app/views/OPNsense/AcmeClient/actions.volt | 1 + .../opnsense/mvc/app/views/OPNsense/AcmeClient/validations.volt | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/security/acme-client/pkg-descr b/security/acme-client/pkg-descr index b172474e3..756d6ac15 100644 --- a/security/acme-client/pkg-descr +++ b/security/acme-client/pkg-descr @@ -21,6 +21,7 @@ Changed: * remove the legacy log file and only rely on syslog logging (#2366) * update tooltip style for 21.7 (#2188) * add tooltips for account command buttons (#2188) +* show more options in list view for challenge types and automations Removed: * remove obsolete account parameters: certificateAuthority, lastUpdate diff --git a/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/ActionsController.php b/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/ActionsController.php index 0dec0e4b9..2634c404d 100644 --- a/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/ActionsController.php +++ b/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/ActionsController.php @@ -72,7 +72,7 @@ class ActionsController extends ApiMutableModelControllerBase public function searchAction() { - return $this->searchBase('actions.action', array('enabled', 'name', 'description'), 'name'); + return $this->searchBase('actions.action', array('enabled', 'name', 'type', 'description'), 'name'); } public function sftpGetIdentityAction() diff --git a/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/ValidationsController.php b/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/ValidationsController.php index 8dd689313..703a8fef3 100644 --- a/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/ValidationsController.php +++ b/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/ValidationsController.php @@ -73,6 +73,6 @@ class ValidationsController extends ApiMutableModelControllerBase public function searchAction() { - return $this->searchBase('validations.validation', array('enabled', 'name', 'description'), 'name'); + return $this->searchBase('validations.validation', array('enabled', 'name', 'method', 'description'), 'name'); } } diff --git a/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/actions.volt b/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/actions.volt index e0f8b6fca..c1eaf5f07 100644 --- a/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/actions.volt +++ b/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/actions.volt @@ -222,6 +222,7 @@ POSSIBILITY OF SUCH DAMAGE. {{ lang._('Enabled') }} {{ lang._('Name') }} + {{ lang._('Command') }} {{ lang._('Description') }} {{ lang._('Commands') }} {{ lang._('ID') }} diff --git a/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/validations.volt b/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/validations.volt index 176841dd8..bd1e4c42f 100644 --- a/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/validations.volt +++ b/security/acme-client/src/opnsense/mvc/app/views/OPNsense/AcmeClient/validations.volt @@ -115,6 +115,7 @@ POSSIBILITY OF SUCH DAMAGE. {{ lang._('Enabled') }} {{ lang._('Name') }} + {{ lang._('Challenge Type') }} {{ lang._('Description') }} {{ lang._('Commands') }} {{ lang._('ID') }}