27 Commits

Author SHA1 Message Date
Nawaz Dhandala
2e2adffe17 fix(nginx): use findAllBy and remove LIMIT_MAX when fetching certs for disk write jobs 2025-11-05 13:11:58 +00:00
Nawaz Dhandala
d2ee3c5409 refactor(admin-dashboard, nginx): normalize multiline formatting in Serve.ts, NginxConfigurator.ts and WriteServerCertToDisk.ts 2025-11-04 20:39:53 +00:00
Nawaz Dhandala
158663c44b fix(nginx): only write/reload when certs change; derive primary domain and guard SSL directives
- WriteServerCertToDisk: read existing cert/key from disk and compare with DB values; skip writing when unchanged. After writing, run envsubst-on-templates.sh and reload nginx with try/catch and logging.
- envsubst-on-templates.sh: derive PRIMARY_DOMAIN from HOST when not set, compute cert/key paths, and only export PROVISION_SSL_* directives when certificate files exist (otherwise clear directives and log).
2025-11-04 19:44:55 +00:00
Nawaz Dhandala
669ed2580c refactor(coressl,nginx): normalize formatting in WriteServerCertToDisk job
Wrap logger calls and LocalFile.write arguments for consistent multiline formatting.
2025-11-03 22:00:24 +00:00
Nawaz Dhandala
f84434ada4 feat(nginx,coressl): add job to write primary host TLS certificate to disk and initialize it 2025-11-03 21:27:22 +00:00
Nawaz Dhandala
1c750d274e refactor: replace ts-ignore with ts-expect-error for improved type safety in Handlebars helpers and test mocks 2025-10-02 12:18:10 +01:00
Simon Larsen
14e4949c1a feat: normalize domain and subdomain inputs by trimming and converting to lowercase in DomainService and StatusPageDomainService 2025-05-29 10:58:43 +01:00
Leon Adomaitis
b49d0e1d32 Fix undefined as domain name when saving custom SSL-Certs 2025-05-20 14:18:50 +02:00
Simon Larsen
f5d2c61a70 refactor: Add logging for writing custom certificates to disk 2024-10-09 19:31:47 +01:00
Simon Larsen
d072a29cf8 refactor: Add WriteCustomCertsToDiskJob to Nginx/Index.ts and update UptimeUtil to round uptime percentage to specified precision
- The WriteCustomCertsToDiskJob has been added to the Nginx/Index.ts file to handle writing custom certificates to disk.
- The UptimeUtil has been updated to round the uptime percentage to the specified precision.
2024-10-09 19:24:17 +01:00
Simon Larsen
dea6c55365 refactor: Update import statements for CommonUI to use Common/UI 2024-08-07 15:50:32 -06:00
Simon Larsen
b29fb6e833 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 13:00:31 -06:00
Simon Larsen
52630b16d1 refactor: Update import statements for ProbeMonitor and ServerMonitor to use ProbeMonitorResponse and ServerMonitorResponse 2024-08-05 10:06:53 -06:00
Simon Larsen
70a2a3993b refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:09:53 +01:00
Simon Larsen
faf0641503 refactor: Update package.json and Encryption.ts to use latest version of crypto-js 2024-05-29 15:25:09 +01:00
Simon Larsen
78b7252743 Refactor GreenlockUtil challengeCreateFn and challengeRemoveFn to improve readability 2024-04-30 14:16:35 +01:00
Simon Larsen
2ba406f802 Add AcmeChallenge model, update StatusPageDomain model, and import AcmeCertificate in Model and Service files 2024-04-30 14:15:18 +01:00
Simon Larsen
48ebfc17dd Add AcmeChallenge model and update StatusPageDomain model 2024-04-30 14:08:05 +01:00
Simon Larsen
9d180a2dcb Remove unused Greenlock configuration files and import AcmeCertificate in Model and Service files 2024-04-30 13:22:06 +01:00
Simon Larsen
00b5453b3f Add LETSENCRYPT_NOTIFICATION_EMAIL configuration option 2024-04-28 13:09:23 +01:00
Simon Larsen
b581981815 Refactor FetchCertificates.ts to improve code readability 2024-03-04 18:21:35 +00:00
Simon Larsen
2165db9d1f Update compile.yml and FetchCertificates.ts 2024-03-04 16:12:06 +00:00
Simon Larsen
27184994a2 Refactor cron jobs in FetchCertificates.ts 2024-02-28 12:25:33 +00:00
Simon Larsen
54871d8dd9 Update FetchCertificates.ts and run.sh 2024-01-29 08:47:51 +00:00
Simon Larsen
fb0c6d0540 Update Nginx run script and initialize FetchCertificateJobs 2024-01-29 08:45:51 +00:00
Simon Larsen
ea4d3f37c9 Create subdirectory for StatusPageCerts in Nginx/Jobs/FetchCertificates.ts 2024-01-29 07:26:58 +00:00
Simon Larsen
865c7f0996 Update dependencies and remove unused code 2024-01-29 07:23:24 +00:00