diff --git a/config/vite.config.js b/config/vite.config.js index eaba9b342..91aa3cbcd 100644 --- a/config/vite.config.js +++ b/config/vite.config.js @@ -36,6 +36,9 @@ export default defineConfig({ srcDir: "src", filename: "serviceWorker.ts", strategies: "injectManifest", + injectManifest: { + maximumFileSizeToCacheInBytes: 3 * 1024 * 1024, // 3 MiB + }, }), ], css: { diff --git a/extra/generate-changelog.mjs b/extra/generate-changelog.mjs index 18ec20983..756ea7273 100644 --- a/extra/generate-changelog.mjs +++ b/extra/generate-changelog.mjs @@ -4,7 +4,7 @@ import * as childProcess from "child_process"; -const ignoreList = ["louislam", "CommanderStorm", "UptimeKumaBot", "weblate", "Copilot"]; +const ignoreList = ["louislam", "CommanderStorm", "UptimeKumaBot", "weblate", "Copilot", "@autofix-ci[bot]"]; const mergeList = ["Translations Update from Weblate", "Update dependencies"]; diff --git a/server/model/domain_expiry.js b/server/model/domain_expiry.js index 91d5b54e3..b7992575f 100644 --- a/server/model/domain_expiry.js +++ b/server/model/domain_expiry.js @@ -176,14 +176,6 @@ class DomainExpiry extends BeanModel { const rdap = await getRdapServer(tld.publicSuffix); if (!rdap) { - // Only warn when the monitor actually has domain expiry notifications enabled. - // The edit monitor page calls this method frequently while the user is typing. - if (Boolean(monitor.domainExpiryNotification)) { - log.warn( - "domain_expiry", - `Domain expiry unsupported for '.${tld.publicSuffix}' because its RDAP endpoint is not listed in the IANA database.` - ); - } throw new TranslatableError("domain_expiry_unsupported_unsupported_tld_no_rdap_endpoint", { publicSuffix: tld.publicSuffix, }); diff --git a/server/model/monitor.js b/server/model/monitor.js index be5cb150e..b94f171b8 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -1072,7 +1072,15 @@ class Monitor extends BeanModel { log.debug("monitor", `Failed getting expiration date for domain ${supportInfo.domain}`); } } catch (error) { - // purposely not logged due to noise. Is accessible via checkMointor + if ( + error.message === "domain_expiry_unsupported_unsupported_tld_no_rdap_endpoint" && + Boolean(this.domainExpiryNotification) + ) { + log.warn( + "domain_expiry", + `Domain expiry unsupported for '.${error.meta.publicSuffix}' because its RDAP endpoint is not listed in the IANA database.` + ); + } } } diff --git a/src/components/CertificateInfo.vue b/src/components/CertificateInfo.vue index d81b5beb9..8c9645692 100644 --- a/src/components/CertificateInfo.vue +++ b/src/components/CertificateInfo.vue @@ -1,7 +1,7 @@