541 Commits
Author SHA1 Message Date
Saadanjum0 3cd7c4af29 fix: preserve dangling symlinks when copying backup data on macOS
cp -rp followed symlinks on BSD cp (macOS) because lowercase -r
implies -L for historical compatibility, so a dangling certificate
symlink under /captain/data raised ENOENT and aborted the whole
backup copy. GNU cp (Linux) never followed symlinks here either way,
so this only reproduced in local macOS dev/test runs, not CI.

Switch to -RPp: -R is the portable recursive flag and -P makes the
no-dereference behavior explicit on both cp implementations.
2026-10-09 12:27:23 +05:00
Kasra Bigdeli b676d96db5 fix: advance build queue only once 2026-10-05 20:46:44 -07:00
Kasra Bigdeli 3811286def Merge pull request #2509 from libredb/fix/queued-build-promise
Settle the promise of a queued build when it finishes
2026-10-05 20:43:09 -07:00
Kasra Bigdeli cfedd66c78 Merge pull request #2507 from libredb/fix/project-name-leading-digit
Run build / build (push) Canceled after 0s
Run lint / run-lint (push) Canceled after 0s
Build and push the edge image / run-pre-checks (push) Canceled after 0s
Build and push the edge image / prepare-frontend (push) Canceled after 0s
Build and push the edge image / build-publish-docker-hub (push) Canceled after 0s
Run formatter / check-code-formatting (push) Canceled after 0s
Allow project names that start with a number
2026-10-05 09:31:39 -07:00
cevheri 582865118f fix: settle the promise of a queued build when it finishes
A build scheduled while another one ran was queued, and the promise handed to its caller never settled: onBuildFinished started the queued build and dropped its result. A one-click deploy registered during another app's build therefore stayed at "Registering" for good, although the build ran. Pass the result to the queued promise instead.
2026-10-05 18:54:55 +03:00
cevheri cfe716004d fix: allow project names that start with a number
be5d55d allowed a leading number in app names. A one-click deploy with
more than one service creates a project named after the app, so with the
old project rule such a name failed at "Creating project".

Fixes #2505
2026-10-05 12:53:04 +03:00
cevheri be9192c5f5 fix: check one-click app names before creating anything
A one-click deploy with more than one service checked each app name only
when it registered that app. A later name that was too long or already
taken failed after the project and the earlier apps were created, and
those stayed behind. Check every name before the first step instead, and
say the length limit in the error.

Fixes #2504
2026-10-05 12:53:04 +03:00
Kasra Bigdeli 46e7c6998b refactor: inline one-click deploy request handling 2026-09-22 19:45:38 -07:00
Kasra Bigdeli 89b42a59ac testable cleanup for failed one-click job startup 2026-09-22 18:47:55 -07:00
Kasra Bigdeli f723ba022c fix: default one-click deploy values to empty array 2026-09-22 18:47:23 -07:00
Kasra Bigdeli 9debcf371b fix: handle omitted one-click deploy values 2026-09-22 18:47:06 -07:00
Kasra Bigdeli 275dedc36d Merge master into fix/restore-malformed-backup-layout 2026-09-21 22:28:56 -07:00
Kasra Bigdeli 743ae0515f fix: retain backup manager in extraction chain 2026-09-21 22:21:10 -07:00
Kasra Bigdeli f5199d9536 fix: normalize malformed backup layout during restore 2026-09-21 22:21:01 -07:00
Kasra Bigdeli 22fb711b9b refactor: isolate download completion handling 2026-09-21 21:51:01 -07:00
Kasra Bigdeli c88fe0ed3e refactor: make backup copy failures observable 2026-09-21 21:49:35 -07:00
Kasra Bigdeli c9b25a9536 fix: type download transfer errors 2026-09-21 21:48:20 -07:00
Kasra Bigdeli d497a7dfd7 fix: finish failed backup download responses 2026-09-21 21:48:00 -07:00
Kasra Bigdeli 1307f10e75 fix: preserve backup archive data layout 2026-09-21 21:47:58 -07:00
Kasra Bigdeli 369fcf0adc fix: return unauthorized for invalid app deploy tokens 2026-09-21 18:58:03 -07:00
Kasra Bigdeli f124c6a8b2 fix: reject duplicate custom domains across apps 2026-09-21 07:08:19 -07:00
Kasra Bigdeli 9bab411e93 fix: preserve custom port publish mode on updates 2026-09-20 20:00:42 -07:00
Kasra Bigdeli be72b85ea1 fix: preserve custom port metadata 2026-09-20 20:00:40 -07:00
Kasra Bigdeli 43d4ef8dda Test certificate cleanup renewal flow 2026-09-16 19:21:44 -07:00
Kasra Bigdeli 3ad2b12392 Simplify orphan certificate cleanup inputs 2026-09-16 18:09:17 -07:00
Kasra Bigdeli 9c35b9f8c8 Delete orphaned certificates after expiration grace period 2026-09-16 17:59:10 -07:00
Kasra Bigdeli 80f07b8740 Make orphan certificate deletion race-safe 2026-09-16 17:44:09 -07:00
Kasra Bigdeli b46542cab5 Delete expiring orphaned certificates before renewal 2026-09-15 22:34:36 -07:00
Kasra Bigdeli edfdf56a13 Preserve GitHelper clone return behavior 2026-09-14 15:18:09 -07:00
Kasra Bigdeli 3d97342f75 Fix SSH git clones with simple-git 3.36 2026-09-14 12:49:57 -07:00
Kasra Bigdeli 877ce38015 Upgrade EJS and replace Moment 2026-09-06 23:15:16 -07:00
Kasra Bigdeli 8979791bbf Upgrade lint tooling to ESLint 10 2026-09-06 22:48:07 -07:00
Kasra Bigdeli d8b64ab04b Add coverage for version update checks 2026-09-06 22:24:53 -07:00
Kasra Bigdeli e9bea1df20 Replace deprecated request dependency 2026-09-06 22:02:45 -07:00
Kasra Bigdeli c381f01e12 chore: apply updated Prettier formatting 2026-09-06 14:25:08 -07:00
Kasra Bigdeli 753e49b3dc Consolidate release configuration 2026-09-05 22:04:04 -07:00
Kasra Bigdeli 32d3f3e794 Merge pull request #2468 from caprover/release
Run build / build (push) Canceled after 0s
Run formatter / check-code-formatting (push) Canceled after 0s
Run lint / run-lint (push) Canceled after 0s
Build and push the edge image / run-pre-checks (push) Canceled after 0s
Build and push the edge image / build-publish-docker-hub (push) Canceled after 0s
Release back merge
2026-08-30 11:15:54 -07:00
Kasra Bigdeli 9dfb85f530 Release 1.15.4 2026-08-30 11:10:06 -07:00
Kasra Bigdeli c352c97854 Merge pull request #2465 from caprover/release
Run build / build (push) Canceled after 0s
Run formatter / check-code-formatting (push) Canceled after 0s
Run lint / run-lint (push) Canceled after 0s
Build and push the edge image / run-pre-checks (push) Canceled after 0s
Build and push the edge image / build-publish-docker-hub (push) Canceled after 0s
Release back merge
2026-08-20 14:30:54 -04:00
Kasra Bigdeli 9b8bf877c2 Release 1.15.3 2026-08-16 17:44:45 -04:00
Kasra Bigdeli 9ee01d9c71 Merge pull request #2459 from caprover/release
Run build / build (push) Canceled after 0s
Run formatter / check-code-formatting (push) Canceled after 0s
Run lint / run-lint (push) Canceled after 0s
Build and push the edge image / run-pre-checks (push) Canceled after 0s
Build and push the edge image / build-publish-docker-hub (push) Canceled after 0s
Release backmerge
2026-08-14 18:51:17 -07:00
Kasra Bigdeli eb1ecd04bb Bump version to 1.15.2 2026-08-14 18:41:07 -07:00
Kasra Bigdeli e245a0c955 Fix legacy Captain NGINX template compatibility 2026-08-14 18:40:57 -07:00
Kasra Bigdeli 77f5e560b5 Document legacy NGINX template compatibility 2026-08-14 18:26:41 -07:00
Kasra Bigdeli b8a7244e80 Fix legacy Captain NGINX template compatibility 2026-08-14 18:21:08 -07:00
Kasra Bigdeli e2903024e6 Merge pull request #2454 from caprover/release
Run build / build (push) Canceled after 0s
Run formatter / check-code-formatting (push) Canceled after 0s
Run lint / run-lint (push) Canceled after 0s
Build and push the edge image / run-pre-checks (push) Canceled after 0s
Build and push the edge image / build-publish-docker-hub (push) Canceled after 0s
Release backmerge
2026-08-08 13:45:17 -07:00
Kasra Bigdeli e61179512a Bump version to 1.15.1 2026-08-08 13:36:26 -07:00
Kasra Bigdeli 7711b028c0 Fix one-click service analytics iteration 2026-08-08 13:36:13 -07:00
Kasra Bigdeli 4d8af2130f Fix app upload route typing 2026-08-05 21:29:48 -07:00
Kasra Bigdeli c2a01b09f6 Updated version 2026-08-04 21:05:46 -07:00