Skip to content

Commit

Permalink
Merge branch '4.x' into pr/8516
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Nov 21, 2023
2 parents 337826c + d4bbe9c commit 02e8db9
Show file tree
Hide file tree
Showing 593 changed files with 15,786 additions and 2,025 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
php: [8.0, 8.1, 8.2]
php: [8.0, 8.1, 8.2, 8.3]
laravel: [9.*, 10.*]
stability: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]
Expand All @@ -29,6 +29,8 @@ jobs:
exclude:
- php: 8.0
laravel: 10.*
- php: 8.3
laravel: 9.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand All @@ -50,6 +52,7 @@ jobs:
tests
composer.json
phpunit.xml.dist
.github/workflows/tests.yml
**.php
- name: Determine whether tests should run
Expand All @@ -60,8 +63,7 @@ jobs:
- name: Update apt sources
if: steps.should-run-tests.outputs.result == 'true' && matrix.os == 'ubuntu-latest'
run: |
sudo gem install apt-spy2
sudo apt-spy2 fix --commit --launchpad --country=US
sudo apt-get check || sudo apt --fix-broken install -y
sudo apt-get update
- name: Install French Locale
Expand Down
484 changes: 484 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require": {
"ext-json": "*",
"ajthinking/archetype": "^1.0.3",
"composer/composer": "^1.10.22 || ^2.2.12",
"composer/composer": "^1.10.22 || ^2.2.22",
"facade/ignition-contracts": "^1.0",
"guzzlehttp/guzzle": "^6.3 || ^7.0",
"james-heinrich/getid3": "^1.9.21",
Expand Down Expand Up @@ -39,6 +39,7 @@
"require-dev": {
"fakerphp/faker": "~1.10",
"google/cloud-translate": "^1.6",
"laravel/pint": "^1.0",
"mockery/mockery": "^1.3.3",
"orchestra/testbench": "^7.0 || ^8.0",
"phpunit/phpunit": "^9.0"
Expand Down
12 changes: 12 additions & 0 deletions config/assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,16 @@

'lowercase' => true,

/*
|--------------------------------------------------------------------------
| Additional Uploadable Extensions
|--------------------------------------------------------------------------
|
| Statamic will only allow uploads of certain approved file extensions.
| If you need to allow more file extensions, you may add them here.
|
*/

'additional_uploadable_extensions' => [],

];
12 changes: 12 additions & 0 deletions config/cp.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,16 @@

'custom_css_url' => env('STATAMIC_CUSTOM_CSS_URL', null),

/*
|--------------------------------------------------------------------------
| Thumbnails
|--------------------------------------------------------------------------
|
| Here you may define additional CP asset thumbnail presets.
|
*/

'thumbnail_presets' => [
// 'medium' => 800,
],
];
14 changes: 11 additions & 3 deletions config/forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,21 @@

/*
|--------------------------------------------------------------------------
| CSV Export Delimiter
| Exporters
|--------------------------------------------------------------------------
|
| Statamic will use this character as delimiter for csv exports.
| Here you may define all the available form submission exporters.
| You may customize the options within each exporter's array.
|
*/

'csv_delimiter' => ',',
'exporters' => [
'csv' => [
'class' => Statamic\Forms\Exporters\CsvExporter::class,
],
'json' => [
'class' => Statamic\Forms\Exporters\JsonExporter::class,
],
],

];
13 changes: 13 additions & 0 deletions config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@

'enabled' => true,

/*
|--------------------------------------------------------------------------
| Enable Route Bindings
|--------------------------------------------------------------------------
|
| Whether route bindings for Statamic repositories (entry, taxonomy,
| collections, etc) are enabled for front end routes. This may be
| useful if you want to make your own custom routes with them.
|
*/

'bindings' => false,

/*
|--------------------------------------------------------------------------
| Action Route Prefix
Expand Down
5 changes: 5 additions & 0 deletions config/stache.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
'directory' => base_path('content/globals'),
],

'global-variables' => [
'class' => Stores\GlobalVariablesStore::class,
'directory' => base_path('content/globals'),
],

'asset-containers' => [
'class' => Stores\AssetContainersStore::class,
'directory' => base_path('content/assets'),
Expand Down
13 changes: 13 additions & 0 deletions config/system.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,17 @@

'update_references' => true,

/*
|--------------------------------------------------------------------------
| Row ID handle
|--------------------------------------------------------------------------
|
| Rows in Grid, Replicator, and Bard fields will be given a unique ID using
| the "id" field. You may need your own field named "id", in which case
| you may customize the handle of the field that Statamic will use.
|
*/

'row_id_handle' => 'id',

];
25 changes: 25 additions & 0 deletions config/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,18 @@
//
],

/*
|--------------------------------------------------------------------------
| Registration form honeypot field
|--------------------------------------------------------------------------
|
| When registering new users through the user:register_form tag,
| specify the field to act as a honeypot for bots
|
*/

'registration_form_honeypot_field' => null,

/*
|--------------------------------------------------------------------------
| User Wizard Invitation Email
Expand Down Expand Up @@ -138,4 +150,17 @@
'web' => 'web',
],

/*
|--------------------------------------------------------------------------
| Impersonation
|--------------------------------------------------------------------------
|
| Here you can configure if impersonation is available, and what URL to
| redirect to after impersonation begins
|
*/
'impersonate' => [
'enabled' => env('STATAMIC_IMPERSONATE_ENABLED', true),
'redirect' => env('STATAMIC_IMPERSONATE_REDIRECT', null),
],
];
Loading

0 comments on commit 02e8db9

Please sign in to comment.