Closed (fixed)
Project:
Monitoring
Version:
8.x-1.x-dev
Component:
Sensors
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2015 at 11:16 UTC
Updated:
2 Nov 2015 at 15:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
giancarlosotelo commentedHere is the first patch, note that it depends on #2577187: Check if authenticated or anonymous users have privileged access which is not yet committed but its fixed :P so patch is not going to apply
Screenshot attached. Which fields should I consider? then I will start working on tests.
Comment #4
giancarlosotelo commentedComment #5
miro_dietikerLooks pretty good.
I would prefer to have the preparation code and the output of the table beside each other: so first the changes (loop + output) and then the users (loop + output).
And yeah, we need tests. :-)
Comment #6
giancarlosotelo commentedChanged the code and added test for the second table.
Image attached with new fields on the table.
Comment #7
miro_dietikerI did some reordering of things and streamlined code and structure of output.

Splitted even the change table and changed column definitions.
There were some minor bugs such as you outputted created date for changed date, ...
Tests will not pass, please fix / rework them accordingly.
Comment #9
giancarlosotelo commentedFixed on test.
Comment #10
miro_dietikerPatch doesn't apply anymore... :-)
Comment #11
giancarlosotelo commentedI made a rebase, hope tests still pass.
Comment #13
giancarlosotelo commentedOk this is it.
Comment #14
miro_dietikerThx! Committed. :-)