Commit graph

13338 commits

Author SHA1 Message Date
Andras Bacsai
4968e9fa2b test: add unit tests for Dockerfile ARG insertion logic 2025-11-06 08:54:40 +01:00
Andras Bacsai
dbf7957795 fix: inserting ARG statements in Dockerfile after FROM instructions 2025-11-06 08:54:35 +01:00
Andras Bacsai
239e28630f style: update background colors to use gray-50 for consistency in auth views 2025-11-06 08:43:43 +01:00
Andras Bacsai
23a3b47011 refactor: rename sync function and improve error handling
The function previously named syncGitHubReleases has been renamed to syncReleasesToGitHubRepo for clarity, as it now focuses on syncing releases directly to the GitHub repository instead of the CDN. Additionally, error handling has been enhanced to provide more informative messages during the cloning, branching, and committing processes. This refactor aims to improve the maintainability of the code and ensure better feedback in case of failures.
2025-11-05 14:54:13 +01:00
Andras Bacsai
0865ecd3db refactor: move RestoreDatabase command to Cloud namespace
This change organizes the command within the appropriate Cloud namespace, improving code structure and maintainability. By grouping related commands together, it enhances clarity for future developers and helps in locating files more efficiently.
2025-11-05 14:42:12 +01:00
Andras Bacsai
fed01ab1a2 fix: update releases URL to use correct domain
The releases URL in the configuration was updated to use the correct domain 'coolify.io' instead of 'coollabs.io'. This change ensures that the application points to the right resource for fetching release information, which is crucial for maintaining accurate and up-to-date deployment processes.
2025-11-05 14:31:53 +01:00
Andras Bacsai
ac2a199c7b chore: update coolify version to 4.0.0-beta.442
This update increments the version of coolify to 4.0.0-beta.442 to reflect the latest changes and improvements. Additionally, the nightly version has been updated to 4.0.0-beta.443 to ensure consistency across the project. Keeping version numbers up to date is essential for tracking releases and ensuring that users are aware of the latest features and fixes.
2025-11-05 14:31:09 +01:00
Andras Bacsai
2db122c851 fix: remove debugging output from StartPostgresql command handling 2025-11-05 09:10:15 +01:00
Andras Bacsai
6245c9d971 fix: enhance styling for page width component in Blade template 2025-11-05 09:00:25 +01:00
Andras Bacsai
54964d54d4 fix: clean up utility classes and improve readability in Blade templates 2025-11-05 08:59:05 +01:00
Andras Bacsai
5b79844a3a fix: update docker stop command to use --time instead of --timeout 2025-11-05 08:48:10 +01:00
Andras Bacsai
bc3deeed03
Merge pull request #7105 from coollabsio/light-mode-wtf
fix: light mode wtf
2025-11-04 21:16:37 +01:00
Andras Bacsai
e925111595 Merge branch 'next' into light-mode-wtf 2025-11-04 21:16:15 +01:00
Andras Bacsai
8775b3f74d fix: enhance menu item styles and update theme color meta tag 2025-11-04 21:15:59 +01:00
Andras Bacsai
52704da4c1
Merge pull request #7104 from coollabsio/swift-lion-73
fix: database general view console errors
2025-11-04 21:08:18 +01:00
Andras Bacsai
51b5c0a1dd fix: clean up input attributes for PostgreSQL settings in general.blade.php 2025-11-04 21:06:12 +01:00
Andras Bacsai
a89413bdbe fix: update version numbers to 4.0.0-beta.441 and 4.0.0-beta.442 2025-11-04 13:48:31 +01:00
Andras Bacsai
26bbf94d66 fix: update syncData method to use data_get for safer property access 2025-11-04 10:51:46 +01:00
Andras Bacsai
a45e674c39
Update app/Livewire/Project/Application/General.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-04 09:57:12 +01:00
Andras Bacsai
7b589abfbe fix: fix SPA toggle nginx regeneration and add confirmation modal
- Fix SPA toggle not triggering nginx configuration regeneration by capturing old value before syncData
- Fix similar issue with is_http_basic_auth_enabled using value comparison instead of isDirty
- Remove redundant application settings save() call
- Add confirmation modal to nginx generation button to prevent accidental overwrites
- Pass correct type parameter (spa/static) to generateNginxConfiguration method
2025-11-04 09:48:59 +01:00
Andras Bacsai
f217fc86a7
Merge branch 'v4.x' into next 2025-11-04 09:26:30 +01:00
Andras Bacsai
7520d6ca97 feat: Update version numbers to 4.0.0-beta.440 and 4.0.0-beta.441 2025-11-04 09:24:37 +01:00
Andras Bacsai
bf0d34c3ef
Merge pull request #7100 from coollabsio/fix-static-builds
Enhance Livewire component data synchronization guidelines
2025-11-04 09:23:53 +01:00
Andras Bacsai
faa62dec57 refactor: Remove SynchronizesModelData trait and implement syncData method for model synchronization 2025-11-04 09:18:05 +01:00
Andras Bacsai
3d9c4954c1 feat: Enhance General component with additional properties and validation rules 2025-11-04 08:51:05 +01:00
Andras Bacsai
fbaa5eb369 feat: Update ApplicationSetting model to include additional boolean casts
- Changed `$cast` to `$casts` in ApplicationSetting model to enable proper boolean casting for new fields.
- Added boolean fields: `is_spa`, `is_build_server_enabled`, `is_preserve_repository_enabled`, `is_container_label_escape_enabled`, `is_container_label_readonly_enabled`, and `use_build_secrets`.

