adripo
e9cf8a9180
fix: igeneric types
2022-11-12 22:27:07 +01:00
Jason Kulatunga
2d6f60abaa
attrHistory needs to be reversed, so the newest data is on the right
...
fixes #339
2022-08-03 18:23:58 -07:00
Jason Kulatunga
ce2f990eb1
consolidate device status to string logic in DeviceStatusPipe.
...
Ensure device status takes into account new settings.
2022-07-29 07:11:57 -07:00
Jason Kulatunga
94594db20a
on settings save, return the new settings.
...
update the frontend to persist settings to the database.
Using ScrutinyConfigService instead of TreoConfigService.
Using snake case settings in frontend.
Make sure we're using AppConfig type where possible.
2022-07-23 14:36:32 -07:00
Jason Kulatunga
b71d6660a6
adding typescript interfaces for type hinting and testing
...
some code reformatting
adding tests for services and components.
cleanup of unused dependencies in components.
refactor dashboard service so that wrapper is removed before data is passed to component. (no more this.data.data...).
refactored components so that variable names are consistent (dashboardService vs smartService).
ensure argument and return types are specified everywhere.
adding tests for pipes.
adding ng test to ci steps.
change dir before running npm install.
trying to install nodejs in continer.
test frontend separately.
upload coverage for frontend and backend.
upload coverage for frontend and backend.
testing coverage file locations.
retry file upload.
2022-07-08 22:21:06 -07:00
Jason Kulatunga
46f3b1c02c
fix using linter.
2022-06-14 22:21:00 -07:00
Jason Kulatunga
09a8574d83
fixing tooltip theme.
2022-06-11 15:21:20 -07:00
Jason Kulatunga
7695cc185f
color the barchart data in the sparklines, so that we know when a failure/warning was detected (historically)
2022-06-11 14:43:34 -07:00
Jason Kulatunga
75d5930835
correctly using the latest data for table.
2022-06-11 11:00:00 -07:00
Jason Kulatunga
3c9e16169e
correctly using the latest data for table.
2022-06-11 09:28:37 -07:00
Jason Kulatunga
9e1076f302
using constants for Attribute status values.
2022-06-11 09:17:35 -07:00
Jason Kulatunga
b9eb5687cd
working on expanding row content.
2022-06-09 22:13:44 -07:00
Jason Kulatunga
cbd230a7e0
wip expanding row for more details for attributes.
...
see https://stackblitz.com/angular/eaajjobynjkl?file=src%2Fapp%2Ftable-expandable-rows-example.html
see https://material.angular.io/components/table/examples#table-expandable-rows
2022-06-09 19:39:46 -07:00
Jason Kulatunga
6e02e4da02
fixing func def.
2022-06-02 12:21:54 -07:00
Jason Kulatunga
9c8498cea7
disable and re-enable bitwise operations
2022-06-02 12:20:50 -07:00
Jason Kulatunga
488fcfc820
added AttributeStatus bit flag
...
ensure DeviceStatus is a valid bit flag.
[docs] added running tests section to contribution guide.
make sure UI correctly treats scrutiny failures as failed.
2022-05-31 13:31:34 -07:00
Jason Kulatunga
21212c0a1d
add setting to change temperature between C and F.
...
fixes #175
2022-05-26 13:04:15 -07:00
Jason Kulatunga
e7801619cd
added additional tests from #187 .
...
Detected that the frontend was incorrectly classifying Scrutiny Failures as Warnings.
Fixed.
2022-05-12 10:04:06 -07: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
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
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
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
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