431 Commits

Author SHA1 Message Date
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
Andras Bacsai
3bc85b1a8c fix: validate private key through API
feat: able to add base64 encoded private key, not just oneline
2025-01-20 13:59:02 +01:00
Andras Bacsai
f35f45324b fix: server proxy set correctly through the API
fix: cannto delete localhost through the API.
2025-01-20 13:59:02 +01:00
peaklabs-dev
3d4e8b9867 chore: switch up readonly lables to make more sense 2025-01-08 17:05:11 +01:00
Andras Bacsai
1fe4dd722b Revert "rector: arrrrr"
This reverts commit 16c0cd10d8.
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8 rector: arrrrr 2025-01-07 14:52:08 +01:00
Andras Bacsai
c7a01eb270 Merge pull request #4596 from arceushui/main
fix: fix domain being override when update application
2024-12-18 11:09:31 +01:00
Andras Bacsai
41688f24e3 Merge branch 'next' into fix/api--projects-apps-fixes 2024-12-18 10:49:45 +01:00
Andras Bacsai
9e3467578f feat: add environment_uuid support and update API documentation
- Introduced `environment_uuid` as a required field in various API endpoints and schemas.
- Updated descriptions to clarify that either `environment_name` or `environment_uuid` must be provided.
- Modified routes and controller methods to accommodate the new UUID parameter.
- Adjusted frontend components to utilize `environment_uuid` for better consistency and clarity.
- Removed deprecated fields related to environment handling.

This change enhances the API's flexibility in identifying environments, improving overall usability.
2024-12-17 13:42:16 +01:00
Andras Bacsai
2a9d499251 feat: migrate env variables to polymorphic relationship
fix: proxy status query ui
2024-12-17 10:38:42 +01:00
Pang Jin Hui
b01056411d fix: fix domain being override when update application 2024-12-16 16:56:33 +08:00
SierraJC
00c93aa8b0 fix: applications API writing to unavailable models
when $useBuildServer is set, $application->settings model does not yet exist. This change ensures the models exist before accessing them.
2024-12-14 12:58:11 +11:00
SierraJC
e7ffeda8e0 fix: applications API response code + schema 2024-12-14 12:54:36 +11:00
SierraJC
9e8d9e6a9e fix: invalid API response on missing project
API was returning 500 instead of 404 due to attempting to load environments for a non-existent project
2024-12-14 12:52:47 +11:00
Andras Bacsai
4901b12279 fix: service status indicator + oauth saving 2024-12-13 12:03:10 +01:00
Andras Bacsai
458cd96ac8 fix: services env values should be sensitive 2024-12-12 13:20:13 +01:00
🏔️ Peak
fdf757c7ae Merge branch 'next' into separate-success-and-failure-notifications 2024-12-09 18:15:41 +01:00
🏔️ Peak
c4a72fbd75 Merge branch 'main' into separate-success-and-failure-notifications 2024-12-09 18:11:29 +01:00
peaklabs-dev
b13d77377c feat: new shared function name is_transactional_emails_enabled() 2024-12-09 15:34:24 +01:00
peaklabs-dev
c995819ed3 chore: remove unused code 2024-12-09 12:34:45 +01:00
peaklabs-dev
5515f07f14 chore: remove commented out notification 2024-12-09 12:05:18 +01:00
peaklabs-dev
d9248508b4 chore: remove unused waitlist stuff 2024-12-09 12:00:54 +01:00
Andras Bacsai
3fa7d03db7 fix: root + read:sensive could read senstive data with a middlewarew 2024-12-09 11:10:35 +01:00
Andras Bacsai
78f0ac80c1 Merge branch 'next' into feat/deployment-token 2024-12-09 09:16:59 +01:00
🏔️ Peak
6aa87116e9 Merge branch 'main' into next 2024-12-08 16:17:23 +01:00
Andras Bacsai
320dd41303 fix: api endpoint 2024-12-07 14:26:44 +01:00
Andras Bacsai
c9d47e0a67 Merge pull request #4449 from SierraJC/fix/mysql-mongo-db-api
Fix: API - MySQL & MongoDB invalid fields
2024-12-05 12:57:11 +01:00
peaklabs-dev
5f985426ab feat: update private key nam with new slug as well 2024-12-03 15:27:20 +01:00
Andras Bacsai
319c3023dc fix 2024-12-02 22:50:03 +01:00
Andras Bacsai
58988d3686 fix: a few inputs 2024-12-02 22:50:03 +01:00
SierraJC
f279729f08 fix: incorrect MongoDB init API property 2024-12-01 10:19:15 +11:00
SierraJC
b3f968db76 fix: missing mysql_password API property 2024-12-01 10:18:36 +11:00
Andras Bacsai
40af73cb7d fix: only return server uuid on server update 2024-11-25 13:41:59 +01:00
Andras Bacsai
dce783813a Merge pull request #4379 from SierraJC/fix/misc-server-api-fixes
Fix: `/servers` API invalid responses / OpenAPI schema
2024-11-25 13:41:28 +01:00
Andras Bacsai
37d4d5f98c fix: version should come from constants + fix stripe webhook error reporting 2024-11-25 11:28:08 +01:00
SierraJC
fead884809 fix: missing uuid parameter on server API patch 2024-11-23 13:23:13 +11:00
SierraJC
379045c835 fix: incorrect server API patch response 2024-11-23 13:23:13 +11:00
SierraJC
4a45de5646 fix: empty server API response 2024-11-23 13:23:13 +11:00
Andras Bacsai
377758edcd fix stripe webhooks 2024-11-22 14:42:10 +01:00
Andras Bacsai
7dc65dfd79 fix: make sure important jobs/actions are running on high prio queue 2024-11-22 11:16:01 +01:00
peaklabs-dev
a4f56fbd3f Merge branch 'dep-and-remove-unused-stuff' of https://github.com/peaklabs-dev/coolify into dep-and-remove-unused-stuff 2024-11-12 15:20:05 +01:00
peaklabs-dev
1c5ddab30d use one constants file 2024-11-12 15:18:48 +01:00
Andras Bacsai
055c613ba5 feat: add proxy type change to create/update apis 2024-11-12 14:30:05 +01:00
Andras Bacsai
99705ee9f0 fix description 2024-11-12 10:25:58 +01:00
Andras Bacsai
7952dae52d Merge pull request #4119 from marconneves/next
Update schema of private keys by id response
2024-11-12 10:25:43 +01:00
Andras Bacsai
8e4060375d remove ray 2024-11-12 10:23:00 +01:00
Andras Bacsai
da9c8eed16 Merge pull request #4194 from quarkcore/fix/gitlab-empty-webhook-secret
Fix: Gitlab webhooks can be triggered without secret
2024-11-12 10:22:36 +01:00
Andras Bacsai
1faa8be615 fix: cloud + stripe related 2024-11-11 22:18:15 +01:00
Andras Bacsai
cb433dddc4 version++ 2024-11-11 15:00:37 +01:00
Andras Bacsai
b379e50d90 feat: custom nginx configuration for static deployments + fix 404 redirects in nginx conf 2024-11-11 14:37:36 +01:00