Commit graph

1091 commits

Author SHA1 Message Date
Andras Bacsai
1fe4dd722b Revert "rector: arrrrr"
This reverts commit 16c0cd10d8.
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8 rector: arrrrr 2025-01-07 14:52:08 +01:00
Andras Bacsai
fb66d05760 Refactor ApplicationDeploymentJob: Move 'tries' property definition to class level 2025-01-07 09:25:25 +01:00
peaklabs-dev
c789ed6003
chore: remove more logging 2025-01-06 21:16:57 +01:00
peaklabs-dev
09dfbde676
chore: remove debug log, finally found it 2025-01-06 21:14:06 +01:00
peaklabs-dev
126e5ff57a
add debug log 2025-01-06 20:56:19 +01:00
peaklabs-dev
49f468c4b7
fix: potential fix for permissions update 2025-01-06 19:37:51 +01:00
peaklabs-dev
2c4bdb76bd chore: use new functions 2025-01-06 16:58:20 +01:00
Andras Bacsai
07eac49c0b Initialize nixpacks_plan_json in ApplicationDeploymentJob constructor 2025-01-06 13:26:09 +01:00
peaklabs-dev
f26853b576
fix: unreachable notifications 2024-12-23 16:51:34 +01:00
Andras Bacsai
340075a684
Merge pull request #4324 from JuliensForks/main
feat: add some new labels to every container
2024-12-18 12:55:33 +01:00
Andras Bacsai
f2c7fbf55f fix: use nixpacks predefined build variables, but still could update the default values from Coolify 2024-12-18 12:02:56 +01:00
Andras Bacsai
203a20e75e Merge branch 'next' into fix-unreachable-notificiations 2024-12-17 22:35:09 +01:00
Andras Bacsai
9e3467578f feat: add environment_uuid support and update API documentation
- Introduced `environment_uuid` as a required field in various API endpoints and schemas.
- Updated descriptions to clarify that either `environment_name` or `environment_uuid` must be provided.
- Modified routes and controller methods to accommodate the new UUID parameter.
- Adjusted frontend components to utilize `environment_uuid` for better consistency and clarity.
- Removed deprecated fields related to environment handling.

