1470 Commits

Author SHA1 Message Date
raviks789
91ad755759 Remove redundant gravatar in contact detail
The gravatar for contacts was never correctly rendered in the detailed page. Hence it will be
completely removed.
2023-09-07 13:38:02 +02:00
raviks789
33a5f765b9 Use style element to create css class for dynamic inline style
The `style` element with `nonce` attribute is used to create css classes for
inline styles that are not static. This prevents Content-Security-Policy violations.
2023-08-28 16:40:33 +02:00
raviks789
459f4198c3 Replace static inline styles with css class
The static inline styles are replaced with css class to avoid Content-Security-Policy violations.
2023-08-28 16:30:12 +02:00
Johannes Meyer
e542982de0 Fix some reflected XSS bugs
fixes #4979
2023-01-12 09:55:57 +01:00
Sukhwinder Dhillon
762630c027 event-history.phtml: Don't sort events by time
Sort only by day and date
2022-10-10 09:59:26 +02:00
Alexander Aleksandrovič Klimov
ad827395af Unveil hidden downtime in checkable detail view
Case: there are no comments, one downtime and you may not schedule additional ones.

Before: downtime is not shown in checkable detail view.

After: downtime is shown in checkable detail view.
2022-10-04 16:04:55 +02:00
Johannes Meyer
e3a9b56423 eventgrid: Avoid passing null to string type functions 2022-06-30 08:40:28 +02:00
Dirk Goetz
d5d714b1ee Fix gravatar: set content-type header and size
Fixes #2254
2022-06-15 09:03:12 +02:00
Johannes Meyer
1717afbe39 event-history.phtml: Use Intl to localize dates
instead of `strftime`, which is deprecated
2022-03-24 12:29:06 +01:00
Johannes Meyer
f72837676c monitoring: Drop controller AlertsummaryController 2022-03-24 12:27:20 +01:00
Johannes Meyer
6802abc2c7 quick-actions.phtml: Set explicit ids instead of overriding the name..
..to avoid duplicate ids

fixes #4711
2022-03-24 10:21:07 +01:00
Johannes Meyer
a48bd84fb4 monitoring: Drop obsolete view script show/components/customvars.phtml 2022-03-02 10:41:23 +01:00
Johannes Meyer
83e8b3b8e8 detail-content: Use widget CustomVarTable to render custom vars 2022-03-02 10:40:57 +01:00
Johannes Meyer
6d744e585f monitoring/list/services: Enhance PDF layout 2022-03-01 17:04:38 +01:00
Johannes Meyer
159ca2ce3f monitoring/list/servicegroups: Enhance PDF layout 2022-03-01 17:04:38 +01:00
Johannes Meyer
861f166798 monitoring/list/hosts: Enhance PDF layout 2022-03-01 17:04:38 +01:00
Johannes Meyer
4da687ae27 monitoring/list/hostgroups: Enhance PDF layout 2022-03-01 17:04:38 +01:00
Johannes Meyer
d5fbae7b28 monitoring/list/downtimes: Enhance PDF layout 2022-03-01 17:04:38 +01:00
Johannes Meyer
122d52c953 monitoring/list/contacts: Enhance PDF layout 2022-03-01 17:04:38 +01:00
Johannes Meyer
298f2a3061 monitoring/list/comments: Enhance PDF layout 2022-03-01 17:04:38 +01:00
Johannes Meyer
796742f03d monitoring/list/hosts: Don't show unhandled service counts
It has too much problems. It wasn't even visible since the
initial release, at least not if there were many results.
It being visible was more a case of chance than guarantee.
We now also identified a major issue with restrictions and
the way we can assemble queries here. In short, there are
too much technical difficulties that we deemed it not
worthwhile to keep.
2022-02-25 17:09:13 +01:00
Johannes Meyer
28a8771a37 components/comments.phtml: Use base target _next only for comment links 2022-02-07 14:47:03 +01:00
Johannes Meyer
4f501a89f5 monitoring: Avoid duplicate ids for check now and remove ack forms 2022-02-04 17:21:41 +01:00
Johannes Meyer
6b4f4d388a monitoring: Really show custom variable names as-is 2022-02-04 15:56:44 +01:00
Ravi Kumar Kempapura Srinivasa
be3a722a28 Compress comment detail in Hosts detail and Comments list. 2021-10-07 10:44:10 +02:00
Johannes Meyer
e035f5b9f2 monitoring/list/services: Protect custom variables added with ?addColumns 2021-07-12 09:42:03 +02:00
Johannes Meyer
c953e4f92d monitoring/list/hosts: Protect custom variables added with ?addColumns 2021-07-12 09:42:03 +02:00
Florian Strohmaier
ac1a364682 Contact: Fix th styles 2021-06-23 07:39:55 +02:00
Alexander A. Klimov
6af1e5d43b Monitoring: add expire option for comments
refs #3447
2020-11-30 17:24:57 +01:00
Eric Lippmann
d42c912ea4 Use ticket hook in downtime details 2020-09-30 09:32:18 +02:00
Eric Lippmann
5243160d5d Add Comment to comment details and use ticket hook 2020-09-30 09:32:18 +02:00
Alexander A. Klimov
361fc27922 /monitoring/tactical: don't show negative amounts of monitored objects
refs #4174
2020-06-18 08:52:53 +02:00
Johannes Meyer
a240e306ed Preserve/Remove param showCompact instead of view 2020-06-04 08:50:41 +02:00
Johannes Meyer
87e676e1fb customvars.phtml: Show a customvar name as-is
Don't uppercase first, exchange `_` for spaces and lower everything else

resolves #3987
2020-05-13 14:56:58 +02:00
Feu Mourek
d7a8765fc9 Add appropriate aria labels to tactical overview 2020-04-09 08:36:29 +02:00
Valentina Da Rold
48fb288206 Add EventDetailsExtensionHook and include it into EventController 2020-01-13 09:33:24 +01:00
Johannes Meyer
d79feca63f
Merge pull request #3969 from WuerthPhoenix/custom-tab-hook
Add custom tab hook
2019-12-12 15:55:25 +01:00
Florian Strohmaier
098898eca6 Services/Hosts: Remove status-bar-ghost 2019-12-06 15:36:34 +01:00
Johannes Meyer
bb7f1cd24b monitoring: Apply permission no-monitoring/contacts where applicable 2019-12-05 08:50:51 +01:00
Johannes Meyer
cbc12ab31e event-history.phtml: Don't use hasResult() to check if there are results
28ec1e236 has no result on history views as they never count their results.
So restructuring this particular view script I deemed reasonable since the
history queries tend to show very poor performance.

refs #3905
refs #3836
2019-10-11 10:27:43 +02:00
Johannes Meyer
8ec0c40f21 monitoring: Fix missing load more link when there's a single row 2019-10-08 13:36:35 +02:00
Gianluca Piccolo
1e2bd37ae8 Add custom tab hook 2019-10-02 13:42:42 +02:00
Johannes Meyer
c3603c991d downtimes/comments: Don't mark service urls with .rowaction
fixes #3920
2019-09-09 12:28:49 +02:00
Johannes Meyer
de0a46aaaf list/servicegrid: Also show problem toggle if the grid is flipped
fixes #3906
2019-08-12 10:43:03 +02:00
Eric Lippmann
bee5099a08 Fix show all services links in the servicegroup overview
Before, the forced servicegroup_name paramemter may interfere with an
existing servicegroup_name filter.
2019-07-30 09:17:25 +02:00
Eric Lippmann
cc94c12e55 Fix show all hosts/services links in the hostgroup overview
Before, the forced hostgroup_name paramemter may interfere with an
existing hostgroup_name filter.
2019-07-30 09:17:25 +02:00
Johannes Meyer
ea3a541017
Merge pull request #3801 from Icinga/feature/improve-host-service-distinction-in-lists-3615
Improve host-service distinction in lists
2019-07-30 08:55:03 +02:00
Johannes Meyer
d13cade0f3
Merge pull request #3871 from Icinga/feature/add-servicegrid-problem-toggle-3793
Servicegrid: Add toggle to show problems only or everything
2019-07-30 08:26:46 +02:00
Eric Lippmann
11097fe75b Make host and service names bold in their detail headers 2019-07-29 14:03:40 +02:00
Eric Lippmann
dc3147c652 Improve host-service distinction for events 2019-07-29 14:03:40 +02:00