Commit graph

1366 commits

Author SHA1 Message Date
Andras Bacsai
a2ef545b6b feat(changelog): implement automated changelog fetching from GitHub and enhance changelog read tracking 2025-08-12 10:07:11 +02:00
Andras Bacsai
0e7cc988a6 feat(user): add changelog read tracking and unread count method 2025-08-12 10:06:19 +02:00
Andras Bacsai
e8892b3d29 feat(core): finally fqdn is fqdn and url is url. haha 2025-08-12 10:06:19 +02:00
Andras Bacsai
a0bc4dac55 fix(application): streamline environment variable updates for Docker Compose services and enhance FQDN generation logic 2025-08-12 10:06:19 +02:00
Andras Bacsai
13f10028db feat(previews): implement soft delete and cleanup for ApplicationPreview, enhancing resource management in DeleteResourceJob 2025-07-14 21:17:40 +02:00
Andras Bacsai
5bdf2e8481 refactor(previews): move preview domain generation logic to ApplicationPreview model for better encapsulation and consistency across webhook handlers 2025-07-14 19:12:57 +02:00
Andras Bacsai
a9e542bc4b fix(previews): enhance domain generation logic for application previews, ensuring unique domains are created when none are set 2025-07-14 15:42:01 +02:00
Andras Bacsai
e5a0cdf3b7 fix(previews): order application previews by pull request ID in descending order 2025-07-14 15:22:02 +02:00
Andras Bacsai
0b84792871 feat(deployment): add pull request filtering and pagination to deployment and backup execution components
fix(ui): make them more stylish yeah
2025-07-13 12:36:53 +02:00
Andras Bacsai
95da765a9e fix(deployment): improve docker-compose domain handling and environment variable generation 2025-07-07 16:07:08 +02:00
Andras Bacsai
085529dc63 fix(deployment): enhance COOLIFY_URL and COOLIFY_FQDN variable generation for better compatibility 2025-07-07 12:55:35 +02:00
Andras Bacsai
6a90bdf9fa fix(env): Generate literal env variables better 2025-07-07 12:30:44 +02:00
Andras Bacsai
0f876db6c8 fix(server): prepend 'mux_' to UUID in muxFilename method for consistent naming 2025-06-28 13:56:57 +02:00
Andras Bacsai
24b6b32025 fix(models): improve user deletion logic in User model to handle team member roles and prevent deletion if user is alone in root team 2025-06-26 09:10:48 +02:00
Andras Bacsai
be73d5cd76 fix(models): refine comment wording in User model for clarity on user deletion criteria 2025-06-26 09:07:55 +02:00
Andras Bacsai
e746e212cb refactor(user): streamline user deletion process and enhance team management logic 2025-06-25 12:14:35 +02:00
Andras Bacsai
8fc79022f3 feat(service): enhance service status handling and UI updates 2025-06-24 12:52:22 +02:00
Yassir Elmarissi
a77bd88258
feat(auth): Add Clerk OAuth Provider (#5553) 2025-06-18 14:29:46 +02:00
Andras Bacsai
ddcb14500d refactor(proxy-status): refactored how the proxy status is handled on the UI and on the backend
feat(cloudflare): improved cloudflare tunnel automated installation
2025-06-06 14:47:54 +02:00
Andras Bacsai
200b5cd4fb refactor(service-management): enhance container stopping logic by implementing parallel processing and removing deprecated methods 2025-05-30 12:56:22 +02:00
Andras Bacsai
c8bc80f448 refactor(environment-variables): simplify application build pack check in environment variable handling 2025-05-30 09:11:54 +02:00
Andras Bacsai
46b4cfac68 feat(terminal-access): implement terminal access control for servers and containers, including UI updates and backend logic 2025-05-29 14:09:05 +02:00
Andras Bacsai
2361c34a53 refactor(error-handling): replace generic Exception with RuntimeException for improved error specificity 2025-05-29 10:49:55 +02:00
Andras Bacsai
102bdb5bc3 refactor(application): enhance application stopping logic to support multiple servers 2025-05-26 21:44:34 +02:00
Andras Bacsai
6ea6d2742b feat(server): implement server patch check notifications
- Added a new job, ServerPatchCheckJob, to handle server patch checks and notifications.
- Introduced a new notification class, ServerPatchCheck, for sending updates via email, Discord, Slack, Pushover, and Telegram.
- Updated notification settings models to include server patch notification options for email, Discord, Slack, Pushover, and Telegram.
- Created a migration to add server patch notification fields to the respective settings tables.
- Enhanced the UI to allow users to enable/disable server patch notifications across different channels.
2025-05-26 14:03:59 +02:00
Arnaud Dezandee
587a927b8b
feat(oauth): set redirect uri as optional and add default value (#5760) 2025-05-20 14:35:39 +02:00
Andras Bacsai
d298de7a4d refactor(StandaloneMariadb): add type hint for destination method to improve code clarity 2025-04-30 21:15:03 +02:00
Andras Bacsai
019ed43448 refactor(actions): standardize method naming for network and configuration deletion across application and service classes 2025-04-30 18:30:43 +02:00
Andras Bacsai
fe24296de7 feat(backup): implement custom database type selection and enhance scheduled backups management 2025-04-30 16:44:44 +02:00
Andras Bacsai
e062edb689 refactor(core): streamline container stopping process and reduce timeout duration; update related methods for consistency 2025-04-30 15:28:59 +02:00
Andras Bacsai
4e82383b94 fix(Server): Correct proxy path formatting for Traefik proxy type 2025-04-29 10:53:39 +02:00
Andras Bacsai
09b10073b8 chore(versions): update coolify version to 4.0.0-beta.412 and nightly version to 4.0.0-beta.413 in configuration files 2025-04-23 14:17:13 +02:00
Andras Bacsai
5b9df7fd45 refactor(server): simplify proxy path logic and remove unnecessary conditions 2025-04-23 13:23:27 +02:00
Andras Bacsai
78ef80f800 refactor 2025-04-23 13:22:01 +02:00
Andras Bacsai
0dceb40a6e feat(api): add HTTP Basic Authentication fields to OpenAPI specifications and enhance PrivateKey model descriptions 2025-04-23 11:59:01 +02:00
Andras Bacsai
9e608f7ba5 refactor(http-basic-auth): rename 'http_basic_auth_enable' to 'http_basic_auth_enabled' across application files for consistency 2025-04-22 21:30:27 +02:00
Andras Bacsai
7e0373e439
Merge branch 'next' into feat/add-http-basic-auth 2025-04-22 21:18:43 +02:00
Andras Bacsai
6d12e7edc7 refactor(database): simplify database type checks in ServiceDatabase and enhance image validation in Docker helper 2025-04-21 09:57:27 +02:00
Andras Bacsai
c388e30499 refactor(jobs): comment out unused Caddy label handling in ApplicationDeploymentJob and simplify proxy path logic in Server model 2025-04-20 17:58:41 +02:00
Christopher Kaster
2634f516d5
feat: Add HTTP Basic Authentication 2025-04-17 14:14:32 +02:00
Andras Bacsai
89bf1b30cb fix(application): append base directory to git branch URLs for improved path handling 2025-04-16 15:09:45 +02:00
Andras Bacsai
32326bb7dd feat(subscription): enhance subscription management with loading states and Stripe status checks 2025-04-14 10:31:13 +02:00
Andras Bacsai
8b3c4d7ad9 refactor(Server): remove debug logging from isReachableChanged method to clean up code and improve performance 2025-04-14 10:30:53 +02:00
Laurence
44e96e032f
enhance: Add missing openapi items to PrivateKey 2025-04-11 20:37:54 +01:00
Andras Bacsai
46fe0fd7c6 refactor(ApplicationDeploymentJob, ApplicationDeploymentQueue): improve deployment status handling and log entry management with transaction support 2025-04-11 19:32:41 +02:00
Andras Bacsai
68bd945b09 refactor(Application): rename network_aliases to custom_network_aliases across the application for clarity and consistency 2025-04-09 08:42:50 +02:00
Andras Bacsai
fcf597fb16 feat(Application): add networkAliases attribute for handling network aliases as JSON or comma-separated values 2025-04-09 08:33:42 +02:00
Andras Bacsai
f8607ddf6a
Merge branch 'next' into docker-network-aliases 2025-04-08 13:27:59 +02:00
Andras Bacsai
1b8db2726a refactor(Server): use data_get for safer access to settings properties in isFunctional method 2025-04-05 12:35:36 +02:00
Andras Bacsai
18c4729c09
Merge pull request #5482 from djsisson/fix_custome_healthcheck
removed start interval as it is not a valid option and is not defined…
2025-03-31 15:29:34 +02:00
Andras Bacsai
d6d1c9ad82 feat(database): add CA certificate generation for database servers 2025-03-31 14:02:15 +02:00
Darren Sisson
887a96dd35 removed start interval as it is not a valid option and is not defined in coolify 2025-03-31 10:44:29 +01:00
Andras Bacsai
b376d6df2a reverting: encrypting mount and fs_path 2025-03-29 22:16:12 +01:00
Andras Bacsai
c2941abe57 fix(file-storage): double save on compose volumes 2025-03-28 22:10:33 +01:00
Andras Bacsai
d6d16f3844
Merge pull request #5433 from coollabsio/debug-emails
Emails
2025-03-26 17:27:34 +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
be95695ee8 refactor(models): add is_directory attribute to LocalFileVolume model 2025-03-25 09:40:36 +01:00
Andras Bacsai
e891318396 refactor(configuration): centralize configuration management in ConfigurationRepository 2025-03-24 21:01:27 +01:00
Andras Bacsai
e7f32a1c44 refactor(notifications): standardize getRecipients method signatures 2025-03-24 17:55:10 +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
120facfca3 feat(api): unify service creation endpoint and enhance validation 2025-03-21 11:31:17 +01:00
Benjamin Grant
37c2a2b6ad
fix: correct some spellings 2025-03-19 19:49:59 +00: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
009cee1bbd
Merge branch 'next' into feat-db-ssl 2025-03-17 15:15:24 +01:00
Piotr Wójcik
0baeaa982b
Merge branch 'next' into docker-network-aliases 2025-03-16 14:50:26 +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
DekraIt
08f0661757 fix(issue#4746): Do not use setGitImportSettings inside of generateGitLsRemoteCommands 2025-03-14 05:14: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
07cbec7ddc feat(billing): Add Stripe past due subscription status tracking 2025-03-01 12:43:12 +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
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
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
Andras Bacsai
65b925252c feat(core): prevent using servers with existing resources as build servers 2025-02-18 16:44:16 +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
🏔️ 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
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
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
peaklabs-dev
7b30b1aff1
feat(ssl): Full SSL support for Redis 2025-02-07 22:36:36 +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
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
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
e81ed1aad8
feat(ssl): Add full MariaDB SSL support 2025-02-04 21:08:20 +01:00
peaklabs-dev
3f857c6dac
feat(ssl): Add full MySQL SSL Support 2025-02-04 18:29:35 +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
peaklabs-dev
fba95c3729
fix(migration): store subjectAlternativeNames as a json array in the db 2025-02-03 22:35:00 +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
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
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
92a4b5fce7
feat(db): add ssl mode to Postgres URLs 2025-01-29 13:28:42 +01:00
peaklabs-dev
3f582a1ea4
feat(migration): Add ssl_certificates table and model 2025-01-29 13:03:13 +01:00
Andras Bacsai
e049559e53 fix(database): detect more postgres database image types 2025-01-28 11:05:50 +01:00
peaklabs-dev
12c7ee2879
fix(s3): DigitalOcean storage buckets do not work 2025-01-25 23:40:40 +01: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
peaklabs-dev
3f2f1cf966
chore(core): EnvironmentVariable Model now extends BaseModel to remove duplicated code 2025-01-22 20:14:44 +01:00
Andras Bacsai
4b74ca56c3 feat(core): wip version of coolify.json 2025-01-21 14:09:12 +01:00
Andras Bacsai
c891102db6 fix: add public key attribute to privatekey model 2025-01-20 13:59:02 +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
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
peaklabs-dev
8bcd1449d2
chore: remove limit on commit message 2025-01-16 14:42:33 +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
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
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
706602b3a8
Merge pull request #4799 from coollabsio/hotfix
Hotfix
2025-01-13 09:33:37 +01:00
Andras Bacsai
18f03dc173 fix: create destination properly 2025-01-12 17:26:28 +01:00
Andras Bacsai
a396d51452
Merge branch 'next' into hotfix 2025-01-10 20:23:29 +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
02400added fix: horizon job checker 2025-01-10 18:27:48 +01:00
Andras Bacsai
b7d18fc28c fix: getcontainer status should timeout after 30s 2025-01-10 12:04:59 +01:00
🏔️ Peak
c1504fa5ff
Merge branch 'next' into improve-git-and-service-provider 2025-01-09 21:18:30 +01:00
Andras Bacsai
1fe4dd722b Revert "rector: arrrrr"
This reverts commit 16c0cd10d8.
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8 rector: arrrrr 2025-01-07 14:52:08 +01:00
peaklabs-dev
2c4bdb76bd chore: use new functions 2025-01-06 16:58:20 +01:00
Piotr Wojcik
9acde06795 Custom network aliases for Dockerfile and Docker Image apps 2025-01-05 07:47:57 +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
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
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
2a9d499251 feat: migrate env variables to polymorphic relationship
fix: proxy status query ui
2024-12-17 10:38:42 +01:00
peaklabs-dev
0cbb3a08c2
fix: use serverStatus not just status 2024-12-16 14:27:17 +01:00
peaklabs-dev
0957fe8bfc
chore: remove ray debugging 2024-12-16 14:15:38 +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
fcdec3a80d
fix: unreachable notifications 2024-12-15 15:09:58 +01:00
Andras Bacsai
4901b12279 fix: service status indicator + oauth saving 2024-12-13 12:03:10 +01:00
peaklabs-dev
f88438edd3
chore: rename topicID to threadId like in the telegram API response 2024-12-11 23:13:13 +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
🏔️ Peak
86512bb7b8
Merge pull request #4543 from ezyostudio/next-pushover
feat(notification): add Pushover
2024-12-11 18:41:18 +01:00
Zao Soula
ef35429533 feat(notification): add Pushover 2024-12-11 18:13:16 +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
1908d8a180 fix: --cone 2024-12-11 15:12:53 +01:00
🏔️ Peak
e24fbddc59
Merge branch 'next' into separate-success-and-failure-notifications 2024-12-10 16:40:20 +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
19d277f8ec refactor: rename name method to sanitizedName in BaseModel for clarity 2024-12-10 08:50:07 +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
e36ccd3d78
chore: remove resale license reference 2024-12-09 14:29:41 +01:00
peaklabs-dev
4428b95a65
chore: fix typo 2024-12-09 12:36:33 +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
d9248508b4
chore: remove unused waitlist stuff 2024-12-09 12:00:54 +01:00
Andras Bacsai
78f0ac80c1 Merge branch 'next' into feat/deployment-token 2024-12-09 09:16:59 +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
00882eeb31 feat: add TLS configuration for default redirect in Server model 2024-12-06 14:19:09 +01:00
Andras Bacsai
5453b9030e fix: dev mode 2024-12-06 13:39:20 +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
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
15ac12e131 test: setup database for upcoming tests 2024-12-04 12:43:52 +01:00
Andras Bacsai
ec9315f24e remove unnecessary things 2024-12-03 14:09:51 +01:00
Andras Bacsai
669293afc1 disable success notifications for now 2024-12-03 12:22:27 +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
Marvin von Rappard
a4910880e0
Merge branch 'next' into main 2024-11-25 13:44:24 +01:00
Andras Bacsai
dce783813a
Merge pull request #4379 from SierraJC/fix/misc-server-api-fixes
Fix: `/servers` API invalid responses / OpenAPI schema
2024-11-25 13:41:28 +01:00
Andras Bacsai
37d4d5f98c fix: version should come from constants + fix stripe webhook error reporting 2024-11-25 11:28:08 +01:00
Marvin von Rappard
1aea60f1f0
Merge branch 'next' into main 2024-11-25 09:06:24 +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
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
🏔️ Peak
106bc22321
Merge branch 'next' into fix-environement-route 2024-11-22 16:13:30 +01:00
peaklabs-dev
277fd78769
new uuid routes 2024-11-22 16:03:20 +01:00
Andras Bacsai
7d089ba1a9 fix: validateconnection 2024-11-22 15:50:52 +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
Kael
bc89b84539
Merge branch 'next' into feat/disable-default-redirect 2024-11-18 21:02:20 +11:00
Andras Bacsai
0eab7f78ff version++ and fix private key saving 2024-11-15 21:22:11 +01:00
peaklabs-dev
2932d9a6e0
fix ssh key migration broken with the new team check 2024-11-15 12:10:39 +01:00
peaklabs-dev
a58125cbfe
fix same ssh key in different teams 2024-11-14 21:53:38 +01:00
Marvin von Rappard
7bdac8b42f
Merge branch 'next' into main 2024-11-14 12:54:04 +01:00
Marvin von Rappard
eb0686fe20 feat: slack notifications 2024-11-12 22:37:55 +01:00
peaklabs-dev
a4f56fbd3f
Merge branch 'dep-and-remove-unused-stuff' of https://github.com/peaklabs-dev/coolify into dep-and-remove-unused-stuff 2024-11-12 15:20:05 +01:00
peaklabs-dev
1c5ddab30d
use one constants file 2024-11-12 15:18:48 +01:00
Andras Bacsai
055c613ba5 feat: add proxy type change to create/update apis 2024-11-12 14:30:05 +01:00
Andras Bacsai
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
1faa8be615 fix: cloud + stripe related 2024-11-11 22:18:15 +01:00
Andras Bacsai
b379e50d90 feat: custom nginx configuration for static deployments + fix 404 redirects in nginx conf 2024-11-11 14:37:36 +01:00
Andras Bacsai
24a6f3d7ea fix: missing privateKey 2024-11-11 11:10:55 +01:00
Andras Bacsai
aa1e80ccae fix: start sentinel on seeder 2024-11-08 10:39:02 +01:00
Andras Bacsai
9d9ac5943e fix 2024-11-08 10:30:10 +01:00
Andras Bacsai
e7f2215652 fix: seeder should not start sentinel 2024-11-08 10:28:40 +01:00
Andras Bacsai
a2b6a61c4a fix: update last online with old function 2024-11-08 09:43:46 +01:00
Andras Bacsai
a9832e2783
Merge pull request #3949 from peaklabs-dev/fix-project-deletion
Fix: Projects can be deleted with resources
2024-11-07 13:43:56 +01:00
Andras Bacsai
a297c9fcab fix: better invitation errors 2024-11-07 12:32:23 +01:00
Andras Bacsai
376a2341af refactor scheduled task job (and related stuffs) 2024-11-07 11:09:38 +01:00
Andras Bacsai
f1587d3302 cleanups 2024-11-06 12:39:37 +01:00
Andras Bacsai
825e9b7e9d fix: server validation 2024-11-05 16:40:12 +01:00
Andras Bacsai
904ffc894d fix: server limit check 2024-11-05 16:35:56 +01:00
Andras Bacsai
5ce6c3ded1 refactor server limit check job + email notifications view 2024-11-05 11:22:23 +01:00
Andras Bacsai
7fb1a1fc75 fix: use Auth(), add new db proxy stop event refactor clickhouse view 2024-11-04 14:18:16 +01:00
Kael
400d3f66b0
Merge branch 'next' into feat/disable-default-redirect 2024-11-04 23:33:48 +11:00
Andras Bacsai
fd546cec9d fix: refactor destination/docker view 2024-11-03 23:08:24 +01:00
Andras Bacsai
ca7c214775 fix: new way to update container statuses 2024-11-03 09:02:14 +01:00
Kael
970b30b2e7
Merge branch 'next' into feat/disable-default-redirect 2024-11-03 18:58:59 +11:00
Andras Bacsai
2eab9296cf check server functionality before status 2024-11-02 18:33:23 +01:00
Andras Bacsai
8b2563088d Refactor Server model to remove redundant code 2024-11-02 12:38:51 +01:00
Andras Bacsai
9ddc40f35c Refactor Server model to remove redundant code 2024-11-02 10:17:24 +01:00
Kael
1408bc58fb
Merge branch 'next' into feat/disable-default-redirect 2024-11-01 16:52:09 +11:00
Lucas Michot
1ec224fde1 Inline many variables. 2024-10-31 18:20:11 +01:00
Lucas Michot
8e1444eaa7 Get rid of many useless blank lines 2024-10-31 17:44:01 +01:00
Lucas Michot
0c133b113c Delete some useless imports 2024-10-31 16:33:49 +01:00
Lucas Michot
601f1a4717 Always prefer stricter string comparisons. 2024-10-31 15:23:19 +01:00
Kael
133ddc09d2
Merge branch 'next' into feat/disable-default-redirect 2024-10-31 23:57:51 +11:00
Andras Bacsai
86cf1ae319 Refactor Server model to remove SSH multiplexing file 2024-10-30 21:33:01 +01:00
Andras Bacsai
96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Andras Bacsai
7385d7a478 fix: changing private key manually won't trigger a notification 2024-10-30 10:01:58 +01:00
Andras Bacsai
c2a2757103 fix: restart sentinel once a day 2024-10-29 10:28:05 +01:00
Lucas Michot
c5403b0b3f Always prefer ::class notation 2024-10-28 14:56:13 +01:00
Lucas Michot
d557a22b91 Remove all ray() calls 2024-10-28 13:51:23 +01:00
🏔️ Peak
7c2d3c47eb
Merge branch 'next' into useless-variable-assignments 2024-10-28 13:32:34 +01:00
Andras Bacsai
3cb6ba1a9d Refactor code to improve server limit retrieval in Team model 2024-10-28 10:08:52 +01:00
Kael
786c8bc3a3
Merge branch 'next' into feat/disable-default-redirect 2024-10-28 19:20:52 +11:00
Andras Bacsai
8c96ab52d7 feat: notification rate limiter
fix: limit server up / down notification limits
2024-10-25 15:13:23 +02:00
Andras Bacsai
7ed0ebf106 fix: generateSentinelUrl method 2024-10-25 11:41:52 +02:00
Andras Bacsai
2bea26584a Refactor StartSentinel handle method to include latest version parameter 2024-10-25 11:41:25 +02:00
Andras Bacsai
2877080a39 Refactor variable and function names for consistency 2024-10-25 10:59:12 +02:00
Kael
7e03a80df5
Merge branch 'next' into feat/disable-default-redirect 2024-10-25 01:28:08 +11:00
Andras Bacsai
0147919dc4 Refactor deleteInvitation method in Invitations component 2024-10-24 13:44:38 +02:00
Andras Bacsai
bdf9b98596 fix: access team's github apps only 2024-10-24 13:28:31 +02:00
Andras Bacsai
9a227dbad6 feat: terminal views for servers
improvement: connect to container if only one available
2024-10-24 12:21:36 +02:00
Andras Bacsai
befdb71671 fix: Disable Sentinel temporarily 2024-10-24 11:35:38 +02:00
Andras Bacsai
7849099593 Refactor Server model to update SSH check wait time description 2024-10-22 14:49:42 +02:00
Andras Bacsai
cec77abaa8 Refactor server setting model to use waitBeforeDoingSshCheck method 2024-10-22 14:49:23 +02:00
Andras Bacsai
2e9ce3ed2a feat: add notification settings to server_disk_usage 2024-10-22 14:47:01 +02:00
Andras Bacsai
6e305a33de Refactor server setting model to restart Sentinel on specific config changes 2024-10-22 14:10:52 +02:00
Andras Bacsai
1f221d9791 fix: sentinel config changes restarts sentinel 2024-10-22 14:10:36 +02:00
Andras Bacsai
ac768e5313 feat: limit storage check emails
feat: sentinel should send storage usage
2024-10-22 14:01:36 +02:00
Andras Bacsai
b5146c0dda fix: charts ui 2024-10-22 11:39:38 +02:00
Andras Bacsai
e8854c3101 fix: sentinel start fixed 2024-10-22 08:31:53 +02:00
Andras Bacsai
3e729ee928 fix: metrics for dbs 2024-10-21 22:57:00 +02:00
Andras Bacsai
f0d5639956 fancier notifications 2024-10-21 22:40:43 +02:00
Kael
ebdc99f617
Merge branch 'next' into feat/disable-default-redirect 2024-10-22 00:50:12 +11:00
Andras Bacsai
2809083f61 Refactor Redis password handling and migration to use environment variables 2024-10-21 13:43:34 +02:00
Andras Bacsai
bf7b0f9e06 fix: redis database user and password 2024-10-21 12:13:42 +02:00
Andras Bacsai
e8c7d7f972 fix: pull helper image on helper_version change 2024-10-21 12:06:13 +02:00
Andras Bacsai
056758e3ff
Merge pull request #3184 from peaklabs-dev/fix-redis-db-ui
Fix: Redis DB UI
2024-10-21 10:00:20 +02:00
peaklabs-dev
5a38b21d95
fix project deletion and refactor some code 2024-10-18 13:48:41 +02:00
Andras Bacsai
b75c2dc604 pint 2024-10-17 22:08:23 +02:00
Andras Bacsai
2315bdb93f ui updates on server 2024-10-17 14:56:36 +02:00
Andras Bacsai
4c95647b96 feat: cleanup sentinel on server deletion
fix: Sentinel should not be enabled on build servers
2024-10-17 11:21:43 +02:00
Andras Bacsai
b58ff07832 Merge branch 'next' of github.com:coollabsio/coolify into next 2024-10-17 10:04:54 +02:00
Andras Bacsai
f600c1b37d fix: only enable Sentinel for new servers 2024-10-17 10:04:38 +02:00
peaklabs-dev
85c3270dcc
update helper and disable input if variable is shared 2024-10-16 13:44:17 +02:00
peaklabs-dev
b9c9c1041a
feat: add is shared to env variables 2024-10-16 13:20:26 +02:00
Andras Bacsai
2702fbc284 Refactor logging in PushServerUpdateJob, Application, and SentinelSeeder 2024-10-15 17:03:50 +02:00
🏔️ Peak
937666b177
Merge branch 'fix-redis-db-ui' into fix-redis 2024-10-15 15:48:57 +02:00
Andras Bacsai
8c53af088e Refactor StartSentinel.php to use data_get() for retrieving server settings 2024-10-15 15:45:02 +02:00
Andras Bacsai
46ec8eed64 fix: generate sentinel url 2024-10-15 15:43:53 +02:00
Andras Bacsai
73923a0207 fix: metrics 2024-10-15 15:33:05 +02:00
Andras Bacsai
d446cd4f31 sentinel updates 2024-10-15 13:39:19 +02:00
Kael
9a1b6449c8 Merge branch 'next' into feat/disable-default-redirect 2024-10-14 22:53:37 +11:00
Andras Bacsai
b2e515f770 sentinel 2024-10-14 13:32:36 +02:00
Kael
9d553c3a30 Merge branch 'next' into feat/disable-default-redirect 2024-10-14 21:25:56 +11:00
Andras Bacsai
1f193d465d sentinel updates 2024-10-14 12:07:37 +02:00
Kael
beb6d04804
Merge branch 'next' into feat/disable-default-redirect 2024-10-12 03:50:45 +11:00
Andras Bacsai
88f1e58c63 feat: required envs 2024-10-11 14:38:22 +02:00
Kael
97c8194588 Merge branch 'next' into feat/disable-default-redirect 2024-10-11 20:37:08 +11:00
Andras Bacsai
0714fc0e96 chore: Update service extra fields to use dynamic keys 2024-10-11 11:36:57 +02:00
Andras Bacsai
35834ea41d
Merge pull request #3846 from ershisan99/next
fix: use correct env variable for invoice ninja password
2024-10-11 11:33:58 +02:00
Darren Sisson
c1b996ef05 add https3 support to traefik and fix 404 redirect for traefik3 2024-10-10 18:47:01 +01:00
Lucas Michot
5e11f159e0 Remove some useless variable assignments. 2024-10-10 18:32:24 +02:00
Kael
b997b7393b feat: allow disabling default redirect, set status to 503 2024-10-11 02:44:52 +11:00
Andras Bacsai
9330a3f354 feat: add customHelper to stack-form 2024-10-10 13:28:42 +02:00
andres
9e5551c4dd fix: use correct env variable for invoice ninja password 2024-10-10 13:13:44 +02:00
Andras Bacsai
fd15c7b49e fix: scheduled database server 2024-10-10 12:42:34 +02:00