vzagorovskiy
a570c0e503
Keep the failed nginx config as a .conf.err file
...
When `nginx -t` fails, configure() is meant to move the broken config to
<id>.conf.err so the failure can be inspected. renameConfigAsError()
unlinked the source file before renaming it, so the rename always failed
and the config was simply deleted. The deleteConfig() call after it then
removed any .err file left over from an earlier failure.
- unlink the destination .err file instead of the source
- return the rename promise so the delete does not race it
- pass delete_err_file = false so the new .err file survives
- drop the stale 4th argument in the success path, which silently made
delete_err_file false and left old .err files behind
2026-08-28 11:47:02 +03:00
vgoer
08b4bbdbd4
fix: Changes not taking effect
2026-08-26 07:39:31 +00:00
jc21
61e74cbb7f
Merge pull request #5773 from zergflag/develop
...
Add LWS DNS provider
2026-08-26 12:57:00 +10:00
jc21
4f1d309a90
Merge pull request #5788 from setrin/fix/update-websupport-certbot-plugin
...
fix(certbot): update Websupport DNS plugin to 5.0.0
2026-08-26 12:52:52 +10:00
jc21
58ff491dc0
Merge pull request #5795 from xzy103/fix/tencentcloud-dns-apex-wildcard
...
Fix Tencent Cloud apex and wildcard certificate issuance
2026-08-26 12:52:00 +10:00
jc21
85ee5e2200
Merge pull request #5800 from frenck/fix/update-timeweb-certbot-plugin
...
fix(certbot): update Timeweb Cloud DNS plugin to 2.0.0
2026-08-26 12:50:39 +10:00
Jamie Curnow
2ed0c47de8
Fix #5802 404 hosts disable missing async/await paradigm
2026-08-26 08:02:52 +10:00
Franck Nijhof
41539c027f
fix(certbot): update Timeweb Cloud DNS plugin to 2.0.0
2026-08-25 10:15:38 +02:00
vgoer
29687987b2
fix: Restrict JWT key file permissions to 0600
2026-08-24 09:30:22 +00:00
Timothé Stoifl
246c54503e
Merge branch 'develop' into claude/nifty-neumann-83e87c
2026-08-22 15:40:15 +02:00
Jamie Curnow
4e2b052b50
Updated backend packages
2026-08-22 23:10:26 +10:00
Timothé Stoifl
ce4e35a3d4
Fix missing new on PermissionError in access.can()
...
The catch block in `access.can()` constructed `errs.PermissionError`
without `new`. The error constructors in `backend/lib/error.js` are plain
constructor functions that assign to `this` and return nothing, so calling
one without `new` evaluates to `undefined`.
The statement therefore did `throw undefined`, the express error handler
in `backend/app.js` received undefined (and could not read `.status` or
`.public` off it), and the request fell through to the catch-all 404
handler in `backend/routes/main.js`.
Net effect: every authorization failure raised by `access.can(...)` was
reported to clients as `404 Not Found` instead of `403 Forbidden`.
Line 45 of the same file already used `new` correctly, which shows this
was an oversight rather than deliberate resource-existence hiding. A grep
over `backend/` confirms this was the only error constructor invoked
without `new`.
2026-08-22 13:07:09 +02:00
Silas
4cbeecaad2
fix: bump certbot-dns-tencentcloud to 2.1.1
2026-08-22 16:19:50 +08:00
Daniel Slavkovsky
d64d9a8ab2
fix(certbot): update Websupport DNS plugin to 5.0.0
2026-08-18 11:13:20 +02:00
zergflag
f43ef16fb5
Update dns-plugins.json
2026-08-09 14:59:39 +02:00
jc21
a5db5ed156
Merge pull request #5498 from Yasha-ops/develop
...
fix: Changed order of escape to prevent RCE
2026-06-08 08:51:46 +10:00
Yassine Damiri
45a3659ffd
Change fs import to use fs/promises
2026-06-04 15:08:31 +02:00
Yassine Damiri
a457fe4d96
Merge branch 'develop' into develop
2026-06-04 15:06:42 +02:00
jc21
258b522725
Merge branch 'develop' into dependabot/npm_and_yarn/backend/node-rsa-2.0.0
2026-06-04 07:17:53 +10:00
jc21
179c27e382
Merge pull request #5275 from 7heMech/develop
...
Add reuseport to improve performance and reduce packet drops
2026-06-04 07:16:50 +10:00
dependabot[bot]
a08f821c54
Bump node-rsa from 1.1.1 to 2.0.0 in /backend
...
Bumps [node-rsa](https://github.com/rzcoder/node-rsa ) from 1.1.1 to 2.0.0.
- [Release notes](https://github.com/rzcoder/node-rsa/releases )
- [Changelog](https://github.com/rzcoder/node-rsa/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rzcoder/node-rsa/compare/1.1.1...v2.0.0 )
---
updated-dependencies:
- dependency-name: node-rsa
dependency-version: 2.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-02 13:59:29 +00:00
Yassine Damiri
6629abed32
Use fs module for credential file operations
...
Refactor (from the review) credential file handling to use fs module for directory creation and file writing
2026-06-01 17:02:19 +02:00
jc21
79a4128b78
Merge branch 'develop' into develop
2026-05-31 22:04:14 +10:00
Jamie Curnow
fc1adb64a3
Fix regression of null domains in db creates
2026-05-29 07:32:58 +10:00
Jamie Curnow
a6b7a7dd9d
Only clean domain names on cert save if given
2026-05-28 18:24:13 +10:00
jc21
e48695401e
Merge branch 'develop' into dependabot/npm_and_yarn/backend/qs-6.15.2
2026-05-27 11:08:07 +10:00
dependabot[bot]
6bb9a90103
Bump the prod-minor-updates group across 1 directory with 2 updates
...
Bumps the prod-minor-updates group with 2 updates in the /backend directory: [liquidjs](https://github.com/harttle/liquidjs ) and [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg ).
Updates `liquidjs` from 10.25.7 to 10.27.0
- [Release notes](https://github.com/harttle/liquidjs/releases )
- [Changelog](https://github.com/harttle/liquidjs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/harttle/liquidjs/compare/v10.25.7...v10.27.0 )
Updates `pg` from 8.20.0 to 8.21.0
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md )
- [Commits](https://github.com/brianc/node-postgres/commits/pg@8.21.0/packages/pg )
---
updated-dependencies:
- dependency-name: liquidjs
dependency-version: 10.27.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod-minor-updates
- dependency-name: pg
dependency-version: 8.21.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod-minor-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-26 22:54:39 +00:00
dependabot[bot]
a47d401d86
Bump qs from 6.15.0 to 6.15.2 in /backend
...
Bumps [qs](https://github.com/ljharb/qs ) from 6.15.0 to 6.15.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.15.0...v6.15.2 )
---
updated-dependencies:
- dependency-name: qs
dependency-version: 6.15.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-26 22:53:22 +00:00
Jamie Curnow
7e9cc32f97
Fix cypress suite
...
- split out cypress tests for plugins to be isolated
- use updated testca image from proper location
2026-05-27 07:25:24 +10:00
Jamie Curnow
03c70e3902
Fixes for upgraded debian trixie
...
- Adds request logging in debug mode for some endpoints
- Moves certbot version determination to the startup scripts and removes
bash script encapsulation when installing plugins
- Revert loose domain validation, which was there for a specific reason
addressing CVE's
- Fix Cypress suite for cert generation
- Adds Cypress test that iterates over the entire certbot plugins list
and installs each one, ensuring at the very least that the install
works
- Fixed some plugins based on this
- (!) Still some work to do on this, hostinger is still broken at least
- Improved cypress tests for custom certs; they will generate on each
run instead of being baked in. The baked ones were due to expire soon
2026-05-25 07:37:24 +10:00
Jamie Curnow
f53bf88f4d
Update cypress docker version, generate custom certs each time
2026-05-19 08:04:49 +10:00
Jamie Curnow
ee1f7ba551
Fall back to error code 500 when not set in error object
2026-05-18 16:55:41 +10:00
Jamie Curnow
586dfd36a9
Fix openssl3 formatting of subject cn
2026-05-18 16:12:02 +10:00
Jamie Curnow
2bf9e9b213
Support different cert info output in new version of debian
2026-05-18 15:52:52 +10:00
Jamie Curnow
7330d0441c
Loose validation on certificate domain names
2026-05-18 15:34:29 +10:00
Jamie Curnow
84886383a7
Fix certificates getting null domain names whgen no cn exists
2026-05-18 15:21:55 +10:00
Jamie Curnow
1e22574000
Fix nulls showing in certificate rows
2026-05-18 15:04:27 +10:00
jc21
32a74d9781
Merge pull request #5543 from Matthew-Kilpatrick/fix-deny-all-on-no-access-rules
...
fix: omit "Access rules" directives if no rules configured
2026-05-18 11:23:55 +10:00
jc21
840a720d09
Merge pull request #5550 from rfos/develop
...
Add Hostinger DNS plugin configuration
2026-05-18 07:44:59 +10:00
Reinaldo Ferro
ef0ec0b188
Add Hostinger DNS plugin configuration
2026-05-17 22:16:48 +02:00
Daan Selen
387f8d9424
cherry-pick requested changes
2026-05-17 20:23:22 +02:00
Matthew Kilpatrick
52c32b473d
fix: omit "Access rules" directives if no rules configured
...
When an access list was associated with a template which had users (items) but no rules (clients), a `deny all` directive was inserted to the config. This resulted in all requests, including those with valid credentials, being rejected due to the lack of any `allow` directive.
This commit wraps the access rule configuration inside of an if block, so the `deny all;` directive is only present when at least one rule is configured.
2026-05-15 19:03:20 +00:00
jc21
ebcd2a209c
Merge pull request #5415 from 12LuA/develop
...
Fix typo in debug mode comment
2026-05-14 11:43:08 +10:00
jc21
d099b00463
Merge pull request #5421 from edklesel/access-list-clients-ordered-insert
...
Access list clients ordered insert
2026-05-14 11:39:32 +10:00
jc21
9875a7650d
Merge pull request #5460 from barttran2k/contribai/fix/security/undefined-variable-next-referenced-in-ro
...
Security: Undefined Variable `next` Referenced in Route Error Handler
2026-05-14 11:11:12 +10:00
jc21
6694df668e
Merge pull request #5480 from MichaelJanssenNesai/patch-1
...
Update dns plugin for deSec to 1.3.2
2026-05-14 10:52:14 +10:00
jc21
d3ba40e066
Merge pull request #5485 from butalex11/add-hosterby-dns-provider
...
Add hoster.by DNS provider
2026-05-14 10:51:00 +10:00
jc21
13cfa340de
Merge pull request #5508 from Zoey2936/fix-5441
...
Fix bug that allowed any authenticated user to modify their own roles field through the PUT
2026-05-14 10:23:31 +10:00
jc21
a38fb8d311
Merge pull request #5530 from Ludo-code/new-dns-provider-RcodeZero
...
Add RcodeZero DNS plugin to dns-plugins.json for #5512
2026-05-14 08:36:37 +10:00
jc21
c8e6010ac3
Merge pull request #5531 from MBulli/patch-1
...
Added PUT and DELETE method to Access-Control-Allow-Methods field
2026-05-14 08:35:23 +10:00