peaklabs-dev
794e5357c9
chore: remove unused code and fix import
2025-01-16 15:39:53 +01:00
peaklabs-dev
30f36f96db
fix: use finished_at for the end time instead of created_at
2025-01-16 15:12:57 +01:00
peaklabs-dev
47be82afc3
Merge branch 'docker-cleanup-executions-ui' of https://github.com/peaklabs-dev/coolify into docker-cleanup-executions-ui
2025-01-16 14:42:58 +01:00
peaklabs-dev
8bcd1449d2
chore: remove limit on commit message
2025-01-16 14:42:33 +01:00
🏔️ Peak
11d1a9e6fd
Merge branch 'next' into docker-cleanup-executions-ui
2025-01-16 14:41:23 +01:00
Andras Bacsai
55d61ffaee
fix: add finished_at to app deployment jobs
...
fix: show deployment job running measurements
fix: terminal should not be wire:navigated
2025-01-16 12:05:59 +01:00
🏔️ Peak
e2a9cb61aa
Merge branch 'next' into docker-cleanup-executions-ui
2025-01-16 11:28:09 +01:00
Andras Bacsai
23e7463a40
refactor: update redirect calls to use a consistent navigation method in deployment functions
2025-01-16 11:14:04 +01:00
🏔️ Peak
881914dc86
Merge branch 'next' into docker-cleanup-executions-ui
2025-01-16 11:13:57 +01:00
Andras Bacsai
433dff2684
improve navigation
2025-01-16 11:04:50 +01:00
peaklabs-dev
42f883cc5b
feat: Add execution log to dockerCleanupJob
2025-01-15 20:31:44 +01:00
peaklabs-dev
65a2629237
feat: Docker cleanup executions UI
2025-01-15 20:11:40 +01:00
peaklabs-dev
7bdef134e6
feat: get command and output for logs from CleanupDocker
2025-01-15 19:54:58 +01:00
peaklabs-dev
85f38b7cb5
refactor: improve data formatting and UI
...
- move date and duration functions to a shared function
- remove duplicate code
- redesigned the deployment executions tab
- added start and end times for backups, scheduled tasks, deployments and docker cleanup executions
- calculated the duration for backups, scheduled tasks, deployments and Docker cleanup executions
- redesigned status badges with colors to make it easier to see your current status
- removed dependency on dayjs
- fixed calculation of execution time was sometimes incorrect
2025-01-15 18:35:20 +01:00
peaklabs-dev
25e6e376f9
feat: DockerCleanupDone event
2025-01-15 17:19:32 +01:00
peaklabs-dev
222af12ef0
feat: dockerCleanupExecutions relationship
2025-01-15 17:14:05 +01:00
peaklabs-dev
52abc7cc92
feat: DB and Model for docker cleanup executions
2025-01-15 17:11:15 +01:00
peaklabs-dev
23ae0677eb
feat: move docker cleanup to its own tab
2025-01-15 14:02:33 +01:00
peaklabs-dev
11769f059f
fix: Undefined variable $service when creating a new service
2025-01-14 12:40:08 +01:00
Andras Bacsai
d9965fbdbe
fix: wording
2025-01-14 09:22:15 +01:00
Andras Bacsai
b01ea8b46d
Merge pull request #4818 from peaklabs-dev/feat-backup-retention
...
Feat: Improve backup retention (for database backups)
2025-01-14 09:10:33 +01:00
Andras Bacsai
6a8cc0f80d
Merge branch 'next' into fix-cloning
2025-01-14 08:50:22 +01:00
Andras Bacsai
aab5398b80
fix: monaco editor disabled state
2025-01-14 08:49:03 +01:00
peaklabs-dev
8709a7749b
fix: db without s3 should still backup
2025-01-13 21:26:20 +01:00
peaklabs-dev
e9f691bf45
fix: storage retention setting
...
- feat: add storage retention to local storage as well
- fix: UI input for max storage now allows exact decimals so MB input is now also possible
- fix: Database column is now decimal instead of integer
- fix: variable naming of storage check no longer overwrites $backup - renamed it to $backupExecution
2025-01-13 19:49:12 +01:00
peaklabs-dev
9eebeb9241
fix: use new removeOldBackups function
...
- use the new removeOldBackups function
- only call removeOldBackups function when the backup is completed and also only if the backup is successful
2025-01-13 18:39:22 +01:00
peaklabs-dev
3dfca4e4bd
fix: backup job deletion - delete all backups from s3 and local
2025-01-13 17:31:55 +01:00
peaklabs-dev
c03b629e85
fix: deletion of single backup
2025-01-13 17:21:03 +01:00
peaklabs-dev
a5fadb0536
fix: function calls
2025-01-13 16:54:17 +01:00
peaklabs-dev
a8b77b389a
feat: use new backup deletion functions
2025-01-13 16:38:16 +01:00
peaklabs-dev
fb01aed6d5
feat: new global s3 and local backup deletion function
2025-01-13 16:37:36 +01:00
Andras Bacsai
bc42429f7e
Merge pull request #4814 from peaklabs-dev/fix-system-wide-gh-apps
...
fix: instance wide GitHub apps
2025-01-13 12:45:20 +01:00
Andras Bacsai
e6692c95c9
feat: add is_coolify_host to the server api responses
2025-01-13 12:31:03 +01:00
🏔️ Peak
dd3abd2ba8
Merge branch 'next' into fix-system-wide-gh-apps
2025-01-13 12:24:56 +01:00
Andras Bacsai
9b55a2fb43
fix: if $SERVICE found in the service specific configuration, then search for it in the db
2025-01-13 12:23:38 +01:00
peaklabs-dev
db5786efc9
fix: instance wide GitHub apps are not available on other teams then the source team
2025-01-13 12:14:36 +01:00
Andras Bacsai
dd2d306abc
feat: force deployment of services
...
fix: added advanced ui dropdown to services
2025-01-13 12:03:03 +01:00
peaklabs-dev
43dacd83c9
chore: use the new job dispatch
2025-01-13 11:13:35 +01:00
peaklabs-dev
76f13125ff
feat: remote server volume cloning
2025-01-13 11:13:15 +01:00
Andras Bacsai
c4a75f4b87
fix: service update statsu
2025-01-13 11:06:10 +01:00
Andras Bacsai
b197ae6237
fix
2025-01-13 11:03:54 +01:00
Andras Bacsai
706602b3a8
Merge pull request #4799 from coollabsio/hotfix
...
Hotfix
2025-01-13 09:33:37 +01:00
Andras Bacsai
0e94a4a472
fix: add own servers on cloud
2025-01-13 09:17:54 +01:00
Andras Bacsai
18f03dc173
fix: create destination properly
2025-01-12 17:26:28 +01:00
🏔️ Peak
0905479c8b
Merge pull request #4767 from peaklabs-dev/fix-backup-executions
...
fix: edge case where backup executions could be null
2025-01-10 20:57:27 +01:00
Andras Bacsai
a396d51452
Merge branch 'next' into hotfix
2025-01-10 20:23:29 +01:00
Andras Bacsai
3a3219394d
refactor: enhance ApplicationDeploymentJob and HorizonServiceProvider for improved job handling
...
- Removed the private property for application deployment queue ID in ApplicationDeploymentJob and utilized constructor property promotion.
- Added a tags method in ApplicationDeploymentJob to properly identify the worker running the job.
- Updated HorizonServiceProvider to handle cases where the deployment queue ID is blank, preventing potential errors during job processing.
- Cleaned up the isAnyDeploymentInprogress function by removing unnecessary whitespace.
2025-01-10 20:07:01 +01:00
Andras Bacsai
7582d7dd8b
refactor: streamline job status retrieval and clean up repository interface
...
- Simplified the job status retrieval process by consolidating logic into a single `getJobStatus` function.
- Removed redundant checks and methods from the `CustomJobRepositoryInterface` and `CustomJobRepository`.
- Updated the `getHorizonJobStatus` method in `ApplicationDeploymentQueue` to directly utilize the new `getJobStatus` function.
- Enhanced the `isThereAJobInProgress` method to improve clarity and maintainability.
2025-01-10 19:53:13 +01:00
Andras Bacsai
a0fc46dee4
refactor: extend HorizonServiceProvider from HorizonApplicationServiceProvider
...
- Updated HorizonServiceProvider to extend from HorizonApplicationServiceProvider for improved functionality.
- Added a call to the parent boot method to ensure proper initialization.
- Cleaned up the gate method by removing unnecessary whitespace.
2025-01-10 19:15:57 +01:00
Andras Bacsai
925af53d3d
horizon gate
2025-01-10 19:00:18 +01:00
Andras Bacsai
02400added
fix: horizon job checker
2025-01-10 18:27:48 +01:00
🏔️ Peak
d3e586b34c
Merge branch 'next' into fix-cloning
2025-01-10 18:17:22 +01:00
Andras Bacsai
a3648901ed
feat: enhance horizon:manage command with worker restart check
...
- Added a new option `--can-i-restart-this-worker` to the `horizon:manage` command.
- Implemented logic to check if the current worker can be restarted based on running jobs in the ApplicationDeploymentQueue.
- Refactored the command to include a new method `canIRestartThisWorker` for better code organization.
- Removed unnecessary dump statement from the CustomJobRepository.
2025-01-10 15:48:23 +01:00
Andras Bacsai
765e1ea04b
feat: add horizon server details to queue
2025-01-10 15:39:22 +01:00
Andras Bacsai
b8f1ded9f8
horizon manage command
2025-01-10 14:28:46 +01:00
Andras Bacsai
cc61f48f27
refactor: remove unused tags method from ApplicationDeploymentJob
2025-01-10 14:23:33 +01:00
Andras Bacsai
9048efaf74
fix: add timeout to sentinel process checks for improved reliability
2025-01-10 13:03:47 +01:00
Andras Bacsai
f748fba3f7
fix: use timeout in cleanup resources
2025-01-10 12:34:20 +01:00
Andras Bacsai
5c8b26d446
fix
2025-01-10 12:31:20 +01:00
Andras Bacsai
b7d18fc28c
fix: getcontainer status should timeout after 30s
2025-01-10 12:04:59 +01:00
Andras Bacsai
b09f0043d1
fix: restrict jobs on cloud
...
fix: restrict sentinel endpoint
2025-01-10 11:54:45 +01:00
🏔️ Peak
c1504fa5ff
Merge branch 'next' into improve-git-and-service-provider
2025-01-09 21:18:30 +01:00
Darren Sisson
a5199c6e1a
fix make public in supabase
2025-01-09 17:06:57 +00:00
peaklabs-dev
34873b2c59
feat: volume cloning for ResourceOperations
2025-01-09 14:13:09 +01:00
peaklabs-dev
e01401a4dd
fix: volume and fileStorages cloning
...
- fix: volume naming
- fix: clone file and directory mounts for services
- fix: clone volumes for services
- fix: clone scheduled tasks for service applications
- fix: clone backup schedules for service databases
- feat: clone Volume data for services and applications
2025-01-09 13:49:44 +01:00
peaklabs-dev
5877cead89
feat: move volume data cloning to a Job
2025-01-08 23:16:15 +01:00
peaklabs-dev
3723c84624
feat: docker volume data cloning
...
- UI implementation
- functional implementation for databases - volume gets cloned successfully
2025-01-08 23:13:05 +01:00
peaklabs-dev
249e39ea71
fix: implement all the cloneMe changes for ResourceOperations as well
2025-01-08 17:26:59 +01:00
peaklabs-dev
3868a4c5e6
fix: clone naming for different database data volumes
2025-01-08 17:26:18 +01:00
peaklabs-dev
fc1963f642
chore: remove unused computed fields
2025-01-08 17:08:36 +01:00
peaklabs-dev
259d23d4c6
fix: labels and URL generation when cloning
2025-01-08 17:07:20 +01:00
peaklabs-dev
3d4e8b9867
chore: switch up readonly lables to make more sense
2025-01-08 17:05:11 +01:00
peaklabs-dev
d45e2d18b7
fix: Service and database cloning and label generation
...
Databases:
- clone tags
- clone volumes
- clone file and directory mounts
- clone backup schedules
Services:
- clone tags
- clone scheduled task
- clone environment variables
2025-01-08 16:26:02 +01:00
peaklabs-dev
66d0926142
fix: Undefined variable $fs_path for databases
2025-01-08 16:00:49 +01:00
Lucien Blunk-Lallet
a139cf154d
refactor: use pull flag on docker compose up
2025-01-08 09:37:25 +01:00
Lucien Blunk-Lallet
9970173652
fix: pull latest image from registry when using build server
2025-01-08 09:02:13 +01:00
peaklabs-dev
b77a223ec9
fix: Application cloning
...
- disable URL auto generation
- clone Application settings as well
- clone tags
- clone scheduled tasks
- clone preview deployment settings
- clone file and directory mounts
2025-01-07 20:27:54 +01:00
peaklabs-dev
91e1220912
fix: service cloning on a separate server
...
- To be able to clone a service to a new server we need to set the server_id as well, otherwise it will be cloned on the same server.
2025-01-07 19:26:25 +01:00
peaklabs-dev
d53065967e
fix: exclude system and computed fields from model replication
...
- Remove auto-generated properties (`id`, `created_at` and `updated_at` ) from replicate
- Exclude computed count properties (`additional_servers_count`, `additional_networks_count`) loaded by global scope to prevent errors
2025-01-07 17:18:04 +01:00
Andras Bacsai
1fe4dd722b
Revert "rector: arrrrr"
...
This reverts commit 16c0cd10d8 .
2025-01-07 15:31:43 +01:00
Andras Bacsai
da07b4fdcf
refactor: rename parameter in DatabaseBackupJob for clarity
2025-01-07 15:21:14 +01:00
Andras Bacsai
16c0cd10d8
rector: arrrrr
2025-01-07 14:52:08 +01:00
peaklabs-dev
96d2a1a512
fix: edge case where executions could be null
2025-01-07 14:49:04 +01:00
Andras Bacsai
c702ebff6d
fix: ui bug on pw confirmation
2025-01-07 14:39:31 +01:00
Andras Bacsai
965d656c5b
fix: update import command to append file redirection for database restoration
2025-01-07 14:39:31 +01:00
Andras Bacsai
40d9e05c0b
feat: restore backup from server file
2025-01-07 14:39:31 +01:00
Andras Bacsai
5064fa246e
feat/fix: able to import full db backups for pg/mysql/mariadb
2025-01-07 13:00:41 +01:00
Andras Bacsai
af482f0572
fix: show if only build servers are added to your team
2025-01-07 10:43:21 +01:00
Andras Bacsai
b43ea5fb5d
fix: we need XSRF-TOKEN for terminal
2025-01-07 09:48:29 +01:00
Andras Bacsai
f2b62e93ce
fix: readonly does not exists
...
fix: validate after setting timezone to the new value
2025-01-07 09:29:38 +01:00
Andras Bacsai
fb66d05760
Refactor ApplicationDeploymentJob: Move 'tries' property definition to class level
2025-01-07 09:25:25 +01:00
peaklabs-dev
c789ed6003
chore: remove more logging
2025-01-06 21:16:57 +01:00
peaklabs-dev
09dfbde676
chore: remove debug log, finally found it
2025-01-06 21:14:06 +01:00
peaklabs-dev
126e5ff57a
add debug log
2025-01-06 20:56:19 +01:00
peaklabs-dev
49f468c4b7
fix: potential fix for permissions update
2025-01-06 19:37:51 +01:00
peaklabs-dev
1a36e7b057
fix: add back letters to prod password requirement
2025-01-06 16:58:20 +01:00
peaklabs-dev
2c4bdb76bd
chore: use new functions
2025-01-06 16:58:20 +01:00
peaklabs-dev
c6be293064
refactor: AppServiceProvider
...
- Remove unused authentik stuff
- Move things to separate functions
- Configure commands for production
- Configure modals for better error handling
- Improve password security by not allowing compromised passwords.
- Rename some things to make it clearer.
- Sort imports
2025-01-06 16:58:20 +01:00
Andras Bacsai
07eac49c0b
Initialize nixpacks_plan_json in ApplicationDeploymentJob constructor
2025-01-06 13:26:09 +01:00
Andras Bacsai
c33132d8d9
fix: show backup timezone on the UI
2025-01-03 20:39:27 +01:00
Andras Bacsai
4d18e3372d
fix: scheduled tasks and backups are executed by server timezone.
2025-01-03 20:32:56 +01:00
Andras Bacsai
2b8c559662
refactor: server limit
...
remove envs from constants related to server limit
2024-12-28 14:10:26 +01:00
Andras Bacsai
f575d1249e
Merge branch 'main' into next
2024-12-27 11:09:29 +01:00
Andras Bacsai
a9ec0b1c3e
fix: update healthcheck and port configurations to use port 8080
2024-12-23 21:11:29 +01:00
peaklabs-dev
f26853b576
fix: unreachable notifications
2024-12-23 16:51:34 +01:00
peaklabs-dev
1f6c6140ba
fix: smtp encryption
2024-12-23 15:28:35 +01:00
peaklabs-dev
f2cb040ba9
feat: new encryption options
2024-12-23 15:26:26 +01:00
Andras Bacsai
6e66cc8737
remove XSRF-TOKEN, we are not using it
2024-12-18 13:39:24 +01:00
Andras Bacsai
340075a684
Merge pull request #4324 from JuliensForks/main
...
feat: add some new labels to every container
2024-12-18 12:55:33 +01:00
Andras Bacsai
f2c7fbf55f
fix: use nixpacks predefined build variables, but still could update the default values from Coolify
2024-12-18 12:02:56 +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
33ae10a6dc
fix
2024-12-18 10:44:56 +01:00
Andras Bacsai
07984ce74f
Merge branch 'next' into fix-postgres-init-scripts
2024-12-18 10:35:16 +01:00
Andras Bacsai
a8401182af
add debug logs to debug the logs - lol
2024-12-17 23:18:40 +01:00
Andras Bacsai
203a20e75e
Merge branch 'next' into fix-unreachable-notificiations
2024-12-17 22:35:09 +01:00
🏔️ Peak
f92ddd77f3
Merge branch 'next' into fix-docker-cleanup-notifications
2024-12-17 15:25:20 +01:00
peaklabs-dev
ed2ccaf8af
fix: Advanced server UI
2024-12-17 15:22:10 +01:00
peaklabs-dev
f2d0f46248
fix: always use docker cleanup frequency
2024-12-17 15:20:06 +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
bf9d89f279
Merge branch 'next' into fix-environement-route
2024-12-17 12:17:50 +01:00
Andras Bacsai
38256af9b3
fix: refactor database view
2024-12-17 12:10:55 +01:00
Andras Bacsai
b7748479d4
fix: service ui structure
2024-12-17 11:13:17 +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
🏔️ Peak
2972a29ccc
Merge branch 'next' into oauth
2024-12-16 18:24:11 +01:00
peaklabs-dev
0cbb3a08c2
fix: use serverStatus not just status
2024-12-16 14:27:17 +01:00
peaklabs-dev
13f7d2a486
Merge branch 'fix-unreachable-notificiations' of https://github.com/peaklabs-dev/coolify into fix-unreachable-notificiations
2024-12-16 14:15:40 +01:00
peaklabs-dev
0957fe8bfc
chore: remove ray debugging
2024-12-16 14:15:38 +01:00
Andras Bacsai
e76817d401
improve application view
2024-12-16 14:11:45 +01:00
🏔️ Peak
48f73c732b
Merge branch 'next' into fix-unreachable-notificiations
2024-12-16 14:08:58 +01:00
peaklabs-dev
80425a16ee
fix: few fixes and use new ServerReachabilityChanged event
2024-12-16 14:06:53 +01:00
peaklabs-dev
5571aa4530
feat: use new ServerReachabilityChanged event instead of isDirty
2024-12-16 14:06:16 +01:00
peaklabs-dev
e30495a59b
feat: new ServerReachabilityChanged event
2024-12-16 14:05:17 +01:00
peaklabs-dev
1da3febd85
fix: remove duplicated ServerCheckJob call
2024-12-16 14:04:22 +01:00
Andras Bacsai
a0ad4bc90e
better impersonate
2024-12-16 12:48:09 +01:00
🏔️ Peak
f8a2d92ea0
Merge branch 'next' into fix-postgres-init-scripts
2024-12-16 12:36:50 +01:00
Andras Bacsai
d58abd1998
refactor
2024-12-16 10:38:18 +01:00
Andras Bacsai
2565deba4f
fix: resource clone name + volume name generation
2024-12-16 10:25:56 +01:00
Andras Bacsai
acf10f39f3
fix: compose loading seq
2024-12-16 10:19:11 +01:00
Pang Jin Hui
b01056411d
fix: fix domain being override when update application
2024-12-16 16:56:33 +08:00
peaklabs-dev
fcdec3a80d
fix: unreachable notifications
2024-12-15 15:09:58 +01:00
Zao Soula
c5f365e384
feat: add infomaniak oauth
2024-12-15 01:30:37 +01: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
e822749db3
fix: saving oauth
2024-12-13 12:35:57 +01:00
Andras Bacsai
b6ea36f74e
fix: socialite for azure and authentik
2024-12-13 12:13:01 +01:00
Andras Bacsai
4901b12279
fix: service status indicator + oauth saving
2024-12-13 12:03:10 +01:00
Andras Bacsai
9832d92bda
update stripe webhook
2024-12-13 08:18:13 +01:00
Andras Bacsai
458cd96ac8
fix: services env values should be sensitive
2024-12-12 13:20:13 +01:00