Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/5.x' into feature/edit-image-s…
…izes # Conflicts: # core-bundle/contao/themes/flexible/basic.min.css # core-bundle/contao/themes/flexible/main.min.css # core-bundle/contao/themes/flexible/styles/basic.css # core-bundle/contao/widgets/ImageSize.php # core-bundle/public/entrypoints.json # core-bundle/public/manifest.json
- Loading branch information
Showing
897 changed files
with
14,976 additions
and
41,728 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Coverage | ||
|
||
on: | ||
pull_request: ~ | ||
push: | ||
branches: | ||
- 5.x | ||
tags: | ||
- '*' | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
coverage: | ||
name: Codecov | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib | ||
coverage: pcov | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install the dependencies | ||
run: composer install --no-interaction --no-progress | ||
|
||
- name: Generate the coverage report | ||
run: php -d pcov.enabled=1 vendor/bin/phpunit --testsuite=coverage --coverage-clover=clover.xml --colors=always | ||
|
||
- name: Upload the coverage report | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: ./clover.xml | ||
fail_ci_if_error: true | ||
token: 6ec51b7a-f2e6-4310-a60c-d2ee69ecd8ba |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Schedule | ||
|
||
on: | ||
schedule: | ||
- cron: 0 13 * * MON,THU | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
inspect: | ||
name: Isolated tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib | ||
coverage: none | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install the dependencies | ||
run: | | ||
composer install --no-interaction --no-progress | ||
composer bin isolated-tests install --no-interaction --no-progress | ||
- name: Run the unit tests | ||
run: vendor/bin/phpunit --extensions Contao\\CoreBundle\\Tests\\PhpunitExtension\\GlobalStateWatcher --colors=always | ||
|
||
- name: Run the unit tests isolated | ||
run: tools/isolated-tests/bin/run-tests-isolated --ansi | ||
|
||
windows: | ||
name: Windows | ||
runs-on: windows-latest | ||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib | ||
ini-values: memory_limit=1G | ||
coverage: none | ||
|
||
- name: Adjust the Git autocrlf setting | ||
run: git config --global core.autocrlf false | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Get the Composer cache directory | ||
id: composer-cache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
|
||
- name: Cache the dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
|
||
- name: Install the dependencies | ||
run: composer install --no-interaction --no-progress | ||
|
||
- name: Run the unit tests | ||
run: vendor/bin/phpunit.bat --colors=always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Split | ||
|
||
on: | ||
push: | ||
branches: | ||
- 5.x | ||
tags: | ||
- '*' | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
monorepo-split: | ||
name: Monorepo split | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
extensions: json, zlib | ||
coverage: none | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Cache the monorepo split | ||
uses: actions/cache@v1 | ||
with: | ||
path: .monorepo-split-cache | ||
key: dev-${GITHUB_REF##*/} | ||
|
||
- name: Install the dependencies | ||
run: composer global require contao/monorepo-tools:dev-main | ||
|
||
- name: Split the monorepo | ||
run: $HOME/.composer/vendor/bin/monorepo-tools split ${GITHUB_REF##*/} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.MONOREPO_SPLIT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,6 @@ | |
|
||
# CS fixer | ||
/.php_cs.cache | ||
|
||
# Ignore the symlinks required for upstream merging | ||
/*-bundle/src/Resources/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
[main] | ||
host = https://www.transifex.com | ||
type = XLIFF | ||
|
||
[calendar-bundle.v5_1-default] | ||
[o:contao:p:calendar-bundle:r:v5_1-default] | ||
file_filter = contao/languages/<lang>/default.xlf | ||
source_file = contao/languages/en/default.xlf | ||
source_lang = en | ||
file_filter = contao/languages/<lang>/default.xlf | ||
|
||
[calendar-bundle.v5_1-modules] | ||
[o:contao:p:calendar-bundle:r:v5_1-modules] | ||
file_filter = contao/languages/<lang>/modules.xlf | ||
source_file = contao/languages/en/modules.xlf | ||
source_lang = en | ||
file_filter = contao/languages/<lang>/modules.xlf | ||
|
||
[calendar-bundle.v5_1-tl_calendar] | ||
[o:contao:p:calendar-bundle:r:v5_1-tl_calendar] | ||
file_filter = contao/languages/<lang>/tl_calendar.xlf | ||
source_file = contao/languages/en/tl_calendar.xlf | ||
source_lang = en | ||
file_filter = contao/languages/<lang>/tl_calendar.xlf | ||
|
||
[calendar-bundle.v5_1-tl_calendar_events] | ||
[o:contao:p:calendar-bundle:r:v5_1-tl_calendar_events] | ||
file_filter = contao/languages/<lang>/tl_calendar_events.xlf | ||
source_file = contao/languages/en/tl_calendar_events.xlf | ||
source_lang = en | ||
file_filter = contao/languages/<lang>/tl_calendar_events.xlf | ||
|
||
[calendar-bundle.v5_1-tl_calendar_feed] | ||
[o:contao:p:calendar-bundle:r:v5_1-tl_calendar_feed] | ||
file_filter = contao/languages/<lang>/tl_calendar_feed.xlf | ||
source_file = contao/languages/en/tl_calendar_feed.xlf | ||
source_lang = en | ||
file_filter = contao/languages/<lang>/tl_calendar_feed.xlf | ||
|
||
[calendar-bundle.v5_1-tl_layout] | ||
[o:contao:p:calendar-bundle:r:v5_1-tl_layout] | ||
file_filter = contao/languages/<lang>/tl_layout.xlf | ||
source_file = contao/languages/en/tl_layout.xlf | ||
source_lang = en | ||
file_filter = contao/languages/<lang>/tl_layout.xlf | ||
|
||
[calendar-bundle.v5_1-tl_module] | ||
[o:contao:p:calendar-bundle:r:v5_1-tl_module] | ||
file_filter = contao/languages/<lang>/tl_module.xlf | ||
source_file = contao/languages/en/tl_module.xlf | ||
source_lang = en | ||
file_filter = contao/languages/<lang>/tl_module.xlf | ||
|
||
[calendar-bundle.v5_1-tl_user] | ||
[o:contao:p:calendar-bundle:r:v5_1-tl_user] | ||
file_filter = contao/languages/<lang>/tl_user.xlf | ||
source_file = contao/languages/en/tl_user.xlf | ||
source_lang = en | ||
file_filter = contao/languages/<lang>/tl_user.xlf | ||
|
||
[calendar-bundle.v5_1-tl_user_group] | ||
[o:contao:p:calendar-bundle:r:v5_1-tl_user_group] | ||
file_filter = contao/languages/<lang>/tl_user_group.xlf | ||
source_file = contao/languages/en/tl_user_group.xlf | ||
source_lang = en | ||
file_filter = contao/languages/<lang>/tl_user_group.xlf | ||
|
Oops, something went wrong.