Ahmed A
a4e13f56c0
Adding support for using config values for process
2025-09-09 17:25:55 +03:00
Andras Bacsai
1ca94b90da
fix(proxy): replace CheckConfiguration with GetProxyConfiguration and SaveConfiguration with SaveProxyConfiguration for improved clarity and consistency in proxy management
2025-09-09 12:52:19 +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
b1a2938f84
fix(ScheduledTaskJob): replace generic Exception with NonReportableException for better error handling
2025-09-09 09:30:44 +02:00
Andras Bacsai
a7671ed379
refactor(dns-validation): rename DNS validation functions for consistency and clarity, and remove unused code
2025-09-09 09:00:35 +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
Arnaud B
e23ab1e621
feat(deployment): add SERVICE_NAME variables for service discovery
...
This change introduces automatically generated `SERVICE_NAME_<SERVICE>`
environment variables for each service within a Docker Compose deployment.
This allows services to reliably reference each other by name, which is particularly
useful in pull request environments where container names are dynamically suffixed.
- The application parser now generates and injects these `SERVICE_NAME` variables
into the environment of all services in the compose file.
- `ApplicationDeploymentJob` is updated to correctly handle and filter these
new variables during deployment.
- UI components and the `EnvironmentVariableProtection` trait have been updated
to make these generated variables read-only, preventing accidental modification.
This commit introduces two new helper functions to standardize resource naming
for pull request deployments:
- `addPreviewDeploymentSuffix()`: Generates a consistent suffix format (-pr-{id})
for resource names in preview deployments
- `generateDockerComposeServiceName()`: Creates SERVICE_NAME environment variables
for Docker Compose services
2025-09-08 15:22:44 +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
852b2688d9
refactor(error-handling): remove ray debugging statements from CheckUpdates and shared helper functions to clean up error reporting
2025-09-08 14:03:27 +02:00
Andras Bacsai
a243b99df4
feat(exceptions): introduce NonReportableException to handle known errors and update Handler for selective reporting
2025-09-08 09:18:25 +02:00
Andras Bacsai
45c75ad9c1
feat(ssh): add Sentry tracking for SSH retry events to enhance error monitoring
2025-09-07 18:57:20 +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
579cc25898
fix(ssh): introduce SshRetryHandler and SshRetryable trait for enhanced SSH command retry logic with exponential backoff and error handling
2025-09-07 17:17:35 +02:00
Andras Bacsai
b847740924
refactor(command): simplify SSH command retry logic by removing unnecessary logging and improving delay calculation
2025-09-07 16:38:11 +02:00
Andras Bacsai
b6176d905b
feat(command): implement SSH command retry logic with exponential backoff and logging for better error handling
2025-09-07 10:26:23 +02:00
Andras Bacsai
2d135071c7
refactor(command): replace forceDelete calls with DeleteResourceJob dispatch for all stuck resources in cleanup process
2025-09-05 19:28:08 +02:00
Andras Bacsai
8c5c249c6a
refactor(webhook): replace direct forceDelete calls with DeleteResourceJob dispatch for application previews
2025-09-05 19:27:59 +02:00
Andras Bacsai
136ca08305
refactor(command): streamline Init command by removing unnecessary options and enhancing error handling for various operations
2025-09-05 19:27:49 +02:00
Andras Bacsai
a10e51b2c4
fix(webhook): replace delete with forceDelete for application previews to ensure immediate removal
2025-09-05 17:50:33 +02:00
Andras Bacsai
28d05f759e
refactor(command): remove InitChangelog command as it is no longer needed
2025-09-05 17:45:15 +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
49bd0a2a01
refactor(command): improve database collection logic for deletion command by using unique identifiers and enhancing user experience
2025-09-05 17:43:19 +02:00
Andras Bacsai
581b649cd7
fix(command): enhance cleanup process for stuck application previews by adding force delete for trashed records
2025-09-05 17:43:05 +02:00
Andras Bacsai
16447b7391
refactor(command): streamline database deletion process to handle multiple database types and improve user experience
2025-09-05 14:56:30 +02:00
Andras Bacsai
b17c65b224
fix(command): enhance database deletion command to support multiple database types
2025-09-05 14:55:15 +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
Dominic
758fe18d79
oops missed a check
2025-09-03 13:01:03 -04:00
Andras Bacsai
9db8b62219
feat(ui): display current version in settings dropdown and update UI accordingly
2025-09-01 16:23:14 +02:00
Andras Bacsai
0bfffb503e
feat(command): add option to sync GitHub releases to BunnyCDN and refactor sync logic
2025-09-01 16:14:02 +02:00
Andras Bacsai
d2ed68e605
refactor(jobs): pull github changelogs from cdn instead of github
2025-09-01 16:13:55 +02:00
Dominic
719d094754
Merge branch 'next' into patch-1
2025-08-31 22:46:35 -04:00
Dominic
c0ffda37f2
remove ~ from forbidden characters in git URLs
2025-08-31 22:32:30 -04:00
Andras Bacsai
6e3e80f1c2
fix(api): add custom labels generation for applications with readonly container label setting enabled
2025-08-31 15:40:48 +02:00
QarthO
bfc8a25b72
move domain trimming before URL validation
2025-08-29 09:09:03 -04:00
Andras Bacsai
bf884bd1a0
refactor(policy): simplify ServiceDatabasePolicy methods to always return true and add manageBackups method
2025-08-28 17:19:09 +02:00
Andras Bacsai
75b61a6b00
feat(domains): add force_domain_override option and enhance domain conflict detection responses
2025-08-28 11:21:30 +02:00
Andras Bacsai
80499a03d8
feat(domains): implement domain conflict detection and user confirmation modal across application components
2025-08-28 10:52:41 +02:00
Andras Bacsai
643343785a
refactor(auth): simplify access control logic in CanAccessTerminal and ServerPolicy by allowing all users to perform actions
2025-08-28 10:48:24 +02:00
Andras Bacsai
7fe6a4198d
fix(previews): simplify FQDN generation logic by removing unnecessary empty check
2025-08-28 10:11:56 +02:00
Andras Bacsai
e0aa28ba31
refactor(domains): rename check_domain_usage to checkDomainUsage and update references across the application
2025-08-28 10:00:19 +02:00
Andras Bacsai
2e85ce0e0e
refactor(urls): replace generateFqdn with generateUrl for consistent URL generation across applications
2025-08-28 09:49:58 +02:00
saurabhraghuvanshii
3c126927d5
enhancement: allow deploy from container image hash
2025-08-28 02:10:14 +05:30
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
d98b7ab7e0
feat(policies): add EnvironmentVariablePolicy for managing environment variables ( it was missing )
2025-08-26 21:44:36 +02:00
peaklabs-dev
bc6709e43b
fix(backups): s3 backup upload is failing
2025-08-26 18:12:47 +02:00
Andras Bacsai
a8d565836a
refactor(policies): remove Response type hint from update methods in ApplicationPreviewPolicy and DatabasePolicy for improved flexibility
2025-08-26 16:55:59 +02:00
Andras Bacsai
ed93031a39
feat(docker): implement Docker cleanup processing in ScheduledJobManager; refactor server task scheduling to streamline cleanup job dispatching
2025-08-26 14:43:57 +02:00
Andras Bacsai
13397b62cf
refactor: update check frequency logic for cloud and self-hosted environments; streamline server task scheduling and timezone handling
2025-08-26 13:51:42 +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
74ebaef17b
feat(api): enhance IP access control in middleware and settings; support CIDR notation and special case for 0.0.0.0 to allow all IPs
2025-08-26 10:27:38 +02:00
Andras Bacsai
83f2e856ec
feat(sentinel): implement SentinelRestarted event and update Livewire components to handle server restart notifications
2025-08-26 10:27:38 +02:00
Andras Bacsai
990331cd74
feat(validation): add ValidIpOrCidr rule for validating IP addresses and CIDR notations; update API access settings UI and add comprehensive tests
2025-08-26 10:27:38 +02:00
Andras Bacsai
ae1b0de561
feat(auth): enhance authorization checks in Livewire components for resource management
2025-08-26 10:27:38 +02:00
Andras Bacsai
ae79a98d72
feat(auth): add middleware for resource creation authorization
2025-08-26 10:27:38 +02:00
Andras Bacsai
3e1f47a243
feat(auth): introduce resource creation authorization middleware and policies for enhanced access control
2025-08-26 10:27:38 +02:00
Andras Bacsai
b1334a1bc6
feat(auth): implement comprehensive authorization checks across API controllers
2025-08-23 18:51:10 +02:00
Andras Bacsai
b5fe5dd909
feat(auth): refine authorization checks for S3 storage and service management
2025-08-23 18:50:50 +02:00
Andras Bacsai
adb8f9d88e
feat(auth): implement authorization checks for database management
2025-08-23 18:50:35 +02:00
Andras Bacsai
6d02f6a60b
feat(auth): add comprehensive authorization checks for all kind of resource creations
2025-08-23 18:47:31 +02:00
Andras Bacsai
b2de69a9ba
feat(auth): enhance API error handling for authorization exceptions
2025-08-23 18:45:56 +02:00
Andras Bacsai
6ef16f6170
fix(auth): enhance authorization checks in application management
2025-08-23 18:19:50 +02:00
Andras Bacsai
40f108d6e1
feat(auth): implement authorization checks for application management
2025-08-22 16:47:59 +02:00
Andras Bacsai
37ee6717e9
feat(security): add authorization checks for package updates in Livewire components
2025-08-22 14:43:18 +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
6772cfe603
feat(auth): implement authorization for Docker and server management
...
- Added authorization checks in Livewire components related to Docker and server management to ensure only authorized users can create, update, and manage Docker instances and server settings.
- Introduced new policies for StandaloneDocker and SwarmDocker to define access control rules based on user roles and team associations.
- Updated AuthServiceProvider to register the new policies, enhancing security and access control for Docker functionalities and server management operations.
2025-08-22 14:04:25 +02:00
Andras Bacsai
d8d01e6886
feat(auth): implement authorization for PrivateKey management
...
- Added authorization checks in the Create and Show Livewire components to ensure only authorized users can create, update, and delete PrivateKey instances.
- Introduced a new PrivateKeyPolicy to define access control rules for viewing, creating, updating, and deleting PrivateKey models based on user roles and team associations.
- Updated AuthServiceProvider to register the new PrivateKeyPolicy, enhancing security and access control for PrivateKey functionalities.
2025-08-22 13:02:20 +02:00
Andras Bacsai
3ffc751f1a
feat(auth): implement authorization checks for server updates across multiple components
...
- Added authorization checks using the `authorize` method in various Livewire components to ensure only authorized users can update server settings.
- Updated `ServerPolicy` to restrict update permissions to admin users and their respective teams.
- Enhanced security and access control for server management functionalities.
2025-08-22 13:02:11 +02:00
Andras Bacsai
0748ef3ee5
refactor(jobs): rename job classes to indicate deprecation status
2025-08-22 12:09:12 +02:00
Andras Bacsai
7d10711a65
fix(servercheck): Properly check server statuses with and without Sentinel
2025-08-22 11:50:56 +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
ea5b33b923
fix(init): improve error handling for deployment and template pulling processes
2025-08-19 14:22:48 +02:00
Andras Bacsai
5c4a265542
refactor(validation): implement centralized validation patterns across components
...
- Introduced `ValidationPatterns` class to standardize validation rules and messages for various fields across multiple components.
- Updated components including `General`, `StackForm`, `Create`, and `Show` to utilize the new validation patterns, ensuring consistent validation logic.
- Enhanced error messages for required fields and added regex validation for names and descriptions to improve user feedback.
- Adjusted styling in the `create.blade.php` view for better visual hierarchy.
2025-08-19 14:15:31 +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
peaklabs-dev
dbed6c270e
feat: generate category for services
2025-08-18 17:28:20 +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
5cfe6464aa
fix(database): conditionally set started_at only if the database is running
2025-08-18 12:09:58 +02:00
Andras Bacsai
460198bb05
fix(application): clear Docker Compose specific data when switching away from dockercompose
2025-08-18 11:31:14 +02:00
Andras Bacsai
0e014ce213
fix(service api): separate create and update service functionalities
2025-08-17 19:45:12 +02:00
Andras Bacsai
6b0d995033
Merge branch 'next' into fix/service-update-required-params
2025-08-17 18:43:36 +02:00
Andras Bacsai
7925e2e42a
fix(email notifications): enhance EmailChannel to validate team membership for recipients and handle errors gracefully
2025-08-17 17:59:22 +02:00
Andras Bacsai
91cc52f81e
feat(dev patches): add functionality to send test email with patch data in development mode
2025-08-17 17:58:38 +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
240f8f33e2
Merge pull request #6367 from nahtnam/v4.x
...
BUGFIX: Update `ls-remote` logic to pull correct branch
2025-08-17 15:20:27 +02:00
Andras Bacsai
0dada987a2
feat(backup): add disable local backup option and related logic for S3 uploads
2025-08-17 12:34:20 +02:00
Andras Bacsai
5ded100300
feat(api): add endpoints for managing environments in projects, including listing, creating, and deleting environments
2025-08-16 18:27:38 +02:00
Andras Bacsai
a32342d126
feat(api): add create_environment endpoint to ProjectController for environment creation in projects
2025-08-15 20:24:32 +02:00
Manthan Mallikarjun
08e4086bb9
fix(git): use exact refspec in ls-remote to avoid matching similarly named branches (e.g., changeset-release/main). Use refs/heads/<branch> or provider-specific PR refs.
2025-08-13 01:14:47 -07:00
Andras Bacsai
f018d640e5
fix(templates): should generate old SERVICE_FQDN service templates as well
2025-08-12 14:19:17 +02:00
Andras Bacsai
970fd3d9e6
refactor(parsers): streamline domain handling in applicationParser and improve DNS validation logic
2025-08-12 10:07:11 +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
39f25573bf
refactor(templates): update service template file handling to use dynamic file name from constants
2025-08-12 10:06:19 +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
1ddec358a5
feat(input): add autofocus attribute to input component for improved accessibility
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
cc5abc093d
fix(container): sort containers alphabetically by name in ExecuteContainerCommand and update filtering in Terminal Index
2025-08-12 10:06:19 +02:00
Andras Bacsai
103a9c2df2
fix(policy): update delete method to check for admin status in S3StoragePolicy
2025-08-12 10:06:19 +02:00
Yanluis Fermin
9b0fd2073a
fix(api): update service upsert to retain name and description values if not set
2025-08-11 12:31:12 -04:00
🏔️ Peak
c404581b25
fix(database): custom postgres configs with SSL ( #6352 )
2025-08-11 18:22:03 +02:00
Yanluis Fermin
4ff7ab7895
Merge branch 'next' into fix/service-update-required-params
2025-08-11 10:23:30 -04:00
Cynthia Ebert
a40dd8880d
fix(proxy): remove hardcoded port 80/443 checks ( #6275 )
2025-08-04 22:16:49 +02:00
peaklabs-dev
36961d8ae8
fix(docker): cleanup always running on deletion
...
- docker cleanup was always running on deletion instead of using the settings set in the deletion modal
2025-08-04 22:14:19 +02:00
peaklabs-dev
279edf696c
chore(docker): remove unused arguments on StopService
2025-08-04 22:12:56 +02:00
peaklabs-dev
daa96c27a7
chore(deletion): rename isDeleteOperation to deleteConnectedNetworks
2025-08-04 22:12:04 +02:00
peaklabs-dev
c551be9be8
chore(core): remove unused argument
2025-08-04 22:11:29 +02:00
🏔️ Peak
2a526c54d5
fix(docker): volumes get delete when stopping a service if Delete Unused Volumes is activated ( #6317 )
2025-08-04 21:15:56 +02:00
Yanluis Fermin
d3f46e2625
Merge branch 'next' into fix/service-update-required-params
2025-08-04 08:39:35 -04:00
peaklabs-dev
723f14e6f6
fix(git): tracking issue due to case sensitivity
2025-08-03 22:36:38 +02:00
peaklabs-dev
2a1aa5375e
fix(git): tracking issue due to case sensitivity
2025-08-03 22:26:45 +02:00
peaklabs-dev
79fc9927d7
fix(git): tracking issue due to case sensitivity
2025-08-03 22:22:16 +02:00
Yanluis Fermin
ad8f442318
refactor(services): update validation rules to be optional
2025-07-30 15:59:35 -04:00
Andras Bacsai
5ddaf3a61f
fix(application): add option to suppress toast notifications when loading compose file
2025-07-18 23:22:24 +02:00
Andras Bacsai
039aa86321
fix(application): update service environment variables when generating domain for Docker Compose
2025-07-18 23:16:12 +02:00
Andras Bacsai
11341d7c2c
refactor(jobs): remove logging for ScheduledJobManager and ServerResourceManager start and completion
2025-07-18 23:15:51 +02:00
Andras Bacsai
43ff38d914
feat(terminal): dispatch focus event for terminal after connection and enhance focus handling in JavaScript
2025-07-18 22:39:42 +02:00
Andras Bacsai
90ccaeba51
feat(application): implement environment variable updates for Docker Compose applications, including creation, updating, and deletion of SERVICE_FQDN and SERVICE_URL variables
2025-07-18 20:48:56 +02:00
Andras Bacsai
ef91e43384
feat(container): add updatedSelectedContainer method to connect to non-default containers and update wire:model for improved reactivity
2025-07-18 20:48:56 +02:00
Andras Bacsai
4df349f74d
refactor(previews): streamline preview domain generation logic in ApplicationDeploymentJob for improved clarity and maintainability
2025-07-18 20:48:56 +02:00
Rado
00225a9eff
fix(webhooks): exclude webhook routes from CSRF protection ( #6200 )
2025-07-18 19:04:08 +02:00
peaklabs-dev
a0db5b342f
fix(backups): error message if there is no exception
2025-07-18 15:56:01 +02:00
🏔️ Peak
e5e1bdcd4d
fix(backups): large database backups are not working ( #6217 )
2025-07-18 15:47:14 +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
8a107b3c4b
fix(previews): refine preview domain generation for Docker Compose applications, ensuring correct method usage based on build pack type
2025-07-14 15:47:16 +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
3bb28c29be
fix(application): sanitize service names for HTML form binding and ensure original names are stored in docker compose domains
2025-07-14 14:45:01 +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
fbe98cfd11
refactor(scheduling): replace deprecated job checks with ScheduledJobManager and ServerResourceManager for improved scheduling efficiency
2025-07-12 14:44:52 +02:00
Andras Bacsai
80fae306e6
feat(scheduling): introduce ScheduledJobManager and ServerResourceManager for enhanced job scheduling and resource management
2025-07-12 14:44:44 +02:00
Andras Bacsai
0f5c988658
fix(horizon): add silenced jobs
2025-07-12 14:44:32 +02:00
Andras Bacsai
316f233eb8
feat(logging): add frequency filters for scheduled logs command to support hourly, daily, weekly, and monthly job views
2025-07-11 19:26:42 +02:00
Andras Bacsai
36fe235bea
feat(logging): implement scheduled logs command and enhance backup/task scheduling with cron checks
2025-07-11 15:10:55 +02:00
Andras Bacsai
2214099c90
feat(scheduling): add frequency filter option for manual execution of scheduled jobs
2025-07-11 15:10:43 +02:00
Andras Bacsai
ea0e02d422
feat(scheduling): add command to manually run scheduled database backups and tasks with options for chunking, delays, and dry runs
2025-07-08 21:03:26 +02:00
Andras Bacsai
eb322ce397
fix(database): ensure internal port defaults correctly for unsupported database types in StartDatabaseProxy
2025-07-08 21:03:20 +02:00
Andras Bacsai
ecbfaa9a8a
fix(scheduling): change redis cleanup command frequency from hourly to weekly for better resource management
2025-07-08 10:57:09 +02:00
Andras Bacsai
b9ba04c4e1
fix(deployment): update COOLIFY_URL and COOLIFY_FQDN generation to use Spatie URL library for improved accuracy
2025-07-08 10:49:09 +02:00
Andras Bacsai
94f9c54256
fix(deployment): refactor domain parsing and environment variable generation using Spatie URL library
2025-07-08 10:42:34 +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
6d94aaf0f8
refactor(previews): streamline preview URL generation by utilizing application method
2025-07-07 13:14:45 +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
540e8f0c46
Merge pull request #6130 from Nathanjms/next
...
Typo Correction on modal
2025-07-07 10:31:46 +02:00
Andras Bacsai
9b8da285c0
refactor(database): improve error handling for unsupported database types in StartDatabaseProxy
2025-07-07 10:23:31 +02:00
Andras Bacsai
3b7f4bcbbd
refactor(init): standardize method naming conventions and improve command structure in Init.php
2025-07-07 09:50:15 +02:00
Andras Bacsai
7817c9cad7
refactor(redis): enhance CleanupRedis command with dry-run option and improved key deletion logic
2025-07-07 09:47:11 +02:00
Nathan James
4d2910e740
Merge branch 'coollabsio:next' into next
2025-07-04 16:07:31 +01:00
Nathan James
4c4b115008
Correct Typo: 'form' -> 'from'
2025-07-04 16:06:53 +01:00
Andras Bacsai
ea115e6d31
refactor(policy): optimize team membership checks in S3StoragePolicy
2025-07-03 15:52:26 +02:00
Andras Bacsai
e3e80744a7
refactor(settings): streamline instance admin checks and initialization of settings in Livewire components
2025-07-03 15:50:53 +02:00
Andras Bacsai
ca62f8dacc
refactor(terminal): simplify command construction for SSH execution
2025-07-03 15:48:59 +02:00
Andras Bacsai
13a9816770
fix(service): ensure configuration changes are properly tracked and dispatched
2025-07-03 15:08:13 +02:00
Hicro
43bcfe8d02
fix: removing eager loading ( #6071 )
...
since the destionations relationship is not really needed, we could
remove it and avoid the issue with the missing eager constraint.
Co-authored-by: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com>
2025-07-01 11:10:47 +02:00
Andras Bacsai
24688b2ad8
fix(jobs): update middleware to use expireAfter for WithoutOverlapping in multiple job classes
2025-07-01 10:50:27 +02:00
Andras Bacsai
a1ec86f433
fix(terminal): ensure shell execution only uses valid shell if available in terminal command
2025-07-01 10:37:34 +02:00
Andras Bacsai
620f70c7ff
fix(database): proxy ssl port if ssl is enabled
2025-06-30 09:26:28 +02:00
Andras Bacsai
90817914d9
refactor(ui): separate views for instance settings to separate paths to make it cleaner
2025-06-30 08:50:17 +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
ac4324e682
Update app/Providers/RouteServiceProvider.php
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-26 09:10:44 +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
d00eb64acd
Update app/Livewire/Subscription/Index.php
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-26 09:06:38 +02:00
Andras Bacsai
8abb8b2328
feat(settings): add sponsorship popup toggle and corresponding database migration
2025-06-25 15:18:39 +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
7fb85314e5
refactor(invitation): rename methods for consistency and enhance invitation deletion logic
2025-06-25 11:45:55 +02:00
Andras Bacsai
38e947d704
feat(cleanup): add functionality to delete teams with no members or servers in CleanupStuckedResources command
2025-06-25 11:42:53 +02:00
Andras Bacsai
bcddba3569
refactor(email): streamline SMTP and resend settings logic for improved clarity
2025-06-24 18:27:09 +02:00
Andras Bacsai
ffaa2917d5
fix(ui): enhance status refresh buttons with loading indicators
2025-06-24 13:34:56 +02:00
Andras Bacsai
8fc79022f3
feat(service): enhance service status handling and UI updates
2025-06-24 12:52:22 +02:00
Andras Bacsai
3643a388bf
fix(github): changing github app breaks the webhook. it does not anymore
2025-06-21 19:28:38 +02:00
peaklabs-dev
04aec48495
refactor(core): rename API rate limit ENV
2025-06-18 15:23:44 +02:00
🏔️ Peak
e9f977443f
Merge branch 'v4.x' into next
2025-06-18 15:21:08 +02:00
Alfred Nutile
e0f16e9539
feat(core): set custom API rate limit ( #5984 )
2025-06-18 15:19:33 +02:00
Darren Sisson
8fa0409a37
fix(ssh): scp requires square brackets for ipv6 ( #6001 )
2025-06-18 15:10:21 +02:00
Hauke Schnau
1968d4d494
feat(auth): add Zitadel OAuth Provider ( #5490 )
2025-06-18 14:35:54 +02:00
Yassir Elmarissi
a77bd88258
feat(auth): Add Clerk OAuth Provider ( #5553 )
2025-06-18 14:29:46 +02:00
Yassir Elmarissi
4375f52c5d
feat(auth): Add Discord OAuth Provider ( #5552 )
2025-06-18 14:19:01 +02:00
Andras Bacsai
9eab8897d8
fix(server): update sentinelUpdatedAt assignment to use server's sentinel_updated_at property
2025-06-18 13:02:21 +02:00
Andras Bacsai
2f6dfd0fea
Small fixes before release ( #5999 )
...
* chore(version): update coolify-realtime to version 1.0.9 in docker-compose and versions files
* feat(migration): add is_sentinel_enabled column to server_settings with default true
* fix(migration): update default value handling for is_sentinel_enabled column in server_settings
* feat(seeder): dispatch StartProxy action for each server in ProductionSeeder
* feat(seeder): add CheckAndStartSentinelJob dispatch for each server in ProductionSeeder
* fix(seeder): conditionally dispatch CheckAndStartSentinelJob based on server's sentinel status
* feat(seeder): conditionally dispatch StartProxy action based on proxy check result
* refactor(ui): terminal
* refactor(ui): remove terminal header from execute-container-command view
* refactor(ui): remove unnecessary padding from deployment, backup, and logs sections
2025-06-17 14:37:58 +02:00
Andras Bacsai
f7daddce58
refactor(ui): terminal
2025-06-17 09:28:07 +02:00
Andras Bacsai
87225405a8
refactor(clone-project): enhance server retrieval by including destinations and filtering out build servers
2025-06-16 13:15:40 +02:00
Andras Bacsai
f9a0ca2ca6
refactor(proxy): update StartProxy calls to use named parameter for async option
2025-06-16 13:13:01 +02:00
Andras Bacsai
d1d899c0cf
refactor(execute-container-command): simplify connection logic and improve terminal availability checks
2025-06-14 13:56:48 +02:00
Andras Bacsai
64dd648b3f
fix(terminal): now it should work
2025-06-14 13:00:16 +02:00
Darren Sisson
b70a9a6d47
change db proxy to use volume mount for config ( #5981 )
...
* change db proxy to use volume mount for config
* fix(database-proxy): adjust configuration directory for development environment
---------
Co-authored-by: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com>
2025-06-13 18:02:52 +02:00
Andras Bacsai
581151bb11
refactor(resource-operations): filter out build servers from the server list and clean up commented-out code in the resource operations view
2025-06-13 16:49:27 +02:00
Andras Bacsai
c3dd24ff43
refactor(navbar): simplify proxy status handling and enhance loading indicators for better user experience
2025-06-13 07:16:44 +02:00
Andras Bacsai
9ad2304229
refactor(proxy): streamline proxy status handling and improve dashboard availability checks
2025-06-11 12:02:39 +02:00
Andras Bacsai
23d5ada3b8
fix(cloudflare): update refresh method to correctly set Cloudflare tunnel status and improve user notification on IP address update
2025-06-10 11:47:29 +02:00
Andras Bacsai
d3c517353c
refactor(cloudflare): update server retrieval method for improved query efficiency
2025-06-10 11:02:22 +02:00
Andras Bacsai
4dc0254e62
refactor(events): update ProxyStatusChangedUI constructor to accept nullable teamId for improved flexibility
2025-06-10 10:58:56 +02:00
Andras Bacsai
433dcdbe78
refactor(proxy): remove commented-out listener and method for cleaner code structure
2025-06-10 10:58:28 +02:00
Andras Bacsai
b4dd5cb21b
refactor(events): remove ProxyStarted event and associated ProxyStartedNotification listener for code cleanup
2025-06-10 10:54:23 +02:00
Andras Bacsai
d47d2f14f7
refactor(logs): remove unused methods and debug functionality from Logs.php for cleaner code
2025-06-10 10:48:08 +02:00
Andras Bacsai
8e70b2907f
fix(terminal-connection): improve error handling and stability for auto-connection; enhance component readiness checks and retry logic
2025-06-06 21:40:52 +02:00
Andras Bacsai
7df6890920
refactor(terminal-connection): streamline auto-connection logic and improve component readiness checks
2025-06-06 21:34:27 +02:00
Andras Bacsai
ba970d909c
feat(terminal-connection): enhance terminal connection handling with auto-connect feature and improved status messaging
2025-06-06 21:15:50 +02:00
Andras Bacsai
1cdc01194b
feat(proxy-dashboard): implement ProxyDashboardCacheService to manage Traefik dashboard cache; clear cache on configuration changes and proxy actions
2025-06-06 19:18:32 +02:00
Andras Bacsai
2576e868b5
feat(navbar): add Traefik dashboard availability check and server IP handling; refactor dynamic configurations loading
2025-06-06 18:50:32 +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
8e8400f595
feat(utf8-handling): implement UTF-8 sanitization for command outputs and enhance error handling in logs processing
2025-06-05 14:27:39 +02:00
Andras Bacsai
4c887a3126
fix(database-heading): simplify stop database message for clarity
2025-06-05 13:33:02 +02:00
Andras Bacsai
618a7d459c
refactor(logs): enhance container loading logic and improve UI for logs display across various resource types
2025-06-05 13:24:26 +02:00
Andras Bacsai
8f4b6f4403
fix(email-notifications): change notify method to notifyNow for immediate test email delivery
2025-06-04 17:10:06 +02:00
Andras Bacsai
908c587ea1
refactor(docker-compose): replace hardcoded Docker Compose configuration with external YAML template for improved database detection testing
2025-06-04 11:32:06 +02:00
Andras Bacsai
d3f19052ed
feat(database-backup): add MongoDB credential extraction and backup handling to DatabaseBackupJob
2025-06-04 11:01:43 +02:00
Andras Bacsai
97ec579910
refactor(push-server-update): enhance application preview handling by incorporating pull request IDs and adding status update protections
2025-06-04 10:03:36 +02:00
Andras Bacsai
684bd823c6
fix(docker): add protection against empty container queries in GetContainersStatus to prevent unnecessary updates
2025-06-04 10:03:07 +02:00
Andras Bacsai
1704a25a24
fix(previews): escape container names in stopContainers method to prevent shell injection vulnerabilities
2025-06-04 09:11:08 +02:00
Andras Bacsai
ad98d135a1
refactor(activity-monitor): update dispatch method to use activityMonitor instead of deprecated newActivityMonitor
2025-06-02 15:36:45 +02:00
Andras Bacsai
a3dc3c861b
refactor(activity-monitor): consolidate activity monitoring logic and remove deprecated NewActivityMonitor component
2025-06-02 15:36:37 +02:00
Andras Bacsai
32a14b0050
fix(select-component): handle exceptions during parameter retrieval and environment selection in the mount method
2025-06-02 13:02:01 +02:00
Andras Bacsai
ff20cb0b7c
fix(application-configuration): prevent access to preview deployments for deploy_key applications and update menu visibility accordingly
2025-05-30 14:15:07 +02:00
Andras Bacsai
b0e33eb59d
fix(application-management): improve stop messages for application, database, and service to enhance clarity and formatting
2025-05-30 14:04:43 +02:00
Andras Bacsai
ede912b1d3
refactor(database-management): simplify docker cleanup logic in StopDatabase to enhance readability
2025-05-30 14:04:15 +02:00
Andras Bacsai
e514f56758
refactor(service-management): rearrange docker cleanup logic in StopService to improve readability
2025-05-30 13:38:37 +02:00
Andras Bacsai
2c8d30c646
refactor(service-management): update stopContainersInParallel method to enforce Server type hint for improved type safety
2025-05-30 13:35:30 +02:00
Andras Bacsai
a990cc01c2
refactor(activity-monitor): change activity property visibility and update view references for consistency
2025-05-30 12:56:34 +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
aa0e32a20d
refactor(application-deployment): streamline post-deployment process by always dispatching container status check
2025-05-30 10:09:25 +02:00
Andras Bacsai
9f06e7193e
feat(previews): add force deploy without cache functionality and update deploy method to accept force rebuild parameter
2025-05-30 10:09:13 +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
9480fc2b2f
refactor(environment-variables): remove debug logging from bulk submit handling for cleaner code
2025-05-30 09:11:40 +02:00
Andras Bacsai
380e8f34ab
refactor(jobs): modify middleware to use job-specific identifier for WithoutOverlapping
2025-05-29 17:31:55 +02:00
Andras Bacsai
9883cef26d
refactor(jobs): update middleware to include job-specific identifiers for WithoutOverlapping
2025-05-29 17:31:43 +02:00
Andras Bacsai
761da352fe
refactor(application-deployment): separate handling of FAILED and CANCELLED_BY_USER statuses for clearer logic and notification
2025-05-29 17:02:08 +02:00
Andras Bacsai
05a03c44d3
refactor(terminal): enhance terminal connection management and error handling, including improved reconnection logic and cleanup procedures
2025-05-29 14:36:13 +02:00
Andras Bacsai
261a2fe564
feat(ca-certificate): add CA certificate management functionality with UI integration and routing
2025-05-29 14:27:28 +02:00
Andras Bacsai
9d71900952
refactor(terminal-access): streamline resource retrieval and enhance terminal access messaging in UI
2025-05-29 14:26:48 +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
58be59a7b3
refactor(service): remove informational dispatch during service stop for cleaner execution
2025-05-29 11:11:49 +02:00
Andras Bacsai
c272a770e2
refactor(error-handling): change Exception to RuntimeException for clearer error reporting
2025-05-29 10:54:35 +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
0369909408
fix(PushServerUpdateJob): add null checks before updating application and database statuses
2025-05-29 10:47:26 +02:00
peaklabs-dev
2934d4a259
chore(api): update API docs
2025-05-27 15:10:20 +02:00
Nurdism
999a67cbda
feat(api): Add connect_to_docker_network setting to App creation API ( #5691 )
2025-05-27 15:07:31 +02:00
Dusan
94df6ca51f
feat(api): Add latest query param to Service restart API ( #5881 )
2025-05-27 15:03:17 +02:00
Andras Bacsai
e005f1c838
fix(server): enhance error handling in server patch check notifications
2025-05-27 14:23:16 +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
be0453d9df
fix: Traefik start on new server validation
...
fix: Multiple server selection ui flow
2025-05-26 21:06:00 +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
DanielHemmati
2bf6a9cb2c
undo changes to update_by_uuid method
2025-05-22 14:39:36 +02:00
DanielHemmati
be104cd612
feat(api): add endpoint to update backup configuration by UUID and backup ID; modify response to include backup id
2025-05-22 14:36:14 +02:00
Andras Bacsai
0603ab13c2
fix(project): update selected environment handling to use environment name instead of UUID
2025-05-22 14:35:31 +02:00
Andras Bacsai
e9dd170ffb
fix(deployment): correct COOLIFY_URL and COOLIFY_FQDN assignments based on parsing version in preview deployments
2025-05-21 09:45:49 +02:00