Jason Kulatunga
3f272b36d4
adding setting to allow users to customize between binary vs SI/Metric units in UI.
...
fixes #330
2 years ago
Jason Kulatunga
ce2f990eb1
consolidate device status to string logic in DeviceStatusPipe.
...
Ensure device status takes into account new settings.
2 years ago
Jason Kulatunga
2e768fb491
adding tests. Make sure that device status depends on the configured threshold.
2 years ago
Jason Kulatunga
e41ee47371
filter attributes after notify
2 years ago
Jason Kulatunga
7a68a68e76
frontend, determine the device status by checking against the configured thresholds.
2 years ago
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.
2 years ago
Jason Kulatunga
7e672e8b8e
adding tests for config.MergeConfigMap functionality. (Set vs SetDefault).
...
Converted all settings keys to snakecase.
2 years ago
Jason Kulatunga
54e2cacb00
move frontend settings into the DB (for consistent settings handling).
...
Flattened settings object.
2 years ago
Jason Kulatunga
c0f1dfdb0b
fixing config mock.
2 years ago
Jason Kulatunga
29bc79996b
working settings update.
...
Settings are loaded from the DB and added to the AppConfig during startup.
When updating settings, they are stored in AppConfig, and written do the database.
2 years ago
Jason Kulatunga
99af2b8b16
WIP settings system.
...
- updated dbdiagrams schema
- [BREAKING] force failure if `notify.filter_attributes` or `notify.level` is set
- added Settings table (and default values during migration)
- Added Save Settings and Get Settings functions.
- Added web API endpoints for getting and saving settings.
- Deprecated old Notify* constants. Created new MetricsStatus* and MetricsNotifyLevel constants.
2 years ago
Jason Kulatunga
dd0c3e6fba
rename the migration model package name.
2 years ago
Jason Kulatunga
5b2746f389
initial settings table.
2 years ago
packagrio-bot
c34ee85e48
(v0.4.16) Automated packaging of release by Packagr
2 years ago
Jason Kulatunga
a01b8fe083
manually bump version.
2 years ago
Jason Kulatunga
c6579864b8
added instructions for how to create a Scope restricted InfluxDB API token for use with Scrutiny.
...
- fixes #249
2 years ago
Jason Kulatunga
5ea149d878
upgrading to go 1.18 for generics (and lodash-like library).
...
devices with an empty wwn should be filtered out (not uploaded during device registration, skipped when attempting to upload metrics).
added a migration to delete existing device entries with an empty `wwn`
fixes #314
2 years ago
Jason Kulatunga
0f0efac866
fix update, using raw flux script.
2 years ago
Jason Kulatunga
04563c0d0d
ensure we have the ability to keep influxdb tasks up-to-date.
2 years ago
Jason Kulatunga
9316eccabe
adding tests for tasks and aggregation queries (temp).
2 years ago
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.
2 years ago
Jason Kulatunga
0e2fec4e93
adding tests to frontend.
2 years ago
Jason Kulatunga
4419f7f429
remove zig. remove cgo dependency for sqlite (using pkg.go.dev/modernc.org/sqlite)
2 years ago
Jason Kulatunga
b4adf3d88d
cleanup before go generate (and multi-arch builds using zig).
3 years ago
packagrio-bot
eefdc548b2
(v0.4.14) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga
fbe7d63a24
trying to fix tests.
3 years ago
Jason Kulatunga
d718b0898b
trying to fix tests.
3 years ago
Jason Kulatunga
7babc280a0
ensure that users can filter their notifications by:
...
- failing attribute type (Critical vs All)
- failure reason (Smart, Scrutiny, Both)
fixes #300
3 years ago
Jason Kulatunga
46f3b1c02c
fix using linter.
3 years ago
packagrio-bot
145c819fc1
(v0.4.13) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga
ecf7a447a7
Disable Seek & Read error rate attribute analysis. Causes issues with Seagate Ironwolf drives.
...
Added documentation.
3 years ago
packagrio-bot
b953456d6b
(v0.4.12) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga
4057699cad
Merge pull request #296 from AnalogJ/beta
3 years ago
Jason Kulatunga
d3e7fc6067
make sure we dont create incorrect temp data.
3 years ago
Jason Kulatunga
09a8574d83
fixing tooltip theme.
3 years ago
Jason Kulatunga
7695cc185f
color the barchart data in the sparklines, so that we know when a failure/warning was detected (historically)
3 years ago
Jason Kulatunga
fc7208020e
remove status reason click for more details text.
3 years ago
Jason Kulatunga
75d5930835
correctly using the latest data for table.
3 years ago
Jason Kulatunga
3c9e16169e
correctly using the latest data for table.
3 years ago
Jason Kulatunga
9e1076f302
using constants for Attribute status values.
3 years ago
Jason Kulatunga
0b8251fce2
Merge pull request #295 from AnalogJ/expanding_row
3 years ago
Jason Kulatunga
f57b71ae96
updated tooltips in details page (click for more details).
3 years ago
packagrio-bot
281b56d287
(v0.4.11) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga
769f253e7d
fixing the table header for failures.
3 years ago
Jason Kulatunga
fbd5bb57ac
update descriptions for SCSI attributes.
3 years ago
Jason Kulatunga
b9eb5687cd
working on expanding row content.
3 years ago
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
3 years ago
packagrio-bot
de5f2c3324
(v0.4.10) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga
1da07caaa6
fix background color for details page history tooltip.
...
fixes #283
3 years ago
Jason Kulatunga
7287775cca
trying to fix webUI.
3 years ago
Jason Kulatunga
28ac3ac7ec
fix settings persistence.
3 years ago
packagrio-bot
a6208c0d49
(v0.4.9) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga
2ca44c967e
simplify darkmode ui toggle.
3 years ago
Jason Kulatunga
4b767421f3
change highlight color for dark mode.
3 years ago
Jason Kulatunga
df23ecdf33
fix typing for attribute status enum stored in database.
3 years ago
Jason Kulatunga
f4f5d16b4a
rename variable to themeUseSystem from darkModeUseSystem.
3 years ago
Jason Kulatunga
9e0ba4d269
Merge branch 'beta' into dark-mode
3 years ago
Jason Kulatunga
d9ecf6c0d3
make sure defaults are available if missing from localStorage
...
fixes #277
3 years ago
Michael Shamoon
8051ad4dde
Tweak / fix some dark mode colors
...
Update styles.scss
3 years ago
Michael Shamoon
165f98dc09
Add settings UI for dark mode
3 years ago
Jason Kulatunga
6e02e4da02
fixing func def.
3 years ago
Jason Kulatunga
9c8498cea7
disable and re-enable bitwise operations
3 years ago
Jason Kulatunga
9aa0e97be0
display the device UUID and device Label in the details page.
...
fixes #265
3 years ago
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.
3 years ago
Jason Kulatunga
2533d8d34f
using Constants for git release/debug modes.
3 years ago
Jason Kulatunga
af2523cfee
setting GinMode to release by default. Users get confused otherwise.
3 years ago
packagrio-bot
d78957353d
(v0.4.8) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga
4aa1485246
using device title pipe to consistently set the device name based on configuration setting.
...
adding device status pipe to set the device status in a more readable way.
3 years ago
Jason Kulatunga
e1e1d321dd
fix git.version.sh script.
3 years ago
Jason Kulatunga
3971b37abc
attempting to fix docker image build by generating frontend version information before docker build.
3 years ago
Jason Kulatunga
cf1bd3ea6b
trying to fix docker build, so it includes git sha info.
3 years ago
Jason Kulatunga
c7c55ab95c
trying to fix docker build, so it includes git sha info.
3 years ago
Jason Kulatunga
d93d24b52d
using npm run commands for building angular application (supports `pre` steps).
...
Automatically embed the application version in the UI.
3 years ago
Jason Kulatunga
b6e69021b2
ensure that the base href is set, as it's required when reloading subpages.
...
fixes #264
3 years ago
Jason Kulatunga
e95b44c690
make sure we use a reasonable number of decimal points for converted temps.
3 years ago
Jason Kulatunga
4ee947d55c
trying to fix compilation/typing issues.
3 years ago
Jason Kulatunga
21212c0a1d
add setting to change temperature between C and F.
...
fixes #175
3 years ago
Jason Kulatunga
d1376a2200
serve all fonts locally
...
fixes #125
3 years ago
Jason Kulatunga
7d2daf4f6a
add ability to sort devices by age (powered-on-hours)
...
fixes #100
3 years ago
Jason Kulatunga
da4562d308
fixed UI issues related to deleting (component is now correctly removed from the dashboard device list).
...
fixes #69
3 years ago
Jason Kulatunga
f51de52ff7
hide device dashboard component if deletion finishes successfully.
3 years ago
Jason Kulatunga
987632df39
working deletion code.
3 years ago
Jason Kulatunga
28a3c3e53f
[WIP] Delete button for devices.
3 years ago
Jason Kulatunga
1bd86f5abd
[WIP] Delete button for devices.
3 years ago
packagrio-bot
0f935ceb48
(v0.4.7) Automated packaging of release by Packagr
3 years ago
Jason Kulatunga
f844a435fd
fix error message.
3 years ago
Jason Kulatunga
3a970e7a27
Merge pull request #262 from AnalogJ/beta
...
pre-v0.4.7 release
3 years ago
Jason Kulatunga
307c2bcdef
fix error message.
...
Simpler GormMigrateOptions.
3 years ago
Jason Kulatunga
d08a1e3ef6
ignore retention policy errors during migration.
...
- fixes #256
3 years ago
Jason Kulatunga
2292041f9f
never drop tables.
3 years ago
Jason Kulatunga
75e4bf1d6e
added a helpful comment that the database migration might take a looong time.
3 years ago
Jason Kulatunga
97add04276
make sure the migration step runs with transactions, so that we can debug easier.
...
- related #256
3 years ago
Jason Kulatunga
1423f55d78
remove Power Cycle Count failure attribute for ATA drives. Unrealistic for consumer users (BackBlaze data is datacenter focused).
...
- fixed #31
3 years ago
Jason Kulatunga
46d0b70399
disable NVMe Scrutiny failures for "Numb Error Log Entries" attribute. More analysis needed for NVMe drives & their critical attributes.
...
- fixes #187
- fixes #247
3 years ago
Jason Kulatunga
168ca802d1
add support for specifying scheme for influxdb endpoint url (http vs https).
...
fixes #258
3 years ago
Jason Kulatunga
8c07e91f39
grey out and mark thresholds as not yet implemented.
3 years ago
Jason Kulatunga
7979950c3b
fixing device sort and display title.
...
fixes #194
3 years ago
Jason Kulatunga
9846ba13e0
adding support for device sort in UI.
3 years ago
Jason Kulatunga
83839f7faf
adding group by hostId support in dashboard.
...
fixes #151
3 years ago
Jason Kulatunga
85fa3b1f8f
moved device summary info panel into isolated component.
3 years ago