Skip to content

Commit eeb46f6

Browse files
authored
Merge pull request #107 from NotFoundNL/develop
Version 0.10.0
2 parents 857b72c + b4d7c85 commit eeb46f6

39 files changed

+1908
-131
lines changed

.github/workflows/blade.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Fix Blade formatting
2+
3+
on: pull_request
4+
5+
jobs:
6+
format-blade:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v3
12+
13+
- name: Install NPM dependencies
14+
run: npm ci
15+
16+
- name: Run Blade Formatter
17+
run: node_modules/.bin/blade-formatter --write --sort-tailwindcss-classes --wrap-attributes=force-expand-multiline resources/**/*.blade.php
18+
19+
- name: Commit changes
20+
uses: stefanzweifel/git-auto-commit-action@v4
21+
with:
22+
commit_message: "style: Blade formatting"
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}

config/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
NotFound\Framework\Providers\RouteServiceProvider::class,
150150
NotFound\Framework\Providers\LogServiceProvider::class,
151151
NotFound\Framework\Providers\MigrationServiceProvider::class,
152+
NotFound\Framework\Providers\GlobalStringServiceProvider::class,
152153

153154
])->toArray(),
154155

config/support.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
// This file is published by the siteboss-framework package
4+
5+
return [
6+
/*
7+
|--------------------------------------------------------------------------
8+
| SiteBoss® Support Endpoint
9+
|--------------------------------------------------------------------------
10+
|
11+
| Here you may specify where support calls will be made to.
12+
| The calls are handled in SupportController.php
13+
| Leave this null to disable the support widget.
14+
*/
15+
'endpoint' => env('SUPPORT_ENDPOINT', null),
16+
17+
/*
18+
|--------------------------------------------------------------------------
19+
| Support API Key
20+
|--------------------------------------------------------------------------
21+
|
22+
| String will be sent in the Bearer header to the support endpoint.
23+
|
24+
*/
25+
'api_key' => env('SUPPORT_API_KEY', ''),
26+
];

lang/en/support.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
'description' => 'Beschrijf het probleem of stel je vraag.',
1212
'descriptionDescription' => 'Vergeet niet te vermelden op welke pagina het probleem optreedt, bij voorkeur kopieer je de hele URL.',
1313
'done' => 'We\'ve received your request. We\'ll contact you as soon as possible.',
14+
'no_endpoint' => 'For support please contact your supplier.',
1415
];
1516

1617
// TODO: translate

lang/nl/support.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
'description' => 'Beschrijf het probleem of stel je vraag.',
1212
'descriptionDescription' => 'Vergeet niet te vermelden op welke pagina het probleem optreedt, bij voorkeur kopieer je de hele URL.',
1313
'done' => 'Je aanvraag is ingediend. We nemen zo snel mogelijk contact met je op.',
14+
'no_endpoint' => 'Neem voor ondersteuning contact op met je leverancier.',
1415
];

0 commit comments

Comments
 (0)