-
-
Notifications
You must be signed in to change notification settings - Fork 784
implement jQuery-based app template using yiisoft/yii2-jquery extension.
#339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
680d937
implement jQuery-based app template using `yiisoft/yii2-jquery` exten…
terabytesoftw efd505f
Fix minor corrections.
terabytesoftw 9b261f6
Apply fixed Copilot review.
terabytesoftw 056aaba
Apply fixed Copilot review.
terabytesoftw 77d807b
Fix Build CI.
terabytesoftw 213e6f0
Apply fixed Copilot review.
terabytesoftw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,6 +1,44 @@ | ||
| # Ignore all test and documentation for archive | ||
| /.github export-ignore | ||
| /.gitattributes export-ignore | ||
| /.scrutinizer.yml export-ignore | ||
| /.travis.yml export-ignore | ||
| /docs export-ignore | ||
| # Autodetect text files | ||
| * text=auto eol=lf | ||
|
|
||
| # ...Unless the name matches the following overriding patterns | ||
|
|
||
| # Definitively text files | ||
| *.php text | ||
| *.css text | ||
| *.js text | ||
| *.txt text | ||
| *.md text | ||
| *.xml text | ||
| *.json text | ||
| *.bat text | ||
| *.sql text | ||
| *.yml text | ||
|
|
||
| # Ensure those won't be messed up with | ||
| *.png binary | ||
| *.jpg binary | ||
| *.gif binary | ||
| *.ttf binary | ||
|
|
||
| # Avoid merge conflicts in CHANGELOG | ||
| # https://about.gitlab.com/2015/02/10/gitlab-reduced-merge-conflicts-by-90-percent-with-changelog-placeholders/ | ||
| /CHANGELOG.md merge=union | ||
|
|
||
| # Exclude files from the archive | ||
| /.editorconfig export-ignore | ||
| /.gitattributes export-ignore | ||
| /.github export-ignore | ||
| /.gitignore export-ignore | ||
| /.styleci.yml export-ignore | ||
| /codeception.yml export-ignore | ||
| /composer-require-checker.json export-ignore | ||
| /docs export-ignore | ||
| /ecs.php export-ignore | ||
| /infection.json* export-ignore | ||
| /phpstan*.neon* export-ignore | ||
| /phpunit.xml.dist export-ignore | ||
| /psalm.xml export-ignore | ||
| /rector.php export-ignore | ||
| /runtime export-ignore | ||
| /tests export-ignore |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,15 @@ | ||
| --- | ||
| version: 2 | ||
| updates: | ||
| # Maintain dependencies for GitHub Actions | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
|
|
||
| # Maintain dependencies for Composer | ||
| - package-ecosystem: "composer" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| versioning-strategy: increase-if-necessary |
This file contains hidden or 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,32 +1,28 @@ | ||
| on: | ||
| pull_request: | ||
| paths-ignore: | ||
| - 'docs/**' | ||
| - 'README.md' | ||
| - 'CHANGELOG.md' | ||
| - '.gitignore' | ||
| - '.gitattributes' | ||
| - 'infection.json.dist' | ||
| - 'psalm.xml' | ||
| name: build | ||
|
|
||
| push: | ||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| pull_request: &ignore-paths | ||
| paths-ignore: | ||
| - 'docs/**' | ||
| - 'README.md' | ||
| - 'CHANGELOG.md' | ||
| - '.gitignore' | ||
| - '.gitattributes' | ||
| - 'infection.json.dist' | ||
| - 'psalm.xml' | ||
| - ".editorconfig" | ||
| - ".gitattributes" | ||
| - ".gitignore" | ||
| - "docker-compose.yml" | ||
| - "docs/**" | ||
| - "LICENSE" | ||
| - "README.md" | ||
|
|
||
| name: build | ||
| push: *ignore-paths | ||
|
|
||
| jobs: | ||
| build: | ||
| uses: yiisoft/actions/.github/workflows/codeception.yml@master | ||
| codeception: | ||
| uses: yiisoft/yii2-actions/.github/workflows/codeception.yml@master | ||
| secrets: | ||
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
| with: | ||
| extensions: dom, json, gd, imagick | ||
| os: >- | ||
| ['ubuntu-latest', 'windows-latest'] | ||
| php: >- | ||
| ['8.1', '8.2', '8.3', '8.4'] | ||
| codeception-command: vendor/bin/codecept run --env php-builtin --coverage-xml | ||
| coverage-file: tests/support/output/coverage.xml | ||
| extensions: dom, json, gd, imagick, pdo_sqlite | ||
| php-version: '["8.3","8.4","8.5"]' |
This file contains hidden or 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,23 @@ | ||
| --- | ||
| on: | ||
| pull_request: &ignore-paths | ||
| paths-ignore: | ||
| - ".editorconfig" | ||
| - ".gitattributes" | ||
| - ".gitignore" | ||
| - "docker-compose.yml" | ||
| - "docs/**" | ||
| - "LICENSE" | ||
| - "README.md" | ||
|
|
||
| push: *ignore-paths | ||
|
|
||
| name: Composer require checker | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| composer-require-checker: | ||
| uses: yiisoft/yii2-actions/.github/workflows/composer-require-checker.yml@master |
This file contains hidden or 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,42 @@ | ||
| name: docker | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| pull_request: &ignore-paths | ||
| paths-ignore: | ||
| - ".editorconfig" | ||
| - ".gitattributes" | ||
| - ".gitignore" | ||
| - "docs/**" | ||
| - "LICENSE" | ||
| - "README.md" | ||
|
|
||
| push: *ignore-paths | ||
|
|
||
| jobs: | ||
| apache: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout. | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Build and start containers. | ||
| run: docker compose up -d --build | ||
|
|
||
| - name: Fix permissions. | ||
| run: docker compose exec -T php bash -c "chown -R www-data:www-data /app/runtime /app/web/assets && chmod -R ug+rwX /app/runtime /app/web/assets" | ||
|
|
||
| - name: Install Node.js and npm. | ||
| run: docker compose exec -T php bash -c "apt-get update && apt-get install -y nodejs npm" | ||
|
|
||
| - name: Composer install. | ||
| run: docker compose exec -T php composer install --prefer-dist --no-progress --optimize-autoloader | ||
|
|
||
| - name: Codeception build. | ||
| run: docker compose exec -T php vendor/bin/codecept build | ||
|
|
||
| - name: Codeception tests. | ||
| run: docker compose exec -T php vendor/bin/codecept run | ||
This file contains hidden or 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,25 @@ | ||
| --- | ||
| on: | ||
| pull_request: &ignore-paths | ||
| paths-ignore: | ||
| - ".editorconfig" | ||
| - ".gitattributes" | ||
| - ".gitignore" | ||
| - "docker-compose.yml" | ||
| - "docs/**" | ||
| - "LICENSE" | ||
| - "README.md" | ||
|
|
||
| push: *ignore-paths | ||
|
|
||
| name: ecs | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| easy-coding-standard: | ||
| uses: yiisoft/yii2-actions/.github/workflows/ecs.yml@master | ||
| with: | ||
| php-version: '["8.3"]' |
This file contains hidden or 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,25 @@ | ||
| --- | ||
| on: | ||
| pull_request: &ignore-paths | ||
| paths-ignore: | ||
| - ".editorconfig" | ||
| - ".gitattributes" | ||
| - ".gitignore" | ||
| - "docker-compose.yml" | ||
| - "docs/**" | ||
| - "LICENSE" | ||
| - "README.md" | ||
|
|
||
| push: *ignore-paths | ||
|
|
||
| name: static analysis | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| phpstan: | ||
| uses: yiisoft/yii2-actions/.github/workflows/phpstan.yml@master | ||
| with: | ||
| hook: vendor/bin/codecept build |
This file contains hidden or 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,39 +1,52 @@ | ||
| # phpstorm project files | ||
| .idea | ||
|
|
||
| # netbeans project files | ||
| nbproject | ||
| # codecoverage (if present) | ||
| code_coverage | ||
|
|
||
| # zend studio for eclipse project files | ||
| .buildpath | ||
| .project | ||
| .settings | ||
| # codeception (if present) | ||
| c3.php | ||
| tests/Support/_generated | ||
| tests/Support/output | ||
|
|
||
| # windows thumbnail cache | ||
| Thumbs.db | ||
| # composer | ||
| composer.lock | ||
|
|
||
| # composer vendor dir | ||
| /vendor | ||
| # database | ||
| *.sqlite | ||
|
|
||
| # composer itself is not needed | ||
| composer.phar | ||
| # gitHub copilot config (if present) | ||
| .copilot/ | ||
| .github/copilot/** | ||
|
|
||
| # Mac DS_Store Files | ||
| # mac ds_store (if present) | ||
| .DS_Store | ||
|
|
||
| # phpunit itself is not needed | ||
| phpunit.phar | ||
| # local phpunit config | ||
| /phpunit.xml | ||
| # netbeans project (if present) | ||
| nbproject | ||
|
|
||
| tests/_output/* | ||
| tests/_support/_generated | ||
| # node_modules (if present) | ||
| node_modules | ||
| package-lock.json | ||
|
|
||
| #vagrant folder | ||
| /.vagrant | ||
| # phpstorm project (if present) | ||
| .idea | ||
|
|
||
| # node_modules | ||
| node_modules | ||
| # phpunit (if present) | ||
| .phpunit.cache | ||
| .phpunit.result.cache | ||
| phpunit.xml* | ||
|
|
||
| # vagrant (if present) | ||
| .vagrant | ||
|
|
||
| # vendor | ||
| vendor | ||
|
|
||
| #codeception | ||
| /c3.php | ||
| # vscode project (if present) | ||
| .vscode | ||
|
|
||
| # windows thumbnail cache (if present) | ||
| Thumbs.db | ||
|
|
||
| # zend studio for eclipse project (if present) | ||
| .buildpath | ||
| .project | ||
| .settings |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.