Skip to content

Commit e03bdf7

Browse files
authored
Merge branch 'main' into advanced-component-group-ordering
2 parents 14da1fd + c8a4484 commit e03bdf7

134 files changed

Lines changed: 2044 additions & 153 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/run-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
php: [8.3, 8.2]
18+
php: [8.4, 8.3, 8.2]
1919
laravel: [11.x]
2020
stability: [prefer-lowest, prefer-stable]
2121

@@ -58,7 +58,7 @@ jobs:
5858
strategy:
5959
fail-fast: false
6060
matrix:
61-
php: [8.3, 8.2]
61+
php: [8.4, 8.3, 8.2]
6262
laravel: [11.x]
6363
stability: [prefer-lowest, prefer-stable]
6464

@@ -115,9 +115,9 @@ jobs:
115115
strategy:
116116
fail-fast: false
117117
matrix:
118-
php: [ 8.3, 8.2 ]
119-
laravel: [ 11.x ]
120-
stability: [ prefer-lowest, prefer-stable ]
118+
php: [8.4, 8.3, 8.2]
119+
laravel: [11.x]
120+
stability: [prefer-lowest, prefer-stable]
121121

122122
name: Tests - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - PostgreSQL 13
123123

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ Cachet 3.x is currently in development and is not yet completely ready for produ
3333
- [x] Scheduled Maintenance
3434
- [x] Scheduled Maintenance Updates
3535
- [x] Components
36-
- [ ] Metrics
37-
- API and dashboard are working.
38-
- Frontend is in progress.
36+
- [x] Metrics
3937
- [ ] Subscribers
4038
- [x] API
4139
- Complete but may need some tweaks as we progress.
@@ -75,6 +73,7 @@ Login to the account at `/dashboard` and use credentials:
7573
<a href="https://dreamtilt.com.au"><img width="100px" src="https://github.com/dreamtilt.png" alt="Dreamtilt"></a>
7674
<a href="https://xyphen-it.nl"><img width="100px" src="https://github.com/xyphen-it.png" alt="Xyphen-IT"></a>
7775
<a href="https://coderabbit.ai/"><img width="100px" src="https://github.com/coderabbitai.png" alt="Code Rabbit"></a>
76+
<a href="https://scramble.dedoc.co/"><img width="100px" src="https://github.com/dedoc.png" alt="de:doc"></a>
7877
</p>
7978

8079
## Security Vulnerabilities

composer.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@
2020
},
2121
"require": {
2222
"php": "^8.2",
23+
"ext-simplexml": "*",
2324
"doctrine/dbal": "^3.6",
2425
"filament/filament": "^3.2.57",
2526
"filament/spatie-laravel-settings-plugin": "^3.2",
2627
"guzzlehttp/guzzle": "^7.8",
27-
"illuminate/console": "^11.23.0",
28-
"illuminate/database": "^11.23.0",
29-
"illuminate/events": "^11.23.0",
30-
"illuminate/queue": "^11.23.0",
31-
"illuminate/support": "^11.23.0",
28+
"illuminate/cache": "^11.35.0",
29+
"illuminate/console": "^11.35.0",
30+
"illuminate/database": "^11.35.0",
31+
"illuminate/events": "^11.35.0",
32+
"illuminate/queue": "^11.35.0",
33+
"illuminate/support": "^11.35.0",
3234
"laravel/sanctum": "^4.0",
3335
"nesbot/carbon": "^2.70",
3436
"spatie/laravel-data": "^4.11",

config/cachet.php

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
*/
7171
'middleware' => [
7272
'web',
73+
// \Cachet\Http\Middleware\AuthenticateRemoteUser::class,
7374
],
7475

7576
'api_middleware' => [
@@ -136,14 +137,32 @@
136137
|
137138
*/
138139
'supported_locales' => [
140+
'de' => 'Deutsch (DE)',
139141
'de_AT' => 'Deutsch (AT)',
140142
'de_CH' => 'Deutsch (CH)',
141-
'de_DE' => 'Deutsch (DE)',
142143
'en' => 'English',
143144
'en_GB' => 'English (UK)',
144-
'nl_NL' => 'Nederlands',
145+
'nl' => 'Nederlands',
145146
'pt_BR' => 'Português (BR)',
146147
'zh_CN' => '简体中文',
147148
'zh_TW' => '繁體中文',
149+
'ph' => 'Filipino',
148150
],
151+
152+
/*
153+
|--------------------------------------------------------------------------
154+
| Cachet Demo Mode
155+
|--------------------------------------------------------------------------
156+
|
157+
| Whether to run Cachet in demo mode. This will adjust some of the default
158+
| settings to allow Cachet to run in a demo environment.
159+
|
160+
*/
161+
'demo_mode' => env('CACHET_DEMO_MODE', false),
162+
163+
'feed' => [
164+
'uri' => env('CACHET_FEED_URI', 'https://blog.cachethq.io/rss'),
165+
'cache' => env('CACHET_FEED_CACHE', 3600),
166+
],
167+
149168
];

database/migrations/2024_10_13_214300_drop_schedule_status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function up()
2525
*/
2626
public function down()
2727
{
28-
Schema::table('incidents', function (Blueprint $table) {
28+
Schema::table('schedules', function (Blueprint $table) {
2929
$table->unsignedInteger('status')->unsigned()->default(0);
3030
});
3131
}

database/seeders/DatabaseSeeder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,13 @@ public function run(): void
6060
'completed_at' => now()->subHours(12),
6161
]);
6262

63+
/** @phpstan-ignore-next-line argument.type */
6364
tap(Schedule::create([
6465
'name' => 'Documentation Maintenance',
6566
'message' => 'We will be conducting maintenance on our documentation servers. You may experience degraded performance during this time.',
6667
'scheduled_at' => now()->addHours(24),
6768
'completed_at' => null,
69+
/** @phpstan-ignore-next-line argument.type */
6870
]), function (Schedule $schedule) use ($user) {
6971
$update = new Update([
7072
'message' => <<<'EOF'

package-lock.json

Lines changed: 47 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
"prettier-plugin-blade": "^2.0.0",
2323
"prettier-plugin-tailwindcss": "^0.5.11",
2424
"tailwindcss": "^3.4.13",
25-
"vite": "^5.0"
25+
"vite": "^5.4"
26+
},
27+
"dependencies": {
28+
"chart.js": "^4.4.7",
29+
"chartjs-adapter-moment": "^1.0.1"
2630
}
2731
}

phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ includes:
44

55
parameters:
66
level: 5
7+
reportUnmatchedIgnoredErrors: false
78

89
paths:
910
- src

public/build/assets/cachet-BXLEFZKk.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)