Commit Graph

461 Commits

Author SHA1 Message Date
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
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
35cd9573ab fix(ssl): add mount path to DB to fix regeneration of certs 2025-02-07 18:11:26 +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
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
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
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
peaklabs-dev
30f36f96db fix: use finished_at for the end time instead of created_at 2025-01-16 15:12:57 +01:00
peaklabs-dev
47be82afc3 Merge branch 'docker-cleanup-executions-ui' of https://github.com/peaklabs-dev/coolify into docker-cleanup-executions-ui 2025-01-16 14:42:58 +01:00
peaklabs-dev
8bcd1449d2 chore: remove limit on commit message 2025-01-16 14:42:33 +01:00
🏔️ Peak
11d1a9e6fd Merge branch 'next' into docker-cleanup-executions-ui 2025-01-16 14:41:23 +01:00
Andras Bacsai
55d61ffaee fix: add finished_at to app deployment jobs
fix: show deployment job running measurements
fix: terminal should not be wire:navigated
2025-01-16 12:05:59 +01:00
peaklabs-dev
4986485448 fix: use json as it is just better than string for huge amount of logs 2025-01-15 19:56:01 +01:00
peaklabs-dev
52abc7cc92 feat: DB and Model for docker cleanup executions 2025-01-15 17:11:15 +01:00
Andras Bacsai
b01ea8b46d Merge pull request #4818 from peaklabs-dev/feat-backup-retention
Feat: Improve backup retention (for database backups)
2025-01-14 09:10:33 +01:00
Andras Bacsai
6a8cc0f80d Merge branch 'next' into fix-cloning 2025-01-14 08:50:22 +01:00
peaklabs-dev
e9f691bf45 fix: storage retention setting
- feat: add storage retention to local storage as well
- fix: UI input for max storage now allows exact decimals so MB input is now also possible
- fix: Database column is now decimal instead of integer
- fix: variable naming of storage check no longer overwrites $backup - renamed it to $backupExecution
2025-01-13 19:49:12 +01:00
peaklabs-dev
04bcf01619 feat: DB migration for Backup retention
- rename number_of_backups_locally to database_backup_retention_amount_locally
- add backup retention days to local stored backups
- add s3 retention fields
2025-01-13 16:35:58 +01:00
Andras Bacsai
a396d51452 Merge branch 'next' into hotfix 2025-01-10 20:23:29 +01:00
Andras Bacsai
02400added fix: horizon job checker 2025-01-10 18:27:48 +01:00
Andras Bacsai
765e1ea04b feat: add horizon server details to queue 2025-01-10 15:39:22 +01:00
peaklabs-dev
3d4e8b9867 chore: switch up readonly lables to make more sense 2025-01-08 17:05:11 +01:00
Andras Bacsai
f575d1249e Merge branch 'main' into next 2024-12-27 11:09:29 +01:00
peaklabs-dev
6dc87498de fix: error message 2024-12-23 17:58:56 +01:00
peaklabs-dev
0a851ec3f2 fix: only encrypt instance email settings if there are any 2024-12-23 17:41:38 +01:00
peaklabs-dev
d7a0794bd9 fix: instance settings migration 2024-12-23 17:15:46 +01:00
peaklabs-dev
a18c2e0f55 feat: migrate to new encryption options 2024-12-23 15:25:07 +01:00
🏔️ Peak
f92ddd77f3 Merge branch 'next' into fix-docker-cleanup-notifications 2024-12-17 15:25:20 +01:00
peaklabs-dev
5fa636dd43 feat: add server disk usage check frequency 2024-12-17 15:20:28 +01:00
Andras Bacsai
bf9d89f279 Merge branch 'next' into fix-environement-route 2024-12-17 12:17:50 +01:00
Andras Bacsai
2a9d499251 feat: migrate env variables to polymorphic relationship
fix: proxy status query ui
2024-12-17 10:38:42 +01:00
peaklabs-dev
a16cbdf557 fix: resend api key is already a text column 2024-12-13 11:42:01 +01:00
peaklabs-dev
5087906b24 fix: encrypt resend API key in instance settings 2024-12-13 11:35:44 +01:00
Andras Bacsai
fba7f6f585 refactor: change email column types in instance_settings migration from string to text 2024-12-12 10:03:31 +01:00
Andras Bacsai
147240b527 Merge branch 'next' into authentik 2024-12-12 08:45:38 +01:00