Co-authored-by: Frank Elsinga <frank@elsinga.de>
Closes: #4391
Squashed commit of the following:
commit 828d2a73d4
Merge: 10f771cfdd758903
Author: Frank Elsinga <frank@elsinga.de>
Date: Fri Sep 13 22:51:25 2024 +0800
Merge branch 'master' into deprecations
commit 10f771cfc6
Author: Frank Elsinga <frank@elsinga.de>
Date: Thu Jan 18 22:36:12 2024 +0100
formatting fixes
commit d737b19e2f
Author: Frank Elsinga <frank@elsinga.de>
Date: Thu Jan 18 21:27:30 2024 +0100
migrated all settings to use the `Settings` class
commit c5e26e993e
Author: Frank Elsinga <frank@elsinga.de>
Date: Thu Jan 18 21:04:44 2024 +0100
removed the deprecated logging functionality
* fix(server/model/monitor): duplicate `Settings.set` for `tlsExpiryNotifyDays`
* fix(eslint): minor linter complaints & a typo
* fix: update checker
- fixed bug where it would make the request to uptime.kuma.pet regardless of the `checkUpdate` config;
- defined constants in the top of the document for easier configuration/documentation;
- removed unnecessary compareVersions: we were comparing the same var on both sides res.data.beta, so it will always be equal.
* improvement: better logging and added doc
* improved UPDATE_CHECKER_INTERVAL_MS const
---------
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>