-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from fumikito/bugfix/session-start-error
Bugfix/session start error
- Loading branch information
Showing
52 changed files
with
28,188 additions
and
2,635 deletions.
There are no files selected for viewing
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,5 @@ | ||
# https://github.com/browserslist/browserslist#readme | ||
|
||
>= 1% | ||
last 2 major version | ||
not dead |
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,23 @@ | ||
.browserslistrc | ||
.editorconfig | ||
.eslintrc | ||
.distignore | ||
.git | ||
.github | ||
.gitignore | ||
.node-version | ||
.stylelintrc.json | ||
.wordpress-org | ||
.wp-env.json | ||
node_modules | ||
composer.lock | ||
package-lock.json | ||
phpcs.ruleset.xml | ||
phpunit.xml.dist | ||
README.md | ||
webpack.config.js | ||
wordpress | ||
bin | ||
tests | ||
anyway-feedback.php.bak | ||
readme.txt.bak |
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,25 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
# WordPress Coding Standards | ||
# https://make.wordpress.org/core/handbook/coding-standards/ | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
tab_width = 4 | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[{*.txt,wp-config-sample.php}] | ||
end_of_line = crlf |
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 @@ | ||
{ | ||
"parser": "@babel/eslint-parser", | ||
"env": { | ||
"browser": true, | ||
"jquery": true | ||
}, | ||
"globals": { | ||
"wp": false, | ||
"jQuery": false, | ||
"ga": false | ||
}, | ||
"extends": [ | ||
"plugin:@wordpress/eslint-plugin/recommended" | ||
], | ||
"ignorePatterns": ["**/*/*.min.js", "**/*/js.cookie.js"], | ||
"rules": { | ||
"no-alert": "off", | ||
"prettier/prettier": "off", | ||
"object-shorthand": "off", | ||
"jsdoc/require-jsdoc": "off", | ||
"jsdoc/no-undefined-types": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"react/jsx-sort-props": "off", | ||
"jsdoc/check-tag-names": "off", | ||
"import/order": "off", | ||
"no-prototype-builtins": "off", | ||
"object-curly-newline": "off", | ||
"object-property-newline": "off", | ||
"yoda": "off", | ||
"strict": "off", | ||
"@wordpress/valid-sprintf": "off", | ||
"camelcase": "off" | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "16.9.0" | ||
} | ||
} | ||
} |
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,104 @@ | ||
name: Deploy Plugin | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- '*' | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
phpcs: | ||
uses: tarosky/workflows/.github/workflows/phpcs.yml@main | ||
with: | ||
version: 8.0 | ||
|
||
phplint: | ||
uses: tarosky/workflows/.github/workflows/phplint.yml@main | ||
|
||
assets: | ||
name: Assets Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
|
||
- name: Install NPM Packages | ||
run: npm install | ||
|
||
- name: Check JS & CSS syntax | ||
run: npm run lint | ||
|
||
release: | ||
name: Deploy WordPress.org | ||
needs: [ phpcs, phplint, assets ] | ||
if: contains(github.ref, 'tags/') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@main | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 7.2 | ||
tools: composer | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
|
||
- name: Build Plugin | ||
run: | | ||
composer install --prefer-dist --no-dev | ||
npm install | ||
npm run package | ||
- name: Generate readme.txt | ||
uses: tarosky/workflows/actions/wp-readme@main | ||
|
||
- name: Versioning | ||
uses: tarosky/workflows/actions/versioning@main | ||
with: | ||
version: ${{ github.ref }} | ||
files: readme.txt,anyway-feedback.php | ||
|
||
- name: Deploy to WordPress Directory | ||
id: deploy | ||
uses: 10up/action-wordpress-plugin-deploy@stable | ||
with: | ||
generate-zip: true | ||
env: | ||
SVN_USERNAME: ${{ secrets.WP_ORG_USERNAME }} | ||
SVN_PASSWORD: ${{ secrets.WP_ORG_PASSWORD }} | ||
|
||
- name: Create Release | ||
id: create_release | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
|
||
- name: Upload release asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ${{ github.workspace }}/${{ github.event.repository.name }}.zip | ||
asset_name: ${{ github.event.repository.name }}.zip | ||
asset_content_type: application/zip |
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,2 +1,11 @@ | ||
.DS_Store | ||
.svn | ||
.svn | ||
/vendor/ | ||
/node_modules/ | ||
/assets/css/ | ||
/assets/js/*.min.js | ||
/assets/js/js.cookie.js | ||
/assets/vendor/ | ||
/dist/ | ||
readme.txt | ||
composer.lock |
This file was deleted.
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,17 @@ | ||
{ | ||
"extends": [ | ||
"stylelint-config-wordpress/scss" | ||
], | ||
"rules": { | ||
"value-keyword-case": [ "lower", { | ||
"ignoreProperties": [ "font-family" ] | ||
} ], | ||
"color-named": null, | ||
"number-leading-zero": null, | ||
"rule-empty-line-before": null, | ||
"declaration-property-unit-whitelist": null, | ||
"selector-class-pattern": null, | ||
"at-rule-empty-line-before": null, | ||
"no-descending-specificity": null | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
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,6 @@ | ||
{ | ||
"plugins": [ "." ], | ||
"themes": [ | ||
"https://downloads.wordpress.org/theme/twentytwenty.latest-stable.zip" | ||
] | ||
} |
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
Oops, something went wrong.