aboutsummaryrefslogtreecommitdiff
path: root/cmd/monfront/main.go
AgeCommit message (Collapse)AuthorFilesLines
2019-01-24monfront - add select allGibheer1-22/+46
This commit adds a select all function to select all rows of a list to mark them all. This could be used to send a refresh to all these checks or acknowledge them or whatever. Also the referrer handling in checkAction() was moved to the start so that even with an error the same thing happens.
2019-01-24monfront - fix check id variable nameGibheer1-1/+1
The field name was wrong and therefore actions weren't completed and the redirect was wrong.
2019-01-24monfront - firefox has no event.pathGibheer1-6/+12
Because Firefox has no attribute path for an event to represent the element chain of the target, we need to iterate through the parents.
2019-01-24monfront - add highlight to selected rowsGibheer1-0/+7
The selected rows are now properly highlighted. See #7 for more information.
2019-01-24monfront - add line selectGibheer1-3/+20
As in #7 requested, it is now possible to select a row by clicking on the row itself. This should make it much easier to select a larger number of rows.
2019-01-24monfront - link to node checks from check detail0.1Gibheer1-1/+1
This way it is possible to jump between a node and its checks.
2019-01-24monfront - fix refererGibheer1-1/+2
Somewhen in the last couple years, something called a referer policy was introduced. This avoided the correct relocation after any action was sent. Now with the fix, the redirect properly works.
2019-01-11monfront - add notifications to check detailsGibheer1-9/+56
This adds the first basic listing of notifications to the check details. No idea how many of them should be listed here, but having the list at all for a start should be okay.
2019-01-11monfront - remove showNode and showGroupGibheer1-10/+0
There is just no information that could possibily be shown there, that isn't already shown somewhere else.
2019-01-11monfront - send an okay notification when check is acknowledgedGibheer1-0/+20
When a check is acknowledged, no more further notifications should be sent. But for the notified system, it should be made clean, that it is taken care of and no further actions need to be done, therefore send an okay, even when the check isn't okay.
2019-01-10monfront - fix group orderGibheer1-8/+9
The adding of the order by clause happend in the wrong position and therefore made the resultset unuseable.
2019-01-10monfront - sort result listGibheer1-1/+11
The result list should be ordered for the state when unhandled entries should be returned. Else it is getting weird to figure out, which issue is the most important to fix.
2019-01-10monfront - add hover background colorGibheer1-0/+1
With some monitors, the view may be too wide to make out, which line belongs to what. For that purpose, add a background color when the mouse is hovering over a line.
2019-01-10monfront - add css to make check detail view nicerGibheer1-8/+7
Now all the fields are shown in a column like view, which makes viewing them much nicer to the eye.
2019-01-09monfront - add check detail viewGibheer1-46/+220
This adds a detail view for a single check. The purpose is to view notifications for this check alone and get the context information on the node it belongs to, the command and settings.
2019-01-03monfront - fix actions on checksGibheer1-9/+18
This is related to #6. The muting, enable and disable were not working properly, because the date was not set when the check was updated. With this comes also the first icon to represent the muted status.
2019-01-03monfront - add some cleanup and searchGibheer1-13/+67
Monfront now has a basic search functionality for nodes. It also got some nicer design to make it more useable.
2019-01-02monfront - show groupsGibheer1-64/+138
This is the first step to view the group status. The templates were split into multipe parts, to make reuse easier.
2018-12-14monfront - fix mute optionsGibheer1-3/+5
After the notifications were extracted the mute option didn't work anymore. With this fix, they are back to working.
2018-12-12monfront - remove notify flagGibheer1-4/+3
This will be replaced with a different system in the long term.
2018-12-11monfront - add missing column to unhandled checksGibheer1-1/+1
The unhandled checks didn't contain the mapping id, which caused an error at scan time.
2018-12-11monfront - add a timeout with reloadGibheer1-0/+3
This finally adds a reload to the frontend, so that one hasn't to reload manually all the time.
2018-12-11add level mappingsGibheer1-18/+78
This allows to map the command exit codes to any other output level which can then be reported by the notification plugin. With the provided colors, the frontend will show them accordingly.
2018-12-10monfront - make fake groups in frontendGibheer1-2/+8
It would have been nice to use rowgrouping for the node name, but somehow it wasn't easy to get the rowcount. So this should do for now.
2018-11-29monfront - add initial work for unhandled linksGibheer1-10/+93
This will return the unhandled groups/checks/whatever but is still work in progress.
2018-11-20monfront - add initial versionGibheer1-0/+254
This version can already show the list of checks, their last state and add ways to manipulate the check or active check.