Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
AzGasim authored and github-actions[bot] committed Jan 15, 2025
1 parent 0b686e7 commit c184b94
Show file tree
Hide file tree
Showing 53 changed files with 120 additions and 120 deletions.
6 changes: 3 additions & 3 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ protected function schedule(Schedule $schedule)
{
$schedule->command('moox:batchjob')->daily();
$schedule->command('moox:demojob')->hourly();
//$schedule->command('moox:failjob')->cron('0 */3 * * *'); // Every 3 minutes
//$schedule->command('moox:longjob')->cron('0 */45 * * *'); // Every 45 minutes
//$schedule->command('moox:timeoutjob')->cron('0 */20 * * *'); // Every 20 minutes
// $schedule->command('moox:failjob')->cron('0 */3 * * *'); // Every 3 minutes
// $schedule->command('moox:longjob')->cron('0 */45 * * *'); // Every 45 minutes
// $schedule->command('moox:timeoutjob')->cron('0 */20 * * *'); // Every 20 minutes
}

/**
Expand Down
2 changes: 1 addition & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class User extends Authenticatable implements FilamentUser
public function canAccessPanel(Panel $panel): bool
{
// TODO: Implement roles and permissions.
//return $this->hasAnyRole(['super_admin', 'filament_user']);
// return $this->hasAnyRole(['super_admin', 'filament_user']);
return true;
}
}
12 changes: 6 additions & 6 deletions app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function panel(Panel $panel): Panel
->passwordReset(RequestPasswordReset::class)
->login(Login::class)
// TODO: check this
//->authGuard('admin')
// ->authGuard('admin')
->brandLogo(asset('img/logo.png'))
->brandLogoHeight('1.6rem')
->colors([
Expand Down Expand Up @@ -70,9 +70,9 @@ public function panel(Panel $panel): Panel
GravatarPlugin::make(),
\Moox\Audit\AuditPlugin::make(),
\Moox\Locate\AreaPlugin::make(),
//\Moox\Locate\CountryPlugin::make(),
//\Moox\Locate\LanguagePlugin::make(),
//\Moox\Locate\TimezonePlugin::make(),
// \Moox\Locate\CountryPlugin::make(),
// \Moox\Locate\LanguagePlugin::make(),
// \Moox\Locate\TimezonePlugin::make(),

// Builder plugin
\Moox\Builder\SimpleTaxonomyPlugin::make(),
Expand All @@ -99,8 +99,8 @@ public function panel(Panel $panel): Panel
\Moox\Jobs\JobsBatchesPlugin::make(),

// Sync Plugins
//\Moox\Sync\SyncPlugin::make(),
//\Moox\Sync\PlatformPlugin::make(),
// \Moox\Sync\SyncPlugin::make(),
// \Moox\Sync\PlatformPlugin::make(),

// User plugins
\Moox\User\UserPlugin::make(),
Expand Down
4 changes: 2 additions & 2 deletions app/Providers/Filament/PressPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ public function panel(Panel $panel): Panel
\Moox\Jobs\JobsBatchesPlugin::make(),

// Sync Plugins
//\Moox\Sync\SyncPlugin::make(),
//\Moox\Sync\PlatformPlugin::make(),
// \Moox\Sync\SyncPlugin::make(),
// \Moox\Sync\PlatformPlugin::make(),

// User plugins
\Moox\Press\WpUserPlugin::make(),
Expand Down
4 changes: 2 additions & 2 deletions config/permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
/*
* Change this if you want to name the related pivots other than defaults
*/
'role_pivot_key' => null, //default 'role_id',
'permission_pivot_key' => null, //default 'permission_id',
'role_pivot_key' => null, // default 'role_id',
'permission_pivot_key' => null, // default 'permission_id',

