309 Commits

Author SHA1 Message Date
Andras Bacsai
d8d316b5f8 feat(search): implement global search functionality with caching and modal interface 2025-09-19 10:17:55 +02:00
Andras Bacsai
4f8dfa598e refactor(server): remove debugging ray call from validateConnection method for cleaner code 2025-09-16 09:43:51 +02:00
Andras Bacsai
133e72336a Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method in various components for improved clarity and efficiency"
This reverts commit feacedbb04.
2025-09-15 17:56:48 +02:00
Andras Bacsai
393745b68c Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency"
This reverts commit 18068857b1.
2025-09-15 17:55:08 +02:00
Andras Bacsai
4027c1426c feat(sentinel): add support for custom Docker images in StartSentinel and related methods 2025-09-14 19:21:55 +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
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
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
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
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
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
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
4e82383b94 fix(Server): Correct proxy path formatting for Traefik proxy type 2025-04-29 10:53:39 +02:00
Andras Bacsai
5b9df7fd45 refactor(server): simplify proxy path logic and remove unnecessary conditions 2025-04-23 13:23:27 +02:00
Andras Bacsai
c388e30499 refactor(jobs): comment out unused Caddy label handling in ApplicationDeploymentJob and simplify proxy path logic in Server model 2025-04-20 17:58:41 +02:00
Andras Bacsai
8b3c4d7ad9 refactor(Server): remove debug logging from isReachableChanged method to clean up code and improve performance 2025-04-14 10:30:53 +02:00
Andras Bacsai
1b8db2726a refactor(Server): use data_get for safer access to settings properties in isFunctional method 2025-04-05 12:35:36 +02:00
Andras Bacsai
d6d1c9ad82 feat(database): add CA certificate generation for database servers 2025-03-31 14:02:15 +02:00
Andras Bacsai
e891318396 refactor(configuration): centralize configuration management in ConfigurationRepository 2025-03-24 21:01:27 +01:00
Benjamin Grant
37c2a2b6ad fix: correct some spellings 2025-03-19 19:49:59 +00:00
Andras Bacsai
2f826c56e8 fix(core): Adding a new server should not try to make the default docker network 2025-02-28 11:23:08 +01:00
Andras Bacsai
27e4882d57 feat(core): You can validate compose files with docker compose config
fix(core): labels are now accepted with both compose styles
refactor: remove lots of ray's
2025-02-27 11:29:04 +01:00
Andras Bacsai
65b925252c feat(core): prevent using servers with existing resources as build servers 2025-02-18 16:44:16 +01:00
peaklabs-dev
222af12ef0 feat: dockerCleanupExecutions relationship 2025-01-15 17:14:05 +01:00
Andras Bacsai
e6692c95c9 feat: add is_coolify_host to the server api responses 2025-01-13 12:31:03 +01:00
Andras Bacsai
b7d18fc28c fix: getcontainer status should timeout after 30s 2025-01-10 12:04:59 +01:00
Andras Bacsai
a9ec0b1c3e fix: update healthcheck and port configurations to use port 8080 2024-12-23 21:11:29 +01:00
peaklabs-dev
f26853b576 fix: unreachable notifications 2024-12-23 16:51:34 +01:00
peaklabs-dev
2da4e9a274 feat: enable success messages again 2024-12-09 12:08:27 +01:00
Andras Bacsai
00882eeb31 feat: add TLS configuration for default redirect in Server model 2024-12-06 14:19:09 +01:00
Andras Bacsai
5453b9030e fix: dev mode 2024-12-06 13:39:20 +01:00
Andras Bacsai
659309c5b4 refactor: improve proxy configuration and code consistency in Server model
- Standardized spacing in conditional statements for better readability.
- Updated proxy redirect handling to ensure default values are set correctly.
- Modified dynamic configuration path concatenation for clarity.
- Changed router rule to 'PathPrefix' and adjusted priority for better routing behavior.
- Replaced empty check with 'filled' helper for improved code clarity.
2024-12-06 13:08:04 +01:00
🏔️ Peak
27395615e6 Merge branch 'next' into feat/disable-default-redirect 2024-12-05 14:46:33 +01:00
Andras Bacsai
8fa1fc4df3 Merge pull request #4382 from vishwamartur/fix-metrics-error
Fix metrics error when data is less than selected date
2024-12-05 11:16:19 +01:00
Andras Bacsai
15ac12e131 test: setup database for upcoming tests 2024-12-04 12:43:52 +01:00
Andras Bacsai
669293afc1 disable success notifications for now 2024-12-03 12:22:27 +01:00
Vishwanath Martur
f45411f3d6 Fix metrics error when data is less than selected date
Related to #4309

Fix the 'sql: Scan error on column index 5, name "usedPercent": converting NULL to float64 is unsupported' error on the metrics page.

* Update the `getMemoryMetrics` method in `app/Models/Server.php` to handle NULL values for the "usedPercent" field by setting them to 0.0.
* Add a check for NULL values in the `getMemoryMetrics` method before converting to float64.
2024-11-23 13:08:53 +05:30
SierraJC
059639eb42 fix: servers API returning port as a string -> integer 2024-11-23 13:23:13 +11:00
SierraJC
bbd7d8b567 fix: move servers API delete_unused_* properties
correct location from API response is in server.settings
2024-11-23 13:23:13 +11:00
SierraJC
d6441549e8 fix: missing settings property on servers API 2024-11-23 13:23:13 +11:00
Andras Bacsai
7d089ba1a9 fix: validateconnection 2024-11-22 15:50:52 +01:00
Andras Bacsai
821538911f fix: if mux conn fails, still use it without mux + save priv key with better logic 2024-11-22 10:06:12 +01:00
Kael
bc89b84539 Merge branch 'next' into feat/disable-default-redirect 2024-11-18 21:02:20 +11:00
peaklabs-dev
a4f56fbd3f Merge branch 'dep-and-remove-unused-stuff' of https://github.com/peaklabs-dev/coolify into dep-and-remove-unused-stuff 2024-11-12 15:20:05 +01:00
peaklabs-dev
1c5ddab30d use one constants file 2024-11-12 15:18:48 +01:00
Andras Bacsai
055c613ba5 feat: add proxy type change to create/update apis 2024-11-12 14:30:05 +01:00
Andras Bacsai
24a6f3d7ea fix: missing privateKey 2024-11-11 11:10:55 +01:00
Andras Bacsai
a2b6a61c4a fix: update last online with old function 2024-11-08 09:43:46 +01:00
Andras Bacsai
f1587d3302 cleanups 2024-11-06 12:39:37 +01:00