Project

General

Profile

« Previous | Next » 

Revision 33d9f9ee

Added by Lukas Zapletal over 8 years ago

Fixes #12718 - smart proxy log table

This patch adds a table with logs fetched from Smart Proxy /logs new API. It
returns latest N log entries from a simple memory buffer. The table supports
filtering by level, custom filtering and it introduces several overview
status cards with error/warning counts, failed modules list with latest
known error messages.

View differences:

app/helpers/puppetca_helper.rb
select_tag "Filter", options_for_select([[_('valid or pending'), _('valid')+'|'+_('pending')]] +
STATES.map{|s| _(s)} +
[[_('all'),'']]),
:class => "puppetca-filters"
:class => "datatable-filter", :id => "puppetca-filter"
end
def time_column(time, opts = {})

Also available in: Unified diff