Commit Graph

61 Commits (91e8eb1def9c99f4d6916f433e31413eac3394c8)

Author SHA1 Message Date
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.
3 years ago
Jason Kulatunga af2523cfee setting GinMode to release by default. Users get confused otherwise.
3 years ago
Jason Kulatunga 1bd86f5abd [WIP] Delete button for devices.
3 years ago
Jason Kulatunga f844a435fd fix error message.
3 years ago
Jason Kulatunga 168ca802d1 add support for specifying scheme for influxdb endpoint url (http vs https).
3 years ago
Jason Kulatunga 381a6799cc updates for v0.4.0 release. Slight refactor/organization.
3 years ago
Jason Kulatunga 54178eaaf0
Merge branch 'master' into BASEPATH
3 years ago
Jason Kulatunga fabc629e40 handle case where WWN not detected for a device (print error messages, but skip device collection & uploading).
3 years ago
Jason Kulatunga 702c7cdf7a if running test iin github actions, use influxdb service for testing.
3 years ago
Jason Kulatunga 0a9d364aea adding duration key to smart attributes api endpoint
3 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
4 years ago
Andrea Spacca 48bc7cedf4 test cases
4 years ago
Andrea Spacca 9fc11b7140 BASEPATH
4 years ago
Andrea Spacca ea3fbc09f1 BASEPATH
4 years ago
Andrea Spacca 86145be2b1 BASEPATH
4 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
Jason Kulatunga ad3f8480d9 added some anonymized nvme test data to ensure that NVMe drives are correctly processed by new device detection. thanks @Roxedus.
4 years ago
Jason Kulatunga 24262f7c8c pass deviceType when running smartctl data collection (for megaraid type disks).
4 years ago
Jason Kulatunga 98415e625d fix import. added simle test for notify test endpoint.
4 years ago
Jason Kulatunga 78a619b09d moved middleware into more relevant location. Adding send test notifications handler. making sure that config is available from web handler functions.
4 years ago
Jason Kulatunga c913cf39b9 adding new nottification validation erorr. Added a notification class containing webhook, script and shoutrrr notification logic. Adding "Test notification endpoint".
4 years ago
Jason Kulatunga 62b2ec9554 (0.1.13) Automated packaging of release by Packagr
4 years ago
Jason Kulatunga 834dcdc223 update test db.
4 years ago
Jason Kulatunga c8471ffa88 (0.1.12) Automated packaging of release by Packagr
4 years ago
Jason Kulatunga fb1415f8a5 (0.1.11) Automated packaging of release by Packagr
4 years ago
Jason Kulatunga 022b6b6598 (0.1.10) Automated packaging of release by Packagr
4 years ago