Commit Graph

630 Commits

Author SHA1 Message Date
Andras Bacsai
637c3982d1 feat(database): disable MongoDB SSL by default in migration 2025-03-26 09:45:57 +01:00
Andras Bacsai
abc7dd65ca refactor(database): enhance encryption process for local file volumes 2025-03-25 13:39:30 +01:00
Andras Bacsai
26f4d37346 feat(notifications): add discord ping functionality and settings 2025-03-21 12:16:33 +01:00
Andras Bacsai
009cee1bbd Merge branch 'next' into feat-db-ssl 2025-03-17 15:15:24 +01:00
Andras Bacsai
8ebbe396f4 fix(database): change default value of enable_ssl to false for multiple tables 2025-03-17 13:58: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
1160b3312e fix(seeder): Update GitHub app name in GithubAppSeeder 2025-03-11 13:28:26 +01:00
Andras Bacsai
07cbec7ddc feat(billing): Add Stripe past due subscription status tracking 2025-03-01 12:43:12 +01:00
Andras Bacsai
9c4395e6de feat(database): Add index to scheduled database backup executions 2025-02-27 14:04:22 +01:00
Andras Bacsai
cd1fc649e3 feat(database): Add index to scheduled task executions for improved query performance 2025-02-27 13:54:10 +01:00
peaklabs-dev
225f24e650 chore: improve code quality suggested by code rabbit 2025-02-19 18:04:58 +01:00
peaklabs-dev
792b1b889f faet(migration): Add SSL fields to database tables 2025-02-10 15:32:05 +01:00
peaklabs-dev
a539bfd765 fix(ssl): server id 2025-02-07 18:45:12 +01:00
peaklabs-dev
836006798f fix(ssl): remove caCert even if it is a folder by accident 2025-02-07 18:28:58 +01:00
peaklabs-dev
35cd9573ab fix(ssl): add mount path to DB to fix regeneration of certs 2025-02-07 18:11:26 +01:00
peaklabs-dev
d6a39f2ed3 fix(ssl): always create ca crt on disk even if it is already there 2025-02-04 16:57:40 +01:00
peaklabs-dev
3c62130e86 fix(ssl): improve SSL cert file mounts
- If SSL is disabled, delete the SSL crt and file mounts in the DB
- If SSL is disabled, delete the SSL folder
- If SSL is enabled, make sure the file mounts are added inside the helper
- remove old file mounts first to make sure the ssl crt content is always up to date and no duplicates are added
2025-02-04 16:34:24 +01:00
peaklabs-dev
fba95c3729 fix(migration): store subjectAlternativeNames as a json array in the db 2025-02-03 22:35:00 +01:00
peaklabs-dev
498bf04559 feat(migration): add CN and alternative names to DB 2025-02-03 22:05:32 +01:00
peaklabs-dev
a1e650e699 chore: rename ca crt folder to ssl 2025-02-03 21:42:28 +01:00
peaklabs-dev
4305ba5f06 fix(migration): ssl certificates table
- remove unique constraint
- add CA certificate boolean
- make sure that each certificate has a server_id so that we know which CA to use when renewing certificates
2025-02-02 14:56:26 +01:00
peaklabs-dev
7406ee67c2 chore(ssl): rename CA cert to coolify-ca.crt because of conflicts 2025-01-31 18:27:20 +01:00
peaklabs-dev
34216af497 fix(db): SSL certificates table and model
- server_id is a foreign id
- server_id must be unique as each server can only have 1 CA cert
- resource_id must be unique as each resource can only have 1 SSL cert
2025-01-31 12:35:34 +01:00
peaklabs-dev
503e1ffb67 feat(seeder): Call CA SSL seeder in prod and dev 2025-01-31 12:23:59 +01:00
peaklabs-dev
90a93ce7e0 feat(ssl): add a Coolify CA Certificate to all servers 2025-01-31 12:23:00 +01:00
peaklabs-dev
22c26cdf78 chore(migration): ssl cert and key should not be nullable 2025-01-30 19:52:49 +01:00
peaklabs-dev
b53d3d07d9 fix(ssl): make default ssl mode require not verify-full as it does not need a ca cert 2025-01-30 19:09:37 +01:00
peaklabs-dev
2ac9147532 chore(migration): remove unused columns 2025-01-30 14:16:52 +01:00
peaklabs-dev
edddbc8536 feat(migration): encrypt local file volumes content and paths 2025-01-30 13:54:00 +01:00
peaklabs-dev
214a7a089e feat(migration): Add ssl setting to standalone_postgresqls table 2025-01-29 13:04:27 +01:00
peaklabs-dev
3f582a1ea4 feat(migration): Add ssl_certificates table and model 2025-01-29 13:03:13 +01:00
Andras Bacsai
085103708c fix(core): v1 parser versions trying to access application_id, while it is resourceable_id
fix(db): remove wrongly created, empty environmentvariables
2025-01-22 10:21:51 +01:00
peaklabs-dev
4197104026 fix(db): finished_at timestamps are not set for existing deployments 2025-01-21 14:02:29 +01:00
Andras Bacsai
ca2c66943c fix 2025-01-17 14:00:20 +01:00
Andras Bacsai
6e9960c010 revert revert so it will be good (say what?) 2025-01-17 13:44:37 +01:00
Andras Bacsai
56ae346b9d test 2025-01-17 13:22:04 +01:00
Andras Bacsai
d043fbfeb9 refactor: streamline ProductionSeeder by removing debug logs and unnecessary checks, while ensuring essential seeding operations remain intact 2025-01-17 12:33:03 +01:00
Andras Bacsai
10b3c6b107 fix: update ProductionSeeder to check for private key instead of server's private key 2025-01-17 12:24:31 +01:00
Andras Bacsai
d3a6576a06 fix: create the private key before the server in the prod seeder 2025-01-17 12:14:03 +01:00
Andras Bacsai
973429d2c4 add debug logs 2025-01-17 11:38:22 +01:00
Andras Bacsai
95ccf23e9d refactor: comment out RootUserSeeder call in ProductionSeeder for clarity 2025-01-17 11:19:45 +01:00
Andras Bacsai
254e32a6bc fix: root user seeder should be the last (why? no idea. we will figure it out)
version ++
2025-01-17 11:06:09 +01:00
Andras Bacsai
8f32c32bc7 Merge pull request #4847 from coollabsio/feat-create-initial-user-via-env
feat: Ability to create root user via environment variables
2025-01-16 22:19:25 +01:00
peaklabs-dev
a43805e24b fix: silent return if envs are empty or not set. 2025-01-16 22:02:02 +01:00
peaklabs-dev
ca56b1462d fix: success message 2025-01-16 19:09:18 +01:00
peaklabs-dev
5f581a8eac Update RootUserSeeder.php 2025-01-16 18:43:40 +01:00
peaklabs-dev
3f3b782e60 disable existing user check to check the full functionality of the seeder 2025-01-16 18:39:50 +01:00
peaklabs-dev
e9d688d5ee fix: add spacing around echo outputs 2025-01-16 18:33:54 +01:00
peaklabs-dev
0ced6a4376 feat: improved error handling and log output 2025-01-16 18:29:00 +01:00
peaklabs-dev
c925ff049d fix: regex username validation 2025-01-16 18:14:45 +01:00