[checkmk-commits] Check_MK Git: check_mk: #2175 Added icon uploader, unified icon selection

Lars Michelsen lm at mathias-kettner.de
Mon Apr 13 11:03:56 CEST 2015


Module: check_mk
Branch: master
Commit: 3602522c75d6f377f75b2e089b1b652c11d82732
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3602522c75d6f377f75b2e089b1b652c11d82732

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Mon Apr 13 11:03:40 2015 +0200

#2175 Added icon uploader, unified icon selection

Check_MK makes use of icons in views and dashboards, but it is also possible
to add a custom icon to hosts or services for e.g. showing up the type of
the device in a graphical way. This version also adds the option to register
custom icons and actions to host and services.

This change unifies the handling of icons used in such places. We implemented
an icon selector which is used everywhere were you can select an icon. This
icon selector groups the icons together in categories for more comfortable
selection.

We added an icon upload mechanism which gives you the option to manage your
custom icons using WATO. You can find it in the top level navigation of WATO.

All icons are now loaded from a fixed location, in OMD environments this
is <tt>share/check_mk/web/htdocs/images/icons</tt> for the icons distributed
by us and <tt>local/share/check_mk/web/htdocs/images/icons</tt> for your
custom icons.

Implementation detail: The category of an icon is saved directly in the icon
image. It is stored in the PNG comment metadata.

---

 .werks/2175 |   28 ++++++++++++++++++++++++++++
 ChangeLog   |    1 +
 2 files changed, 29 insertions(+)

diff --git a/.werks/2175 b/.werks/2175
new file mode 100644
index 0000000..2a65ee6
--- /dev/null
+++ b/.werks/2175
@@ -0,0 +1,28 @@
+Title: Added icon uploader, unified icon selection
+Level: 2
+Component: multisite
+Compatible: compat
+Version: 1.2.7i1
+Date: 1428915320
+Class: feature
+
+Check_MK makes use of icons in views and dashboards, but it is also possible
+to add a custom icon to hosts or services for e.g. showing up the type of
+the device in a graphical way. This version also adds the option to register
+custom icons and actions to host and services.
+
+This change unifies the handling of icons used in such places. We implemented
+an icon selector which is used everywhere were you can select an icon. This
+icon selector groups the icons together in categories for more comfortable
+selection.
+
+We added an icon upload mechanism which gives you the option to manage your
+custom icons using WATO. You can find it in the top level navigation of WATO.
+
+All icons are now loaded from a fixed location, in OMD environments this
+is <tt>share/check_mk/web/htdocs/images/icons</tt> for the icons distributed
+by us and <tt>local/share/check_mk/web/htdocs/images/icons</tt> for your
+custom icons.
+
+Implementation detail: The category of an icon is saved directly in the icon
+image. It is stored in the PNG comment metadata.
diff --git a/ChangeLog b/ChangeLog
index 67c6bdc..f24b418 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -331,6 +331,7 @@
     * 2140 Remove PNP Timeranges from range selection, put these ranges directly into the list...
     * 2166 LDAP: Multiple LDAP groups can be configured for assigning single roles to users...
     * 2174 Added action popup to host & service views, supporting custom actions now...
+    * 2175 Added icon uploader, unified icon selection...
     * 1781 FIX: Fix broken grouping by host/service group in availability
     * 1783 FIX: Finish the view "History of Scheduled Downtimes"...
     * 1206 FIX: Hostname not longer shown as column in host views



More information about the checkmk-commits mailing list