Commit graph

985 commits

Author SHA1 Message Date
Andras Bacsai
ec9315f24e remove unnecessary things 2024-12-03 14:09:51 +01:00
Andras Bacsai
669293afc1 disable success notifications for now 2024-12-03 12:22:27 +01:00
Andras Bacsai
319c3023dc fix 2024-12-02 22:50:03 +01:00
Andras Bacsai
58988d3686 fix: a few inputs 2024-12-02 22:50:03 +01:00
Marvin von Rappard
a4910880e0
Merge branch 'next' into main 2024-11-25 13:44:24 +01:00
Andras Bacsai
dce783813a
Merge pull request #4379 from SierraJC/fix/misc-server-api-fixes
Fix: `/servers` API invalid responses / OpenAPI schema
2024-11-25 13:41:28 +01:00
Andras Bacsai
37d4d5f98c fix: version should come from constants + fix stripe webhook error reporting 2024-11-25 11:28:08 +01:00
Marvin von Rappard
1aea60f1f0
Merge branch 'next' into main 2024-11-25 09:06:24 +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
🏔️ Peak
106bc22321
Merge branch 'next' into fix-environement-route 2024-11-22 16:13:30 +01:00
peaklabs-dev
277fd78769
new uuid routes 2024-11-22 16:03:20 +01: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
Andras Bacsai
0eab7f78ff version++ and fix private key saving 2024-11-15 21:22:11 +01:00
peaklabs-dev
2932d9a6e0
fix ssh key migration broken with the new team check 2024-11-15 12:10:39 +01:00
peaklabs-dev
a58125cbfe
fix same ssh key in different teams 2024-11-14 21:53:38 +01:00
Marvin von Rappard
7bdac8b42f
Merge branch 'next' into main 2024-11-14 12:54:04 +01:00
Marvin von Rappard
eb0686fe20 feat: slack notifications 2024-11-12 22:37:55 +01: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
ff016cb2a2 pint 2024-11-12 11:50:02 +01:00
Andras Bacsai
ad775ba1f0
Merge branch 'next' into fix/improved-responses-on-git-error 2024-11-12 11:42:38 +01:00
Andras Bacsai
327b4308d4 fix: add tests for git url converts 2024-11-12 11:32:18 +01:00
Andras Bacsai
4a2846fcd0
Merge branch 'next' into feat/convert-http-to-ssh-sources-with-deploy-keys 2024-11-12 10:41:48 +01:00
Andras Bacsai
1faa8be615 fix: cloud + stripe related 2024-11-11 22:18:15 +01:00
Andras Bacsai
b379e50d90 feat: custom nginx configuration for static deployments + fix 404 redirects in nginx conf 2024-11-11 14:37:36 +01:00
Andras Bacsai
24a6f3d7ea fix: missing privateKey 2024-11-11 11:10:55 +01:00
Andras Bacsai
aa1e80ccae fix: start sentinel on seeder 2024-11-08 10:39:02 +01:00
Andras Bacsai
9d9ac5943e fix 2024-11-08 10:30:10 +01:00
Andras Bacsai
e7f2215652 fix: seeder should not start sentinel 2024-11-08 10:28:40 +01:00
Andras Bacsai
a2b6a61c4a fix: update last online with old function 2024-11-08 09:43:46 +01:00
Andras Bacsai
a9832e2783
Merge pull request #3949 from peaklabs-dev/fix-project-deletion
Fix: Projects can be deleted with resources
2024-11-07 13:43:56 +01:00
Andras Bacsai
a297c9fcab fix: better invitation errors 2024-11-07 12:32:23 +01:00
Andras Bacsai
376a2341af refactor scheduled task job (and related stuffs) 2024-11-07 11:09:38 +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
Andras Bacsai
904ffc894d fix: server limit check 2024-11-05 16:35:56 +01:00
Andras Bacsai
5ce6c3ded1 refactor server limit check job + email notifications view 2024-11-05 11:22:23 +01:00
Andras Bacsai
7fb1a1fc75 fix: use Auth(), add new db proxy stop event refactor clickhouse view 2024-11-04 14:18:16 +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
8e1444eaa7 Get rid of many useless blank lines 2024-10-31 17:44:01 +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
Lucas Michot
c5403b0b3f Always prefer ::class notation 2024-10-28 14:56:13 +01:00
Lucas Michot
d557a22b91 Remove all ray() calls 2024-10-28 13:51:23 +01:00
🏔️ Peak
7c2d3c47eb
Merge branch 'next' into useless-variable-assignments 2024-10-28 13:32:34 +01:00
Andras Bacsai
3cb6ba1a9d Refactor code to improve server limit retrieval in Team model 2024-10-28 10:08:52 +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
7ed0ebf106 fix: generateSentinelUrl method 2024-10-25 11:41:52 +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
0147919dc4 Refactor deleteInvitation method in Invitations component 2024-10-24 13:44:38 +02:00
Andras Bacsai
bdf9b98596 fix: access team's github apps only 2024-10-24 13:28:31 +02: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
6e305a33de Refactor server setting model to restart Sentinel on specific config changes 2024-10-22 14:10:52 +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
Andras Bacsai
e8854c3101 fix: sentinel start fixed 2024-10-22 08:31:53 +02:00
Andras Bacsai
3e729ee928 fix: metrics for dbs 2024-10-21 22:57:00 +02:00
Andras Bacsai
f0d5639956 fancier notifications 2024-10-21 22:40:43 +02:00
Kael
ebdc99f617
Merge branch 'next' into feat/disable-default-redirect 2024-10-22 00:50:12 +11:00
Andras Bacsai
2809083f61 Refactor Redis password handling and migration to use environment variables 2024-10-21 13:43:34 +02:00
Andras Bacsai
bf7b0f9e06 fix: redis database user and password 2024-10-21 12:13:42 +02:00
Andras Bacsai
e8c7d7f972 fix: pull helper image on helper_version change 2024-10-21 12:06:13 +02:00
Andras Bacsai
056758e3ff
Merge pull request #3184 from peaklabs-dev/fix-redis-db-ui
Fix: Redis DB UI
2024-10-21 10:00:20 +02:00
peaklabs-dev
5a38b21d95
fix project deletion and refactor some code 2024-10-18 13:48:41 +02: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
b58ff07832 Merge branch 'next' of github.com:coollabsio/coolify into next 2024-10-17 10:04:54 +02:00
Andras Bacsai
f600c1b37d fix: only enable Sentinel for new servers 2024-10-17 10:04:38 +02:00
peaklabs-dev
85c3270dcc
update helper and disable input if variable is shared 2024-10-16 13:44:17 +02:00
peaklabs-dev
b9c9c1041a
feat: add is shared to env variables 2024-10-16 13:20:26 +02:00
Andras Bacsai
2702fbc284 Refactor logging in PushServerUpdateJob, Application, and SentinelSeeder 2024-10-15 17:03:50 +02:00
🏔️ Peak
937666b177
Merge branch 'fix-redis-db-ui' into fix-redis 2024-10-15 15:48:57 +02:00