* [pmg-devel] [PATCH proxmox-widget-toolkit 1/1] node: repos: add online help
@ 2021-07-14 12:55 Fabian Ebner
2021-07-14 12:55 ` [pmg-devel] [PATCH pmg-gui 1/1] server administration: " Fabian Ebner
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Fabian Ebner @ 2021-07-14 12:55 UTC (permalink / raw)
To: pmg-devel
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
---
src/node/APTRepositories.js | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js
index c7222fc..9b74980 100644
--- a/src/node/APTRepositories.js
+++ b/src/node/APTRepositories.js
@@ -141,6 +141,7 @@ Ext.define('Proxmox.node.APTRepositoriesErrors', {
Ext.define('Proxmox.node.APTRepositoriesGrid', {
extend: 'Ext.grid.GridPanel',
xtype: 'proxmoxNodeAPTRepositoriesGrid',
+ mixins: ['Proxmox.Mixin.CBind'],
title: gettext('APT Repositories'),
@@ -162,6 +163,9 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', {
name: 'addRepo',
disabled: true,
repoInfo: undefined,
+ cbind: {
+ onlineHelp: '{onlineHelp}',
+ },
handler: function(button, event, record) {
Proxmox.Utils.checked_command(() => {
let me = this;
@@ -177,6 +181,7 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', {
url: `/api2/extjs/nodes/${panel.nodename}/apt/repositories`,
method: 'PUT',
extraRequestParams: extraParams,
+ onlineHelp: me.onlineHelp,
listeners: {
destroy: function() {
panel.reload();
@@ -410,6 +415,8 @@ Ext.define('Proxmox.node.APTRepositories', {
digest: undefined,
+ onlineHelp: undefined,
+
product: 'Proxmox VE', // default
controller: {
@@ -575,6 +582,7 @@ Ext.define('Proxmox.node.APTRepositories', {
flex: 1,
cbind: {
nodename: '{nodename}',
+ onlineHelp: '{onlineHelp}',
},
majorUpgradeAllowed: false, // TODO get release information from an API call?
listeners: {
--
2.30.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [pmg-devel] [PATCH pmg-gui 1/1] server administration: repos: add online help
2021-07-14 12:55 [pmg-devel] [PATCH proxmox-widget-toolkit 1/1] node: repos: add online help Fabian Ebner
@ 2021-07-14 12:55 ` Fabian Ebner
2021-07-19 15:42 ` [pmg-devel] applied: " Thomas Lamprecht
2021-07-14 17:41 ` [pmg-devel] [PATCH proxmox-widget-toolkit 1/1] node: " Stoiko Ivanov
2021-07-19 15:39 ` [pmg-devel] applied: " Thomas Lamprecht
2 siblings, 1 reply; 5+ messages in thread
From: Fabian Ebner @ 2021-07-14 12:55 UTC (permalink / raw)
To: pmg-devel
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
---
Depends on the previous patch to work correctly, but no hard
dependency.
js/ServerAdministration.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/js/ServerAdministration.js b/js/ServerAdministration.js
index 332b03a..8cc50ab 100644
--- a/js/ServerAdministration.js
+++ b/js/ServerAdministration.js
@@ -57,6 +57,7 @@ Ext.define('PMG.ServerAdministration', {
itemId: 'aptrepositories',
nodename: 'localhost',
product: 'Proxmox Mail Gateway',
+ onlineHelp: 'pmg_package_repositories',
},
{
xtype: 'proxmoxJournalView',
--
2.30.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [pmg-devel] [PATCH proxmox-widget-toolkit 1/1] node: repos: add online help
2021-07-14 12:55 [pmg-devel] [PATCH proxmox-widget-toolkit 1/1] node: repos: add online help Fabian Ebner
2021-07-14 12:55 ` [pmg-devel] [PATCH pmg-gui 1/1] server administration: " Fabian Ebner
@ 2021-07-14 17:41 ` Stoiko Ivanov
2021-07-19 15:39 ` [pmg-devel] applied: " Thomas Lamprecht
2 siblings, 0 replies; 5+ messages in thread
From: Stoiko Ivanov @ 2021-07-14 17:41 UTC (permalink / raw)
To: Fabian Ebner; +Cc: pmg-devel
Thanks for the patch!
applied both, and tried it out - works as advertised!
FWIW:
Reviewed-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Tested-by: Stoiko Ivanov <s.ivanov@proxmox.com>
On Wed, 14 Jul 2021 14:55:47 +0200
Fabian Ebner <f.ebner@proxmox.com> wrote:
> Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
> ---
> src/node/APTRepositories.js | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js
> index c7222fc..9b74980 100644
> --- a/src/node/APTRepositories.js
> +++ b/src/node/APTRepositories.js
> @@ -141,6 +141,7 @@ Ext.define('Proxmox.node.APTRepositoriesErrors', {
> Ext.define('Proxmox.node.APTRepositoriesGrid', {
> extend: 'Ext.grid.GridPanel',
> xtype: 'proxmoxNodeAPTRepositoriesGrid',
> + mixins: ['Proxmox.Mixin.CBind'],
>
> title: gettext('APT Repositories'),
>
> @@ -162,6 +163,9 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', {
> name: 'addRepo',
> disabled: true,
> repoInfo: undefined,
> + cbind: {
> + onlineHelp: '{onlineHelp}',
> + },
> handler: function(button, event, record) {
> Proxmox.Utils.checked_command(() => {
> let me = this;
> @@ -177,6 +181,7 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', {
> url: `/api2/extjs/nodes/${panel.nodename}/apt/repositories`,
> method: 'PUT',
> extraRequestParams: extraParams,
> + onlineHelp: me.onlineHelp,
> listeners: {
> destroy: function() {
> panel.reload();
> @@ -410,6 +415,8 @@ Ext.define('Proxmox.node.APTRepositories', {
>
> digest: undefined,
>
> + onlineHelp: undefined,
> +
> product: 'Proxmox VE', // default
>
> controller: {
> @@ -575,6 +582,7 @@ Ext.define('Proxmox.node.APTRepositories', {
> flex: 1,
> cbind: {
> nodename: '{nodename}',
> + onlineHelp: '{onlineHelp}',
> },
> majorUpgradeAllowed: false, // TODO get release information from an API call?
> listeners: {
^ permalink raw reply [flat|nested] 5+ messages in thread
* [pmg-devel] applied: [PATCH proxmox-widget-toolkit 1/1] node: repos: add online help
2021-07-14 12:55 [pmg-devel] [PATCH proxmox-widget-toolkit 1/1] node: repos: add online help Fabian Ebner
2021-07-14 12:55 ` [pmg-devel] [PATCH pmg-gui 1/1] server administration: " Fabian Ebner
2021-07-14 17:41 ` [pmg-devel] [PATCH proxmox-widget-toolkit 1/1] node: " Stoiko Ivanov
@ 2021-07-19 15:39 ` Thomas Lamprecht
2 siblings, 0 replies; 5+ messages in thread
From: Thomas Lamprecht @ 2021-07-19 15:39 UTC (permalink / raw)
To: Fabian Ebner, pmg-devel
On 14.07.21 14:55, Fabian Ebner wrote:
> Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
> ---
> src/node/APTRepositories.js | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
* [pmg-devel] applied: [PATCH pmg-gui 1/1] server administration: repos: add online help
2021-07-14 12:55 ` [pmg-devel] [PATCH pmg-gui 1/1] server administration: " Fabian Ebner
@ 2021-07-19 15:42 ` Thomas Lamprecht
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Lamprecht @ 2021-07-19 15:42 UTC (permalink / raw)
To: Fabian Ebner, pmg-devel
On 14.07.21 14:55, Fabian Ebner wrote:
> Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
> ---
>
> Depends on the previous patch to work correctly, but no hard
> dependency.
>
> js/ServerAdministration.js | 1 +
> 1 file changed, 1 insertion(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-07-19 15:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 12:55 [pmg-devel] [PATCH proxmox-widget-toolkit 1/1] node: repos: add online help Fabian Ebner
2021-07-14 12:55 ` [pmg-devel] [PATCH pmg-gui 1/1] server administration: " Fabian Ebner
2021-07-19 15:42 ` [pmg-devel] applied: " Thomas Lamprecht
2021-07-14 17:41 ` [pmg-devel] [PATCH proxmox-widget-toolkit 1/1] node: " Stoiko Ivanov
2021-07-19 15:39 ` [pmg-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox