Skip to content

Commit

Permalink
fixes styling issues
Browse files Browse the repository at this point in the history
* StyleCI fixes

* update README and CHANGELOG
  • Loading branch information
jonnott authored Mar 27, 2024
1 parent d13a371 commit 776d9b4
Show file tree
Hide file tree
Showing 23 changed files with 232 additions and 216 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ This project follows [Semantic Versioning](CONTRIBUTING.md).

---

## v11.0.0 - 03/27/2024

- Add Laravel 11.x Support
- Update Change Log

## v10.0.0 - 03/17/2023

- Add Laravel 10.x Support
- Update Change Log

## v9.0.0 - 06/29/2022

- Add Laravel 9.x Support
- Update Change Log

## v8.0.0 - 10/30/2020

- Add Laravel 8.x Support
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Manage your `Laravel Schedule` from a pretty dashboard. Schedule your `Laravel C

| <span align="left">Laravel</span> | <span align="left">Totem</span> |
| :-------------------------------- | ------------------------------: |
| 11.x | 11.x |
| 10.x | 10.x |
| 9.x | 9.x |
| 8.x | 8.x |
| 7.x | 7.x |
Expand Down
252 changes: 126 additions & 126 deletions config/totem.php
Original file line number Diff line number Diff line change
@@ -1,217 +1,217 @@
<?php

return [
'frequencies' => [
'frequencies' => [
[
'label' => 'Every Minute',
'interval' => 'everyMinute',
'parameters' => false,
'label' => 'Every Minute',
'interval' => 'everyMinute',
'parameters' => false,
],
[
'label' => 'Every Five Minutes',
'interval' => 'everyFiveMinutes',
'parameters' => false,
'label' => 'Every Five Minutes',
'interval' => 'everyFiveMinutes',
'parameters' => false,
],
[
'label' => 'Every Ten Minutes',
'interval' => 'everyTenMinutes',
'parameters' => false,
'label' => 'Every Ten Minutes',
'interval' => 'everyTenMinutes',
'parameters' => false,
],
[
'label' => 'Every Thirty Minutes',
'interval' => 'everyThirtyMinutes',
'parameters' => false,
'label' => 'Every Thirty Minutes',
'interval' => 'everyThirtyMinutes',
'parameters' => false,
],
[
'label' => 'Hourly',
'interval' => 'hourly',
'parameters' => false,
'label' => 'Hourly',
'interval' => 'hourly',
'parameters' => false,
],
[
'label' => 'Hourly at',
'interval' => 'hourlyAt',
'parameters' => [
'label' => 'Hourly at',
'interval' => 'hourlyAt',
'parameters' => [
[
'label' => 'At',
'name' => 'at',
'type' => 'number',
'min' => '0',
'max' => '59',
'label' => 'At',
'name' => 'at',
'type' => 'number',
'min' => '0',
'max' => '59',
],
],
],
[
'label' => 'Daily',
'interval' => 'daily',
'parameters' => false,
'label' => 'Daily',
'interval' => 'daily',
'parameters' => false,
],
[
'label' => 'Daily at',
'interval' => 'dailyAt',
'parameters' => [
'label' => 'Daily at',
'interval' => 'dailyAt',
'parameters' => [
[
'label' => 'At',
'name' => 'at',
'type' => 'time',
'label' => 'At',
'name' => 'at',
'type' => 'time',
],
],
],
[
'label' => 'Twice Daily',
'interval' => 'twiceDaily',
'parameters' => [
'label' => 'Twice Daily',
'interval' => 'twiceDaily',
'parameters' => [
[
'label' => 'First',
'name' => 'at',
'type' => 'time',
'label' => 'First',
'name' => 'at',
'type' => 'time',
],
[
'label' => 'Second',
'name' => 'second_at',
'type' => 'time',
'label' => 'Second',
'name' => 'second_at',
'type' => 'time',
],
],
],
[
'label' => 'Weekly',
'interval' => 'weekly',
'parameters' => false,
'label' => 'Weekly',
'interval' => 'weekly',
'parameters' => false,
],
[
'label' => 'Weekly On',
'interval' => 'weeklyOn',
'parameters' => [
'label' => 'Weekly On',
'interval' => 'weeklyOn',
'parameters' => [
[
'label' => 'On',
'name' => 'on',
'type' => 'number',
'min' => '1',
'max' => '31',
'label' => 'On',
'name' => 'on',
'type' => 'number',
'min' => '1',
'max' => '31',
],
[
'label' => 'At',
'name' => 'at',
'type' => 'time',
'label' => 'At',
'name' => 'at',
'type' => 'time',
],
],
],
[
'label' => 'Monthly',
'interval' => 'monthly',
'parameters' => false,
'label' => 'Monthly',
'interval' => 'monthly',
'parameters' => false,
],
[
'label' => 'Monthly On',
'interval' => 'monthlyOn',
'parameters' => [
'label' => 'Monthly On',
'interval' => 'monthlyOn',
'parameters' => [
[
'label' => 'On',
'name' => 'on',
'type' => 'number',
'max' => '',
'label' => 'On',
'name' => 'on',
'type' => 'number',
'max' => '',
],
[
'label' => 'At',
'name' => 'at',
'type' => 'time',
'label' => 'At',
'name' => 'at',
'type' => 'time',
],
],
],
[
'label' => 'Twice Monthly',
'interval' => 'twiceMonthly',
'parameters' => [
'label' => 'Twice Monthly',
'interval' => 'twiceMonthly',
'parameters' => [
[
'label' => 'First',
'name' => 'on',
'type' => 'number',
'label' => 'First',
'name' => 'on',
'type' => 'number',
],
[
'label' => 'Second',
'name' => 'second_at',
'type' => 'text',
'label' => 'Second',
'name' => 'second_at',
'type' => 'text',
],
],
],
[
'label' => 'Quarterly',
'interval' => 'quarterly',
'parameters' => false,
'label' => 'Quarterly',
'interval' => 'quarterly',
'parameters' => false,
],
[
'label' => 'Yearly',
'interval' => 'yearly',
'parameters' => false,
'label' => 'Yearly',
'interval' => 'yearly',
'parameters' => false,
],
[
'label' => 'Weekdays',
'interval' => 'weekdays',
'parameters' => false,
'label' => 'Weekdays',
'interval' => 'weekdays',
'parameters' => false,
],
[
'label' => 'Every Sunday',
'interval' => 'sundays',
'parameters' => false,
'label' => 'Every Sunday',
'interval' => 'sundays',
'parameters' => false,
],
[
'label' => 'Every Monday',
'interval' => 'mondays',
'parameters' => false,
'label' => 'Every Monday',
'interval' => 'mondays',
'parameters' => false,
],
[
'label' => 'Every Tuesday',
'interval' => 'tuesdays',
'parameters' => false,
'label' => 'Every Tuesday',
'interval' => 'tuesdays',
'parameters' => false,
],
[
'label' => 'Every Wednesday',
'interval' => 'wednesdays',
'parameters' => false,
'label' => 'Every Wednesday',
'interval' => 'wednesdays',
'parameters' => false,
],
[
'label' => 'Every Thursday',
'interval' => 'thursdays',
'parameters' => false,
'label' => 'Every Thursday',
'interval' => 'thursdays',
'parameters' => false,
],
[
'label' => 'Every Friday',
'interval' => 'fridays',
'parameters' => false,
'label' => 'Every Friday',
'interval' => 'fridays',
'parameters' => false,
],
[
'label' => 'Every Saturday',
'interval' => 'saturdays',
'parameters' => false,
'label' => 'Every Saturday',
'interval' => 'saturdays',
'parameters' => false,
],
[
'label' => 'Between',
'interval' => 'between',
'parameters' => [
'label' => 'Between',
'interval' => 'between',
'parameters' => [
[
'label' => 'Start',
'name' => 'start',
'type' => 'time',
'label' => 'Start',
'name' => 'start',
'type' => 'time',
],
[
'label' => 'End',
'name' => 'end',
'type' => 'time',
'label' => 'End',
'name' => 'end',
'type' => 'time',
],
],
],
[
'label' => 'Unless Between',
'interval' => 'unlessBetween',
'parameters' => [
'label' => 'Unless Between',
'interval' => 'unlessBetween',
'parameters' => [
[
'label' => 'Start',
'name' => 'start',
'type' => 'time',
'label' => 'Start',
'name' => 'start',
'type' => 'time',
],
[
'label' => 'End',
'name' => 'end',
'type' => 'time',
'label' => 'End',
'name' => 'end',
'type' => 'time',
],
],
],
Expand Down
12 changes: 6 additions & 6 deletions database/factories/TotemResultFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ class TotemResultFactory extends Factory
public function definition()
{
return [
'task_id' => $this->faker->randomDigit,
'ran_at' => $this->faker->dateTimeBetween('-1 hour'),
'duration' => (string) $this->faker->randomFloat(11, 0, 8000000),
'result' => $this->faker->sentence,
'created_at' => $this->faker->dateTimeBetween('-1 year', '-6 months'),
'updated_at' => $this->faker->dateTimeBetween('-6 months'),
'task_id' => $this->faker->randomDigit,
'ran_at' => $this->faker->dateTimeBetween('-1 hour'),
'duration' => (string) $this->faker->randomFloat(11, 0, 8000000),
'result' => $this->faker->sentence,
'created_at' => $this->faker->dateTimeBetween('-1 year', '-6 months'),
'updated_at' => $this->faker->dateTimeBetween('-6 months'),
];
}
}
Loading

0 comments on commit 776d9b4

Please sign in to comment.