Skip to content

Commit 73877ac

Browse files
authored
Merge branch 'main' into advanced-component-group-ordering
2 parents e03bdf7 + d4588d0 commit 73877ac

52 files changed

Lines changed: 735 additions & 79 deletions

Some content is hidden

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

.github/workflows/build-api-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: |
3131
composer config repositories.scramble-pro '{"type": "composer", "url": "https://satis.dedoc.co"}'
3232
composer config http-basic.satis.dedoc.co ${{ secrets.SCRAMBLE_USERNAME }} ${{ secrets.SCRAMBLE_KEY }}
33-
composer require dedoc/scramble-pro:0.7.0-alpha.1 --dev
33+
composer require dedoc/scramble-pro:^0.7.4 --dev
3434
3535
- name: Checkout documentation repository
3636
uses: actions/checkout@v4

.github/workflows/run-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
php-version: ${{ matrix.php }}
3232
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
33-
coverage: none
33+
coverage: xdebug
3434

3535
- name: Install dependencies
3636
run: |
@@ -73,7 +73,7 @@ jobs:
7373
with:
7474
php-version: ${{ matrix.php }}
7575
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
76-
coverage: none
76+
coverage: xdebug
7777

7878
- name: Install dependencies
7979
run: |
@@ -130,7 +130,7 @@ jobs:
130130
with:
131131
php-version: ${{ matrix.php }}
132132
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
133-
coverage: none
133+
coverage: xdebug
134134

135135
- name: Install dependencies
136136
run: |
@@ -187,7 +187,7 @@ jobs:
187187
with:
188188
php-version: ${{ matrix.php }}
189189
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
190-
coverage: none
190+
coverage: xdebug
191191

192192
- name: Install dependencies
193193
run: |
@@ -244,7 +244,7 @@ jobs:
244244
with:
245245
php-version: ${{ matrix.php }}
246246
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
247-
coverage: none
247+
coverage: xdebug
248248

249249
- name: Install dependencies
250250
run: |
@@ -289,7 +289,7 @@ jobs:
289289
with:
290290
php-version: ${{ matrix.php }}
291291
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
292-
coverage: none
292+
coverage: xdebug
293293

294294
- name: Install dependencies
295295
run: |

composer.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@
4141
"twig/twig": "^3.0"
4242
},
4343
"require-dev": {
44-
"dedoc/scramble": "0.12.0-alpha.1",
45-
"larastan/larastan": "^3.0",
44+
"dedoc/scramble": "^0.12.11",
45+
"larastan/larastan": "^3.4",
4646
"laravel/pail": "^1.1",
47+
"laravel/pint": "^1.21",
4748
"orchestra/testbench": "^9.5.1",
4849
"pestphp/pest": "^3.2",
4950
"pestphp/pest-plugin-laravel": "^3.0",
50-
"pestphp/pest-plugin-livewire": "*"
51+
"pestphp/pest-plugin-livewire": "*",
52+
"pestphp/pest-plugin-type-coverage": "^3.3"
5153
},
5254
"minimum-stability": "dev",
5355
"prefer-stable": true,
@@ -102,6 +104,13 @@
102104
"start": [
103105
"@dev"
104106
],
105-
"test": "vendor/bin/pest"
107+
"test:lint": [
108+
"pint --test"
109+
],
110+
"test:unit": "pest --parallel --processes=10 --ci --coverage --compact",
111+
"test": [
112+
"@test:lint",
113+
"@test:unit"
114+
]
106115
}
107116
}

config/cachet.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777
'api',
7878
],
7979

80+
'trusted_proxies' => env('CACHET_TRUSTED_PROXIES', ''),
81+
8082
/*
8183
|--------------------------------------------------------------------------
8284
| Cachet API Rate Limit (attempts per minute)
@@ -142,6 +144,7 @@
142144
'de_CH' => 'Deutsch (CH)',
143145
'en' => 'English',
144146
'en_GB' => 'English (UK)',
147+
'es_ES' => 'Spanish (ES)',
145148
'nl' => 'Nederlands',
146149
'pt_BR' => 'Português (BR)',
147150
'zh_CN' => '简体中文',
@@ -160,6 +163,16 @@
160163
*/
161164
'demo_mode' => env('CACHET_DEMO_MODE', false),
162165

166+
/*
167+
|--------------------------------------------------------------------------
168+
| Cachet Blog Feed
169+
|--------------------------------------------------------------------------
170+
|
171+
| This is the URI to the Cachet blog feed. This is used to display
172+
| the latest blog posts on the status page. By default, this is
173+
| set to the public Cachet blog feed.
174+
|
175+
*/
163176
'feed' => [
164177
'uri' => env('CACHET_FEED_URI', 'https://blog.cachethq.io/rss'),
165178
'cache' => env('CACHET_FEED_CACHE', 3600),
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
return new class extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*/
12+
public function up(): void
13+
{
14+
Schema::table('users', function (Blueprint $table) {
15+
$table->string('preferred_locale')->nullable()->default('en')->change();
16+
});
17+
}
18+
19+
/**
20+
* Reverse the migrations.
21+
*/
22+
public function down(): void
23+
{
24+
Schema::table('users', function (Blueprint $table) {
25+
$table->string('preferred_locale')->nullable()->default(null)->change();
26+
});
27+
}
28+
};

package-lock.json

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

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
</source>
1414
<php>
1515
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
16+
<env name="NIGHTWATCH_ENABLED" value="false"/>
1617
</php>
1718
</phpunit>
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"resources/css/cachet.css": {
3-
"file": "assets/cachet-BXLEFZKk.css",
3+
"file": "assets/cachet-DLsIp4L3.css",
44
"src": "resources/css/cachet.css",
55
"isEntry": true
66
},
77
"resources/css/dashboard/theme.css": {
8-
"file": "assets/theme-CYlkUfJB.css",
8+
"file": "assets/theme-DIwmyXTE.css",
99
"src": "resources/css/dashboard/theme.css",
1010
"isEntry": true
1111
},

0 commit comments

Comments
 (0)