Commit graph

13311 commits

Author SHA1 Message Date
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
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
Andras Bacsai
2a8fbb3f6e feat: add token validation functionality for Hetzner and DigitalOcean providers 2025-10-29 23:21:38 +01:00
Andras Bacsai
c95e297f39 fix: update boarding flow logic to complete onboarding when server is created 2025-10-29 23:06:39 +01:00
ShadowArcanist
94006ea0e0
Updated Beszel one click service to 0.15.2 version
Updated Beszel and Beszel-Agent images to version 0.15.2.
2025-10-30 03:08:19 +05:30
ShadowArcanist
32cd8df4e4
Fixed activepieces one click service failing to start
Updated Docker images for activepieces, postgres, and redis to specific versions.
2025-10-30 02:36:58 +05:30
Andras Bacsai
5ed0b44bd0
Merge pull request #7048 from ShadowArcanist/shadow/fix-privatekey-deletion-on-githubaap-delete
Fix GitHub App deleting private key in use by other resources
2025-10-29 20:54:16 +01:00
ShadowArcanist
97e734e5ea fixed github app deleting private key when it is used by other resources 2025-10-30 01:16:59 +05:30
Andras Bacsai
25183d7c71 fix: remove unnecessary step attribute from maximum storage input fields 2025-10-29 20:43:32 +01:00
Andras Bacsai
54a4fa7eee fix: change SMTP port input type to number for better validation 2025-10-29 20:40:16 +01:00
Andras Bacsai
6fc5b01edc chore: update version numbers to 4.0.0-beta.439 and 4.0.0-beta.440 2025-10-29 20:38:48 +01:00
Andras Bacsai
ae9f348458 rate limit test 2025-10-28 15:18:28 +01:00
Andras Bacsai
6d6f3e9de7
Merge pull request #6944 from coollabsio/dependabot/npm_and_yarn/vite-6.4.1
build(deps-dev): bump vite from 6.3.6 to 6.4.1
2025-10-28 12:48:33 +01:00
Andras Bacsai
65c2b917db
Merge pull request #7039 from coollabsio/andrasbacsai/fix-login-rate-limit-bypass
fix: prevent login rate limit bypass via spoofed headers
2025-10-28 12:16:34 +01:00
Andras Bacsai
65e5b2ecdb fix: correct login rate limiter key format to include IP address 2025-10-28 10:32:19 +01:00
Andras Bacsai
20ac018620
Merge pull request #6979 from ShadowArcanist/shadow/-appwrite-healthchecks
feat(service): appwrite added healthchecks
2025-10-28 10:31:05 +01:00
Andras Bacsai
28e343d458
Merge pull request #7016 from majcek210/patch-3
Update & rename the pterodactly template
2025-10-28 10:30:51 +01:00
Andras Bacsai
81529e9274
Merge pull request #6976 from majcek210/v4.x
Fix and update the "pterodactly with wings" template.
2025-10-28 10:30:34 +01:00
Andras Bacsai
4df3134cec
Merge pull request #6973 from ShadowArcanist/patch-9
fix(service): seafile cannot upload files due to network errors
2025-10-28 10:30:07 +01:00
Andras Bacsai
342abc967c
Merge pull request #6971 from lamongabriel/plane
Update Plane version to v1.0.0
2025-10-28 10:29:47 +01:00
Andras Bacsai
0fdfc18440
Merge pull request #6530 from yipfram/fix/evolution-api-slogan
feat: update Evolution API slogan to better reflect its capabilities
2025-10-28 10:29:07 +01:00
Andras Bacsai
f300ba0118 fix: prevent login rate limit bypass via spoofed headers
The login and forgot-password rate limiters were vulnerable to bypass
by manipulating the X-Forwarded-For header. Attackers could rotate
this header value to circumvent the 5 attempts per minute limit.

Changed both rate limiters to use server('REMOTE_ADDR') instead of
ip() to prevent header spoofing. REMOTE_ADDR gives the actual
connecting IP before proxy headers are processed.

Also added comprehensive unit tests to verify the fix.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 09:47:13 +01:00
Andras Bacsai
4c29e8ceb3
Merge pull request #7012 from coollabsio/andrasbacsai/debian-13-docker-support
Add repository-based Docker installation fallbacks for Debian 13 and other major distros
2025-10-28 09:35:24 +01:00
Andras Bacsai
84b0ec1e94
Update app/Actions/Server/InstallDocker.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-10-28 09:31:32 +01:00
Andras Bacsai
221ed6283d
Delete funding.json 2025-10-28 08:41:38 +01:00
Andras Bacsai
0f59672942
Merge pull request #7038 from coollabsio/andrasbacsai/add-funding-json
feat: add funding.json for standardized funding information
2025-10-28 08:23:40 +01:00
Andras Bacsai
86fe583247
Merge pull request #7021 from coollabsio/andrasbacsai/fix-oauth-client-id-error
UI/UX improvements
2025-10-28 08:22:39 +01:00