public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH docs/proxmox-widget-toolkit 0/2] notifications: document 'unknown' severity and add to GUI
@ 2023-11-21 16:01 Lukas Wagner
  2023-11-21 16:01 ` [pve-devel] [PATCH pve-docs 1/2] notification: document 'unknown' severity Lukas Wagner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lukas Wagner @ 2023-11-21 16:01 UTC (permalink / raw)
  To: pve-devel

This is the severity used for forwarded mails, since we cannot
reasonably infer a priority here.



pve-docs:

Lukas Wagner (1):
  notification: document 'unknown' severity

 notifications.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


proxmox-widget-toolkit:

Lukas Wagner (1):
  notification ui: add 'unknown' to match-severity dropdown

 src/window/NotificationMatcherEdit.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


Summary over all repositories:
  2 files changed, 3 insertions(+), 2 deletions(-)

-- 
murpp v0.4.0





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [pve-devel] [PATCH pve-docs 1/2] notification: document 'unknown' severity
  2023-11-21 16:01 [pve-devel] [PATCH docs/proxmox-widget-toolkit 0/2] notifications: document 'unknown' severity and add to GUI Lukas Wagner
@ 2023-11-21 16:01 ` Lukas Wagner
  2023-11-21 16:01 ` [pve-devel] [PATCH proxmox-widget-toolkit 2/2] notification ui: add 'unknown' to match-severity dropdown Lukas Wagner
  2023-11-21 19:52 ` [pve-devel] applied-series: [PATCH docs/proxmox-widget-toolkit 0/2] notifications: document 'unknown' severity and add to GUI Thomas Lamprecht
  2 siblings, 0 replies; 4+ messages in thread
From: Lukas Wagner @ 2023-11-21 16:01 UTC (permalink / raw)
  To: pve-devel

This is the severity used for forwarded mails, since we cannot
reasonably infer a priority here.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
 notifications.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notifications.adoc b/notifications.adoc
index 74447e5..8059953 100644
--- a/notifications.adoc
+++ b/notifications.adoc
@@ -228,7 +228,7 @@ A notification has a associated severity that can be matched.
 * `match-severity warning,error`: Match warnings and error
 
 The following severities are in use:
-`info`, `notice`, `warning`, `error`.
+`info`, `notice`, `warning`, `error`, `unknown`.
 
 
 Examples
-- 
2.39.2





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [pve-devel] [PATCH proxmox-widget-toolkit 2/2] notification ui: add 'unknown' to match-severity dropdown
  2023-11-21 16:01 [pve-devel] [PATCH docs/proxmox-widget-toolkit 0/2] notifications: document 'unknown' severity and add to GUI Lukas Wagner
  2023-11-21 16:01 ` [pve-devel] [PATCH pve-docs 1/2] notification: document 'unknown' severity Lukas Wagner
@ 2023-11-21 16:01 ` Lukas Wagner
  2023-11-21 19:52 ` [pve-devel] applied-series: [PATCH docs/proxmox-widget-toolkit 0/2] notifications: document 'unknown' severity and add to GUI Thomas Lamprecht
  2 siblings, 0 replies; 4+ messages in thread
From: Lukas Wagner @ 2023-11-21 16:01 UTC (permalink / raw)
  To: pve-devel

This is the severity used for forwarded mails, since we cannot
reasonably infer a priority here.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
 src/window/NotificationMatcherEdit.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/window/NotificationMatcherEdit.js b/src/window/NotificationMatcherEdit.js
index ee08c16..1e755dd 100644
--- a/src/window/NotificationMatcherEdit.js
+++ b/src/window/NotificationMatcherEdit.js
@@ -341,7 +341,7 @@ Ext.define('Proxmox.panel.NotificationRulesEditPanel', {
 		    switch (value) {
 			case 'match-severity':
 			    data = {
-				value: ['info', 'notice', 'warning', 'error'],
+				value: ['info', 'notice', 'warning', 'error', 'unknown'],
 			    };
 			    break;
 			case 'match-field':
@@ -1096,6 +1096,7 @@ Ext.define('Proxmox.panel.NotificationMatchRuleSettings', {
 		['notice', gettext('Notice')],
 		['warning', gettext('Warning')],
 		['error', gettext('Error')],
+		['unknown', gettext('Unknown')],
 	    ],
 	},
 	{
-- 
2.39.2





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [pve-devel] applied-series: [PATCH docs/proxmox-widget-toolkit 0/2] notifications: document 'unknown' severity and add to GUI
  2023-11-21 16:01 [pve-devel] [PATCH docs/proxmox-widget-toolkit 0/2] notifications: document 'unknown' severity and add to GUI Lukas Wagner
  2023-11-21 16:01 ` [pve-devel] [PATCH pve-docs 1/2] notification: document 'unknown' severity Lukas Wagner
  2023-11-21 16:01 ` [pve-devel] [PATCH proxmox-widget-toolkit 2/2] notification ui: add 'unknown' to match-severity dropdown Lukas Wagner
@ 2023-11-21 19:52 ` Thomas Lamprecht
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Lamprecht @ 2023-11-21 19:52 UTC (permalink / raw)
  To: Proxmox VE development discussion, Lukas Wagner

Am 21/11/2023 um 17:01 schrieb Lukas Wagner:
> This is the severity used for forwarded mails, since we cannot
> reasonably infer a priority here.
> 
> 
> 
> pve-docs:
> 
> Lukas Wagner (1):
>   notification: document 'unknown' severity
> 
>  notifications.adoc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> proxmox-widget-toolkit:
> 
> Lukas Wagner (1):
>   notification ui: add 'unknown' to match-severity dropdown
> 
>  src/window/NotificationMatcherEdit.js | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> 
> Summary over all repositories:
>   2 files changed, 3 insertions(+), 2 deletions(-)
> 


applied, thanks!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-21 19:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-21 16:01 [pve-devel] [PATCH docs/proxmox-widget-toolkit 0/2] notifications: document 'unknown' severity and add to GUI Lukas Wagner
2023-11-21 16:01 ` [pve-devel] [PATCH pve-docs 1/2] notification: document 'unknown' severity Lukas Wagner
2023-11-21 16:01 ` [pve-devel] [PATCH proxmox-widget-toolkit 2/2] notification ui: add 'unknown' to match-severity dropdown Lukas Wagner
2023-11-21 19:52 ` [pve-devel] applied-series: [PATCH docs/proxmox-widget-toolkit 0/2] notifications: document 'unknown' severity and add to GUI Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal