Commit Graph

12286 Commits

Author SHA1 Message Date
Van-Dev
b1d6167e89 feat: add application api route 2025-02-01 22:09:59 +07:00
Islam Adel
2c80595e45 Merge branch 'next' into IARayan-bitbucket-preview-deployment-fix-pullrequest-update 2025-02-01 16:59:08 +02:00
Islam Adel
672a5d0bc5 fix: Handle pullrequest:updated for reliable preview deployments
The repo:push payload lacks the destination branch name, using push.changes.0.new.name instead. While sufficient for updates, this causes failures in preview deployments when a PR receives new commits—Coolify looks for git_branch in the applications table but finds the source branch instead.

By also processing pullrequest:updated, we ensure preview deployments remain in sync. However, this event triggers on various actions (e.g., PR title changes, reviewer updates), causing extra redeploys. Since Coolify doesn’t store commit hashes for preview deployments, handling these extra redeploys is our best workaround for Bitbucket.
2025-02-01 12:24:23 +02:00
peaklabs-dev
4eba1d2130 feat(ui): use new copy button component everywhere 2025-01-31 18:31:42 +01:00
peaklabs-dev
6d0291a66f feat(ui): new copy button component 2025-01-31 18:31:02 +01:00
peaklabs-dev
ab1833b159 feat(ui): Add CA cert UI
- brief instructions and recommendations
- copy button to copy the CA file mount
- ability to display the CA certificate
- ability to save your own CA Cert or generate a new one
2025-01-31 18:29:06 +01:00
peaklabs-dev
7406ee67c2 chore(ssl): rename CA cert to coolify-ca.crt because of conflicts 2025-01-31 18:27:20 +01:00
Andras Bacsai
83f0f9fca4 fix(core): improve public repository URL parsing for branch and base directory 2025-01-31 18:17:00 +01:00
Andras Bacsai
58c6e9c02d change dev logo 2025-01-31 17:12:50 +01:00
Andras Bacsai
dde6128fa8 replace logo 2025-01-31 17:08:40 +01:00
peaklabs-dev
85c777d2a4 feat(ssl): use new improved helper for SSL generation
- use CA cert and key for SSL cert generation
- remove unused parameters
- add a few more echo with log output
2025-01-31 13:56:20 +01:00
peaklabs-dev
02475c5232 feat(ssl): improve SSL helper
- improve function parameters
- set default validity to 1 year as resources need to be manually restarted to use the new certificates
- use the CA cert to sign certificates
2025-01-31 13:37:34 +01:00
peaklabs-dev
fab7300a5f feat(installer): create CA folder during installation 2025-01-31 12:36:26 +01:00
peaklabs-dev
34216af497 fix(db): SSL certificates table and model
- server_id is a foreign id
- server_id must be unique as each server can only have 1 CA cert
- resource_id must be unique as each resource can only have 1 SSL cert
2025-01-31 12:35:34 +01:00
peaklabs-dev
0915303769 feat(ssl): Add Coolify CA Certificate when adding a new server 2025-01-31 12:27:29 +01:00
peaklabs-dev
503e1ffb67 feat(seeder): Call CA SSL seeder in prod and dev 2025-01-31 12:23:59 +01:00
peaklabs-dev
90a93ce7e0 feat(ssl): add a Coolify CA Certificate to all servers 2025-01-31 12:23:00 +01:00
peaklabs-dev
e1245f49f1 fix(ui): select component should not always uses title case 2025-01-31 11:57:30 +01:00
peaklabs-dev
22c26cdf78 chore(migration): ssl cert and key should not be nullable 2025-01-30 19:52:49 +01:00
peaklabs-dev
34188450eb feat(ssl): improve SSL helper
- improve security by making certificates valid for only 90 days instead of 10 years
- add SubjectAltName
- remove unnecessary parameters
- use carbon immutable to make sure expiration date stays the same
2025-01-30 19:52:21 +01:00
peaklabs-dev
d280f11b6b feat(ssl): migrate to ECCcertificates using secp521r1
- Replace RSA 4096 with ECDSA secp521r1 for stronger security (256-bit vs 112-bit)
- Faster certificate generation (3-4x speed improvement)
- 75% smaller key sizes (0.8KB vs 3.2KB) improves storage and transmission
2025-01-30 19:21:18 +01:00
peaklabs-dev
b53d3d07d9 fix(ssl): make default ssl mode require not verify-full as it does not need a ca cert 2025-01-30 19:09:37 +01:00
peaklabs-dev
546001890c chore(ssl): improve code in ssl helper 2025-01-30 14:37:12 +01:00
peaklabs-dev
3632f29af8 feat(ssl): ssl generation helper 2025-01-30 14:17:12 +01:00
peaklabs-dev
2ac9147532 chore(migration): remove unused columns 2025-01-30 14:16:52 +01:00
peaklabs-dev
429453af36 fix(ui): make sure file mounts do not showing the encrypted values 2025-01-30 14:16:27 +01:00
peaklabs-dev
edddbc8536 feat(migration): encrypt local file volumes content and paths 2025-01-30 13:54:00 +01:00
peaklabs-dev
9f9349925a fix(ssl): permission of ssl crt and key inside the container 2025-01-30 12:58:48 +01:00
🏔️ Peak
be49502119 Merge branch 'coollabsio:main' into feat-db-ssl 2025-01-29 13:47:34 +01:00
peaklabs-dev
b124904245 feat(db): setup ssl during Postgres start
- create ssl directory
- create a new certificate if one does not already exist
- add the certificates to the file store so that they are created as file mounts
- add SSL startup commands
2025-01-29 13:30:45 +01:00
peaklabs-dev
92a4b5fce7 feat(db): add ssl mode to Postgres URLs 2025-01-29 13:28:42 +01:00
peaklabs-dev
875d1d49bb feat(ui): Add ssl settings to Postgres ui 2025-01-29 13:25:05 +01:00
peaklabs-dev
214a7a089e feat(migration): Add ssl setting to standalone_postgresqls table 2025-01-29 13:04:27 +01:00
peaklabs-dev
3f582a1ea4 feat(migration): Add ssl_certificates table and model 2025-01-29 13:03:13 +01:00
Andras Bacsai
a764a07e7e revert: remove Cloudflare async tag attributes 2025-01-28 14:38:55 +01:00
Andras Bacsai
98a9985dce feat(vite): add Cloudflare async script and style tag attributes 2025-01-28 14:30:11 +01:00
Andras Bacsai
f554764b55 chore(version): bump Coolify version to 4.0.0-beta.391 2025-01-28 14:18:24 +01:00
Andras Bacsai
a7687611dc Merge pull request #4941 from coollabsio/next
v4.0.0-beta.390
2025-01-28 13:48:29 +01:00
Andras Bacsai
55fb4e5d20 Merge pull request #4945 from nktnet1/feat-env-coolify-resource-uuid
feat(env): added COOLIFY_RESOURCE_UUID environment variable
2025-01-28 13:46:17 +01:00
Andras Bacsai
e9efbce76a feat(ui): conditionally enable advanced application settings based on label readonly status 2025-01-28 13:40:56 +01:00
Andras Bacsai
e9fd2d8d6f feat(core): add dynamic label reset for application settings 2025-01-28 13:38:26 +01:00
Andras Bacsai
1ec15af1ad fix(database): adjust MongoDB restore command and import view styling 2025-01-28 12:41:22 +01:00
Andras Bacsai
cd8330d15f fix(templates): update Trigger.dev service templates with v3 configuration 2025-01-28 11:59:50 +01:00
Andras Bacsai
6e01444ddb refactor(ui): simplify GitHub App registration UI and layout 2025-01-28 11:59:38 +01:00
Andras Bacsai
53feec8cff Merge pull request #4724 from Winne4r/main
fix: broken trigger.dev templates
2025-01-28 11:59:08 +01:00
Andras Bacsai
06adb41f16 feat(ui): update GitHub source creation advanced section label 2025-01-28 11:37:55 +01:00
Andras Bacsai
04e8a2bda9 feat(templates): add Open Web UI service template 2025-01-28 11:37:48 +01:00
Andras Bacsai
36d1ce6ec9 Merge pull request #4989 from ItsTarikBTW/services
feat(template): add Open Web UI
2025-01-28 11:29:13 +01:00
Andras Bacsai
d8877884d7 Merge pull request #4933 from nktnet1/fix-coolify-env-quotes
fix: remove quotes in COOLIFY_CONTAINER_NAME
2025-01-28 11:24:19 +01:00
Andras Bacsai
cd0320f392 Merge pull request #4938 from hederson/fix-swarm-proxy
Fix swarm proxy and detach param
2025-01-28 11:11:56 +01:00