Commit Graph

71 Commits (cb5226f6e401e1e7bc3dcb0de098782852a86993)

Author SHA1 Message Date
Saswat Padhi cb5226f6e4
Update backend tests failing on insecure_skip_verify
1 year ago
Jason Kulatunga f2856e0f26 adding a healthcheck endpoint that confirms communication with influxdb and sqlite.
1 year ago
Jason Kulatunga 26b221532e fix tests.
2 years ago
Jason Kulatunga f823127825 simplify logger creation (move logic into a function in `main` packages)
2 years ago
Jason Kulatunga 94594db20a on settings save, return the new settings.
2 years ago
Jason Kulatunga 7e672e8b8e adding tests for config.MergeConfigMap functionality. (Set vs SetDefault).
2 years ago
Jason Kulatunga 54e2cacb00 move frontend settings into the DB (for consistent settings handling).
2 years ago
Jason Kulatunga c0f1dfdb0b fixing config mock.
2 years ago
Jason Kulatunga 29bc79996b working settings update.
2 years ago
Jason Kulatunga 99af2b8b16 WIP settings system.
2 years ago
Jason Kulatunga 5ea149d878 upgrading to go 1.18 for generics (and lodash-like library).
2 years ago
Jason Kulatunga b71d6660a6 adding typescript interfaces for type hinting and testing
2 years ago
Jason Kulatunga fbe7d63a24 trying to fix tests.
2 years ago
Jason Kulatunga d718b0898b trying to fix tests.
2 years ago
Jason Kulatunga 7babc280a0 ensure that users can filter their notifications by:
2 years ago
Jason Kulatunga 2533d8d34f using Constants for git release/debug modes.
2 years ago
Jason Kulatunga af2523cfee setting GinMode to release by default. Users get confused otherwise.
2 years ago
Jason Kulatunga 1bd86f5abd [WIP] Delete button for devices.
2 years ago
Jason Kulatunga f844a435fd fix error message.
2 years ago
Jason Kulatunga 168ca802d1 add support for specifying scheme for influxdb endpoint url (http vs https).
2 years ago
Jason Kulatunga 381a6799cc updates for v0.4.0 release. Slight refactor/organization.
2 years ago
Jason Kulatunga 54178eaaf0
Merge branch 'master' into BASEPATH
2 years ago
Jason Kulatunga fabc629e40 handle case where WWN not detected for a device (print error messages, but skip device collection & uploading).
2 years ago
Jason Kulatunga 702c7cdf7a if running test iin github actions, use influxdb service for testing.
2 years ago
Jason Kulatunga 0a9d364aea adding duration key to smart attributes api endpoint
2 years ago
Jason Kulatunga 0872da57d7 fixes for tests.
3 years ago
Jason Kulatunga 03bfdd3890 changing the duration dropdown for temp history data. adding an /api/summary/temp endpoint
3 years ago
Jason Kulatunga ce032c5609 fixes for Scrutiny end-to-end testing.
3 years ago
Jason Kulatunga 7b7b4fe4e3 fixing test.
3 years ago
Jason Kulatunga 80f4660130 validate thresholds whenever SMART data is recieved.
3 years ago
Jason Kulatunga 8a46931399 !!!!WIP!!!!
3 years ago
Andrea Spacca a7c8c75a49 fix new test
3 years ago
Andrea Spacca 48bc7cedf4 test cases
3 years ago
Andrea Spacca 9fc11b7140 BASEPATH
3 years ago
Andrea Spacca ea3fbc09f1 BASEPATH
3 years ago
Andrea Spacca 86145be2b1 BASEPATH
3 years ago
Jason Kulatunga 93cf676818 added a "Success" test for script notifications.
4 years ago
Jason Kulatunga bf07077154 fail if the parent directory for database does not exist.
4 years ago
Jason Kulatunga f27883ea4c remove requestcatcher live test.
4 years ago
Jason Kulatunga 9fac3c6308 fix gorm dependency.
4 years ago
Jason Kulatunga 1cd5ebaa43 missing device type update.
4 years ago
Jason Kulatunga b44ef5cb9c adding support for a collecto config file.
4 years ago
Jason Kulatunga a3438297e6 removeedd waitgroup, using sync/errgroup instead (to pass error messages back). returning errors in test notifications endpoint payload. Adding failure tests for webhooks, scripts & shoutrr.
4 years ago
Jason Kulatunga d339e967a6 fixing notifications.
4 years ago
Jason Kulatunga 6377a258f6 sending notifications on failure.
4 years ago
Jason Kulatunga 6a20228262 adding error handling for all DB calls. Returning StatusInternalServerError whenever an error occurs. Adding additional logging to server handlers.
4 years ago
Jason Kulatunga 5127399e94 conditionally log request body.
4 years ago
Jason Kulatunga 8a975e2164 log request body.
4 years ago
Jason Kulatunga 1c59b3c245 fix tests.
4 years ago
Jason Kulatunga a57120d600 adding new environmental variables for added debugging: COLLECTOR_LOG_FILE, COLLECTOR_DEBUG, DEBUG, SCRUTINY_LOG_FILE, SCRUTINY_DEBUG
4 years ago