Commit Graph
10988 Commits
Author SHA1 Message Date
peaklabs-dev e25f1bf18f fix(core): ensure force https is always a bool 2025-03-30 01:51:35 +01:00
peaklabs-dev 78a946a701 feat(core): Add PHPStan cache folder 2025-03-30 01:37:10 +01:00
peaklabs-dev 0494c77bce feat(core): Add testing folders 2025-03-30 01:36:48 +01:00
peaklabs-dev 11b33a34f6 feat(core): Make PHPStan rules even more strict 2025-03-30 01:36:02 +01:00
peaklabs-dev 1158dad91e feat(core): Add PHPStan with level max 2025-03-29 16:57:07 +01:00
peaklabs-dev 3ac4661c0f chore(core): reorder password rules 2025-03-29 16:40:06 +01:00
peaklabs-dev 3d2025808e lint(core): lint ray config 2025-03-29 16:20:45 +01:00
peaklabs-dev 5119ae9e66 fix(core): wrong import caught by PHPStan 2025-03-29 16:09:11 +01:00
peaklabs-dev 5649a12479 chore(core): make sure all pages are ignored in robots.txt 2025-03-29 14:51:25 +01:00
peaklabs-dev 967409c32c chore(core): remove css file
- CSS file is not needed for Inertia
2025-03-29 14:50:51 +01:00
peaklabs-dev 6261935870 feat(core): New Security document
- New Support Policy table
- Improved reporting guide for vulnerabilities
2025-03-29 14:49:38 +01:00
peaklabs-dev 5b3e7aa9e1 feat(git): add funding and assets folder for GitHub 2025-03-28 18:41:05 +01:00
peaklabs-dev f4cbb6f535 feat(git): New PR template 2025-03-28 18:36:22 +01:00
peaklabs-dev dd89c0b397 chore(core): disable ray by default 2025-03-28 18:03:28 +01:00
peaklabs-dev 08ebeaf5b1 feat(core): Add ray to dev for debugging 2025-03-28 18:02:18 +01:00
peaklabs-dev 7203eeab9b feat(core): add more needed folders 2025-03-28 18:01:44 +01:00
peaklabs-dev ce903b380d feat(core): New folder structure 2025-03-28 14:33:29 +01:00
peaklabs-dev 5b1faf64c3 feat(test): improve ArchTest
- Add a Contract test
- Order the tests better
- Limit usage of Controllers and Requests
- Limit usage of Models
- Forbid the usage of SoftDeletes for Models
- Fix methods names for Queries folder
- Add Services test
- Remove ray as it is covered by the PHP preset
2025-03-28 14:04:13 +01:00
peaklabs-dev 872f9d1c9d feat(test): Add strict ArchTest with custom rules 2025-03-27 20:13:41 +01:00
peaklabs-dev 6da6b8b92e chore(core): remove unused auth config 2025-03-26 20:28:30 +01:00
peaklabs-dev 454c4294d3 feat(core): improve app config 2025-03-26 20:09:01 +01:00
peaklabs-dev 7afe78e29f feat(core): New hashing config
- use the much more secure argon2id hashing algorithm (instead of bcrypt)
- adjust the argon2id settings to be more secure
2025-03-26 19:21:09 +01:00
peaklabs-dev f7760b87c9 feat(refactor): improve rector config
- remove withImportNames rule as that is not always what we want
- add a few more Laravel rules
2025-03-18 16:27:14 +01:00
peaklabs-dev ffcd79192f feat(test): Add peck for typo checking 2025-03-18 15:15:46 +01:00
peaklabs-dev d4c251d995 feat(refactor): run rector on the codebase 2025-03-17 23:56:55 +01:00
peaklabs-dev e42ecaba72 feat(refactor): Add strict rector configuration 2025-03-17 23:54:05 +01:00
peaklabs-dev 3d680c65c9 feat(lint): lint full codebase 2025-03-17 17:47:20 +01:00
peaklabs-dev 06ffe03c8f feat(core): New strict AppServiceProvider.php 2025-03-17 17:45:49 +01:00
peaklabs-dev 0b7841f36b feat(lint): custom strict Pint preset 2025-03-17 17:06:58 +01:00
peaklabs-dev 82923bffdf feat(core): create empty skeleton 2025-03-16 23:08:49 +01:00
Andras Bacsai 8a11de9b1a fix(core): improve instantSave logic and error handling 2025-03-15 22:26:59 +01:00
Andras Bacsai 798aab6955 refactor(ScheduledTask): clean up code formatting and remove unused import 2025-03-14 16:11:41 +01:00
Andras Bacsai 282bb5c4cd fix(redis): set default redis_username for new instances
Added functionality to automatically assign a default 'redis_username' of 'default' when a StandaloneRedis instance is retrieved without an existing username. This ensures that all instances have a valid username, improving consistency and reducing potential errors in subsequent operations. Additionally, updated the redisUsername method to create a runtime environment variable for 'REDIS_USERNAME' with a default value if it does not already exist, enhancing the robustness of the configuration management.
2025-03-14 16:11:31 +01:00
peaklabs-dev ee93ccd8e7 fix(backups): retention settings
- If you set a low local backup retention, for example 2 backups for local backup retention and 10 backups for S3, then the S3 backups were never deleted, not even after 10 days. This was because we check the file paths based on the backup executions table, and as soon as a backup was deleted locally, the execution was removed, which meant after 10 days for s3 there where no backups older then 10 days just the 2 local backups which is just wrong. Now we only delete a backup execution if it has been removed from both locations.
- Also added a nice little UI element to see where your backup is available.
2025-03-14 15:28:12 +01:00
Andras Bacsai b6cb32c037 fix(install): handle potential errors in Docker address pool configuration 2025-03-14 15:23:17 +01:00
Andras Bacsai 595370df92 feat(LocalFileVolume): add binary file detection and update UI logic
Implemented a new attribute to detect binary files in the LocalFileVolume model, enhancing the file handling capabilities. The isBinary method checks for binary content based on specific criteria, allowing for better management of file types. Additionally, updated the file storage UI to conditionally display conversion options based on the binary status of the file, improving user experience and preventing unintended actions on binary files. These changes contribute to a more robust and user-friendly file management system.
2025-03-14 14:55:38 +01:00
Andras Bacsai 3cf4d6364c fix 2025-03-14 13:20:48 +01:00
Andras Bacsai 9dbe221ad5 refactor(install): clean up install script and enhance Docker installation logic
Refactored the install script to improve readability by removing unnecessary whitespace and consolidating Docker installation logic into a dedicated function. This change enhances maintainability and clarity, particularly for the installation process across different operating systems. Additionally, the script now includes specific handling for Ubuntu 24.10, ensuring users receive appropriate guidance for installation. Overall, these updates contribute to a more streamlined and user-friendly installation experience.
2025-03-14 13:20:45 +01:00
Andras Bacsai 2c845461c9 refactor(nginx): streamline default Nginx configuration and improve error handling
Updated the default Nginx configuration function to enhance clarity and maintainability. Removed unnecessary redirection logic and added explicit handling for 404 errors, ensuring a more robust error management strategy. This refactor simplifies the configuration while maintaining essential functionality, contributing to a cleaner and more efficient setup.
2025-03-13 20:30:22 +01:00
Andras Bacsai 93e3aa2339 Merge pull request #5333 from georgetasioulis/patch-1
Update correct services URL
2025-03-13 18:42:00 +01:00
Andras Bacsai 815a2701fc feat(install): add missing env variable to install script 2025-03-13 18:10:57 +01:00
georgetasioulis 546b07c477 Update correct services URL 2025-03-13 11:48:20 +02:00
Andras Bacsai d0b8a20564 feat(install): improve Docker address pool management and service restart logic
Enhanced the install script to support a force override for Docker address pool configurations, allowing users to update existing settings if desired. The script now checks for existing configurations in the daemon.json file and provides clearer messaging regarding the use of custom pools versus existing configurations. Additionally, the restart logic for the Docker service has been streamlined, ensuring that unnecessary restarts are avoided when configurations remain unchanged. This update improves the flexibility and usability of the installation process.
2025-03-13 10:47:27 +01:00
Andras Bacsai 46f55c9463 feat(install): enhance Docker address pool configuration and validation
Updated the install scripts to include support for custom Docker address pool configurations via environment variables. Added validation for the address pool base and size, with default values provided. The script now checks for existing configurations in the .env file and merges them appropriately, ensuring a more flexible and user-friendly installation process. Additionally, the version has been bumped to 1.8 to reflect these enhancements.
2025-03-13 08:44:04 +01:00
Andras Bacsai 6d90ed2f8f feat(assets): add new SVG logo for Coolify 2025-03-13 08:43:53 +01:00
Andras Bacsai a07b581478 fix(database): simplify container name generation in StartDatabaseProxy 2025-03-12 16:46:31 +01:00
Andras Bacsai 952aa9afa4 Merge pull request #5175 from Gog0/fix/wrong-container-name-for-database-proxy
fix wrong database container name + code simplification
2025-03-12 16:36:05 +01:00
Andras Bacsai 078ef62eb8 fix(database): handle unsupported database types in StartDatabaseProxy
Added a default case to the switch statement in StartDatabaseProxy to throw an exception for unsupported database types. This change improves error handling and ensures that only valid database types are processed, enhancing the robustness of the database proxy functionality.
2025-03-12 16:35:47 +01:00
Andras Bacsai 18fe524cdb fix(database): limit container name length for database proxy
Updated the container name generation logic in StartDatabaseProxy to ensure the resulting name does not exceed 32 characters. This change prevents potential issues with container name length restrictions, enhancing the robustness of the database proxy setup.
2025-03-12 16:34:42 +01:00
Andras Bacsai d894c3d903 feat(database): implement two-step confirmation for database deletion
Added a new delete method in the Database component that includes a two-step confirmation process requiring the user to enter their password. If two-step confirmation is disabled, the deletion proceeds without password verification. Additionally, a confirmation modal has been integrated into the database view to prompt users before deletion, enhancing the safety of this critical operation.
2025-03-12 16:33:35 +01:00