Skip to content

Commit

Permalink
Misc changes: plugin updates
Browse files Browse the repository at this point in the history
  • Loading branch information
renatonascalves committed Dec 29, 2023
1 parent b1addd0 commit 7e98105
Show file tree
Hide file tree
Showing 7 changed files with 141 additions and 136 deletions.
7 changes: 5 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[{.jshintrc,*.json,*.yml,*.feature}]
[*.yml]
indent_style = space
indent_size = 2

[{*.txt,wp-config-sample.php}]
[*.md]
trim_trailing_whitespace = false

[{*.txt}]
end_of_line = crlf
4 changes: 2 additions & 2 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ['8.0']
php: ['8.2']

steps:
- name: Cancel previous runs of this workflow (pull requests only)
Expand All @@ -22,7 +22,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
wp_version: ['master']
include:
- php: '8.0'
wp_version: '6.2'
wp_version: '6.4'
- php: '7.4'
wp_version: '6.2'
wp_version: '6.4'
- php: '7.4'
wp_version: '5.8'
env:
Expand All @@ -33,7 +33,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Check Gitignored files
run: if [[ ! -z $(git ls-files -i --exclude-standard) ]]; then exit 1; fi
Expand Down
2 changes: 1 addition & 1 deletion .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"core": "WordPress/WordPress#master",
"plugins": [ ".", "buddypress/buddypress#master" ],
"plugins": [".", "buddypress/buddypress#master"],
"config": {
"WP_DEBUG": true,
"SCRIPT_DEBUG": true
Expand Down
104 changes: 53 additions & 51 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,55 @@
{
"name": "buddypress/bp-rest",
"description": "Access your BuddyPress site's data through an easy-to-use HTTP REST API.",
"type": "wordpress-plugin",
"keywords": [
"bp-rest",
"bp-rest-api",
"buddypress",
"rest",
"plugin"
],
"homepage": "https://buddypress.org",
"license": "GPL-2.0-or-later",
"authors": [ {
"name": "BuddyPress Community",
"homepage": "https://buddypress.org/about/"
} ],
"support": {
"forum": "https://buddypress.org/support/",
"docs": "https://codex.buddypress.org/",
"issues": "https://buddypress.trac.wordpress.org/",
"rss": "https://buddypress.org/feed/",
"source": "https://buddypress.trac.wordpress.org/browser/",
"wiki": "https://codex.buddypress.org/"
},
"repositories": [
{
"url": "https://github.com/buddypress/bp-coding-standards.git",
"type": "git"
}
],
"require": {
"composer/installers": "^1.10.0",
"php": ">=5.6.0"
},
"require-dev": {
"buddypress/bp-coding-standards": "dev-trunk",
"wp-phpunit/wp-phpunit": "^6.2",
"yoast/phpunit-polyfills": "^1.0"
},
"scripts": {
"phpcs" : "phpcs . --basepath=.",
"phpcbf": "phpcbf . --basepath=.",
"phpunit": "phpunit",
"phpunit:mu": "phpunit -c tests/multisite.xml"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
"name": "buddypress/bp-rest",
"description": "Access your BuddyPress site's data through an easy-to-use HTTP REST API.",
"type": "wordpress-plugin",
"keywords": [
"bp-rest",
"bp-rest-api",
"buddypress",
"rest",
"plugin"
],
"homepage": "https://buddypress.org",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "BuddyPress Community",
"homepage": "https://buddypress.org/about/"
}
],
"support": {
"forum": "https://buddypress.org/support/",
"docs": "https://codex.buddypress.org/",
"issues": "https://buddypress.trac.wordpress.org/",
"rss": "https://buddypress.org/feed/",
"source": "https://buddypress.trac.wordpress.org/browser/",
"wiki": "https://codex.buddypress.org/"
},
"repositories": [
{
"url": "https://github.com/buddypress/bp-coding-standards.git",
"type": "git"
}
],
"require": {
"composer/installers": "^1.10.0",
"php": ">=5.6.0"
},
"require-dev": {
"buddypress/bp-coding-standards": "dev-trunk",
"wp-phpunit/wp-phpunit": "^6.4",
"yoast/phpunit-polyfills": "^1.0"
},
"scripts": {
"phpcs": "phpcs . --basepath=.",
"phpcbf": "phpcbf . --basepath=.",
"phpunit": "phpunit",
"phpunit:mu": "phpunit -c tests/multisite.xml"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"name": "buddypress",
"description": "REST API endpoints for BuddyPress",
"homepage": "https://buddypress.org",
"license": "GPL-2.0-or-later",
"author": "BuddyPress Community",
"keywords": [
"bp-rest",
"bp-rest-api",
"buddypress",
"plugin"
],
"devDependencies": {
"@wordpress/env": "^5.6.0"
},
"engines": {
"node": ">=14.15.0",
"npm": ">=6.14.8"
},
"scripts": {
"preinstall": "npx check-node-version --package",
"prewp-env": "npx check-node-version --package",
"wp-env": "wp-env",
"phpunit": "npm run wp-env run phpunit 'php /var/www/html/wp-content/plugins/BP-REST/vendor/phpunit/phpunit/phpunit -c /var/www/html/wp-content/plugins/BP-REST/tests/env.xml'",
"phpunit:mu": "npm run wp-env run phpunit 'php /var/www/html/wp-content/plugins/BP-REST/vendor/phpunit/phpunit/phpunit -c /var/www/html/wp-content/plugins/BP-REST/tests/env.multisite.xml'"
}
"name": "buddypress",
"description": "REST API endpoints for BuddyPress",
"homepage": "https://buddypress.org",
"license": "GPL-2.0-or-later",
"author": "BuddyPress Community",
"keywords": [
"bp-rest",
"bp-rest-api",
"buddypress",
"plugin"
],
"devDependencies": {
"@wordpress/env": "^5.6.0"
},
"engines": {
"node": ">=14.15.0",
"npm": ">=6.14.8"
},
"scripts": {
"preinstall": "npx check-node-version --package",
"prewp-env": "npx check-node-version --package",
"wp-env": "wp-env",
"phpunit": "npm run wp-env run phpunit 'php /var/www/html/wp-content/plugins/BP-REST/vendor/phpunit/phpunit/phpunit -c /var/www/html/wp-content/plugins/BP-REST/tests/env.xml'",
"phpunit:mu": "npm run wp-env run phpunit 'php /var/www/html/wp-content/plugins/BP-REST/vendor/phpunit/phpunit/phpunit -c /var/www/html/wp-content/plugins/BP-REST/tests/env.multisite.xml'"
}
}
104 changes: 52 additions & 52 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
=== BP-REST ===
Contributors: The BuddyPress Community
Donate link: https://buddypress.org
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 5.6
Stable tag: 0.8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Access your BuddyPress site's data through an easy-to-use HTTP REST API.
== Installation ==
= Manual Installation =
1. Upload the entire `/bp-rest` directory to the `/wp-content/plugins/` directory.
2. Activate BP-REST through the 'Plugins' menu in WordPress.
== Changelog ==
= 0.8.0 =
* Inclusion in BuddyPress 12.0.0
= 0.7.0 =
* Inclusion in BuddyPress 11.0.0
= 0.6.0 =
* Inclusion in BuddyPress 10.0.0
= 0.5.0 =
* Inclusion in BuddyPress 9.0.0
= 0.4.0 =
* Inclusion in BuddyPress 8.0.0
= 0.3.0 =
* Inclusion in BuddyPress 7.0.0
= 0.2.0 =
* Inclusion in BuddyPress 6.0.0
= 0.1.0 =
* Inclusion in BuddyPress 5.0.0
* First release
== Upgrade Notice ==
= 0.1.0 =
First Release
=== BP-REST ===
Contributors: The BuddyPress Community
Donate link: https://buddypress.org
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 5.6
Stable tag: 0.9.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

== Description ==

Access your BuddyPress site's data through an easy-to-use HTTP REST API.

== Installation ==

= Manual Installation =

1. Upload the entire `/bp-rest` directory to the `/wp-content/plugins/` directory.
2. Activate BP-REST through the 'Plugins' menu in WordPress.

== Changelog ==

= 0.8.0 =
* Inclusion in BuddyPress 12.0.0

= 0.7.0 =
* Inclusion in BuddyPress 11.0.0

= 0.6.0 =
* Inclusion in BuddyPress 10.0.0

= 0.5.0 =
* Inclusion in BuddyPress 9.0.0

= 0.4.0 =
* Inclusion in BuddyPress 8.0.0

= 0.3.0 =
* Inclusion in BuddyPress 7.0.0

= 0.2.0 =
* Inclusion in BuddyPress 6.0.0

= 0.1.0 =
* Inclusion in BuddyPress 5.0.0
* First release

== Upgrade Notice ==

= 0.1.0 =
First Release

0 comments on commit 7e98105

Please sign in to comment.