This change enhances the API's flexibility in identifying environments, improving overall usability.
2024-12-17 13:42:16 +01:00
🏔️ Peak
48f73c732b
Merge branch 'next' into fix-unreachable-notificiations 2024-12-16 14:08:58 +01:00
peaklabs-dev
1da3febd85
fix: remove duplicated ServerCheckJob call 2024-12-16 14:04:22 +01:00
Andras Bacsai
d58abd1998 refactor 2024-12-16 10:38:18 +01:00
Andras Bacsai
9832d92bda update stripe webhook 2024-12-13 08:18:13 +01:00
peaklabs-dev
f88438edd3
chore: rename topicID to threadId like in the telegram API response 2024-12-11 23:13:13 +01:00
Zao Soula
ef35429533 feat(notification): add Pushover 2024-12-11 18:13:16 +01:00
peaklabs-dev
f36043943c
feat: send new docker cleanup notifications 2024-12-10 16:13:18 +01:00
peaklabs-dev
99eea783ae
feat: scheduled task success and failure notifications 2024-12-10 14:45:47 +01:00
peaklabs-dev
060c8262bc
chore: remove comment out code 2024-12-09 12:48:54 +01:00
peaklabs-dev
2da4e9a274
feat: enable success messages again 2024-12-09 12:08:27 +01:00
peaklabs-dev
6438c08096
chore: remove unused resale license job 2024-12-09 12:02:08 +01:00
peaklabs-dev
d9248508b4
chore: remove unused waitlist stuff 2024-12-09 12:00:54 +01:00
Andras Bacsai
08d992a1c2 fix 2024-12-06 14:33:22 +01:00
Marvin von Rappard
f7eccefda3
Merge branch 'next' into main 2024-12-06 06:29:35 +01:00
Andras Bacsai
e67a93e6a5 feat: able to deploy without cache on every commit 2024-12-05 10:46:27 +01:00
Andras Bacsai
669293afc1 disable success notifications for now 2024-12-03 12:22:27 +01:00
Andras Bacsai
f7ef339ec3 Improve notification message for TCP Proxy container restart to include database name 2024-12-03 12:21:09 +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
Julien
1086aea54d feat: add coolify.environment label 2024-12-02 18:38:47 +01:00
Marvin von Rappard
02a20729c7
Merge branch 'next' into main 2024-11-27 11:09:45 +01:00
Andras Bacsai
dabda4e806 fix: Email should be retried with backoff 2024-11-26 10:19:05 +01:00
Marvin von Rappard
a4910880e0
Merge branch 'next' into main 2024-11-25 13:44:24 +01:00
Andras Bacsai
e5cd35d2a0 fix: sentry 2024-11-25 13:33:07 +01:00
Andras Bacsai
cbe44529f9 fix: undefined variable 2024-11-25 11:28:16 +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
Andras Bacsai
6ad2e18060 fix: db backup for services 2024-11-24 11:39:26 +01:00
Andras Bacsai
7eb955c95a Refactor Telegram notification error handling 2024-11-22 18:37:51 +01:00
Andras Bacsai
377758edcd fix stripe webhooks 2024-11-22 14:42:10 +01:00
Andras Bacsai
374446b90b fix: do not send internal notification for backups and status jobs 2024-11-22 12:27:13 +01:00
Andras Bacsai
7dc65dfd79 fix: make sure important jobs/actions are running on high prio queue 2024-11-22 11:16:01 +01:00
Julien
8b30123add feat: add service/resource/project labels 2024-11-17 23:06:05 +01:00
Andras Bacsai
0e8f5d61bc fix 2024-11-15 08:56:19 +01:00
Marvin von Rappard
7bdac8b42f
Merge branch 'next' into main 2024-11-14 12:54:04 +01:00
Andras Bacsai
c9f7863fff
Merge pull request #4238 from peaklabs-dev/dep-and-remove-unused-stuff
Chore: Remove unused stuff, update dependecies
2024-11-14 12:31:09 +01:00
Andras Bacsai
8a917f6a4e fix: invalid tz should not prevent other jobs to be executed 2024-11-14 10:56:56 +01:00
Marvin von Rappard
eb0686fe20 feat: slack notifications 2024-11-12 22:37:55 +01:00
peaklabs-dev
1c5ddab30d
use one constants file 2024-11-12 15:18:48 +01:00
Andras Bacsai
d7cde676d5 feat: check local horizon scheduler deployments 2024-11-11 23:35:48 +01:00
Andras Bacsai
1faa8be615 fix: cloud + stripe related 2024-11-11 22:18:15 +01:00
Andras Bacsai
e6a0d8b855 fix 2024-11-11 16:37:12 +01:00
Andras Bacsai
cb433dddc4 version++ 2024-11-11 15:00:37 +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
376a2341af refactor scheduled task job (and related stuffs) 2024-11-07 11:09:38 +01:00
Andras Bacsai
2b518e2291 refactor a few jobs 2024-11-07 09:16:58 +01:00
Andras Bacsai
33519bf629 fix: run resourceCheck after new serviceCheckJob 2024-11-07 09:13:19 +01:00
Andras Bacsai
275edb6c1f put a few things on high queue 2024-11-06 12:33:56 +01:00
Andras Bacsai
ff6f089483 feat: add --gpu support for custom docker command 2024-11-06 10:13:40 +01:00
Andras Bacsai
f3c35c7acc fix: do not overlap servercheckjob 2024-11-05 13:59:13 +01:00
Andras Bacsai
5ce6c3ded1 refactor server limit check job + email notifications view 2024-11-05 11:22:23 +01:00
Andras Bacsai
6987951efe add new resource check to kernel.php 2024-11-03 14:53:44 +01:00
Andras Bacsai
ed03cd33b0 fix: only run server storage every 10 mins if sentinel is not active 2024-11-03 09:10:36 +01:00
Andras Bacsai
ca7c214775 fix: new way to update container statuses 2024-11-03 09:02:14 +01:00
Andras Bacsai
0c77a826c3 Refactor ServerCheckJob to remove unused properties and improve performance 2024-11-02 12:38:38 +01: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
601f1a4717 Always prefer stricter string comparisons. 2024-10-31 15:23:19 +01:00
Andras Bacsai
8fbd0b44d5 Refactor Server model to remove SSH multiplexing file and add ServerCleanupMux job
- Remove SSH multiplexing file from the Server model
- Add ServerCleanupMux job to cleanup multiplexed connections every hour
2024-10-30 21:33:06 +01:00
Andras Bacsai
96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Andras Bacsai
491b228580 remove unused job 2024-10-29 20:56:58 +01:00
Andras Bacsai
bb7184b3ff
Merge pull request #4041 from lucasmichot/feat/try-catch
Remove some useless `catch` blocks
2024-10-28 21:15:08 +01:00
Lucas Michot
c5403b0b3f Always prefer ::class notation 2024-10-28 14:56:13 +01:00
Lucas Michot
5b6e466e0c Remove some useless catch blocks 2024-10-28 14:37:00 +01:00
Lucas Michot
d557a22b91 Remove all ray() calls 2024-10-28 13:51:23 +01:00
Andras Bacsai
29ad965656 Refactor code to use loggy() function for server storage check logging 2024-10-25 17:46:39 +02: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
fb75741aa8 add sentinel check to servercheckjob 2024-10-25 12:02:41 +02:00
Andras Bacsai
ba86a75c4f Refactor ServerStatusJob to remove unnecessary coolify.yaml file 2024-10-25 11:41:29 +02:00
Andras Bacsai
2bea26584a Refactor StartSentinel handle method to include latest version parameter 2024-10-25 11:41:25 +02:00
Andras Bacsai
621e063bf1 Refactor PushServerUpdateJob to implement ShouldBeEncrypted interface 2024-10-24 15:16:00 +02:00
Andras Bacsai
55f4e77d66 Refactor ServerStorageCheckJob handle method to improve error handling and messaging 2024-10-24 15:10:07 +02:00
Andras Bacsai
d55b444bb8 Refactor ServerStorageCheckJob handle method to improve error handling and messaging 2024-10-24 15:08:22 +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
5c93780304 remove unnecessary code 2024-10-22 12:01:46 +02:00
Andras Bacsai
537630acc6 Refactor PushServerUpdateJob to handle container restart notifications 2024-10-22 11:42:24 +02:00
Andras Bacsai
d7efe8a6d1 fix: no sentinel for swarm yet 2024-10-22 11:29:43 +02:00
Andras Bacsai
dbdb9e6f10
Merge branch 'next' into main 2024-10-21 20:56:02 +02:00
Andras Bacsai
52caa045c9
Merge branch 'next' into proxy-fixes 2024-10-21 15:08:13 +02:00
Andras Bacsai
2809083f61 Refactor Redis password handling and migration to use environment variables 2024-10-21 13:43:34 +02:00
Andras Bacsai
e8c7d7f972 fix: pull helper image on helper_version change 2024-10-21 12:06:13 +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
2702fbc284 Refactor logging in PushServerUpdateJob, Application, and SentinelSeeder 2024-10-15 17:03:50 +02:00
Andras Bacsai
d446cd4f31 sentinel updates 2024-10-15 13:39:19 +02:00
Andras Bacsai
81db57002b Refactor PushServerUpdateJob to handle multiple servers, previews, and emails 2024-10-14 22:53:16 +02:00