Commit Graph

29 Commits

Author SHA1 Message Date
Jason Kulatunga 2214febbd1 simple rename. 2022-05-06 18:38:09 -07:00
Jason Kulatunga 786e7d04f2 make sure we print the overall device status in the details page. 2022-05-06 17:25:40 -07:00
Jason Kulatunga 0cee744c29 highlight last updated dates when more than 2 weeks or 1 month. 2022-05-06 17:02:56 -07:00
Jason Kulatunga 03bfdd3890 changing the duration dropdown for temp history data. adding an /api/summary/temp endpoint 2021-11-16 20:39:09 -08:00
Jason Kulatunga b776fb8886 tweaking retention policy code so we can test downsampling scripts. 2021-11-16 18:32:29 -08:00
Jason Kulatunga 5789c836db make sure the status is always exposed in the json data. make sure display_name for metadata is included. Update mocked test data for frontend. 2021-10-24 17:09:44 -07:00
Jason Kulatunga a60edfff26 fixing mocked data 2021-08-01 10:42:38 -07:00
Jason Kulatunga 694fc74ca0 fixing history. 2021-06-27 13:44:01 -07:00
Jason Kulatunga 8a46931399 !!!!WIP!!!!
adding InfluxDB

- influxdb added to dockerfile
- influxdb s6 service
- influxdb config
- adding defaults to config
- creating a DeviceRepo interface (multiple db backends)
- implemented DeviceRepo interface as ScruitnyRepository
2021-06-27 10:55:18 -07:00
Jason Kulatunga 712119cb5e fixing ui when visible on small screen.
tweak local contrib instructions.
Fixing javascript mediaquery breakpoint for small screen.
2021-04-25 23:22:29 -07:00
Telyn 9778809cba Change temperature graph to 24-hour formatting 2020-12-27 14:57:27 +00:00
Ricardo Gonzalez 13d3d9f64e Show Host ID 2020-10-18 00:11:30 +01:00
Jason Kulatunga 77971edf5f Merge pull request #103 from ryck/feature/improve-humanize-duration 2020-10-17 12:00:00 -06:00
Ricardo Gonzalez 78d0dd8f3b Use humanizeDuration directly in the template 2020-10-16 21:52:03 +01:00
Ricardo Gonzalez 96534c44b7 Improve humanizeHours 2020-10-11 17:45:10 +01:00
Ricardo Gonzalez 95ef254b8c Add timestamp to last updated. Fixes #87 2020-10-11 16:14:43 +01:00
Jason Kulatunga be378bd147 if attribute Id is unknown (and does not match anything in metadata) the frontend breaks. Added more robust frontend display code to handle this case.
fixes #53
2020-09-30 09:10:42 -06:00
Jason Kulatunga 67d1c592a5 include the device type in the title, if it's non-standard. 2020-09-20 17:37:43 -06:00
Jason Kulatunga e6eeaf7e31 adding mocked detail data for frontend viewing. placeholders for settings panels. Add dialog panel for Details setings. 2020-09-18 10:14:19 -06:00
Jason Kulatunga 5101a37964 adding device protocl and type to the. Adding class for parsing smartctl --scan json output, for device detection. added an example/test file for smartctl -x -j added a placeholder settings panel. moved dashboard & details compoonent out of "Admin" directory. 2020-09-18 10:14:19 -06:00
Jason Kulatunga 86fc10b7b9 added ideal and thresholds for NVMe and SCSI drives.
Added functions (PopulateAttributeStatus) to ensure that NVME and SCSI drives set the status for SMART attributes.
Moved Status populating fucntion into the *Attribute files, so they are closer to the code they actually interact with.
Fix frontend to correctly display status, thresh and Ideal for NVMe and SCSI ddrives.
2020-09-08 22:24:24 -07:00
Jason Kulatunga c7f529ab41 fixing grid. 2020-08-29 12:22:03 -07:00
Jason Kulatunga 50f1566689 fixing grid. 2020-08-29 11:53:44 -07:00
Jason Kulatunga e283d43654 rename metadata class names.
adding metadata for NVME and SCSI drives.
send back protocol specific metadata for displaying data in the UI for attributes.
UI - moved all metadata lookups into named functions (for better if/else logic)
show different columns if nvme or scsi.
2020-08-28 00:41:08 -07:00
Jason Kulatunga 2ad120c87b added debug logging message for detected devices.
adding a mocked class for Config.
Adding device type to Device struct. Will eventually be needed for raid drives.
adding End-to-end testing capabilties.
Added testdata json files for webserver requests.
Seperated Start code and Setup code in webapp so we can test.
renamed "smart_attributes" to "ata_attributes" - Backwards incomatible change.
Added front end device sorting (red, yellow, green)
show unknown icon/status if drive has no smart data yet.
Moved all attribute "getters" into the controller.
created a device-sort pipe.
2020-08-26 21:35:13 -07:00
Jason Kulatunga d636709aa1 Moved version file into webapp source tree. Replacing fmt with logger calls. moved Jobber config file into /scrutiny/jobber directory. Added scsi json file. Moved API rooute handlers into their own files in a module. Added not yet implemnented tooltips. 2020-08-21 18:06:00 -07:00
Jason Kulatunga c14f313fa1 check array length. 2020-08-21 00:22:56 -07:00
Jason Kulatunga 29b5b53189 added a empty landing page. 2020-08-20 21:18:02 -07:00
Jason Kulatunga 8482272d45 init 2020-08-19 16:04:21 -07:00