-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4246 from coollabsio/next
v4.0.0-beta.368
- Loading branch information
Showing
133 changed files
with
12,131 additions
and
3,471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ | |
|
||
/.github export-ignore | ||
CHANGELOG.md export-ignore | ||
.styleci.yml export-ignore | ||
.styleci.yml export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,4 @@ scripts/load-test/* | |
.ignition.json | ||
.env.dusk.local | ||
docker/coolify-realtime/node_modules | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,24 @@ | |
|
||
## Supported Versions | ||
|
||
Use this section to tell people about which versions of your project are | ||
currently being supported with security updates. | ||
Currently supported, maintained and updated versions: | ||
|
||
| Version | Supported | | ||
| ------- | ------------------ | | ||
| > 4 | :white_check_mark: | | ||
| 3 | :x: | | ||
| Version | Supported | Support Status | | ||
| ------- | ------------------ | -------------- | | ||
| 4.x | :white_check_mark: | Active Development & Security Updates | | ||
| < 4.0 | :x: | End of Life (no security updates) | | ||
|
||
## Security Updates | ||
|
||
We take security seriously. Security updates are released as soon as possible after a vulnerability is discovered and verified. | ||
|
||
## Reporting a Vulnerability | ||
|
||
If you have any vulnerability please report at [email protected] | ||
If you discover a security vulnerability, please follow these steps: | ||
|
||
1. **DO NOT** disclose the vulnerability publicly. | ||
2. Send a detailed report to: `[email protected]`. | ||
3. Include in your report: | ||
- A description of the vulnerability | ||
- Steps to reproduce the issue | ||
- Potential impact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
namespace App\Actions\Application; | ||
|
||
use Laravel\Horizon\Contracts\JobRepository; | ||
use Lorisleiva\Actions\Concerns\AsAction; | ||
|
||
class IsHorizonQueueEmpty | ||
{ | ||
use AsAction; | ||
|
||
public function handle() | ||
{ | ||
$hostname = gethostname(); | ||
$recent = app(JobRepository::class)->getRecent(); | ||
if ($recent) { | ||
$running = $recent->filter(function ($job) use ($hostname) { | ||
$payload = json_decode($job->payload); | ||
$tags = data_get($payload, 'tags'); | ||
|
||
return $job->status != 'completed' && | ||
$job->status != 'failed' && | ||
isset($tags) && | ||
is_array($tags) && | ||
in_array('server:'.$hostname, $tags); | ||
}); | ||
if ($running->count() > 0) { | ||
echo 'false'; | ||
|
||
return false; | ||
} | ||
} | ||
echo 'true'; | ||
|
||
return true; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.