fix: Update Livewire component to reflect new property names

- Updated references in the Livewire component for the new camelCase property names.
- Adjusted bindings and IDs for consistency with the updated model.

test: Add unit tests for ApplicationSetting boolean casting

- Created tests to verify boolean casting for `is_static` and other boolean fields in ApplicationSetting.
- Ensured all boolean fields are correctly defined in the casts array.

test: Implement tests for SynchronizesModelData trait

- Added tests to verify the functionality of the SynchronizesModelData trait, ensuring it correctly syncs properties between the component and the model.
- Included tests for handling non-existent properties gracefully.
2025-11-04 08:43:33 +01:00
Andras Bacsai
d291d85311 feat: add RestoreDatabase command for PostgreSQL dump restoration 2025-11-03 13:02:14 +01:00
github-actions[bot]
8c4bfeb13a docs: update changelog 2025-11-03 10:09:34 +00:00
Andras Bacsai
dc04fe473a
Merge pull request #7049 from coollabsio/next
v4.0.0-beta.439
2025-11-03 11:08:40 +01:00
Andras Bacsai
3eb8e4f776
Merge pull request #7094 from coollabsio/override-helper-version
feat: add development helper image version override
2025-11-03 08:51:37 +01:00
Andras Bacsai
f315e4bd9c feat: add dev_helper_version to instance settings and update related functionality 2025-11-03 08:38:43 +01:00
Andras Bacsai
9e3fce1c77
Merge pull request #7086 from coollabsio/disable-coderabbit-status
Add CodeRabbit configuration to disable review status
2025-11-02 16:50:38 +01:00
Andras Bacsai
471e8dc050 Add CodeRabbit configuration to disable review status
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-02 16:49:56 +01:00
Andras Bacsai
fa7b4c46a7
Merge pull request #7082 from coollabsio/update-docker-run-command-and-styles
Enhance resource selection UI and update run script
2025-11-02 12:52:14 +01:00
Andras Bacsai
c00de66389 fix: improve run script and enhance sticky header style
The run script has been updated to ensure that all relevant Docker containers are removed before starting the application, which helps prevent conflicts and ensures a clean environment. Additionally, the sticky header in the project selection view now has a background color applied for better visibility against varying content, improving the user experience during scrolling.
2025-11-02 12:51:13 +01:00
Andras Bacsai
5fd8cff7c7
Merge pull request #7002 from W8jonas/fix/api-destination-uuid-databases
fix api - set destination_uuid when creating databases
2025-11-01 13:46:47 +01:00
Andras Bacsai
cc194d47fe refactor: Update subproject commit hashes
This commit updates the recorded commit hashes for the 'clever-panda-34' and 'clever-spartan-8' subprojects. This is a routine update to reflect the current state of the submodules.
2025-11-01 13:43:27 +01:00
Andras Bacsai
7dd34b5fc8
Merge pull request #7073 from coollabsio/feat-sync-network-aliases
fix: network aliases
2025-11-01 13:38:00 +01:00
Andras Bacsai
cb9df76bc7 refactor: Remove unused submodules
These submodules were no longer being referenced or used in the project. Their removal cleans up the repository and reduces potential confusion.
2025-11-01 13:36:46 +01:00
Andras Bacsai
856b7f3c8f chore: Add .workspaces to .gitignore
This change adds the .workspaces directory to the .gitignore file. This directory is used by the Yarn workspaces feature and should not be committed to the repository.
2025-11-01 13:32:32 +01:00
Andras Bacsai
237246acee fix: Remove duplicate custom_labels from config hash calculation
The `custom_labels` attribute was being concatenated twice into the configuration hash calculation within the `isConfigurationChanged` method. This commit removes the redundant inclusion to ensure accurate configuration change detection.
2025-11-01 13:28:56 +01:00
Andras Bacsai
1f158b9b35 fix: Improve custom_network_aliases handling and testing
The `is_array` check for `custom_network_aliases_array` was too strict and could lead to issues when the value was an empty string or null. This commit changes the check to `!empty()` for more robust handling.

