Skip to content

v0.5.0

Compare
Choose a tag to compare
@AnalogJ AnalogJ released this 04 Aug 15:27
  • [feat] ⚠️ ⚠️ BREAKING ⚠️ ⚠️ - moving settings to the database.
    • [doc] updated dbdiagrams schema
    • added Settings table (and default values during migration)
    • Added Save Settings and Get Settings functions.
    • Added web API endpoints for getting and saving settings.
    • Frontend 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.
  • [feat] ⚠️ ⚠️ BREAKING ⚠️ ⚠️ force failure during startup if notify.filter_attributes or notify.level is set in config file (must now be set via Settings)
    • Deprecated old Notify* constants. Created new MetricsStatus* and MetricsNotifyLevel constants.
  • [feat] ⚠️ ⚠️ BREAKING ⚠️ ⚠️ Device status is now configurable (analysis based on: Scrutiny, Smart or Both)
    • fixes #275
    • device status analysis is configurable as a dashboard setting
    • selected device status analysis applies to the frontend dashboard as well as notifications.
  • [feat] adding setting to allow users to customize between binary vs SI/Metric units in UI.
  • [feat] ensure that device host id is provided in notifications (if available).
  • [bug] details page, attr history needs to be reversed, so the newest data is on the right
  • [bug] fix the WORKDIR for collector image.
  • [bug] fix SQLITE_BUSY error caused by changing SQLITE driver
    • adding a busy_timeout value, which tells the driver to retry until timeout is reached (30 seconds)
    • fixes #341
    • fixes #220
    • fixes #347
  • [doc] update support table in README.
    • freebsd binaries for collector and web working
    • macos binaries for arm and amd.
  • [doc] add support for udev on Alpine linux
  • [doc] fix inaccuracies in INSTALL_SYNOLOGY_COLLECTOR.md
  • [doc] added an explanation for why influxdb is required to the TROUBLESHOOTING_INFLUXDB.md guide
Timestamp SHA Message Author
2022-08-04T15:11Z f1e5bd3 (v0.5.0) Automated packaging of release by Packagr packagrio-bot
2022-08-04T15:07Z d8d56f7 Merge pull request #352 from AnalogJ/beta Jason Kulatunga
2022-08-04T14:56Z 26b2215 fix tests. Jason Kulatunga
2022-08-04T14:30Z 15d3206 remove settings dialog from Details page. Jason Kulatunga
2022-08-04T06:12Z 59e2e92 remove the notify.level and notify.filter_attributes values from the example.scrutiny.yaml, since they are no longer allowed. Jason Kulatunga
2022-08-04T05:59Z 51f59e4 docs, added an explanation for why influxdb is required. Jason Kulatunga
2022-08-04T05:51Z f823127 simplify logger creation (move logic into a function in main packages) Ensure logger creation is consistent between Web and Collector Create logger in main, pass down to downstream functions (like gin) In debug mode, print a copy of AppConfig Better debugging for logger. Jason Kulatunga
2022-08-04T03:55Z d41d535 make sure that the device host id is provided in notifications (if available). fixes #337 Jason Kulatunga
2022-08-04T01:38Z 9a4a8de make sure the settings dialog width is 600px for readability. Jason Kulatunga
2022-08-04T01:23Z 2d6f60a attrHistory needs to be reversed, so the newest data is on the right fixes #339 Jason Kulatunga
2022-08-03T05:15Z d201f79 Merge pull request #351 from AnalogJ/app_db_settings Jason Kulatunga
2022-08-03T05:14Z a1b0108 Added PRAGMA settings support when connecting to SQLITE db. When a transaction cannot lock the database, because it is already locked by another one, SQLite by default throws an error: database is locked. This behavior is usually not appropriate when concurrent access is needed, typically when multiple processes write to the same database. PRAGMA busy_timeout lets you set a timeout or a handler for these events. When setting a timeout, SQLite will try the transaction multiple times within this timeout. https://rsqlite.r-dbi.org/reference/sqlitesetbusyhandler retrying for 30000 milliseconds, 30seconds - this would be unreasonable for a distributed multi-tenant application, but should be fine for local usage. added mechanism for global settings (PRAGMA and DB level instructions). fixes #341 Jason Kulatunga
2022-08-03T03:42Z f0275d2 Merge pull request #346 from KF5JWC/patch-3 Jason Kulatunga
2022-08-03T03:29Z 9dafde8 Merge pull request #350 from MattKobayashi/docs_udev Jason Kulatunga
2022-08-03T01:02Z fa8f86a Add missing setup command Matthew Kobayashi
2022-08-01T20:07Z 41c9daa Make run_collect.sh executable Synology task will fail when not executable KF5JWC
2022-07-31T18:00Z 83186ba Merge pull request #345 from KF5JWC/patch-2 Jason Kulatunga
2022-07-31T05:07Z 3205e3d Update INSTALL_SYNOLOGY_COLLECTOR.md Typo: Created and loaded config into conf/, but specifies config/ in argument KF5JWC
2022-07-30T15:50Z 3f272b3 adding setting to allow users to customize between binary vs SI/Metric units in UI. fixes #330 Jason Kulatunga
2022-07-30T15:05Z b238579 Merge pull request #343 from AnalogJ/app_db_settings adding tests. Make sure that device status depends on the configured threshold Jason Kulatunga
2022-07-29T14:11Z ce2f990 consolidate device status to string logic in DeviceStatusPipe. Ensure device status takes into account new settings. Jason Kulatunga
2022-07-29T13:43Z b11b873 Merge pull request #342 from MattKobayashi/docs_udev Jason Kulatunga
2022-07-28T23:33Z 5cd441d Add udev troubleshooting doc Matthew Kobayashi
2022-07-25T14:46Z 2e768fb adding tests. Make sure that device status depends on the configured threshold. Jason Kulatunga
2022-07-23T23:37Z e8755ff Merge pull request #338 from AnalogJ/app_db_settings Jason Kulatunga
2022-07-23T23:21Z e41ee47 filter attributes after notify Jason Kulatunga
2022-07-23T23:11Z 7a68a68 frontend, determine the device status by checking against the configured thresholds. Jason Kulatunga
2022-07-23T18:43Z 94594db 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. Jason Kulatunga
2022-07-23T17:19Z 7e672e8 adding tests for config.MergeConfigMap functionality. (Set vs SetDefault). Converted all settings keys to snakecase. Jason Kulatunga
2022-07-23T16:32Z 54e2cac move frontend settings into the DB (for consistent settings handling). Flattened settings object. Jason Kulatunga
2022-07-21T04:55Z c0f1dfd fixing config mock. Jason Kulatunga
2022-07-20T06:12Z 29bc799 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. Jason Kulatunga
2022-07-17T17:32Z 99af2b8 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. Jason Kulatunga
2022-07-17T05:07Z dd0c3e6 rename the migration model package name. Jason Kulatunga
2022-06-26T22:30Z 5b2746f initial settings table. Jason Kulatunga
2022-07-16T17:12Z e9c1de9 update support table in README. - freebsd binaries for collector and web working - macos binaries for arm and amd. Jason Kulatunga
2022-07-14T04:56Z 6ca4bd4 fix the WORKDIR for collector image. fixes #335 Jason Kulatunga