/*
* Change this if you want to name the related model primary key other than
Expand Down
2 changes: 1 addition & 1 deletion config/press.php
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@
'user_registered' => now()->toDateTimeString(),
'user_status' => '0',
// TODO: suppress errors for first and last name
//'display_name' => $first_name.' '.$last_name ?? $user_login ?? '',
// 'display_name' => $first_name.' '.$last_name ?? $user_login ?? '',
],

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function up(): void
{
Schema::create('taggables', function (Blueprint $table) {
$table->id();
$table->foreignId('tag_id')->constrained()->onDelete('cascade'); //????????
$table->foreignId('tag_id')->constrained()->onDelete('cascade'); // ????????
$table->morphs('taggable');
$table->timestamps();
});
Expand Down
4 changes: 2 additions & 2 deletions packages/audit/src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ public function registerPluginInPanelProvider(): void
$panelsToregister = $this->getPanelProviderPath();
if ($panelsToregister != null) {
if (is_array($panelsToregister)) {
//Multiselect
// Multiselect
foreach ($panelsToregister as $panelprovider) {
$this->registerPlugins($providerPath.'/'.$panelprovider);
}
} else {
//only one
// only one
$this->registerPlugins($panelsToregister);
}
} else {
Expand Down
4 changes: 2 additions & 2 deletions packages/builder/src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ public function registerPluginInPanelProvider(): void
$panelsToregister = $this->getPanelProviderPath();
if ($panelsToregister != null) {
if (is_array($panelsToregister)) {
//Multiselect
// Multiselect
foreach ($panelsToregister as $panelprovider) {
$this->registerPlugins($providerPath.'/'.$panelprovider);
}
} else {
//only one
// only one
$this->registerPlugins($panelsToregister);
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion packages/builder/src/Providers/BuilderPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function panel(Panel $panel): Panel
])
->discoverResources(in: app_path('Builder/Resources'), for: 'App\\Builder\\Resources')
->plugins([
//ExpiryPlugin::make(),
// ExpiryPlugin::make(),
])
->pages([
BuilderDashboard::class,
Expand Down
4 changes: 2 additions & 2 deletions packages/category/src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ public function registerPluginInPanelProvider(): void
$panelsToregister = $this->getPanelProviderPath();
if ($panelsToregister != null) {
if (is_array($panelsToregister)) {
//Multiselect
// Multiselect
foreach ($panelsToregister as $panelprovider) {
$this->registerPlugins($providerPath.'/'.$panelprovider);
}
} else {
//only one
// only one
$this->registerPlugins($panelsToregister);
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion packages/category/src/Resources/CategoryResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
use Moox\Core\Traits\Base\BaseInResource;
use Moox\Core\Traits\Tabs\TabsInResource;

//use Moox\Core\Forms\Components\TitleWithSlugInput;
// use Moox\Core\Forms\Components\TitleWithSlugInput;

class CategoryResource extends Resource
{
Expand Down
6 changes: 3 additions & 3 deletions packages/core/tests/Feature/ConfigApiTest.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

//it('will response with 200', function () {
// it('will response with 200', function () {
// $response = $this->get('/api/core');
//
// $response->assertStatus(200);
//});
// });
//
//arch('globals')
// arch('globals')
// ->expect(['dd', 'dump'])
// ->not->toBeUsed();
4 changes: 2 additions & 2 deletions packages/data-languages/src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ public function registerPluginInPanelProvider(): void
$panelsToregister = $this->getPanelProviderPath();
if ($panelsToregister != null) {
if (is_array($panelsToregister)) {
//Multiselect
// Multiselect
foreach ($panelsToregister as $panelprovider) {
$this->registerPlugins($providerPath.'/'.$panelprovider);
}
} else {
//only one
// only one
$this->registerPlugins($panelsToregister);
}
} else {
Expand Down
4 changes: 2 additions & 2 deletions packages/expiry/src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ public function registerPluginInPanelProvider(): void
$panelsToregister = $this->getPanelProviderPath();
if ($panelsToregister != null) {
if (is_array($panelsToregister)) {
//Multiselect
// Multiselect
foreach ($panelsToregister as $panelprovider) {
$this->registerPlugins($providerPath.'/'.$panelprovider);
}
} else {
//only one
// only one
$this->registerPlugins($panelsToregister);
}
} else {
Expand Down
12 changes: 6 additions & 6 deletions packages/jobs/resources/lang/de/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
'plural' => 'Jobs Batches',
'navigation_label' => 'Job Batches',
],
//general
// general
'breadcrumb' => 'Jobs',
'navigation_group' => 'Moox Jobs',
//used by multiple plugins
// used by multiple plugins
'id' => 'ID',
'failed_at' => 'Fehlgeschlagen am',
'delete' => 'Löschen',
Expand All @@ -36,18 +36,18 @@
'waiting' => 'Wartend',
'exception_message' => 'Exception message',
'created_at' => 'Erstellt am',
//jobs
// jobs
'status' => 'Status',
'running' => 'In Bearbeitung',
'succeeded' => 'Erfolgreich',
'progress' => 'Fortschritt',
//Jobswaiting
// Jobswaiting
'attempts' => 'Versuche',
'reserved_at' => 'Reserviert am',
'waiting_jobs' => 'Wartende Jobs',
'execution_time' => 'Gesamte Ausführungszeit',
'average_time' => 'Durchschnittliche Ausführungszeit',
//jobfailed
// jobfailed
'uuid' => 'Uuid',
'payload' => 'Warteschlange',
'connection' => 'Verbindung',
Expand All @@ -59,7 +59,7 @@
'delete_all_failed_jobs_notification' => 'Alle fehlgeschlagenen Jobs wurden gelöscht',
'jobs_pushed_back_notification' => 'Jobs sind wieder in der Warteschlange.',
'job_pushed_back_notification' => 'ist wieder zurück in der Warteschlange',
//jobbatches
// jobbatches
'canceled_at' => 'Abgebrochen am',
'failed_jobs' => 'Fehlgeschlagene Jobs',
'failed_job_id' => 'Fehlgeschlagener Job ID',
Expand Down
12 changes: 6 additions & 6 deletions packages/jobs/resources/lang/en/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
'navigation_label' => 'Job Batches',
],

//general
// general
'breadcrumb' => 'Moox Job',
'navigation_group' => 'Job Manager',

//used by multiple plugins
// used by multiple plugins
'id' => 'ID',
'failed_at' => 'Failed at',
'delete' => 'Delete',
Expand All @@ -39,20 +39,20 @@
'exception_message' => 'Exception message',
'created_at' => 'Created at',

//jobs
// jobs
'status' => 'Status',
'running' => 'Running',
'succeeded' => 'Succeeded',
'progress' => 'Progress',

//Jobswaiting
// Jobswaiting
'attempts' => 'Attempts',
'reserved_at' => 'Reserved at',
'waiting_jobs' => 'Total Jobs Waiting',
'execution_time' => 'Total Execution Time',
'average_time' => 'Average Execution Time',

//jobfailed
// jobfailed
'uuid' => 'Uuid',
'payload' => 'Queue',
'connection' => 'Connection',
Expand All @@ -65,7 +65,7 @@
'jobs_pushed_back_notification' => 'jobs have been pushed back onto the queue.',
'job_pushed_back_notification' => 'has been pushed back onto the queue.',

//jobbatches
// jobbatches
'canceled_at' => 'Canceled at',
'failed_jobs' => 'Failed Jobs',
'failed_job_id' => 'Failed Job id',
Expand Down
10 changes: 5 additions & 5 deletions packages/jobs/resources/lang/es/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
'plural' => 'Lotes de trabajos',
'navigation_label' => 'Lotes de trabajos',
],
//general
// general
'breadcrumb' => 'Trabajo en Moox',
'navigation_group' => 'Sistema',
//used by multiple plugins
// used by multiple plugins
'queue' => 'Cola',
'name' => 'Nombre',
'started_at' => 'Iniciado a las',
Expand All @@ -45,7 +45,7 @@
'delete' => 'Borrar',
'finished_at' => 'Completado en',
'exception_message' => 'Mensaje de excepción',
//jobfailed
// jobfailed
'uuid' => 'Identificador único universal (Uuid)',
'payload' => 'Cola',
'connection' => 'Conexión',
Expand All @@ -54,11 +54,11 @@
'delete_all_failed_jobs' => 'Se eliminaron todos los trabajos fallidos',
'delete_all_failed_jobs_notification' => 'Se han eliminado todos los trabajos fallidos.',
'jobs_pushed_back_notification' => 'Los trabajos han sido devueltos a la cola.',
//jobbatches
// jobbatches
'canceled_at' => 'Cancelado en',
'failed_jobs' => 'Trabajos fallidos',
'prune_batches_notification' => 'Todos los lotes han sido purgados.',
//used by multiple plugins
// used by multiple plugins
'id' => 'ID',
'failed_job_id' => 'ID del trabajo fallido',
'pending_jobs' => 'Trabajos pendientes',
Expand Down
12 changes: 6 additions & 6 deletions packages/jobs/resources/lang/hr/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
'plural' => '',
'navigation_label' => '',
],
//general
// general
'breadcrumb' => '',
'navigation_group' => '',
//used by multiple plugins
// used by multiple plugins
'id' => 'ID',
'failed_at' => 'Neuspjelo',
'delete' => 'Izbriši',
Expand All @@ -36,18 +36,18 @@
'waiting' => 'Čeka',
'exception_message' => 'Poruka za iznimku',
'created_at' => 'Stvoreno',
//jobs
// jobs
'status' => 'Stanje',
'running' => '',
'succeeded' => 'Uspjelo',
'progress' => 'Napredak',
//Jobswaiting
// Jobswaiting
'attempts' => 'Pokušaji',
'reserved_at' => 'Rezervirano',
'waiting_jobs' => '',
'execution_time' => 'Ukupno vrijeme izvršavanja',
'average_time' => 'Prosječno vrijeme izvršavanja',
//jobfailed
// jobfailed
'uuid' => 'Univerzalni jedinstveni identifikator (Uuid)',
'payload' => '',
'connection' => 'Veza',
Expand All @@ -59,7 +59,7 @@
'delete_all_failed_jobs_notification' => 'Svi neuspjeli poslovi su uklonjeni.',
'jobs_pushed_back_notification' => '',
'job_pushed_back_notification' => '',
//jobbatches
// jobbatches
'canceled_at' => 'Prekinuto',
'failed_jobs' => 'Neuspjeli poslovi',
'failed_job_id' => 'ID neuspjelog posla',
Expand Down
4 changes: 2 additions & 2 deletions packages/jobs/src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ public function registerPluginInPanelProvider(): void
$panelsToregister = $this->getPanelProviderPath();
if ($panelsToregister != null) {
if (is_array($panelsToregister)) {
//Multiselect
// Multiselect
foreach ($panelsToregister as $panelprovider) {
$this->registerPlugins($providerPath.'/'.$panelprovider);
}
} else {
//only one
// only one
$this->registerPlugins($panelsToregister);
}
} else {
Expand Down
Loading

0 comments on commit c184b94

Please sign in to comment.