Additionally, the unit tests for `custom_network_aliases` have been refactored to directly use the `Application::isConfigurationChanged()` method. This provides a more accurate and integrated test of the configuration change detection logic, rather than relying on a manual hash calculatio
2025-11-01 13:24:05 +01:00
Andras Bacsai
9a664865ee refactor: Improve handling of custom network aliases
The custom_network_aliases attribute in the Application model was being cast to an array directly. This commit refactors the attribute to provide both a string representation (for compatibility with older configurations and hashing) and an array representation for internal use. This ensures that network aliases are correctly parsed and utilized, preventing potential issues during deployment and configuration updates.
2025-11-01 13:13:14 +01:00
Andras Bacsai
c34e5c803b fix: Convert network aliases to string for display
The `custom_network_aliases` field was being displayed as an array, which caused rendering issues. This change converts the array to a comma-separated string when syncing from the model to ensure it's displayed correctly in the UI.
2025-11-01 12:30:15 +01:00
Andras Bacsai
afd5d0653c
Merge pull request #7057 from coollabsio/andrasbacsai/service-db-deploy-logs
feat: planning for service & database deployment logging
2025-10-30 15:30:36 +01:00
Andras Bacsai
140f58b793 docs: add service & database deployment logging plan
Planning document for implementing persistent deployment history and logging
for services and databases, similar to the existing application deployment
tracking system.

Includes:
- Current state analysis of application deployment logging
- Architectural decisions and design patterns
- 10-phase implementation plan with code examples
- Database schema design (2 new tables)
- API endpoints and model implementations
- Testing strategy and risk analysis
- Week-by-week rollout plan with checkpoints
- Implementation checklist

This feature will enable users to view past deployment logs and history for
services and databases, improving debugging and audit trails for the platform.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 15:29:39 +01:00
Andras Bacsai
c6ae6a6cd9
Merge pull request #7053 from coollabsio/andrasbacsai/update-service-versions
Add artisan command to update service Docker image versions
2025-10-30 09:40:58 +01:00
Andras Bacsai
ea649d2a85 Add artisan command to update service Docker image versions
This command queries Docker registries (Docker Hub, GHCR, Quay, Codeberg) to find and update Docker image versions in service template files.

Features:
- Automatically updates 'latest' tags to semantic versions using digest matching
- Supports multiple version formats: semantic (1.2.3), date-based (2025.10.20), RELEASE timestamps
- Prefers shorter version tags (1.8 over 1.8.1) when both available
- In-memory caching to avoid duplicate API queries for same images
- Detects and reports services with available major version updates
- Preserves YAML formatting and comments
- Supports dry-run mode for preview

Usage:
  php artisan services:update-versions [--dry-run] [--service=name]

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 08:29:11 +01:00
Andras Bacsai
9f8661fe10
Merge pull request #7051 from ShadowArcanist/patch-12
chore(service): update Beszel to 0.15.2 version
2025-10-30 08:17:39 +01:00
Andras Bacsai
4252ae2a89
Merge pull request #7050 from ShadowArcanist/patch-11
fix(service): activepieces database failing to start (Closes #7027)
2025-10-30 08:17:11 +01:00