Commit graph

805 commits

Author SHA1 Message Date
Andras Bacsai
b22e79caec feat(jobs): improve scheduled tasks with retry logic and queue cleanup
- Add retry configuration to CoolifyTask (3 tries, 600s timeout)
- Add retry configuration to ScheduledTaskJob (3 tries, configurable timeout)
- Add retry configuration to DatabaseBackupJob (2 tries)
- Implement exponential backoff for all jobs (30s, 60s, 120s intervals)
- Add failed() handlers with comprehensive error logging to scheduled-errors channel
- Add execution tracking: started_at, retry_count, duration (decimal), error_details
- Add configurable timeout field to scheduled tasks (60-3600s, default 300s)
- Update UI to include timeout configuration in task creation/editing forms
- Increase ScheduledJobManager lock expiration from 60s to 90s for high-load environments
- Implement safe queue cleanup with restart vs runtime modes
  - Restart mode: aggressive cleanup (marks all processing jobs as failed)
  - Runtime mode: conservative cleanup (only marks jobs >12h as failed, skips deployments)
- Add cleanup:redis --restart flag for system startup
- Integrate cleanup into Dev.php init() for development environment
- Increase scheduled-errors log retention from 7 to 14 days
- Create comprehensive test suite (unit and feature tests)
- Add TESTING_GUIDE.md with manual testing instructions

Fixes issues with jobs failing after single attempt and "attempted too many times" errors
2025-11-10 11:11:18 +01:00
Andras Bacsai
73985350ec fix: update version numbers to 4.0.0-beta.443 and 4.0.0-beta.444 2025-11-07 08:26:58 +01:00
Andras Bacsai
2768805996 fix: update helper_version to 1.0.12 in constants configuration 2025-11-06 14:33:42 +01:00
Andras Bacsai
fed01ab1a2 fix: update releases URL to use correct domain
The releases URL in the configuration was updated to use the correct domain 'coolify.io' instead of 'coollabs.io'. This change ensures that the application points to the right resource for fetching release information, which is crucial for maintaining accurate and up-to-date deployment processes.
2025-11-05 14:31:53 +01:00
Andras Bacsai
ac2a199c7b chore: update coolify version to 4.0.0-beta.442
This update increments the version of coolify to 4.0.0-beta.442 to reflect the latest changes and improvements. Additionally, the nightly version has been updated to 4.0.0-beta.443 to ensure consistency across the project. Keeping version numbers up to date is essential for tracking releases and ensuring that users are aware of the latest features and fixes.
2025-11-05 14:31:09 +01:00
Andras Bacsai
a89413bdbe fix: update version numbers to 4.0.0-beta.441 and 4.0.0-beta.442 2025-11-04 13:48:31 +01:00
Andras Bacsai
7520d6ca97 feat: Update version numbers to 4.0.0-beta.440 and 4.0.0-beta.441 2025-11-04 09:24:37 +01:00
Andras Bacsai
6fc5b01edc chore: update version numbers to 4.0.0-beta.439 and 4.0.0-beta.440 2025-10-29 20:38:48 +01:00
Andras Bacsai
a474dcb3b0 version++ 2025-10-21 20:40:32 +02:00
Andras Bacsai
3593d941af bump version to 4.0.0-beta.437 and update nightly version to 4.0.0-beta.438 2025-10-20 13:57:48 +02:00
Andras Bacsai
837a0f4545 Merge branch 'next' into andrasbacsai/livewire-model-binding
Resolved merge conflicts between Livewire model binding refactoring and UI/CSS updates from next branch. Key integrations:

