Commit graph

331 commits

Author SHA1 Message Date
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
Andras Bacsai
825e9b7e9d fix: server validation 2024-11-05 16:40:12 +01:00
Kael
400d3f66b0
Merge branch 'next' into feat/disable-default-redirect 2024-11-04 23:33:48 +11:00
Andras Bacsai
fd546cec9d fix: refactor destination/docker view 2024-11-03 23:08:24 +01:00
Andras Bacsai
ca7c214775 fix: new way to update container statuses 2024-11-03 09:02:14 +01:00
Kael
970b30b2e7
Merge branch 'next' into feat/disable-default-redirect 2024-11-03 18:58:59 +11:00
Andras Bacsai
2eab9296cf check server functionality before status 2024-11-02 18:33:23 +01:00
Andras Bacsai
8b2563088d Refactor Server model to remove redundant code 2024-11-02 12:38:51 +01:00
Andras Bacsai
9ddc40f35c Refactor Server model to remove redundant code 2024-11-02 10:17:24 +01:00
Kael
1408bc58fb
Merge branch 'next' into feat/disable-default-redirect 2024-11-01 16:52:09 +11:00
Lucas Michot
1ec224fde1 Inline many variables. 2024-10-31 18:20:11 +01:00
Lucas Michot
0c133b113c Delete some useless imports 2024-10-31 16:33:49 +01:00
Lucas Michot
601f1a4717 Always prefer stricter string comparisons. 2024-10-31 15:23:19 +01:00
Kael
133ddc09d2
Merge branch 'next' into feat/disable-default-redirect 2024-10-31 23:57:51 +11:00
Andras Bacsai
86cf1ae319 Refactor Server model to remove SSH multiplexing file 2024-10-30 21:33:01 +01:00
Andras Bacsai
96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Andras Bacsai
7385d7a478 fix: changing private key manually won't trigger a notification 2024-10-30 10:01:58 +01:00
Andras Bacsai
c2a2757103 fix: restart sentinel once a day 2024-10-29 10:28:05 +01:00
Kael
786c8bc3a3
Merge branch 'next' into feat/disable-default-redirect 2024-10-28 19:20:52 +11:00
Andras Bacsai
8c96ab52d7 feat: notification rate limiter
fix: limit server up / down notification limits
2024-10-25 15:13:23 +02:00
Andras Bacsai
2bea26584a Refactor StartSentinel handle method to include latest version parameter 2024-10-25 11:41:25 +02:00
Andras Bacsai
2877080a39 Refactor variable and function names for consistency 2024-10-25 10:59:12 +02:00
Kael
7e03a80df5
Merge branch 'next' into feat/disable-default-redirect 2024-10-25 01:28:08 +11:00
Andras Bacsai
9a227dbad6 feat: terminal views for servers
improvement: connect to container if only one available
2024-10-24 12:21:36 +02:00
Andras Bacsai
befdb71671 fix: Disable Sentinel temporarily 2024-10-24 11:35:38 +02:00
Andras Bacsai
7849099593 Refactor Server model to update SSH check wait time description 2024-10-22 14:49:42 +02:00
Andras Bacsai
cec77abaa8 Refactor server setting model to use waitBeforeDoingSshCheck method 2024-10-22 14:49:23 +02:00
Andras Bacsai
2e9ce3ed2a feat: add notification settings to server_disk_usage 2024-10-22 14:47:01 +02:00
Andras Bacsai
1f221d9791 fix: sentinel config changes restarts sentinel 2024-10-22 14:10:36 +02:00
Andras Bacsai
ac768e5313 feat: limit storage check emails
feat: sentinel should send storage usage
2024-10-22 14:01:36 +02:00
Andras Bacsai
b5146c0dda fix: charts ui 2024-10-22 11:39:38 +02:00
Kael
ebdc99f617
Merge branch 'next' into feat/disable-default-redirect 2024-10-22 00:50:12 +11:00
Andras Bacsai
b75c2dc604 pint 2024-10-17 22:08:23 +02:00
Andras Bacsai
2315bdb93f ui updates on server 2024-10-17 14:56:36 +02:00
Andras Bacsai
4c95647b96 feat: cleanup sentinel on server deletion
fix: Sentinel should not be enabled on build servers
2024-10-17 11:21:43 +02:00
Andras Bacsai
8c53af088e Refactor StartSentinel.php to use data_get() for retrieving server settings 2024-10-15 15:45:02 +02:00
Andras Bacsai
46ec8eed64 fix: generate sentinel url 2024-10-15 15:43:53 +02:00
Andras Bacsai
d446cd4f31 sentinel updates 2024-10-15 13:39:19 +02:00
Kael
9a1b6449c8 Merge branch 'next' into feat/disable-default-redirect 2024-10-14 22:53:37 +11:00
Andras Bacsai
b2e515f770 sentinel 2024-10-14 13:32:36 +02:00
Kael
9d553c3a30 Merge branch 'next' into feat/disable-default-redirect 2024-10-14 21:25:56 +11:00
Andras Bacsai
1f193d465d sentinel updates 2024-10-14 12:07:37 +02:00
Kael
97c8194588 Merge branch 'next' into feat/disable-default-redirect 2024-10-11 20:37:08 +11:00
Darren Sisson
c1b996ef05 add https3 support to traefik and fix 404 redirect for traefik3 2024-10-10 18:47:01 +01:00
Kael
b997b7393b feat: allow disabling default redirect, set status to 503 2024-10-11 02:44:52 +11:00
Andras Bacsai
4f4453b17c chore: Update proxy configuration paths for Caddy and Nginx in dev 2024-10-04 13:46:33 +02:00
Andras Bacsai
ce49f4806d fix: proxy conf in dev 2024-10-04 13:25:17 +02:00
Andras Bacsai
5bcd813792 chore: Remove commented code in Server model 2024-10-03 21:29:04 +02:00
Andras Bacsai
4d86b556a4 fix: ipv6 scp should use -6 flag 2024-10-02 08:15:03 +02:00
Andras Bacsai
5cd81fe255 wip: server storage check 2024-10-01 11:52:36 +02:00
Andras Bacsai
83549965ca Refactor instanceSettings() function for improved code readability 2024-10-01 10:37:40 +02:00
Andras Bacsai
bc46b0371d Add private key storage for server validation 2024-09-28 10:20:32 +02:00
Andras Bacsai
9a766aedc1
Merge branch 'next' into improve-cleanup 2024-09-27 16:40:48 +02:00
Andras Bacsai
480ae3de8a Refactor Server.php to improve default 404 redirect setup 2024-09-23 22:57:24 +02:00
peaklabs-dev
ff5e445b43
Feat: Manual cleanup button and unused volumes and network deletion 2024-09-22 20:02:51 +02:00
Andras Bacsai
eb9bbf3eda refactor: Improve attribute sanitization in Server model 2024-09-20 18:14:52 +02:00
Andras Bacsai
e9fbb7d2b0 fix: coolify-db should not be in the managed resources 2024-09-19 13:23:48 +02:00
Andras Bacsai
f65789bdbb fix: proxy status 2024-09-19 12:32:56 +02:00
peaklabs-dev
8153e2f63b
Merge branch 'coollabsio:main' into fix-ssh-keys 2024-09-18 20:43:59 +02:00
Dennis Blume
98ba7ac28c
Fix WebSocket connection for Terminal page when using Caddy 2024-09-18 13:33:38 +02:00
peaklabs-dev
42ff7b19a4
Fix: Few multiplexing things 2024-09-17 15:54:22 +02:00
peaklabs-dev
ea3501ada6
Fix: SSH Multiplexing for Jobs 2024-09-17 15:31:05 +02:00
peaklabs-dev
845d32c94c
Fix: Do not delete SSH Key from disk during server validation error 2024-09-17 14:33:04 +02:00
peaklabs-dev
144508218e
Fix: SSH multiplexing 2024-09-17 12:26:11 +02:00
Andras Bacsai
35b9b7fdf2 fix/feat: able to open terminal to any containers 2024-09-17 11:54:25 +02:00
peaklabs-dev
86722939cd
Fix. Remove write to SSH key on every remote command execution 2024-09-16 21:34:27 +02:00
Andras Bacsai
dcf91cc034 Update WebSocket URL in terminal.blade.php to include /ws for consistency with the server configuration. 2024-09-13 16:58:16 +02:00
Andras Bacsai
888c1f7697 update files 2024-09-13 12:21:02 +02:00
Andras Bacsai
75f266fa9f fix: cloudflare tunnel with new multiplexing feature 2024-09-12 12:07:50 +02:00
peaklabs-dev
d378bb94be
Fix: remote servers with port and user 2024-09-10 17:29:53 +02:00
peaklabs-dev
91c845732e
fix set custom port or user during boarding 2024-09-10 16:55:34 +02:00
Andras Bacsai
e4854aaa1b Refactor muxFilename method to use UUID instead of IP, port, and user 2024-09-05 14:41:04 +02:00
Andras Bacsai
3f9f197282 fix: docker cleanup job 2024-08-21 10:50:05 +02:00
Andras Bacsai
8fa1fcf96e refactor: Update Server model getContainers method to use collect() for containers and containerReplicates 2024-08-08 13:20:10 +02:00
Andras Bacsai
59702c6dbc refactor: Update ProxyTypes enum values to use TRAEFIK instead of TRAEFIK_V2 2024-08-07 17:52:51 +02:00
Andras Bacsai
e4b92bb660 feat: new server checking job
feat: show if the server  has problems on ui
2024-08-05 15:48:15 +02:00
Andras Bacsai
189a8347ed feat: add server api endpoints 2024-07-23 14:20:53 +02:00
Andras Bacsai
0f55e83591 revert: instancesettings 2024-07-12 15:45:36 +02:00
Andras Bacsai
88f33be5b6 refactor: only get instanceSettings once from db 2024-07-12 12:51:55 +02:00