Commit graph

13361 commits

Author SHA1 Message Date
peaklabs-dev
560c98e280
ci(workflow): fix changelog generation 2025-11-06 15:11:13 +01:00
Andras Bacsai
f005602147 fix: remove Gozunga from the list of sponsors in README 2025-11-06 15:00:24 +01:00
Andras Bacsai
4e734492e0 fix: escape shell arguments in syncBunny command execution 2025-11-06 14:57:53 +01:00
🏔️ Peak
7ebb41a97c
ci(workflows): improve security of all workflows & update action (#7133) 2025-11-06 14:56:09 +01:00
peaklabs-dev
6557514954
ci(workflows): improve security and update actions
- set top-level explicit permissions for each GitHub Actions workflow for improved security and deduplication of permissions.
- add `persist-credentials: false` to actions/checkout for improved security - see https://github.com/actions/checkout#checkout-v4
- update actions/checkout from v4 to v5
2025-11-06 14:40:54 +01:00
peaklabs-dev
2d64cdad7c
ci(claude): remove unused workflows 2025-11-06 14:36:59 +01:00
Andras Bacsai
24bcce3f9b
Update app/Console/Commands/SyncBunny.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-06 14:36:34 +01:00
Andras Bacsai
2768805996 fix: update helper_version to 1.0.12 in constants configuration 2025-11-06 14:33:42 +01:00
Andras Bacsai
bcd225bd22 feat: Implement required port validation for service applications
- Added `requiredPort` property to `ServiceApplicationView` to track the required port for services.
- Introduced modal confirmation for removing required ports, including methods to confirm or cancel the action.
- Enhanced `Service` model with `getRequiredPort` and `requiresPort` methods to retrieve port information from service templates.
- Implemented `extractPortFromUrl` method in `ServiceApplication` to extract port from FQDN URLs.
- Updated frontend views to display warnings when required ports are missing from domains.
- Created unit tests for service port validation and extraction logic, ensuring correct behavior for various scenarios.
- Added feature tests for Livewire component handling of domain submissions with required ports.
2025-11-06 14:32:36 +01:00
🏔️ Peak
e21b1e40bc
Merge branch 'v4.x' into next 2025-11-06 14:00:30 +01:00
Andras Bacsai
21835e4608
chore: update Nixpacks version to 1.41.0 (#7061) 2025-11-06 12:42:57 +01:00
Andras Bacsai
f89c5d2b21 fix: enhance onWorktreeCreate script to include directory creation and settings copy 2025-11-06 12:41:04 +01:00
Andras Bacsai
1ab5dbca20 fix: preserve empty strings and remove empty sections in docker-compose
- Preserve empty string environment variables instead of converting to null
  Empty strings and null have different semantics in Docker Compose:
  * Empty string (VAR: ""): Variable is set to "" in container (e.g., HTTP_PROXY="" means "no proxy")
  * Null (VAR: null): Variable is unset/removed from container environment

- Remove empty top-level sections (volumes, configs, secrets) from generated compose files
  These sections now only appear when they contain actual content, following Docker Compose best practices

- Add safety check for missing volumes in validateComposeFile to prevent iteration errors

- Add comprehensive unit tests for both fixes

Fixes #7126
2025-11-06 12:30:03 +01:00
Andras Bacsai
395d225f90
fix: envs added to the right place in dockerfiles (#7123) 2025-11-06 09:29:57 +01:00
Andras Bacsai
d0ee7d0412
Merge branch 'next' into feat-add-dockerfile-from-instruction-par 2025-11-06 09:24:54 +01:00
Andras Bacsai
88aa24057b fix: update environment variable mapping in deployment job 2025-11-06 09:21:41 +01:00
Andras Bacsai
d21ab6e11b fixed jean.json 2025-11-06 09:04:45 +01:00
Andras Bacsai
df3dd84dfc rebranded gcool to jean 2025-11-06 09:03:17 +01:00
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
github-actions[bot]
c7b29764f5 docs: update changelog 2025-11-05 08:12:54 +00:00
Andras Bacsai
393df11486
Merge pull request #7106 from coollabsio/next
v4.0.0-beta.441
2025-11-05 09:11:52 +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
github-actions[bot]
9cbc246715 docs: update changelog 2025-11-04 09:04:18 +00:00
Andras Bacsai
d7e3a8a81a
Merge pull request #7101 from coollabsio/next
v4.0.0-beta.440
2025-11-04 10:03:23 +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