- Preserved unique HTML ID generation for form components
- Maintained wire:model bindings using $modelBinding
- Integrated new wire:dirty.class styles (border-l-warning pattern)
- Kept both syncData(true) and validateDockerComposeForInjection in StackForm
- Merged security tests and helper improvements from next

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 11:05:29 +02:00
Andras Bacsai
733c20fc9d fix: update version numbers to 4.0.0-beta.436 and 4.0.0-beta.437 2025-10-16 10:14:20 +02:00
Andras Bacsai
53b605c4b2 Disable legacy_model_binding flag in Livewire config
All components have been migrated from legacy model binding to explicit
public properties with syncData() pattern. Safe to disable the flag.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 15:44:23 +02:00
Andras Bacsai
50383c7a35 chore(versions): update Coolify version numbers to 4.0.0-beta.435 and 4.0.0-beta.436
- Incremented the stable version in constants.php and versions.json to 4.0.0-beta.435.
- Updated the nightly version in versions.json and other/nightly/versions.json to 4.0.0-beta.436.
- Ensured consistency across versioning files for the latest release.
2025-10-03 10:28:29 +02:00
Andras Bacsai
da6c7ed7d5 chore(versions): bump Coolify stable version to 4.0.0-beta.434
- Updated the stable version number in constants.php to reflect the latest release.
- Ensured consistency with the previous versioning scheme.
2025-10-02 08:49:35 +02:00
Andras Bacsai
33aa32d1e6 chore(versions): update coolify version to 4.0.0-beta.433 and nightly version to 4.0.0-beta.434 in configuration files 2025-09-29 14:04:14 +02:00
Andras Bacsai
73b42f318a fix(constants): reduce command timeout from 7200 to 3600 seconds for improved performance 2025-09-25 14:41:05 +02:00
Andras Bacsai
8f44ade488 chore(versions): update coolify version numbers to 4.0.0-beta.432 and 4.0.0-beta.433 in configuration files 2025-09-25 09:27:29 +02:00
Andras Bacsai
0a6b2a0586 chore(versions): increment coolify version numbers to 4.0.0-beta.431 and 4.0.0-beta.432 in configuration files 2025-09-24 20:08:51 +02:00
Andras Bacsai
02115e2cff chore(versions): update coolify version numbers to 4.0.0-beta.430 and 4.0.0-beta.431 in configuration files 2025-09-24 09:20:12 +02:00
Andras Bacsai
027aa0ffff chore(versions): bump coolify version to 4.0.0-beta.429 and nightly version to 4.0.0-beta.430 2025-09-18 13:45:29 +02:00
peaklabs-dev
e23c78fcda
chore(deps): bump helper version 2025-09-15 15:48:10 +02:00
Andras Bacsai
e84da21def chore(versions): increment coolify version to 4.0.0-beta.428 and update realtime_version to 1.0.10 2025-09-15 15:40:24 +02:00
Andras Bacsai
6d56b83e27 chore(constants): update realtime_version from 1.0.10 to 1.0.11 2025-09-15 12:50:34 +02:00
Andras Bacsai
b433f17dac feat(ssh-multiplexing): enhance multiplexed connection management with health checks and metadata caching 2025-09-10 08:19:38 +02:00
Andras Bacsai
b6176d905b feat(command): implement SSH command retry logic with exponential backoff and logging for better error handling 2025-09-07 10:26:23 +02:00
Andras Bacsai
d2ed68e605 refactor(jobs): pull github changelogs from cdn instead of github 2025-09-01 16:13:55 +02:00
Andras Bacsai
88d33d177e chore: update coolify version to 4.0.0-beta.427 and nightly version to 4.0.0-beta.428 2025-08-31 11:20:48 +02:00
Andras Bacsai
135ed98a86 chore: update coolify version to 4.0.0-beta.426 and nightly version to 4.0.0-beta.427 2025-08-28 13:31:10 +02:00
Andras Bacsai
c156d5c705 chore: update coolify version to 4.0.0-beta.425 and nightly version to 4.0.0-beta.426 2025-08-28 09:50:16 +02:00
Andras Bacsai
4024d7f59b chore: update coolify version to 4.0.0-beta.424 and nightly version to 4.0.0-beta.425 2025-08-27 18:42:22 +02:00
Andras Bacsai
6249263f51 chore: update coolify version to 4.0.0-beta.423 and nightly version to 4.0.0-beta.424 2025-08-27 17:24:22 +02:00
peaklabs-dev
8d1c75ebff
chore: update version 2025-08-27 15:18:22 +02:00
Andras Bacsai
e41730a209 chore(versions): update coolify version to 4.0.0-beta.421 and nightly version to 4.0.0-beta.422 2025-08-26 19:23:23 +02:00
peaklabs-dev
6b54432f9c
chore(core): update version 2025-08-26 18:44:09 +02:00
peaklabs-dev
6ad05d3625
Update constants.php 2025-08-26 18:20:41 +02:00
peaklabs-dev
2099d88f08
chore(core): update version 2025-08-26 18:09:08 +02:00
Andras Bacsai
c1e0548a78 chore(versions): update coolify version to 4.0.0-beta.420.8 and nightly version to 4.0.0-beta.420.9 in versions.json and constants.php 2025-08-26 16:19:46 +02:00
Andras Bacsai
ee502b9f76 feat(email): implement email change request and verification process
- Added functionality for users to request an email change, including generating a verification code and setting an expiration time.
- Implemented methods in the User model to handle email change requests, code validation, and confirmation.
- Created a new job to update the user's email in Stripe after confirmation.
- Introduced rate limiting for email change requests and verification attempts to prevent abuse.
- Added a new notification for email change verification.
- Updated the profile component to manage email change requests and verification UI.
2025-08-18 14:54:08 +02:00
Andras Bacsai
b237035051 fix(constants): update official service template URL to point to the v4.x branch for accuracy 2025-08-13 18:51:15 +02:00
Andras Bacsai
39f25573bf refactor(templates): update service template file handling to use dynamic file name from constants 2025-08-12 10:06:19 +02:00
Andras Bacsai
c3a100730c fix(constants): update coolify version to 4.0.0-beta.420.7 2025-08-12 10:06:19 +02:00
Andras Bacsai
cbd2c88cb4 fix(constants): update 'Change Log' to 'Changelog' in settings dropdown 2025-08-12 10:06:19 +02:00
Andras Bacsai
0e7cc988a6 feat(user): add changelog read tracking and unread count method 2025-08-12 10:06:19 +02:00
🏔️ Peak
d736b3e8b7
feat(queues): improve Horizon config to reduce CPU and RAM usage (#6212) 2025-07-18 19:17:28 +02:00
peaklabs-dev
5fd8fec172
chore(versions): update all version 2025-07-18 18:57:43 +02:00
Andras Bacsai
80fae306e6 feat(scheduling): introduce ScheduledJobManager and ServerResourceManager for enhanced job scheduling and resource management 2025-07-12 14:44:44 +02:00
Andras Bacsai
b08c6b5b33 fix(horizon): update queue configuration to use environment variable for dynamic queue management 2025-07-12 14:04:01 +02:00
Andras Bacsai
e672011312 fix(versions): update coolify version numbers in versions.json and constants.php to 4.0.0-beta.420.6 and 4.0.0-beta.420.7 2025-07-11 15:11:00 +02:00
Andras Bacsai
36fe235bea feat(logging): implement scheduled logs command and enhance backup/task scheduling with cron checks 2025-07-11 15:10:55 +02:00
Andras Bacsai
ab19bad9d9 fix(versions): update coolify version numbers in versions.json and constants.php to 4.0.0-beta.420.5 and 4.0.0-beta.420.6 2025-07-08 21:03:14 +02:00
Andras Bacsai
13412262d2 chore(versions): update coolify and nightly versions to 4.0.0-beta.420.4 and 4.0.0-beta.420.5 respectively 2025-07-07 10:26:45 +02:00
Andras Bacsai
a88edb650d chore(versions): bump coolify and nightly versions to 4.0.0-beta.420.3 and 4.0.0-beta.420.4 respectively 2025-07-03 16:42:26 +02:00
Andras Bacsai
5c59b5ea5f chore(versions): update Coolify versions to 4.0.0-beta.420.2 and 4.0.0-beta.420.3 in multiple files 2025-06-30 09:57:08 +02:00
Andras Bacsai
b234bfb9a0 chore(versions): update Coolify version to 4.0.0-beta.420.1 and add new services (karakeep, miniflux, pingvinshare) to service templates 2025-06-26 18:00:02 +02:00
peaklabs-dev
04aec48495
refactor(core): rename API rate limit ENV 2025-06-18 15:23:44 +02:00
🏔️ Peak
e9f977443f
Merge branch 'v4.x' into next 2025-06-18 15:21:08 +02:00
Alfred Nutile
e0f16e9539
feat(core): set custom API rate limit (#5984) 2025-06-18 15:19:33 +02:00
Hauke Schnau
1968d4d494
feat(auth): add Zitadel OAuth Provider (#5490) 2025-06-18 14:35:54 +02:00
Yassir Elmarissi
a77bd88258
feat(auth): Add Clerk OAuth Provider (#5553) 2025-06-18 14:29:46 +02:00
Andras Bacsai
0ab59e3ccd chore(version): update coolify version to 4.0.0-beta.420 and nightly version to 4.0.0-beta.421 2025-06-18 13:02:21 +02:00
Andras Bacsai
f7d6aa850b fix(terminal): Terminal through Cloudflare tunnel works?!
fix(dependencies): update realtime version to 1.0.9 and cloudflared version to 2025.5.0; enhance SSH argument parsing in terminal-server.js
2025-05-30 17:50:06 +02:00
peaklabs-dev
24885164cb
chore(versions): update version to 4.0.0-beta.419 2025-05-14 14:48:48 +02:00
Andras Bacsai
48bc4dc434 chore(versions): update coolify version to 4.0.0-beta.418 2025-05-08 21:35:07 +02:00
Andras Bacsai
64269cd7c9 chore(versions): update coolify version to 4.0.0-beta.417 and nightly version to 4.0.0-beta.418 2025-05-07 14:43:07 +02:00
Andras Bacsai
1f7f267d60 chore(versions): update coolify version to 4.0.0-beta.416 and nightly version to 4.0.0-beta.417 in configuration files; fix links in deployment view 2025-04-29 11:02:36 +02:00
Andras Bacsai
d47946a0ad fix(ui): Disable livewire navigate feature (causing spam of setInterval()) 2025-04-29 09:04:24 +02:00
Andras Bacsai
8efcaf642a chore(versions): update coolify version to 4.0.0-beta.414 and nightly version to 4.0.0-beta.415 in configuration files 2025-04-28 10:55:34 +02:00
Andras Bacsai
f5cc272861 fix(terminal): enhance WebSocket client verification with authorized IPs in terminal server 2025-04-25 15:35:23 +02:00
Andras Bacsai
2083ec1c0d chore(versions): update coolify version to 4.0.0-beta.413 and nightly version to 4.0.0-beta.414 in configuration files 2025-04-25 10:25:54 +02:00
Andras Bacsai
09b10073b8 chore(versions): update coolify version to 4.0.0-beta.412 and nightly version to 4.0.0-beta.413 in configuration files 2025-04-23 14:17:13 +02:00
Andras Bacsai
80b96b1f85 chore(versions): update coolify version to 4.0.0-beta.411 and nightly version to 4.0.0-beta.412 in configuration files 2025-04-23 13:47:57 +02:00
Andras Bacsai
786271d7be chore(versions): bump coolify version to 4.0.0-beta.410 and update nightly version to 4.0.0-beta.411 in configuration files 2025-04-16 11:29:36 +02:00
Andras Bacsai
2e3d7ad23b chore(versions): bump coolify version to 4.0.0-beta.409 in configuration files 2025-04-15 18:29:49 +02:00
Andras Bacsai
77c8ed769b chore(deps): update axios and dotenv versions in package-lock.json; bump realtime version to 1.0.7 2025-04-14 14:30:57 +02:00
Andras Bacsai
324e0d1cd8 feat(CleanupDocker): add support for realtime image management in Docker cleanup process 2025-04-10 18:20:46 +02:00
Andras Bacsai
e8ff21b3ca chore(versions): bump version to 408 for coolify and 409 for nightly 2025-04-10 16:20:41 +02:00
Andras Bacsai
96929603eb chore(versions): bump version to 407 and 408 for coolify and nightly 2025-04-06 21:13:03 +02:00
Andras Bacsai
c74cb45a32 chore(versions): bump version to 406 2025-04-05 12:39:10 +02:00
peaklabs-dev
0e5122ede9
chore(versions): bump version to 405 2025-04-03 14:01:56 +02:00
Andras Bacsai
c8e95d2150 chore(versions): bump version to 404 2025-04-03 09:50:25 +02:00
Andras Bacsai
ab63797db4 chore(versions): update coolify version numbers to 4.0.0-beta.403 and 4.0.0-beta.404 2025-04-01 11:08:07 +02:00
peaklabs-dev
03b0ee59f6
feat(dep): bump all dependencies 2025-03-31 18:50:42 +02:00
peaklabs-dev
04349d9b05
chore(core): remove redocs
- It is not well maintained (no Laravel 12 Support) and does not work anyway.
2025-03-31 18:33:52 +02:00
Andras Bacsai
dd345d5ac7 chore(versions): update version numbers for coolify and nightly 2025-03-28 22:45:09 +01:00
Andras Bacsai
ac7922ca44 refactor(versions): update version numbers for coolify and nightly 2025-03-27 10:48:30 +01:00
Andras Bacsai
6dcb5463cb chore(versions): update version numbers for coolify and nightly 2025-03-25 12:33:56 +01:00
Andras Bacsai
3f9fd1404b refactor(docker): update image references to use centralized registry URL 2025-03-25 08:17:13 +01:00
Andras Bacsai
e891318396 refactor(configuration): centralize configuration management in ConfigurationRepository 2025-03-24 21:01:27 +01:00
Andras Bacsai
e7e0cb6666
Merge pull request #5162 from notm1ke/main
feat(oauth): Add support for configuring and passing hd parameter to Google
2025-03-10 19:25:18 +01:00
Andras Bacsai
c9939a438b version: Bump Coolify to 4.0.0-beta.400 2025-03-10 11:13:30 +01:00
Andras Bacsai
ebcc6508af version: Bump Coolify to 4.0.0-beta.398 2025-03-01 12:10:20 +01:00
Andras Bacsai
8292961a6c version++ 2025-02-28 13:41:17 +01:00
Andras Bacsai
53dba89599 fix(mail): Set default mailer to array when not specified 2025-02-27 12:56:44 +01:00
Andras Bacsai
64f44f3f8b fix(config): Update default PostgreSQL host to coolify-db instead of postgres 2025-02-27 11:56:51 +01:00
Andras Bacsai
27e4882d57 feat(core): You can validate compose files with docker compose config
fix(core): labels are now accepted with both compose styles
refactor: remove lots of ray's
2025-02-27 11:29:04 +01:00
peaklabs-dev
044abb0d6f
chore: bump helper and realtime version 2025-02-24 18:36:54 +01:00
Andras Bacsai
b0853046c2 chore: bump Coolify version to 4.0.0-beta.396 2025-02-22 13:31:45 +01:00
Andras Bacsai
09133d7d46 chore: bump Coolify version to 4.0.0-beta.395 2025-02-22 12:50:56 +01:00
Andras Bacsai
ac62d94b99 chore: bump Coolify version to 4.0.0-beta.394 2025-02-17 09:52:03 +01:00