Skip to content

Commit

Permalink
Merge branch 'cachethq:main' into fix-filter-by-status
Browse files Browse the repository at this point in the history
  • Loading branch information
icecoldPHP authored Feb 8, 2025
2 parents 082d4c5 + 0319a17 commit b543ef6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 25 deletions.
4 changes: 2 additions & 2 deletions resources/lang/nl/component.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
'status' => [
'operational' => 'Functioneel',
'performance_issues' => 'Prestatieproblemen',
'partial_outage' => 'Gedeeltelijke mislukking',
'major_outage' => 'Ernstige mislukking',
'partial_outage' => 'Gedeeltelijke storing',
'major_outage' => 'Ernstige storing',
'unknown' => 'Onbekend',
],

Expand Down
2 changes: 1 addition & 1 deletion resources/lang/nl/incident.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'investigating' => 'Onderzoek',
'identified' => 'Geïdentificeerd',
'watching' => 'Observatie',
'fixed' => 'Vast',
'fixed' => 'Opgelost',
'reported' => 'Gerapporteerd',
],
'edit_button' => 'Incident bewerken',
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/nl/metric.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'list' => [
'headers' => [
'name' => 'Naam',
'suffix' => 'Suffix',
'suffix' => 'Achtervoegsel',
'default_value' => 'Standaardwaarde',
'calc_type' => 'Metrisch type',
'display_chart' => 'Diagram weergeven',
Expand All @@ -25,7 +25,7 @@
],
'form' => [
'name_label' => 'Name',
'suffix_label' => 'Suffix',
'suffix_label' => 'Achtervoegsel',
'description_label' => 'Beschrijving',
'default_view_label' => 'Standaard weergave',
'default_value_label' => 'Standaardwaarde',
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/nl/schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
'actions' => [
'record_update' => 'Update publiceren',
'complete' => 'Volledig onderhoud',
'complete' => 'Onderhoud afronden',
],
],
'form' => [
Expand All @@ -36,7 +36,7 @@
],
],
'status' => [
'upcoming' => 'Spoedig',
'upcoming' => 'Gepland',
'in_progress' => 'Actief',
'complete' => 'Voltooid',
],
Expand Down
16 changes: 0 additions & 16 deletions routes/console.php

This file was deleted.

8 changes: 6 additions & 2 deletions src/CachetCoreServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ private function registerBladeComponents(): void
private function registerCommands(): void
{
if ($this->app->runningInConsole()) {
$this->loadRoutesFrom(__DIR__.'/../routes/console.php');

$this->commands([
Commands\MakeUserCommand::class,
Commands\SendBeaconCommand::class,
Expand All @@ -196,8 +194,14 @@ private function registerSchedules(): void

$this->app->booted(function () {
$schedule = $this->app->make(\Illuminate\Console\Scheduling\Schedule::class);
$demoMode = fn () => Cachet::demoMode();

$schedule->command('cachet:beacon')->daily();

$schedule->command('db:seed', [
'--class' => \Cachet\Database\Seeders\DatabaseSeeder::class,
'--force' => true,
])->everyThirtyMinutes()->when($demoMode);
});
}

Expand Down

0 comments on commit b543ef6

Please sign in to comment.