Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ phpcs.xml
phpcbf.xml
.eslintignore
build/*.map
phpunit.xml.dist
phpunit.xml
playwright.config.js
.gitpod.yml
/node_modules
/vendor
flutterwave-payments.zip
rave-payment-forms.zip

2 changes: 1 addition & 1 deletion .github/actions/make-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
id: build_plugin
shell: bash
env:
RELEASE_FILENAME: 'flutterwave-payments.zip'
RELEASE_FILENAME: 'rave-payment-forms.zip'
run: |
npm install
npm run build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
if: ${{ always() }}
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v2.5.2
with:
node-version-file: .nvmrc
- name: Build Plugin
uses: ./.github/actions/make-build
- name: WordPress Plugin Deploy
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Security scan on all changes (Commits/PRs)

on:
push:
branches: ['main', 'master', 'pilot', 'dev']
pull_request:
types:
- opened

jobs:
code-check:
runs-on: ubuntu-latest
env:
OS: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2

- name: Checkmarx One ClI Action
uses: checkmarx/ast-github-action@main
with:
project_name: WordPress
cx_tenant: Flutterwave
base_uri: https://eu.ast.checkmarx.net/
cx_client_id: ${{ secrets.CX_CLIENT_ID }}
cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }}
additional_params: --scan-types sast,iac-security,api-security,sca,container-security
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ node_modules
*.DS_Store
docs/.vitepress/dist
docs/.vitepress/cache
flutterwave-payments.zip
rave-payment-forms.zip
.env
.env.e2e
.phpunit.result.cache
Expand Down
2 changes: 1 addition & 1 deletion .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"core": "https://wordpress.org/latest.zip",
"phpVersion": "7.4",
"plugins": ["flutterwave-payments.zip"],
"plugins": ["rave-payment-forms.zip"],
"port": 1000,
"testsPort": 1001,
"config": {
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Changelog
## 1.0.7 | 29-08-2023
Update admin settings view for Transactions.

### Version Changes
- [FIXED] Missing WP_List_Table implementation.
- [CHANGED] Tested to WP version 6.3 (latest).

## 1.0.6 | 17-05-2023
Security updates and libraty enhancements. This release add the necessary enhancements for faster payment verifications, vulnerabilities fix and UX improvements.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ i18n-pot:
composer run makepot

zip:
rm flutterwave-payments.zip && npm run plugin-zip
rm rave-payment-forms.zip && npm run plugin-zip

inspection:
./vendor/bin/phpcs -p . --standard=PHPCompatibilityWP
Expand Down
4 changes: 2 additions & 2 deletions bin/docker-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ while [[ $? -ne 0 ]]; do
done

# If the plugin is already active then return early
cli wp plugin is-active flutterwave-payments > /dev/null
cli wp plugin is-active rave-payment-forms > /dev/null
if [[ $? -eq 0 ]]; then
set -e
echo
Expand Down Expand Up @@ -89,7 +89,7 @@ echo "Installing and activating Storefront theme..."
cli wp theme install storefront --activate

echo "Activating the Flutterwave Payments plugin..."
cli wp plugin activate flutterwave-payments
cli wp plugin activate rave-payment-forms

echo "Installing and Activating Transient Manager Plugin ..."
cli wp plugin install transients-manager --activate
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"./vendor/bin/phpcs --runtime-set testVersion 7.2- --standard=PHPCompatibilityWP --extensions=php --ignore=vendor/*,*/build/*.asset.php,*/node_modules/* ."
],
"makepot-audit": [
"wp --allow-root i18n make-pot . --exclude=\".github,.wordpress-org,bin,node_modules,tests,docs\" --slug=flutterwave-payments --debug"
"wp --allow-root i18n make-pot . --exclude=\".github,.wordpress-org,bin,node_modules,tests,docs\" --slug=rave-payment-forms --debug"
],
"makepot": [
"@makepot-audit --skip-audit"
Expand All @@ -56,8 +56,8 @@
"test": "Run unit tests",
"standards:check": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"standards:fix": "Fix coding standards warnings/errors automatically with PHP Code Beautifier",
"makepot-audit": "Generate i18n/languages/flutterwave-payments.pot file and run audit",
"makepot": "Generate i18n/languages/flutterwave-payments.pot file"
"makepot-audit": "Generate i18n/languages/rave-payment-forms.pot file and run audit",
"makepot": "Generate i18n/languages/rave-payment-forms.pot file"
}
},
"minimum-stability": "stable",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

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

Loading