Skip to content

Commit

Permalink
Merge branch '4.x' into feature/localizable-taxonomy-routes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell authored Dec 13, 2023
2 parents 7eb1c85 + a2722ad commit 46b1119
Show file tree
Hide file tree
Showing 396 changed files with 8,127 additions and 1,338 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ body:
label: Antlers Parser
description: If using 3.3+, which Antlers Parser are you using?
options:
- regex (default)
- runtime (new)
- Runtime (default)
- Regex (legacy)
validations:
required: false
- type: textarea
Expand Down
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
First of all, thank _you_ 🫵 for taking the time to contribute to Statamic, we really appreciate it! 💜

Please take 30 seconds to read the following so we can be as efficient as possible when reviewing and considering merging PRs:

1️⃣ Is this your first PR? If so, please read our [contribution guide](https://statamic.dev/contribution-guide) first.

2️⃣ Please make sure to create a new branch for your PR.

3️⃣ Typically you should target the branch of the most current release, e.g. `4.x`, unless your PR includes a breaking change, in which case you should target the `master` branch for the next major release.

4️⃣ We _really_ appreciate it if your PR includes tests. This makes it much easier for us to review, merge, and release. A PR with tests is usually reviewed and merged 5x-10x faster.

5️⃣ If your PR introduce a new feature, adds to an existing one, or changes current behavior, please **open an issue for it in the [statamic/docs](https://github.com/statamic/docs/issues) repo referencing your PR**. A simple "Goes along with statamic/cms#9000" is enough. Otherwise it's really easy to forget and no will ever become aware of your ✨ sparkling ✨ invention if it's not documented.
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
308 changes: 308 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ We welcome new translations and updates! Please follow [these instructions](http

Pull requests should clearly describe the problem and solution. Include the relevant issue number if there is one. If the pull request fixes a bug, it should include a new test case that demonstrates the issue, if possible.

Creating a pull request that introduces a new feature or changes current behavior? Please open an issue referencing your PR in the [statamic/docs](https://github.com/statamic/docs/issues) repo. No need to write the docs yourself. We'll take care of that for you. Any hints or bullet points are appreciated though!

PR titles should include the major version number they're targeted at — e.g. [4.x] or [3.x].

<br>
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
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' => [],

];
28 changes: 11 additions & 17 deletions config/forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +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' => ',',

/*
|--------------------------------------------------------------------------
| CSV Export Headings
|--------------------------------------------------------------------------
|
| The values to be used in the csv export header rows.
| Can be the field handle or the field display text.
|
| Supported values: "handle", "display"
|
*/

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

];
125 changes: 63 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions resources/css/components/fieldtypes/bard.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
}

.bard-editor .bard-invalid {
.bard-editor .bard-error {
@apply p-2 @lg:px-4 bg-red-100 text-red-500 text-xs whitespace-nowrap;
}

Expand Down Expand Up @@ -465,7 +465,7 @@
}

p > code {
@apply font-mono bg-gray-400 rounded-sm text-xs relative;
@apply font-mono bg-gray-400 rounded-sm text-xs;
padding: 2px 4px;
top: -1px;
}
Expand Down
4 changes: 4 additions & 0 deletions resources/css/components/fieldtypes/replicator.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
@apply flex items-center;
}

.replicator-set-header-inner {
min-height: 32px;
}

&.invalid {
.replicator-set-header-inner {
@apply bg-red-100;
Expand Down
Loading

0 comments on commit 46b1119

Please sign in to comment.