Commit graph

4381 commits

Author SHA1 Message Date
Andras Bacsai
b376d6df2a reverting: encrypting mount and fs_path 2025-03-29 22:16:12 +01:00
Andras Bacsai
34e1587068 refactor(database-backup): remove existing Docker container before backup upload 2025-03-28 22:45:12 +01:00
Andras Bacsai
c2941abe57 fix(file-storage): double save on compose volumes 2025-03-28 22:10:33 +01:00
Andras Bacsai
7686ebfd6c refactor(file-storage): add loadStorageOnServer method for improved error handling 2025-03-28 21:05:34 +01:00
Andras Bacsai
0b41378014 refactor(proxy): remove redundant stop call in restart method 2025-03-28 20:54:27 +01:00
Andras Bacsai
d110c93ba9 refactor(email): enhance sender information formatting in email logic 2025-03-28 20:44:28 +01:00
Andras Bacsai
ebb81aff68 refactor(email): allow custom email recipients in email sending logic 2025-03-28 19:09:36 +01:00
Andras Bacsai
6d9887afba refactor(email): remove unnecessary whitespace in email sending logic 2025-03-28 18:46:46 +01:00
Andras Bacsai
2b046c4bc4 refactor(email): streamline email sending logic and improve configuration handling 2025-03-28 18:44:10 +01:00
Andras Bacsai
39cb270eb7 refactor(email): improve error handling by passing context to handleError 2025-03-28 18:44:03 +01:00
Andras Bacsai
09636b413e refactor(email): validate team membership for email recipients 2025-03-28 14:55:13 +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
ebd9485acb refactor(database): change MySQL daemon command to MariaDB daemon 2025-03-27 10:14:40 +01:00
Andras Bacsai
3be6be4c1b refactor(database): require PEM key file for SSL certificate regeneration 2025-03-27 10:02:25 +01:00
Andras Bacsai
1857a54d92 refactor(database): update import statements for Auth in database components 2025-03-26 18:31:42 +01:00
Andras Bacsai
44bf3f4ee3 refactor(database): streamline event listeners in Redis General component 2025-03-26 18:30:52 +01:00
Andras Bacsai
d6d16f3844
Merge pull request #5433 from coollabsio/debug-emails
Emails
2025-03-26 17:27:34 +01:00
Andras Bacsai
d7ded7f8e5 refactor(database): enhance SSL configuration handling for various databases 2025-03-26 17:24:46 +01:00
Andras Bacsai
5693b59874 refactor(database): update MongoDB SSL configuration for improved security 2025-03-26 12:25:58 +01:00
Andras Bacsai
63c496feee refactor(models): remove unnecessary cloud check in isEnabled method 2025-03-26 09:44:11 +01:00
Andras Bacsai
11bfc37db7 refactor(notifications): update Telegram button URL for staging environment 2025-03-26 08:31:11 +01:00
Andras Bacsai
f7122ec520 refactor(proxy): improve port availability checks with multiple methods 2025-03-25 18:28:01 +01:00
Andras Bacsai
be95695ee8 refactor(models): add is_directory attribute to LocalFileVolume model 2025-03-25 09:40:36 +01:00
Andras Bacsai
3f9fd1404b refactor(docker): update image references to use centralized registry URL 2025-03-25 08:17:13 +01:00
Andras Bacsai
e891318396 refactor(configuration): centralize configuration management in ConfigurationRepository 2025-03-24 21:01:27 +01:00
Andras Bacsai
7b8e2e7175 fix(ssl): handle missing CA certificate in SSL regeneration job 2025-03-24 20:29:54 +01:00
Andras Bacsai
cef4596011 fix(console): handle missing root user in password reset command 2025-03-24 18:00:31 +01:00
Andras Bacsai
e7f32a1c44 refactor(notifications): standardize getRecipients method signatures 2025-03-24 17:55:10 +01:00
Andras Bacsai
5e6c112fcc feat(github): enhance repository loading and validation in applications 2025-03-24 14:29:17 +01:00
Andras Bacsai
806d892031 refactor(application): streamline healthcheck parsing from Dockerfile 2025-03-24 11:43:10 +01:00
Andras Bacsai
d7d80e926e feat(user): implement session deletion on password reset 2025-03-21 15:45:29 +01:00
Andras Bacsai
26f4d37346 feat(notifications): add discord ping functionality and settings 2025-03-21 12:16:33 +01:00
Andras Bacsai
2ec3af8d2c
Merge branch 'next' into feat/api-services-create-custom-compose 2025-03-21 11:33:06 +01:00
Andras Bacsai
e0e54d6d82
Merge pull request #5344 from plumelo/feat/api-services-create-custom-compose
feat(api): improve services API
2025-03-21 11:32:16 +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
Benjamin Grant
37c2a2b6ad
fix: correct some spellings 2025-03-19 19:49:59 +00: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
Andras Bacsai
ca5371a7d4
Merge pull request #5340 from DekraIT/main
fix(issue#4746): Do not use setGitImportSettings inside of generateGitLsRemoteCommands
2025-03-18 10:50:16 +01:00
Andras Bacsai
b888d86d90
Merge pull request #5341 from plumelo/feat/application-docker-compose-name
fix(api): use name from request payload
2025-03-18 10:38:37 +01:00
Darren Sisson
8aef5df539 change cleanup logic when restarting containers 2025-03-17 17:52:34 +00:00
Andras Bacsai
950acffe0b refactor(database): streamline SSL configuration handling across database types 2025-03-17 15:15:54 +01:00
Andras Bacsai
009cee1bbd
Merge branch 'next' into feat-db-ssl 2025-03-17 15:15:24 +01:00
Andras Bacsai
b8f99bbda0 fix(core): redirect healthcheck route for dockercompose applications 2025-03-17 11:28:43 +01:00
Piotr Wójcik
0baeaa982b
Merge branch 'next' into docker-network-aliases 2025-03-16 14:50:26 +01:00
Andras Bacsai
8a11de9b1a fix(core): improve instantSave logic and error handling 2025-03-15 22:26:59 +01:00
Andras Bacsai
798aab6955 refactor(ScheduledTask): clean up code formatting and remove unused import 2025-03-14 16:11:41 +01:00
Andras Bacsai
282bb5c4cd fix(redis): set default redis_username for new instances
Added functionality to automatically assign a default 'redis_username' of 'default' when a StandaloneRedis instance is retrieved without an existing username. This ensures that all instances have a valid username, improving consistency and reducing potential errors in subsequent operations. Additionally, updated the redisUsername method to create a runtime environment variable for 'REDIS_USERNAME' with a default value if it does not already exist, enhancing the robustness of the configuration management.
2025-03-14 16:11:31 +01:00
Andras Bacsai
595370df92 feat(LocalFileVolume): add binary file detection and update UI logic
Implemented a new attribute to detect binary files in the LocalFileVolume model, enhancing the file handling capabilities. The isBinary method checks for binary content based on specific criteria, allowing for better management of file types. Additionally, updated the file storage UI to conditionally display conversion options based on the binary status of the file, improving user experience and preventing unintended actions on binary files. These changes contribute to a more robust and user-friendly file management system.
2025-03-14 14:55:38 +01: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
DekraIt
08f0661757 fix(issue#4746): Do not use setGitImportSettings inside of generateGitLsRemoteCommands 2025-03-14 05:14:18 +01:00
Andras Bacsai
a07b581478 fix(database): simplify container name generation in StartDatabaseProxy 2025-03-12 16:46:31 +01:00
Andras Bacsai
078ef62eb8 fix(database): handle unsupported database types in StartDatabaseProxy
Added a default case to the switch statement in StartDatabaseProxy to throw an exception for unsupported database types. This change improves error handling and ensures that only valid database types are processed, enhancing the robustness of the database proxy functionality.
2025-03-12 16:35:47 +01:00
Andras Bacsai
18fe524cdb fix(database): limit container name length for database proxy
Updated the container name generation logic in StartDatabaseProxy to ensure the resulting name does not exceed 32 characters. This change prevents potential issues with container name length restrictions, enhancing the robustness of the database proxy setup.
2025-03-12 16:34:42 +01:00
Andras Bacsai
d894c3d903 feat(database): implement two-step confirmation for database deletion
Added a new delete method in the Database component that includes a two-step confirmation process requiring the user to enter their password. If two-step confirmation is disabled, the deletion proceeds without password verification. Additionally, a confirmation modal has been integrated into the database view to prompt users before deletion, enhancing the safety of this critical operation.
2025-03-12 16:33:35 +01:00
Andras Bacsai
fa619550c2 fix(database): correct container name generation for service databases 2025-03-12 16:33:00 +01:00
Andras Bacsai
8c1cc62f46
Merge branch 'next' into fix/wrong-container-name-for-database-proxy 2025-03-12 15:41:08 +01:00
Andras Bacsai
a7318c2d77 fix(domain): dispatch refreshStatus event after successful domain update 2025-03-12 15:37:06 +01:00
Andras Bacsai
f73c74bd44 feat(github-source): Enhance GitHub App configuration with manual and private key support
- Add support for manual GitHub App configuration
- Introduce private key selection for GitHub Apps
- Enable editing of previously disabled GitHub App fields
- Add error handling for permission checks
- Implement a manual GitHub App creation method
2025-03-11 14:15:22 +01:00
Andras Bacsai
337e12f5c6
Merge pull request #5245 from janwiebe-jump/fix-gitea
Gitea webhook sends action synchronized
2025-03-11 10:21:56 +01:00
Andras Bacsai
e7e0cb6666
Merge pull request #5162 from notm1ke/main
feat(oauth): Add support for configuring and passing hd parameter to Google
2025-03-10 19:25:18 +01:00
Andras Bacsai
c3d77e31b2 fix(database): Improve database type detection for Supabase Postgres images 2025-03-10 15:47:59 +01:00
Andras Bacsai
96cf9abef8 fix(api): docker compose based apps creationg through api 2025-03-10 11:18:14 +01:00
Andras Bacsai
1909865a33 refactor(billing): Enhance Stripe subscription status handling and notifications 2025-03-01 12:43:21 +01:00
Andras Bacsai
07cbec7ddc feat(billing): Add Stripe past due subscription status tracking 2025-03-01 12:43:12 +01:00
Andras Bacsai
3169803259 fix(billing): Restrict Stripe subscription status update to 'active' only 2025-03-01 12:10:28 +01:00
Andras Bacsai
5ac43fd426 fix(billing): Handle 'past_due' subscription status in Stripe processing 2025-02-28 14:41:54 +01:00
Andras Bacsai
1c21652d5d fix(core): Improve label generation and merging for applications and services 2025-02-28 12:44:20 +01:00
Andras Bacsai
fb3f5e0a3e fix(core): Clean up unnecessary files during application image build 2025-02-28 11:23:54 +01:00
Andras Bacsai
2f826c56e8 fix(core): Adding a new server should not try to make the default docker network 2025-02-28 11:23:08 +01:00
janwiebe-jump
37553e79b7
Gitea webhook sends action synchronized 2025-02-27 17:25:33 +01:00
Andras Bacsai
3f62225ec3 refactor(scheduled-tasks): Improve scheduled task creation and management 2025-02-27 13:26:35 +01:00
Andras Bacsai
1e28cf56ac fix(ui): Correct redirect routes after task deletion 2025-02-27 13:26:24 +01:00
Andras Bacsai
dea125f679 refactor(notifications): Improve transactional email settings handling
- Replace `! $type` checks with `blank($type)` for consistency
- Modify email settings configuration to handle null/disabled states
- Ensure proper fallback and configuration of email providers
2025-02-27 12:56:37 +01:00
Andras Bacsai
f98c58a0a3 fix(ui): Restrict service retrieval to current team 2025-02-27 12:17:23 +01:00
Andras Bacsai
4e38872f71 fix(notifications): Correct environment URL path in application notifications 2025-02-27 11:56:39 +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
359806472b fix(ui): Set default SMTP encryption to starttls 2025-02-27 10:08:34 +01:00
Andras Bacsai
40ad118492 fix(core): add server functionality check before dispatching container status 2025-02-22 12:51:22 +01:00
peaklabs-dev
225f24e650
chore: improve code quality suggested by code rabbit 2025-02-19 18:04:58 +01:00
🏔️ Peak
9557957f18
Merge branch 'next' into feat-db-ssl 2025-02-19 17:57:59 +01:00
Gauthier A.
0d12b8296e fix wrong database container name + code simplification 2025-02-19 00:05:46 +01:00
Andras Bacsai
65b925252c feat(core): prevent using servers with existing resources as build servers 2025-02-18 16:44:16 +01:00
Andras Bacsai
372b064dba fix(core): improve server selection error handling in Docker component 2025-02-18 16:44:05 +01:00
Andras Bacsai
6e802f43ba fix(core): update service status refresh event handling 2025-02-17 09:52:18 +01:00
Mike M
4a0cab8be3 Added support for passing hd parameter to Google via existing tenant column in oauth_settings 2025-02-16 16:44:22 -08:00
Andras Bacsai
694b0ac249 feat(core): add error logging and cron parsing to docker/server schedules 2025-02-15 13:21:23 +01:00
Andras Bacsai
b53e289bcd fix(core): improve connection testing with dynamic disk configuration for s3 backups 2025-02-13 10:07:58 +01:00
Andras Bacsai
be1742a85c fix(s3-storage): optimize team admin notification query 2025-02-13 09:55:24 +01:00
Andras Bacsai
a25e2072d3 fix(deployment): improve server selection for deployment cancellation
- Add fallback for build server and deployment server selection
- Use `ownedByCurrentTeam()` scope when finding servers
- Handle cases where server IDs might be null
2025-02-12 10:51:26 +01:00
Andras Bacsai
619a42b11a
Merge pull request #4771 from lucienbl/next
fix: pull latest image from registry when using build server
2025-02-12 10:31:38 +01:00
peaklabs-dev
f288852753
fix(notification): always send SSL notifications 2025-02-11 20:55:33 +01:00
peaklabs-dev
d74c578a4a
fix(ssl): add --tls arg to DrangflyDB 2025-02-11 20:34:45 +01:00
peaklabs-dev
4fdd5679c9
fix(ui): enable SSL is not working correctly for KeyDB 2025-02-11 20:18:42 +01:00
peaklabs-dev
0a738e6bff
fix(ssl): KeyDB port and caCert args are missing 2025-02-11 20:18:19 +01:00
🏔️ Peak
43adb74755
Merge branch 'next' into feat-db-ssl 2025-02-11 17:41:45 +01:00
🏔️ Peak
e73c9b5f98
fix: system-wide GitHub apps (#5114)
- fix(ui): system-wide GitHub Apps are not shown in the create a new Application dialog
- fix: query logic error that shows all system-wide apps, regardless of whether they are public or private.
- fix: clicking on a system-wide GitHub app from a team other than the one that created it resulted in a 404 error.
2025-02-11 17:07:57 +01:00
Gary Tou
9f61672cb3
feat(slack): Show message title in notification previews (#5063) 2025-02-11 16:31:37 +01:00
Gary Tou
5528212b41
fix(slack): Notification settings URL in HighDiskUsage message (#5071) 2025-02-11 16:27:48 +01:00
peaklabs-dev
268fca3477
feat: SSL notification 2025-02-10 21:31:31 +01:00
peaklabs-dev
3e95387e10
Full: SSL Support for KeyDB 2025-02-10 21:29:45 +01:00
peaklabs-dev
90e681e24b
feat: Full SSL support for DrangonflyDB 2025-02-10 21:29:20 +01:00
peaklabs-dev
4547647e98
feat(ssl): improve Redis and remove modes 2025-02-10 19:23:39 +01:00
peaklabs-dev
6b6a9f57f3
fix(ui): remove unused mode for MongoDB 2025-02-10 15:26:05 +01:00
peaklabs-dev
5c12f7273e
feat: New mode implementation for MongoDB 2025-02-10 15:18:29 +01:00
peaklabs-dev
484fc5140b
fix(ssl): rename Redis mode to verify-ca as it is not verify-full 2025-02-08 16:43:15 +01:00
🏔️ Peak
c7840bdf1b
Merge branch 'next' into feat-db-ssl 2025-02-07 23:01:46 +01:00
peaklabs-dev
7b30b1aff1
feat(ssl): Full SSL support for Redis 2025-02-07 22:36:36 +01:00
peaklabs-dev
aad717d22f
fix(ssl): permission issue with MariDB cert and key and paths 2025-02-07 21:08:14 +01:00
peaklabs-dev
5b347f3d0f
fix(ssl): remove mode selection for MariaDB as it is not supported 2025-02-07 21:07:40 +01:00
peaklabs-dev
c1e7a5721e
fix(ssl): adjust ca paths for MySQL 2025-02-07 20:09:11 +01:00
peaklabs-dev
cd63760770
fix(ssl): when regenerating SSL certs the cert is not singed with the new CN 2025-02-07 19:36:52 +01:00
peaklabs-dev
a539bfd765
fix(ssl): server id 2025-02-07 18:45:12 +01:00
peaklabs-dev
bd33f65c0a
feat(ssl): new modes for MongoDB and get caCert and mountPath correctly 2025-02-07 18:31:41 +01:00
peaklabs-dev
62fb2c2877
fix(ssl): ger caCert and mountPath correctly 2025-02-07 18:30:07 +01:00
peaklabs-dev
836006798f
fix(ssl): remove caCert even if it is a folder by accident 2025-02-07 18:28:58 +01:00
peaklabs-dev
6a52f51851
fix(ssl): get caCert correctly 2025-02-07 18:27:30 +01:00
peaklabs-dev
69a6010839
fix(ssl): fix SSL regeneration to sign with CA cert and use mount path 2025-02-07 18:12:55 +01:00
peaklabs-dev
35cd9573ab
fix(ssl): add mount path to DB to fix regeneration of certs 2025-02-07 18:11:26 +01:00
peaklabs-dev
f92c170db1
feat(ssl): ability to create .pem certs and add clientAuth to extendedKeyUsage 2025-02-07 18:07:55 +01:00
peaklabs-dev
1a4c2c3dc9
fix(ssl): fix MariaDB and MySQL need CA cert 2025-02-06 15:14:57 +01:00
peaklabs-dev
6eabfd5c8e
feat/fix(ssl): fix some issues and improve ssl generation helper
- set default country to XX
- fix array handling of the subjectAlternativeNames so that no indexes are added or skipped
- add extendedKeyUsage to server certs to make them more secure
- add keyAgreement to server certs
- remove authorityKeyIdentifier as it caused the following issue: unable to get local issuer certificate
- removed duplicated distinguished_name entries
- improved formatting
2025-02-06 15:13:08 +01:00
peaklabs-dev
367eebc9fc
feat: Add full SSL support to MongoDB 2025-02-05 22:56:29 +01:00
peaklabs-dev
844f40188a
feat(ssl): Add SSL relationships to all DBs 2025-02-05 22:19:13 +01:00
peaklabs-dev
852be5fd93
feat(ssl): check for SSL renewal twice daily 2025-02-05 22:11:10 +01:00
peaklabs-dev
806d9af569
feat(ssl): improve SSL generation and security a lot
- rename some variables for better clarity
- format subjectAltNames correctly
- setup extensions more securely and improve them a lot
- use finally block to remove tempConfig
2025-02-05 22:09:37 +01:00
peaklabs-dev
951a454cbc
fix(ssl): regenerating certs for a specific DB
- fix: add mount path to make file mounts work correctly
- fix: get CA cert of the server not some random cert
2025-02-05 21:22:54 +01:00
peaklabs-dev
ba24630c28
fix(ssl): make sure when regenerating the CA cert it is not overwritten with a server cert 2025-02-05 21:13:30 +01:00
peaklabs-dev
7666cec462
fix(ssl): wrong ssl cert is loaded to the server and UI error when regenerating SSL 2025-02-05 21:10:37 +01:00
peaklabs-dev
1003858632
feat(ssl): Add openssl.conf to configure SSL extension properly 2025-02-05 18:06:38 +01:00
peaklabs-dev
a3c4f86e80
fix(ssl): do not remove SSL directory 2025-02-05 18:03:55 +01:00
peaklabs-dev
e81ed1aad8
feat(ssl): Add full MariaDB SSL support 2025-02-04 21:08:20 +01:00
peaklabs-dev
8f2b45c8b5
fix(ssl): use 1 instead of on for mysql 2025-02-04 20:52:23 +01:00
peaklabs-dev
80fc7c7b97
fix(ssl): use mountPath parameter not a hardcoded path 2025-02-04 18:31:09 +01:00
peaklabs-dev
3f857c6dac
feat(ssl): Add full MySQL SSL Support 2025-02-04 18:29:35 +01:00
peaklabs-dev
d6a39f2ed3
fix(ssl): always create ca crt on disk even if it is already there 2025-02-04 16:57:40 +01:00
peaklabs-dev
da148f93a6
feat(ssl): regenerate CA cert and all other certs logic 2025-02-04 16:55:36 +01:00
peaklabs-dev
3c62130e86
fix(ssl): improve SSL cert file mounts
- If SSL is disabled, delete the SSL crt and file mounts in the DB
- If SSL is disabled, delete the SSL folder
- If SSL is enabled, make sure the file mounts are added inside the helper
- remove old file mounts first to make sure the ssl crt content is always up to date and no duplicates are added
2025-02-04 16:34:24 +01:00
peaklabs-dev
6de76ca3f8
fix(deletion): fix DB deletion
- delete file mounts, volume mounts, envs, ssl crts, backups and detach tags correctly when deleting
2025-02-04 15:32:56 +01:00
Andras Bacsai
1c12cb98d9 feat(deployment): ensure private key is stored in filesystem before deployment 2025-02-04 15:23:28 +01:00
Andras Bacsai
d632eb2be9 refactor: simplify service start and restart workflows 2025-02-04 14:34:34 +01:00
Andras Bacsai
65a7610e48
Merge pull request #5029 from IARayan/IARayan-bitbucket-preview-deployment-fix-pullrequest-update
fix: Handle pullrequest:updated for reliable preview deployments
2025-02-04 13:55:16 +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
Andras Bacsai
8033a89dee fix(ui): simplify service templates loading logic 2025-02-04 13:30:27 +01:00
Andras Bacsai
fbb6ce3fce fix(core): enhance Slack deployment success notification formatting 2025-02-04 12:44:31 +01:00
Andras Bacsai
df129b83b3 fix(core): update Slack notification formatting to use bold correctly 2025-02-04 12:40:04 +01:00
Andras Bacsai
3da921e2ac fix(core): improve deployment failure Slack notification formatting 2025-02-04 12:36:39 +01:00
Vann
2e652490c1 chore: add openapi response 2025-02-04 02:56:15 +00:00
peaklabs-dev
fd5b7492f8
chore(ui): improve valid until handling 2025-02-03 23:21:09 +01:00
peaklabs-dev
53510928d2
feat(ssl): regenerate certificate and valid until UI 2025-02-03 22:54:31 +01:00
peaklabs-dev
cd335e9e00
fix(ssl): make sure the subjectAlternativeNames are unique and stored correctly 2025-02-03 22:42:15 +01:00
peaklabs-dev
2fbb898c89
feat(ssl): regenerate SSL certs job 2025-02-03 22:37:12 +01:00
peaklabs-dev
fba95c3729
fix(migration): store subjectAlternativeNames as a json array in the db 2025-02-03 22:35:00 +01:00
🏔️ Peak
f871c1067b
Merge branch 'next' into feat-db-ssl 2025-02-03 22:20:51 +01:00
peaklabs-dev
72a2f79d88
feat(ssl): improve ssl generation
- add default state and country
- rename parameters for more clarity
- set subjectAltName
- delete old certificate before creating new one
- Set CN and subjectAltNames in DB for automatic renewal
2025-02-03 22:11:29 +01:00
peaklabs-dev
9d9fbd6859
feat(databases): add CA SSL crt location to Postgres URLs 2025-02-03 22:06:53 +01:00
peaklabs-dev
498bf04559
feat(migration): add CN and alternative names to DB 2025-02-03 22:05:32 +01:00
peaklabs-dev
5f357e3d92
fix(database): fix volume and file mounts and naming
- fix: Volume and file mounts are unmounted if there are more than 1
- rename the crt and key to server key and crt to follow best practices
- move crt and key to a more standardized location
2025-02-03 22:03:45 +01:00
Andras Bacsai
f4575e531f fix(backup): escape special characters in database backup commands 2025-02-03 21:49:13 +01:00
peaklabs-dev
a1e650e699
chore: rename ca crt folder to ssl 2025-02-03 21:42:28 +01:00
Andras Bacsai
c45c64a1a1 fix(ui): always redirect to dashboard after team switch 2025-02-03 21:38:40 +01:00
Andras Bacsai
035db67180
Merge pull request #5036 from sistracia/next
fix(api): domain check when updating domain
2025-02-03 21:28:42 +01:00
Andras Bacsai
1e9a4aa5b6 fix(core): remove --remove-orphans flag from proxy startup command to prevent other proxy deletions (db) 2025-02-03 21:24:27 +01:00
Andras Bacsai
2a03544593 fix(core): stopping database is not disabling db proxy 2025-02-03 21:23:43 +01:00
Andras Bacsai
0ff7c468c8 fix(ui): skip SERVICE_FQDN and SERVICE_URL variables during update 2025-02-03 15:44:15 +01: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
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
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
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
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
e1245f49f1
fix(ui): select component should not always uses title case 2025-01-31 11:57:30 +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
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
9f9349925a
fix(ssl): permission of ssl crt and key inside the container 2025-01-30 12:58:48 +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
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
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
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
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
Andras Bacsai
e049559e53 fix(database): detect more postgres database image types 2025-01-28 11:05:50 +01:00
Andras Bacsai
8f1bde2534 fix(core): check cron expression on save 2025-01-28 11:01:50 +01:00
Andras Bacsai
497a7ac15a
Merge pull request #4990 from esarbanis/cron-validation-on-update
fix: validate cron expression in Scheduled Task update
2025-01-28 11:00:53 +01:00
Andras Bacsai
bfe4200012 fix: cleanup old scheduled_task_executions 2025-01-28 10:19:41 +01:00
Efthymis Sarmpanis
01b9cbdfea fix: validate cron expression in Scheduled Task update 2025-01-27 22:50:54 +02:00
Andras Bacsai
fddaf9134d fix: disable certain parts if readonly label is turned off 2025-01-27 14:05:18 +01:00
peaklabs-dev
d5504ea546
refactor(s3): improve S3 bucket endpoint formatting
- remove the bucket name from the DigitalOcean endpoint
- always add https in front if it is not http or already https
2025-01-25 23:44:12 +01:00
peaklabs-dev
12c7ee2879
fix(s3): DigitalOcean storage buckets do not work 2025-01-25 23:40:40 +01:00
peaklabs-dev
91d90ccb6c
fix(ui): Cloudflare tunnel configuration should be an info, not a warning 2025-01-24 20:02:31 +01:00
Khiet Tam Nguyen
a55d1996d7
feat(env): added COOLIFY_RESOURCE_UUID environment variable 2025-01-24 22:04:34 +11:00
peaklabs-dev
8b6b1b6a9d
fix(storage): Hetzner storage buckets not working
- fix: Hetzner buckets do not work for backups
- refactor: removed special handling for Hetzner as it is no longer needed
2025-01-23 18:51:24 +01:00
Hederson Boechat
071cabdc31 fix(proxy) update traefik proxy config for docker swarm 2025-01-23 11:57:34 -03:00
peaklabs-dev
ec9f8de873
fix(labels): generate labels when they are empty not when they are already generated 2025-01-23 14:57:18 +01:00
peaklabs-dev
cc640ad710
fix(labels): docker labels do not generated correctly 2025-01-23 12:42:53 +01:00
peaklabs-dev
09d64d4bf6
feat(terminal): show terminal unavailable if the container does not have a shell on the global terminal UI 2025-01-23 11:51:01 +01:00
peaklabs-dev
007e291bef
fix(terminal): terminal shows that it is not available, even though it is 2025-01-23 11:50:06 +01:00
Khiet Tam Nguyen
c4bf91e5b4
fix: remove quotes in COOLIFY_CONTAINER_NAME 2025-01-23 13:08:31 +11:00
peaklabs-dev
3f2f1cf966
chore(core): EnvironmentVariable Model now extends BaseModel to remove duplicated code 2025-01-22 20:14:44 +01:00
peaklabs-dev
9f3c6b4b76
fix(env): shared variables can not be updated 2025-01-22 17:02:11 +01:00
Andras Bacsai
c3c032ebbd fix(core): update environment variable generation logic in ApplicationDeploymentJob to handle different build packs 2025-01-22 15:13:40 +01:00
Andras Bacsai
bae8b9a938 feat(core): add SOURCE_COMMIT variable to build environment in ApplicationDeploymentJob 2025-01-22 15:01:48 +01:00
Andras Bacsai
3cf21d440e fix(core): correct spelling of 'resourable' to 'resourceable' in Nixpacks configuration for ApplicationDeploymentJob 2025-01-22 14:16:48 +01:00
Andras Bacsai
fda1fdc435 fix(core): update application_id references to resourable_id and resourable_type for Nixpacks configuration 2025-01-22 14:15:42 +01:00
Andras Bacsai
52a38f238b fix(redis): update environment variable keys from standalone_redis_id to resourceable_id 2025-01-22 11:54:53 +01:00
peaklabs-dev
1799081ebd
fix(parser): resource URL should only be parsed if there is one 2025-01-21 18:55:07 +01:00
peaklabs-dev
31992f4d02
fix(ui):show error on terminal if container has no shell (bash/sh) 2025-01-21 18:36:38 +01:00
peaklabs-dev
a230a42599
fix(email): transactional email sending 2025-01-21 14:53:44 +01:00
Andras Bacsai
4b74ca56c3 feat(core): wip version of coolify.json 2025-01-21 14:09:12 +01:00
Andras Bacsai
7e58cb9125 fix: load service templates on cloud 2025-01-21 13:39:53 +01:00
Andras Bacsai
e83164e537 fix: envs with special chars during build 2025-01-21 13:05:20 +01: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
c891102db6 fix: add public key attribute to privatekey model 2025-01-20 13:59:02 +01:00
Andras Bacsai
57f61d4589 fix: docker image parser 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
Andras Bacsai
ca2c66943c fix 2025-01-17 14:00:20 +01:00
Andras Bacsai
03c50a387c refactor: remove debug echo statements from Init command to clean up output and improve readability 2025-01-17 12:35:22 +01:00
Andras Bacsai
973429d2c4 add debug logs 2025-01-17 11:38:22 +01:00
Andras Bacsai
618b89f648
Merge pull request #4842 from peaklabs-dev/docker-cleanup-executions-ui
feat: Docker cleanup execution UI and some UI improvements
2025-01-16 21:42:02 +01:00
Andras Bacsai
a771993d97 fix: redirect to server index instead of show on error in Advanced and DockerCleanup components 2025-01-16 21:35:48 +01:00
Andras Bacsai
3c83c7fd6c
Merge pull request #4754 from coollabsio/improve-git-and-service-provider
Improves: GitHub handling, AppServiceProvider and 500 error message rendering
2025-01-16 21:09:08 +01:00
Andras Bacsai
dd897a11fd disable model strict mode 2025-01-16 21:07:12 +01:00
peaklabs-dev
43d526b773
fix: production password rule and cleanup code 2025-01-16 18:06:46 +01:00
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
Piotr Wojcik
9acde06795 Custom network aliases for Dockerfile and Docker Image apps 2025-01-05 07:47:57 +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
Andras Bacsai
147240b527 Merge branch 'next' into authentik 2024-12-12 08:45:38 +01:00
peaklabs-dev
f88438edd3
chore: rename topicID to threadId like in the telegram API response 2024-12-11 23:13:13 +01:00
Andras Bacsai
d2ff8c6521 feat: add seeder command and configuration for database seeding 2024-12-11 21:31:24 +01:00
peaklabs-dev
48ddc65435
fix: use Livewire refresh method and lock properties 2024-12-11 19:34:44 +01:00
peaklabs-dev
866abfb1d4
fix: typo in pushover user key 2024-12-11 19:31:25 +01:00
peaklabs-dev
92fec9582c
fix: make pushover settings more clear
- Rename User to User Key
- Rename Token to API Token
- fix: helper and docs links
2024-12-11 19:18:39 +01:00
peaklabs-dev
ebfc8a1094
fix: telegram topic IDs 2024-12-11 19:16:54 +01:00
peaklabs-dev
b48353c8a6
reorder more stuff 2024-12-11 18:44:19 +01:00
🏔️ Peak
86512bb7b8
Merge pull request #4543 from ezyostudio/next-pushover
feat(notification): add Pushover
2024-12-11 18:41:18 +01:00
Zao Soula
9afe929921 refactor: unify notification icon 2024-12-11 18:37:12 +01:00
Zao Soula
ef35429533 feat(notification): add Pushover 2024-12-11 18:13:16 +01:00
🏔️ Peak
72c4b79591
Merge branch 'next' into authentik 2024-12-11 17:52:02 +01:00
Andras Bacsai
7be3c6f2b7 refactor: improve migration command and enhance application model with global scope and status checks 2024-12-11 17:18:32 +01:00
Andras Bacsai
528bfce832 fix: migration call 2024-12-11 17:09:53 +01:00
peaklabs-dev
97b6257872
fix: provider error 2024-12-11 17:09:21 +01:00
🏔️ Peak
c2748de6a4
Merge pull request #3840 from danilomartinelli/feature/authentik-provider
feature: Integrate Authentik Authentication with Coolify
2024-12-11 17:07:24 +01:00
Andras Bacsai
a5b48caeb9 do prod migration with custom command 2024-12-11 17:01:06 +01:00
🏔️ Peak
d9aefae207
Merge branch 'next' into feature/authentik-provider 2024-12-11 15:24:26 +01:00
Andras Bacsai
1908d8a180 fix: --cone 2024-12-11 15:12:53 +01:00
Andras Bacsai
9ffae89a71 fix: remove resale_license from db as well 2024-12-11 12:04:58 +01:00
Andras Bacsai
b442965976 fix: test notifications to only send it to the right channel 2024-12-11 11:57:56 +01:00
Andras Bacsai
c915bf9c0f fix: general notifications does not go through email channel 2024-12-11 11:09:53 +01:00
Andras Bacsai
6a7b283844 fix: docker cleanup email notifications 2024-12-11 10:50:10 +01:00
Andras Bacsai
1257ab6ff4 fix: ui + migrations 2024-12-11 10:14:12 +01:00
🏔️ Peak
e24fbddc59
Merge branch 'next' into separate-success-and-failure-notifications 2024-12-10 16:40:20 +01:00
peaklabs-dev
3030df9554
fix: new docker cleanup settings are now saved to the DB correctly 2024-12-10 16:13:54 +01:00
peaklabs-dev
f36043943c
feat: send new docker cleanup notifications 2024-12-10 16:13:18 +01:00
peaklabs-dev
0375db0d7c
feat: Docker cleanup success and failure notification files 2024-12-10 16:12:32 +01:00
peaklabs-dev
99eea783ae
feat: scheduled task success and failure notifications 2024-12-10 14:45:47 +01:00
peaklabs-dev
96d4754a32
Update EmailNotificationSettings.php 2024-12-10 14:17:23 +01:00
peaklabs-dev
d3ce6d814c
feat: use encryption in instance settings model 2024-12-10 13:45:52 +01:00
Andras Bacsai
a2ab33b04f fix: development image 2024-12-10 11:50:40 +01:00
Andras Bacsai
6097a531a5
Merge pull request #4271 from peaklabs-dev/new-dockerfiles
Feat: New Upgraded Dockerfiles
2024-12-10 10:50:17 +01:00
Andras Bacsai
3893754a10 fix confs etc 2024-12-10 10:46:05 +01:00
Andras Bacsai
19d277f8ec refactor: rename name method to sanitizedName in BaseModel for clarity 2024-12-10 08:50:07 +01:00
🏔️ Peak
12a48a1439
Merge branch 'next' into fix-postgres-init-scripts 2024-12-09 19:50:54 +01:00
peaklabs-dev
dedfd72731
fix: notification trait
fix: some events must always be enabled, so a notification is sent all the time (user cannot choose to not receive this notification).
fix: check if the event is enabled before adding a channel to enabled
2024-12-09 19:47:17 +01:00
peaklabs-dev
96c970ca4e
chore: use new notification trait 2024-12-09 19:44:43 +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
07a0863401
chore: remove log 2024-12-09 17:37:47 +01:00
peaklabs-dev
4d23835119
feat: use new place for settings and topic IDs for telegram 2024-12-09 17:37:39 +01:00
peaklabs-dev
adaef2d341
feat: use new table or instance settings for email 2024-12-09 17:37:15 +01:00
peaklabs-dev
dd9d10c717
feat: get Slack Webhook form new table 2024-12-09 17:36:32 +01:00
peaklabs-dev
6cab8b4598
feat: get discord Webhook form new table 2024-12-09 17:36:23 +01:00
peaklabs-dev
ec1c91fb75
feat: notification trait 2024-12-09 17:03:40 +01:00
peaklabs-dev
bf58547082
feat: scheduled task success notification 2024-12-09 17:00:33 +01:00
peaklabs-dev
a849bfdc3e
feat: always sent notifications 2024-12-09 17:00:07 +01:00
peaklabs-dev
b6500142c4
feat: use new notification event names 2024-12-09 16:57:15 +01:00
peaklabs-dev
bc726ddd6e
feat: new telegram UI 2024-12-09 16:49:09 +01:00
peaklabs-dev
b4b48692af
feat: New Slack notification UI 2024-12-09 16:39:19 +01:00
peaklabs-dev
5210218a45
feat: New Discord notification UI 2024-12-09 16:38:25 +01:00
peaklabs-dev
c27e2e328f
chore: remove waitlist redirect 2024-12-09 16:37:36 +01:00
peaklabs-dev
119c18468a
chore: public settings for email notification 2024-12-09 16:03:43 +01:00
peaklabs-dev
868d80bde6
feat: Slack notification settings Model 2024-12-09 15:54:52 +01:00
peaklabs-dev
2166899721
feat: Discord notification settings Model 2024-12-09 15:52:50 +01:00
peaklabs-dev
b5351448ed
feat: Telegram notification settings Model 2024-12-09 15:50:23 +01:00
peaklabs-dev
cf21ae13f1
feat: Email Notification Settings Model 2024-12-09 15:47:05 +01:00
peaklabs-dev
b13d77377c
feat: new shared function name is_transactional_emails_enabled() 2024-12-09 15:34:24 +01:00
peaklabs-dev
ee7a901a77
fix: Email Notification saving
- fix: SMTP and resend should only save their respective settings
- chore: improve component validation and code to make it much smaller (less code - same functionality)
2024-12-09 15:23:32 +01:00
peaklabs-dev
67438e28ca
fix: make sure resend is false if SMTP is true and vice versa 2024-12-09 15:19:59 +01:00
peaklabs-dev
2aacb1dc28
fix: Instance email settins
- fix: resend, smtp save button should only save respective settings
- feat: ability to send test email
2024-12-09 14:39:50 +01:00
peaklabs-dev
e36ccd3d78
chore: remove resale license reference 2024-12-09 14:29:41 +01:00
peaklabs-dev
a6086ee38b
feat: New email notification settings 2024-12-09 13:56:52 +01:00
peaklabs-dev
060c8262bc
chore: remove comment out code 2024-12-09 12:48:54 +01:00
peaklabs-dev
4428b95a65
chore: fix typo 2024-12-09 12:36:33 +01:00
peaklabs-dev
c995819ed3
chore: remove unused code 2024-12-09 12:34:45 +01:00
peaklabs-dev
e40f377879
chore: remove more waitlist stuff 2024-12-09 12:34:16 +01:00
peaklabs-dev
bd36149f09
feat: use new notification stuff inside team model
- Use new notification relationships
- Use trait
- Make sure that when a new team is created, notification settings are also created
- reorder team model for better readability
2024-12-09 12:33:27 +01:00
peaklabs-dev
2da4e9a274
feat: enable success messages again 2024-12-09 12:08:27 +01:00
peaklabs-dev
5515f07f14
chore: remove commented out notification 2024-12-09 12:05:18 +01:00
peaklabs-dev
fd21a4a2a8
chore: remove more waitlist stuff 2024-12-09 12:03:23 +01:00
peaklabs-dev
9ed2e37236
chore: remove commented out internal notification 2024-12-09 12:03:04 +01:00
peaklabs-dev
6438c08096
chore: remove unused resale license job 2024-12-09 12:02:08 +01:00
peaklabs-dev
27b880e177
chore: remove wired.php (not used anymore) 2024-12-09 12:01:23 +01:00
peaklabs-dev
d9248508b4
chore: remove unused waitlist stuff 2024-12-09 12:00:54 +01:00
Andras Bacsai
664b718ea3 fix: always have download logs button on scheduled tasks 2024-12-09 11:53:50 +01:00
Andras Bacsai
6b936a3e92 feat: able to download schedule task logs 2024-12-09 11:36:39 +01:00
Andras Bacsai
e0aaed892d Merge branch 'next' into logs-for-tasks 2024-12-09 11:22:00 +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
ff74fb7385 feat: introduce root permission 2024-12-09 10:52:38 +01:00
Andras Bacsai
5bbcd7bf76 fix: add middleware to new abilities, better ux for selecting permissions, etc. 2024-12-09 10:28:34 +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
Philip Heinser
4b89b84353 paginate task logs 2024-12-08 15:26:51 +07:00
Andras Bacsai
946ab81d87 is_required is not required for shared envs 2024-12-07 14:35:14 +01:00
Andras Bacsai
ffd28de949 refresh env variable view on shared variable deletion 2024-12-07 14:35:02 +01:00
Andras Bacsai
320dd41303 fix: api endpoint 2024-12-07 14:26:44 +01:00
Andras Bacsai
1184fafd3d
Merge pull request #4264 from marvinvr/main
feat: add slack notifications
2024-12-06 14:35:55 +01:00
Andras Bacsai
08d992a1c2 fix 2024-12-06 14:33:22 +01:00
Andras Bacsai
00882eeb31 feat: add TLS configuration for default redirect in Server model 2024-12-06 14:19:09 +01:00
Andras Bacsai
1886347b55 fix: proxy change behaviour 2024-12-06 14:08:37 +01:00
Andras Bacsai
5453b9030e fix: dev mode 2024-12-06 13:39:20 +01:00
Andras Bacsai
e84dba493e fix 2024-12-06 13:39:00 +01:00
Andras Bacsai
baf6c20997 fix: restart proxy 2024-12-06 13:31:55 +01:00
Andras Bacsai
659309c5b4 refactor: improve proxy configuration and code consistency in Server model
- Standardized spacing in conditional statements for better readability.
- Updated proxy redirect handling to ensure default values are set correctly.
- Modified dynamic configuration path concatenation for clarity.
- Changed router rule to 'PathPrefix' and adjusted priority for better routing behavior.
- Replaced empty check with 'filled' helper for improved code clarity.
2024-12-06 13:08:04 +01:00
Andras Bacsai
8405f241f3 Merge branch 'next' into feat/disable-default-redirect 2024-12-06 11:36:11 +01:00
Andras Bacsai
eeb8d97cfd fix: old git versions does not have --cone implemented properly 2024-12-06 11:22:54 +01:00
Marvin von Rappard
f7eccefda3
Merge branch 'next' into main 2024-12-06 06:29:35 +01:00
🏔️ Peak
27395615e6
Merge branch 'next' into feat/disable-default-redirect 2024-12-05 14:46:33 +01:00
Andras Bacsai
bf530fd944
Merge pull request #4381 from vishwamartur/add-no-encryption-option
Add no encryption option for SMTP settings
2024-12-05 13:10:18 +01:00
Andras Bacsai
80f649b96a finally found the right option 2024-12-05 13:09:06 +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
dbde03a4d6 Merge branch 'next' into add-no-encryption-option 2024-12-05 12:30:45 +01:00
Andras Bacsai
8fa1fc4df3
Merge pull request #4382 from vishwamartur/fix-metrics-error
Fix metrics error when data is less than selected date
2024-12-05 11:16:19 +01:00
Andras Bacsai
e98eb21b9e
Merge pull request #4470 from coollabsio/rename-github-app
Feat: Ability to rename GitHub App
2024-12-05 11:01:53 +01:00
Andras Bacsai
c25be01af6 fix 2024-12-05 11:00:57 +01:00
Andras Bacsai
e67a93e6a5 feat: able to deploy without cache on every commit 2024-12-05 10:46:27 +01:00
🏔️ Peak
7328724f3d
Merge branch 'coollabsio:main' into fix-postgres-init-scripts 2024-12-04 13:15:58 +01:00
🏔️ Peak
c8e2cd32e5
Merge branch 'next' into rename-github-app 2024-12-04 13:08:09 +01:00
🏔️ Peak
089f48d495
Merge pull request #4472 from angelej/computed-property
Use computed property for timezones
2024-12-04 13:01:31 +01:00
Andras Bacsai
15ac12e131 test: setup database for upcoming tests 2024-12-04 12:43:52 +01:00
Andras Bacsai
51ed798789 add container name validation to terminal 2024-12-04 12:43:41 +01:00
Jeremy Angele
51b1fb45ab Use computed property for timezones on settings index page 2024-12-04 00:30:39 +01:00
Jeremy Angele
26ba433fd3 Use computed property for timezones 2024-12-03 22:24:36 +01:00
peaklabs-dev
f51300a192
fix: client and webhook secret disappear after sync 2024-12-03 16:17:35 +01:00
peaklabs-dev
fef8d0c62c
fix: typos and naming 2024-12-03 15:50:45 +01:00
🏔️ Peak
24cd57ca8d
Merge branch 'next' into rename-github-app 2024-12-03 15:35:23 +01:00
peaklabs-dev
5f985426ab
feat: update private key nam with new slug as well 2024-12-03 15:27:20 +01:00
peaklabs-dev
56f6bdf7a7
use private key to make a jwt 2024-12-03 15:11:35 +01:00
peaklabs-dev
6d43bbc6b9
fix naming 2024-12-03 14:43:11 +01:00
peaklabs-dev
a2860971a6
try jwt 2024-12-03 14:36:30 +01:00
Andras Bacsai
ec9315f24e remove unnecessary things 2024-12-03 14:09:51 +01:00
Andras Bacsai
869eaedaf5 revert query logic 2024-12-03 14:02:12 +01:00
peaklabs-dev
737e81aa38
wip button to sync new app name 2024-12-03 13:12:58 +01:00
peaklabs-dev
f38196c421
fix: URL and sync new app name 2024-12-03 12:54:20 +01:00
peaklabs-dev
c74728162e
wip: test rename GitHub app 2024-12-03 12:41:56 +01:00
Andras Bacsai
669293afc1 disable success notifications for now 2024-12-03 12:22:27 +01:00
Andras Bacsai
f7ef339ec3 Improve notification message for TCP Proxy container restart to include database name 2024-12-03 12:21:09 +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
peaklabs-dev
7f449c3b72
fix: test email should not be required 2024-12-02 22:37:11 +01:00
Andras Bacsai
d1a1ecbe28 fix: only able to select the right keys 2024-12-02 22:12:07 +01:00
Julien
1086aea54d feat: add coolify.environment label 2024-12-02 18:38:47 +01:00
Andras Bacsai
d7703efcdc optimize db query 2024-12-02 13:12:25 +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
Marvin von Rappard
02a20729c7
Merge branch 'next' into main 2024-11-27 11:09:45 +01:00
Andras Bacsai
0d6c21d77b fix: application view loading 2024-11-27 08:07:54 +01:00
Andras Bacsai
18d5dd3090 Refactor server timezone retrieval in checkResources method 2024-11-26 10:44:09 +01:00
Andras Bacsai
dabda4e806 fix: Email should be retried with backoff 2024-11-26 10:19:05 +01:00
peaklabs-dev
33435a1bdb
Use placeholder and not the Coolify logo if no logo is provided. 2024-11-25 22:08:51 +01:00
Andras Bacsai
0bfe0fd877 fix: ui 2024-11-25 17:56:19 +01:00
Andras Bacsai
40cc49537e fix: logdrain settings 2024-11-25 17:48:01 +01:00
Andras Bacsai
504caefb8c fix: new resource icons 2024-11-25 15:33:42 +01:00
Andras Bacsai
f0a44f4022 fix: servercheckJob should run every 5 minutes on cloud 2024-11-25 14:37:44 +01:00
Andras Bacsai
11fb5a9e32 fix: service generate includes yml files as well (haha) 2024-11-25 14:34:18 +01:00
Vishwanath Martur
94525b6cff
Merge branch 'next' into add-no-encryption-option 2024-11-25 19:00:56 +05:30
Andras Bacsai
a836d78f0b remove unnecessary function 2024-11-25 14:07:50 +01:00
Marvin von Rappard
a4910880e0
Merge branch 'next' into main 2024-11-25 13:44:24 +01: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
e5cd35d2a0 fix: sentry 2024-11-25 13:33:07 +01:00
Andras Bacsai
53d709467a fix: sentry error 2024-11-25 13:22:05 +01:00
Andras Bacsai
9525d91d55 fix 2024-11-25 13:17:09 +01:00
Andras Bacsai
cbe44529f9 fix: undefined variable 2024-11-25 11:28:16 +01:00
Andras Bacsai
37d4d5f98c fix: version should come from constants + fix stripe webhook error reporting 2024-11-25 11:28:08 +01:00
Marvin von Rappard
1aea60f1f0
Merge branch 'next' into main 2024-11-25 09:06:24 +01:00
Andras Bacsai
6ad2e18060 fix: db backup for services 2024-11-24 11:39:26 +01:00
Andras Bacsai
886893cb04 fix: remove mux cleanup 2024-11-23 23:38:31 +01:00
Andras Bacsai
3b427dbbdc fix: heading 2024-11-23 20:44:27 +01:00
Vishwanath Martur
f45411f3d6 Fix metrics error when data is less than selected date
Related to #4309

Fix the 'sql: Scan error on column index 5, name "usedPercent": converting NULL to float64 is unsupported' error on the metrics page.

* Update the `getMemoryMetrics` method in `app/Models/Server.php` to handle NULL values for the "usedPercent" field by setting them to 0.0.
* Add a check for NULL values in the `getMemoryMetrics` method before converting to float64.
2024-11-23 13:08:53 +05:30
Vishwanath Martur
1f499c1488 Add no encryption option for SMTP settings
Related to #4311

Add option to configure SMTP settings without encryption.

* Update `app/Livewire/Notifications/Email.php` and `app/Livewire/SettingsEmail.php` to include "No Encryption" option in the `smtpEncryption` field and update validation rules.
* Modify `app/Notifications/Channels/EmailChannel.php` to handle the "No Encryption" option in the `bootConfigs` method.
* Add `set_transanctional_email_settings` function in `app/Livewire/Help.php` to support the "No Encryption" option.
* Update `config/mail.php` to handle the "No Encryption" option in the mail configuration.
2024-11-23 13:04:54 +05:30
SierraJC
059639eb42
fix: servers API returning port as a string -> integer 2024-11-23 13:23:13 +11:00
SierraJC
bbd7d8b567
fix: move servers API delete_unused_* properties
correct location from API response is in server.settings
2024-11-23 13:23:13 +11:00
SierraJC
d6441549e8
fix: missing settings property on servers API 2024-11-23 13:23:13 +11: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
7eb955c95a Refactor Telegram notification error handling 2024-11-22 18:37:51 +01:00
Andras Bacsai
546bcd0dad fix 2024-11-22 18:14:47 +01:00
🏔️ Peak
106bc22321
Merge branch 'next' into fix-environement-route 2024-11-22 16:13:30 +01:00
peaklabs-dev
371b4a3f83
remove unused var 2024-11-22 16:11:53 +01:00
peaklabs-dev
bde895b6cd
fix scheduled task url 2024-11-22 16:08:27 +01:00
peaklabs-dev
75491098a0
new notification links 2024-11-22 16:05:24 +01:00
peaklabs-dev
277fd78769
new uuid routes 2024-11-22 16:03:20 +01:00
peaklabs-dev
5a8bff5e96
Update Heading.php 2024-11-22 15:53:11 +01:00
peaklabs-dev
9630efce67
uuid deplyment 2024-11-22 15:52:36 +01:00
peaklabs-dev
d183d33025
boarding new uuid 2024-11-22 15:51:25 +01:00
Andras Bacsai
7d089ba1a9 fix: validateconnection 2024-11-22 15:50:52 +01:00
peaklabs-dev
5f1adc98d8
fix environment select 2024-11-22 15:45:46 +01:00
peaklabs-dev
4c21807b7a
navigate to environment via uuid 2024-11-22 15:38:54 +01:00
🏔️ Peak
e29c202e61
Merge branch 'next' into fix-environement-route 2024-11-22 15:32:28 +01:00
peaklabs-dev
b1dc8dec88
fix preselect environment if there is only one 2024-11-22 15:30:17 +01:00
peaklabs-dev
e776302a25
use new route for dash and project 2024-11-22 15:28:06 +01:00
Andras Bacsai
377758edcd fix stripe webhooks 2024-11-22 14:42:10 +01:00
Andras Bacsai
75b7a323fd
Merge pull request #4352 from peaklabs-dev/fix-test-email
Fix: Test email 500 Error
2024-11-22 13:06:14 +01:00
Andras Bacsai
374446b90b fix: do not send internal notification for backups and status jobs 2024-11-22 12:27:13 +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
Andras Bacsai
ef629d5816 fix: always validate ssh key 2024-11-22 10:43:58 +01:00
Andras Bacsai
821538911f fix: if mux conn fails, still use it without mux + save priv key with better logic 2024-11-22 10:06:12 +01:00
Andras Bacsai
9dd982b722 CoolifyTask should be on high queue 2024-11-21 20:13:46 +01:00
peaklabs-dev
81f837138d
fix validation 2024-11-21 15:59:00 +01:00
peaklabs-dev
19ce01f7d8
fix send test email 2024-11-21 15:48:47 +01:00
Kael
bc89b84539
Merge branch 'next' into feat/disable-default-redirect 2024-11-18 21:02:20 +11:00
Julien
8b30123add feat: add service/resource/project labels 2024-11-17 23:06:05 +01:00
Andras Bacsai
1fc4c7872e fix 2024-11-15 21:47:31 +01:00
Andras Bacsai
b43d62f51b fix: AUTOUPDATE + checkbox opacity 2024-11-15 21:44:05 +01:00
Andras Bacsai
0eab7f78ff version++ and fix private key saving 2024-11-15 21:22:11 +01:00
peaklabs-dev
2737da10ae
Merge branch 'next' of https://github.com/coollabsio/coolify into next 2024-11-15 12:10:41 +01:00
peaklabs-dev
2932d9a6e0
fix ssh key migration broken with the new team check 2024-11-15 12:10:39 +01:00
Andras Bacsai
c9babe0731 fix: pull helper image on init 2024-11-15 11:58:35 +01:00
Andras Bacsai
9982a931fa fix: default docker engine version + fix install script 2024-11-15 11:33:03 +01:00
Andras Bacsai
9d86198c51
Merge pull request #4291 from peaklabs-dev/fix-same-ssh-key-other-team
Fix: Ability to use the same ssh key in a different team
2024-11-15 10:55:32 +01:00
Andras Bacsai
50cb303804
Merge pull request #4286 from peaklabs-dev/fix-server-ip-valdiation
Fix: Server IP/Domain validation
2024-11-15 10:51:06 +01:00
Andras Bacsai
469e009600
Merge pull request #4287 from peaklabs-dev/fix-backups
Fix: Backups
2024-11-15 10:49:48 +01:00
Andras Bacsai
210a428f93 fix: init script + optimize laravel 2024-11-15 10:47:30 +01:00
Andras Bacsai
0e8f5d61bc fix 2024-11-15 08:56:19 +01:00
Andras Bacsai
fba1242213
Merge pull request #4288 from retrymp3/XSS-vuln-fix 2024-11-14 22:01:24 +01:00
peaklabs-dev
a58125cbfe
fix same ssh key in different teams 2024-11-14 21:53:38 +01:00
retrymp3
e66e59048f Fix for the XSS vulnerability 2024-11-14 23:00:30 +05:30
peaklabs-dev
4cc4e28f29
fix clear frequency on exit and error 2024-11-14 18:27:06 +01:00
peaklabs-dev
67bd06d4f2
fix s3 is always set to true if you make an error like invalid cron 2024-11-14 18:25:04 +01:00
peaklabs-dev
b282c1f3ed
fix backup job without s3 can not be added 2024-11-14 18:20:26 +01:00
peaklabs-dev
0a36fbddec
Revert "dispatch an error message"
This reverts commit b18d4b9564.
2024-11-14 17:52:54 +01:00
peaklabs-dev
b18d4b9564
dispatch an error message 2024-11-14 17:51:58 +01:00
peaklabs-dev
465dfbdf53
fix check if IP is already in used in this team 2024-11-14 17:48:35 +01:00
peaklabs-dev
ca4b91c51f
Update ByIp.php 2024-11-14 17:48:14 +01:00
peaklabs-dev
a2c0b68730
fix validation 2024-11-14 17:38:20 +01:00
Andras Bacsai
33183ab344 fix: fallback to local coolify.png 2024-11-14 13:12:27 +01:00
Andras Bacsai
a77ed93695 fix: if service img not found, use github as a source 2024-11-14 13:04:51 +01:00
Marvin von Rappard
7bdac8b42f
Merge branch 'next' into main 2024-11-14 12:54:04 +01:00
Andras Bacsai
c9f7863fff
Merge pull request #4238 from peaklabs-dev/dep-and-remove-unused-stuff
Chore: Remove unused stuff, update dependecies
2024-11-14 12:31:09 +01:00
Andras Bacsai
8a917f6a4e fix: invalid tz should not prevent other jobs to be executed 2024-11-14 10:56:56 +01:00
Andras Bacsai
b0b81e4416 fix: timezone settings validation 2024-11-14 10:02:37 +01:00
peaklabs-dev
f55bb5b0fb
remove resale license 2024-11-13 18:38:22 +01:00
Marvin von Rappard
80ed561374 fix: add warning color 2024-11-12 22:45:07 +01:00
Marvin von Rappard
eb0686fe20 feat: slack notifications 2024-11-12 22:37:55 +01:00
peaklabs-dev
1d517b4b39
remove some unused files 2024-11-12 15:55:47 +01:00
peaklabs-dev
1ffa88acf0
use config instead of env() 2024-11-12 15:53:05 +01:00
peaklabs-dev
d3f4e0ad4d
Delete CheckResaleLicense.php 2024-11-12 15:29:55 +01:00
🏔️ Peak
8992b45d69
Merge branch 'next' into dep-and-remove-unused-stuff 2024-11-12 15:24:27 +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
290cb45726 fix: pull latest service-templates.json on init 2024-11-12 14:48:58 +01:00
🏔️ Peak
ed9fd07967
Merge branch 'next' into dep-and-remove-unused-stuff 2024-11-12 14:39:01 +01:00
Andras Bacsai
055c613ba5 feat: add proxy type change to create/update apis 2024-11-12 14:30:05 +01:00
🏔️ Peak
442b0e837c
Merge branch 'next' into dep-and-remove-unused-stuff 2024-11-12 13:58:51 +01:00
Andras Bacsai
7253041e15 feat: add internal api docs to /docs/api with auth 2024-11-12 13:49:40 +01:00
peaklabs-dev
408ba9cc7a
fix docker minimum version 2024-11-12 13:27:26 +01:00
🏔️ Peak
0ce2fbff40
Merge pull request #4169 from easilok/fix-invalid-docker-version-check
Fix invalid docker version check
2024-11-12 13:21:17 +01:00
Andras Bacsai
ff016cb2a2 pint 2024-11-12 11:50:02 +01:00
Andras Bacsai
ad775ba1f0
Merge branch 'next' into fix/improved-responses-on-git-error 2024-11-12 11:42:38 +01:00
Andras Bacsai
327b4308d4 fix: add tests for git url converts 2024-11-12 11:32:18 +01:00
Andras Bacsai
4a2846fcd0
Merge branch 'next' into feat/convert-http-to-ssh-sources-with-deploy-keys 2024-11-12 10:41:48 +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
f0985a7e47 fix horizon command name 2024-11-12 10:16:34 +01:00
Andras Bacsai
b58cc05b8a fix: terminal view loading in async 2024-11-12 09:52:22 +01:00
Andras Bacsai
d7cde676d5 feat: check local horizon scheduler deployments 2024-11-11 23:35:48 +01:00
Andras Bacsai
1faa8be615 fix: cloud + stripe related 2024-11-11 22:18:15 +01:00
🏔️ Peak
a43c12cf9e
Merge branch 'next' into dep-and-remove-unused-stuff 2024-11-11 21:12:24 +01:00
peaklabs-dev
644da632e3
Revert "remove unused dev files"
This reverts commit eeb6330791.
2024-11-11 19:04:25 +01:00
peaklabs-dev
eeb6330791
remove unused dev files 2024-11-11 18:57:44 +01:00
Andras Bacsai
e6a0d8b855 fix 2024-11-11 16:37:12 +01:00
Andras Bacsai
cb433dddc4 version++ 2024-11-11 15:00:37 +01:00