DanielHemmati
5dff22d345
implement backup config via api
2025-04-25 17:31:04 +02:00
DanielHemmati
da487f609a
implmenet Get /database/:uuid/backups api
2025-04-25 17:31:04 +02:00
DanielHemmati
2e0d432886
add backup config info to
2025-04-25 17:29:30 +02:00
Andras Bacsai
78ef80f800
refactor
2025-04-23 13:22:01 +02:00
Andras Bacsai
a7164c4b4d
Merge pull request #5653 from LaurenceJJones/servers_validate_json_code
...
fix: Add 201 json code to servers validate api response
2025-04-22 20:53:02 +02:00
Andras Bacsai
eee57d4c06
fix(api): handle JSON response in service creation and update methods for improved error handling
2025-04-22 11:16:49 +02:00
Andras Bacsai
1d52df0e4e
refactor(api): remove token variable from OpenAPI specifications for clarity
2025-04-22 11:12:30 +02:00
Andras Bacsai
3160b8a5a5
feat(api): enhance OpenAPI specifications with token variable and additional key attributes
2025-04-22 10:44:37 +02:00
Andras Bacsai
4ea00cff31
refactor(applications): remove redundant error response in create_env method
2025-04-22 10:44:30 +02:00
Laurence
3f9228fb80
fix: Add 201 json code to servers validate api response
2025-04-19 12:17:21 +01:00
Andras Bacsai
61cc49d317
fix(DeployController): update request handling to use input method and enhance OpenAPI description for deployment endpoint
2025-04-11 15:37:42 +02:00
Andras Bacsai
d075241289
feat(Deployment): enhance queue_application_deployment to handle existing deployments and return appropriate status messages
2025-04-11 15:27:56 +02:00
Laurence
1e7b15ae77
enhance: Add missing UUID to openapi spec
2025-04-09 17:52:12 +01:00
Andrew Nagy
61c689d807
fix(api): Add back validateDataApplications ( #5539 )
2025-04-05 13:58:15 +02:00
Meghea Iulian
d9be1191d6
feat(api): update OpenAPI spec for services ( #5448 )
2025-04-03 16:02:59 +02:00
peaklabs-dev
34699129f4
fix(api): used ssh keys can be deleted
2025-04-03 14:07:11 +02:00
peaklabs-dev
1384de7566
fix(docs): comment out execute for now
...
- Due to security concerns, execute is disabled, so we need to comment out the code as well to update the docs.
2025-04-01 20:57:20 +02:00
Andras Bacsai
9f67633f2c
feat(api): add endpoints for retrieving application logs and deployments
2025-03-31 17:38:54 +02:00
Andras Bacsai
107eb8836b
Merge pull request #5444 from karan-vk/main
...
Feat(api): Add Pull Request deployment support to WebHooks
2025-03-31 17:34:02 +02:00
Andras Bacsai
ee5c0f0413
fix(deploy): validate team ID before deployment
2025-03-31 17:33:01 +02:00
Andras Bacsai
d8248ba153
Update app/Http/Controllers/Api/DeployController.php
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-31 17:23:58 +02:00
Andras Bacsai
99dd516d6b
Update app/Http/Controllers/Api/DeployController.php
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-31 17:22:40 +02:00
Andras Bacsai
adc3d95254
fix: only get apps for the current team
2025-03-31 16:52:51 +02:00
__m__
3b04d3df91
feat(deployments): add list application deployments api route
2025-03-31 12:31:17 +01:00
Karan Vijayakumar
f0a1abc55d
fix(DeployController): cast 'pr' query parameter to integer
...
Ensure the 'pr' query parameter is consistently treated as an integer to avoid type-related issues in subsequent logic
2025-03-28 01:50:21 +09:00
Karan Vijayakumar
2947a9ff1d
feat(deploy): add pull request ID parameter to deploy endpoint
2025-03-28 01:16:29 +09:00
Andras Bacsai
5e6c112fcc
feat(github): enhance repository loading and validation in applications
2025-03-24 14:29:17 +01:00
Andras Bacsai
120facfca3
feat(api): unify service creation endpoint and enhance validation
2025-03-21 11:31:17 +01:00
Meghea Iulian
d08774d083
feat(api): update Services api routes and handlers
2025-03-20 08:28:28 +02:00
Meghea Iulian
d16888b707
feat(api): separate create and one-click routes
...
Moves previous POST /services to POST /services/one-click.
Adds new POST /services that takes a docker_compose.
2025-03-19 10:22:34 +02:00
Meghea Iulian
5a7ced9438
feat(api): add api to create custom services
...
Add separate API to create services with custom Docker compose instead
of oneclick services implement as a POST to /services/compose.
This is somewhat similar to /applications/dockercompose but that API is
the only one in ApplicationsController that actually works with the `Service` model.
2025-03-19 06:51:20 +02:00
Meghea Iulian
57f0a7d400
fix(api): use name from request payload
...
In POST `/applications/dockercompose` the `name` parameter is required.
The API thou ignores it and generates its own name for the service.
2025-03-14 14:41:05 +02:00
Andras Bacsai
96cf9abef8
fix(api): docker compose based apps creationg through api
2025-03-10 11:18:14 +01:00
Andras Bacsai
27e4882d57
feat(core): You can validate compose files with docker compose config
...
fix(core): labels are now accepted with both compose styles
refactor: remove lots of ray's
2025-02-27 11:29:04 +01:00
Andras Bacsai
186a3fc75b
Merge pull request #5038 from Vann-Dev/main
...
feat(api): add applications logs api
2025-02-04 13:33:30 +01:00
Vann
2e652490c1
chore: add openapi response
2025-02-04 02:56:15 +00:00
Vann
11a5ec7c38
feat: add lines query parameter
2025-02-02 13:43:31 +00:00
Vann
7b60d76b77
feat: remove ansi color from log
2025-02-02 10:01:01 +00:00
sistracia
43e8d17197
fix(api): domain check when updating domain
2025-02-02 14:52:05 +07:00
Vann
e7988fc295
feat: container logs
2025-02-01 17:21:38 +00:00
Van-Dev
b1d6167e89
feat: add application api route
2025-02-01 22:09:59 +07: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
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
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
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
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
Andras Bacsai
a9832e2783
Merge pull request #3949 from peaklabs-dev/fix-project-deletion
...
Fix: Projects can be deleted with resources
2024-11-07 13:43:56 +01:00
Andras Bacsai
275edb6c1f
put a few things on high queue
2024-11-06 12:33:56 +01:00
Andras Bacsai
0aa2ba6923
fix: db/service start should be on high queue
2024-11-06 12:30:10 +01:00
Marcon Neves
4a6df8b6f9
fix: update schema in code decorator
2024-11-03 14:03:59 -03:00
Kael
b9597e53e1
Merge branch 'next' into feat/deployment-token
2024-11-01 16:55:00 +11:00
Lucas Michot
1ec224fde1
Inline many variables.
2024-10-31 18:20:11 +01:00
Lucas Michot
8e1444eaa7
Get rid of many useless blank lines
2024-10-31 17:44:01 +01:00
Kael
6520235667
middleware should allow, not deny
2024-10-30 19:06:50 +11:00
Lucas Michot
c5403b0b3f
Always prefer ::class notation
2024-10-28 14:56:13 +01:00
Lucas Michot
d557a22b91
Remove all ray() calls
2024-10-28 13:51:23 +01:00
Andras Bacsai
0424b71506
Merge pull request #3953 from FrankVisuals/main
...
update openapi spec for healthcheck
2024-10-21 14:49:48 +02:00
Andras Bacsai
673ec963e2
fix: is_static through API
2024-10-21 09:51:19 +02:00
Frank Hufnagel
5d8a3d0eec
update openapi spec for healthcheck
2024-10-19 12:57:29 +02:00
peaklabs-dev
5a38b21d95
fix project deletion and refactor some code
2024-10-18 13:48:41 +02:00
Andras Bacsai
2315bdb93f
ui updates on server
2024-10-17 14:56:36 +02:00
Andras Bacsai
4c95647b96
feat: cleanup sentinel on server deletion
...
fix: Sentinel should not be enabled on build servers
2024-10-17 11:21:43 +02:00
Andras Bacsai
1f193d465d
sentinel updates
2024-10-14 12:07:37 +02:00
Andras Bacsai
10ca408b37
fix: is_static settings through API
...
fix: validation rules
2024-10-10 09:33:29 +02:00
Andras Bacsai
6dd0bd0742
fix: api useBuildServer
2024-10-03 15:09:56 +02:00
Andras Bacsai
83549965ca
Refactor instanceSettings() function for improved code readability
2024-10-01 10:37:40 +02:00
Andras Bacsai
31cf3294bf
Update UUID description in API controller and OpenAPI specification
2024-10-01 09:04:01 +02:00