Andras Bacsai
f33df13c4e
feat(environment): replace is_buildtime_only with is_runtime and is_buildtime flags for environment variables, updating related logic and views
2025-09-18 18:14:54 +02:00
GitHub Actions
c1c149968e
Fix team invitation email case sensitivity bug
...
- Add email normalization to TeamInvitation model using setEmailAttribute()
- Add HasFactory trait to Team model for testing support
- Create TeamFactory for testing
- Add tests to verify email normalization works correctly
- Fixes issue where mixed case emails in invitations would cause lookup failures
- Resolves #6291
The bug occurred because:
1. User model normalizes emails to lowercase
2. TeamInvitation model did not normalize emails
3. When invitation was created with mixed case, it was stored as-is
4. User lookup failed due to case mismatch during invitation acceptance
5. This caused users to not be able to see teams they were invited to
This fix ensures both models normalize emails consistently.
2025-09-16 15:31:48 +01:00
Andras Bacsai
4f8dfa598e
refactor(server): remove debugging ray call from validateConnection method for cleaner code
2025-09-16 09:43:51 +02:00
Andras Bacsai
133e72336a
Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method in various components for improved clarity and efficiency"
...
This reverts commit feacedbb04 .
2025-09-15 17:56:48 +02:00
Andras Bacsai
393745b68c
Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency"
...
This reverts commit 18068857b1 .
2025-09-15 17:55:08 +02:00
Andras Bacsai
7eb0c5a757
fix(application): improve watch paths handling by trimming and filtering empty paths to prevent unnecessary triggers
2025-09-15 13:59:14 +02:00
Andras Bacsai
4027c1426c
feat(sentinel): add support for custom Docker images in StartSentinel and related methods
2025-09-14 19:21:55 +02:00
Andras Bacsai
8e155f25b3
refactor(environment): streamline environment variable handling by replacing sorting methods with direct property access and enhancing query ordering for improved performance
2025-09-12 12:09:03 +02:00
Andras Bacsai
20ad2165e7
feat(environment): introduce 'is_buildtime_only' attribute to environment variables for improved build-time configuration
2025-09-11 17:38:16 +02:00
Andras Bacsai
5b3b4bbc43
refactor(environment): remove 'is_build_time' attribute from environment variable handling across the application to simplify configuration
2025-09-11 16:51:56 +02:00
Andras Bacsai
ab0786f5a0
feat(environment): add 'is_literal' attribute to environment variable for enhanced configuration options
2025-09-11 15:25:44 +02:00
Andras Bacsai
501e6a2650
refactor(environment): standardize service name formatting by replacing '-' and '.' with '_' in environment variable keys
2025-09-11 13:59:02 +02:00
Andras Bacsai
c8f49f29c0
refactor(application): enhance environment variable retrieval in configuration change check for improved accuracy
2025-09-11 12:29:57 +02:00
Andras Bacsai
d9ebf3b142
refactor(webhook): remove Webhook model and related logic; add migrations to drop webhooks and kubernetes tables
2025-09-10 19:35:53 +02:00
Andras Bacsai
f64622c764
refactor(models): remove 'is_readonly' attribute from multiple database models for consistency
2025-09-10 19:34:49 +02:00
Andras Bacsai
cead87d650
refactor(private-key): remove debugging statement from storeInFileSystem method for cleaner code
2025-09-10 08:19:25 +02:00
Andras Bacsai
a60d6dadc7
fix(private-key): implement transaction handling and error verification for private key storage operations
2025-09-09 16:46:38 +02:00
Andras Bacsai
feacedbb04
refactor(file-transfer): replace base64 encoding with direct file transfer method in various components for improved clarity and efficiency
2025-09-09 11:10:38 +02:00
Andras Bacsai
45ca76ed1c
fix(LocalFileVolume): add missing directory creation command for workdir in saveStorageOnServer method
2025-09-09 08:56:00 +02:00
Andras Bacsai
18068857b1
refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency
2025-09-08 14:04:24 +02:00
Andras Bacsai
4bd29bf966
refactor(ssh): enhance error handling in SSH command execution and improve connection validation logging
2025-09-07 18:45:44 +02:00
Andras Bacsai
9c3345318a
fix(user): ensure email attributes are stored in lowercase for consistency and prevent case-related issues
2025-09-05 17:44:34 +02:00
Andras Bacsai
339118558c
feat(settings): add option to restrict PR deployments to repository members and contributors
2025-09-05 14:30:51 +02:00
Andras Bacsai
7fe6a4198d
fix(previews): simplify FQDN generation logic by removing unnecessary empty check
2025-08-28 10:11:56 +02:00
peaklabs-dev
6c560261f2
refactor(git): improve submodule cloning
2025-08-27 17:13:28 +02:00
broesch
c2ff9eae0d
fix(git): submodule update command uses an unsupported option ( #6454 )
2025-08-27 16:51:08 +02:00
Andras Bacsai
63fcc0ebc3
feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled.
2025-08-26 10:27:38 +02:00
Andras Bacsai
8408205955
feat(validation): add custom validation rules for Git repository URLs and branches
...
- Introduced `ValidGitRepositoryUrl` and `ValidGitBranch` validation rules to ensure safe and valid input for Git repository URLs and branch names.
- Updated relevant Livewire components and API controllers to utilize the new validation rules, enhancing security against command injection and invalid inputs.
- Refactored existing validation logic to improve consistency and maintainability across the application.
2025-08-22 14:38:21 +02:00
Andras Bacsai
a6fc39e798
feat(git-settings): add support for shallow cloning in application settings
...
- Introduced a new boolean setting `is_git_shallow_clone_enabled` to the application settings model.
- Updated the `Advanced` component to include a checkbox for enabling shallow cloning.
- Modified the `setGitImportSettings` and `generateGitImportCommands` methods to handle shallow clone logic.
- Created a migration to add the new setting to the database schema.
- Enhanced the deployment process to utilize shallow cloning for improved performance.
2025-08-21 10:16:57 +02:00
Andras Bacsai
38c0641734
feat(validation): centralize validation patterns for names and descriptions
...
- Introduced `ValidationPatterns` class to standardize validation rules and messages for name and description fields across the application.
- Updated various components and models to utilize the new validation patterns, ensuring consistent sanitization and validation logic.
- Replaced the `HasSafeNameAttribute` trait with `HasSafeStringAttribute` to enhance attribute handling and maintain consistency in name sanitization.
- Enhanced the `CleanupNames` command to align with the new validation rules, allowing for a broader range of valid characters in names.
2025-08-19 12:14:48 +02:00
Andras Bacsai
e958b3761d
feat(cleanup): add command for sanitizing name fields across models
...
- Introduced `CleanupNames` command to sanitize name fields by removing invalid characters, ensuring only letters, numbers, spaces, dashes, underscores, and dots are retained.
- Implemented options for dry run, model-specific cleaning, database backup, and forced execution.
- Updated `Init` command to call the new `cleanup:names` command.
- Enhanced project and environment validation to enforce name sanitization rules.
- Added `HasSafeNameAttribute` trait to relevant models for consistent name handling.
2025-08-19 11:04:23 +02:00
Pritam Yadav
f01341bfbf
fix(ui): handle null values in postgres metrics ( #6388 )
2025-08-18 17:39:30 +02:00
Andras Bacsai
ee502b9f76
feat(email): implement email change request and verification process
...
- Added functionality for users to request an email change, including generating a verification code and setting an expiration time.
- Implemented methods in the User model to handle email change requests, code validation, and confirmation.
- Created a new job to update the user's email in Stripe after confirmation.
- Introduced rate limiting for email change requests and verification attempts to prevent abuse.
- Added a new notification for email change verification.
- Updated the profile component to manage email change requests and verification UI.
2025-08-18 14:54:08 +02:00
Andras Bacsai
73cdbd501c
fix(ApplicationPreview): change null check to empty check for fqdn in generate_preview_fqdn method
2025-08-17 15:34:36 +02:00
Andras Bacsai
c9ddda8ed2
feat(drizzle-gateway): enhance service configuration by adding Master Password field and updating compose file path
2025-08-12 10:07:11 +02:00
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