Skip to content
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

Development/2.1.x #89

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
42fe74c
Add MathCaptcha library
champsupertramp Mar 7, 2024
1bedb17
Add Set Password hash for Import Users plugins compatibility
champsupertramp Mar 7, 2024
b1a7db3
Tweak WPCS
champsupertramp Mar 8, 2024
a98619b
Merge pull request #85 from ultimatemember/main
champsupertramp Mar 8, 2024
8df3af7
Tweak WPCS settings
champsupertramp Mar 8, 2024
834b2b0
Bump pre-release version
champsupertramp Mar 11, 2024
e5029e7
Add pre-release event to build assets
champsupertramp Mar 11, 2024
88c645b
Update workflow
champsupertramp Mar 11, 2024
c47d4a8
Debug workflow
champsupertramp Mar 11, 2024
a09154c
Debug GH workflow
champsupertramp Mar 11, 2024
2478319
Debug workflow
champsupertramp Mar 11, 2024
30b13f7
Debug workflow
champsupertramp Mar 11, 2024
7d144e8
Debug release
champsupertramp Mar 11, 2024
dd8f956
Debug workflow
champsupertramp Mar 11, 2024
7256f45
Debug workflow
champsupertramp Mar 11, 2024
c17e87c
Debug workflow
champsupertramp Mar 11, 2024
2b04808
Debug workflow
champsupertramp Mar 11, 2024
6e7d89e
Debug workflow
champsupertramp Mar 11, 2024
799939c
Debug workflow
champsupertramp Mar 11, 2024
dae1ceb
Debug workflow
champsupertramp Mar 11, 2024
944aadf
Debug workflow
champsupertramp Mar 11, 2024
ae87528
Debug workflow
champsupertramp Mar 11, 2024
f644e1b
Update um-extended.php
champsupertramp Apr 26, 2024
14712be
Update phpcs.xml
champsupertramp Apr 26, 2024
2539d3e
Debug wpcs
champsupertramp Apr 26, 2024
b5168f1
Debug
champsupertramp Apr 26, 2024
e0a69da
debug wpcs
champsupertramp Apr 26, 2024
bc6561e
Debug wpcs
champsupertramp Apr 26, 2024
e27abd8
Debug phpcs
champsupertramp Apr 26, 2024
5811488
Debug
champsupertramp Apr 26, 2024
dc8945f
Debug phpcs
champsupertramp Apr 26, 2024
f1963ab
Tweak wpcs
champsupertramp Apr 26, 2024
e89bb83
Test Requires Plugins dependency in the main plugin header
champsupertramp May 1, 2024
6a84e66
Ext: Pass Strength Meter - Add new matcher ( lowercase, uppercase and…
champsupertramp May 3, 2024
771d1a5
Ext: Password Strength Meter - update version
champsupertramp May 3, 2024
9388097
Ext: Password Strength Meter - require Digit validation
champsupertramp May 3, 2024
114aed5
Ext: Country Flag - Tweak composer SPL registration
champsupertramp May 6, 2024
6e0cc2f
[ Blocked Emails ] Fixed: performance issue
champsupertramp Sep 30, 2024
3974b73
Tweak WPCS
champsupertramp Sep 30, 2024
79d174a
Tweak WPCS
champsupertramp Sep 30, 2024
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
17 changes: 17 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Main Workflow Init
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
call-workflow1:
if: 'github.event.prerelease'
uses: ./.github/workflows/increment-version.yml
call-workflow2:
needs: call-workflow1
uses: ./.github/workflows/zip-release.yml

2 changes: 2 additions & 0 deletions .github/workflows/wpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ jobs:
- uses: actions/checkout@v2
- name: WPCS check
uses: 10up/wpcs-action@stable
with:
use_local_config: true
19 changes: 17 additions & 2 deletions .github/workflows/zip-individual-ext.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
on:
release:
types: [published]
push:
tags:
- '*' # Push events to matching v*, i.e. v1.0, v20.15.10
Expand All @@ -12,14 +14,27 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Build project
- name: Build project for Pre-release
if: 'github.event.prerelease'
run: |
mkdir -p assets
for folder in src/* ; do
ext_dir=$(basename "${folder}")
[ -d $folder ] && cd "src/${ext_dir%/}" && composer install --no-dev && cd ../ && zip -r "../assets/${ext_dir%/}" "${ext_dir%/}" && cd ../
done
ls -a
zip -r assets.zip assets/
- name: Build project
if: '!github.event.prerelease'
run: |
ls -a
mkdir -p assets
for folder in src/* ; do
ext_dir=$(basename "${folder}")
[ -d $folder ] && cd "src/${ext_dir%/}" && composer install --no-dev && cd ../ && zip -r "../assets/${ext_dir%/}" "${ext_dir%/}" && cd ../
done
cd ../../
ls -a
zip -r assets.zip assets/
- name: Create Release
id: create_release
Expand Down
21 changes: 21 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"dependencies": {
"@popperjs/core": "^2.11.8",
"@vueuse/core": "^10.5.0",
"@wordpress/hooks": "^3.56.0",
"axios": "^1.5.1",
"lodash.debounce": "^4.0.8",
"nprogress": "^0.2.0",
Expand Down
22 changes: 10 additions & 12 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,21 @@
<arg name="extensions" value="php"/>
<arg name="cache" value=".phpcs.cache"/>

<file>.</file>

<exclude-pattern>\.github/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>documentor/*</exclude-pattern>
<exclude-pattern>\.idea/*</exclude-pattern>
<exclude-pattern>dist/*</exclude-pattern>
<exclude-pattern>dist/</exclude-pattern>
<exclude-pattern>build/</exclude-pattern>
<exclude-pattern>includes/blocks/*</exclude-pattern>
<exclude-pattern>dist/*</exclude-pattern>
<exclude-pattern>build/*</exclude-pattern>
<exclude-pattern>*/build/*</exclude-pattern>

<rule ref="WordPress-Extra"/>
<rule ref="WordPress"/>

<rule ref="PHPCompatibilityWP"/>


<rule ref="WordPress.Files.FileName.InvalidClassFileName">
<exclude-pattern>src/</exclude-pattern>
<exclude-pattern>src/*</exclude-pattern>
Expand All @@ -37,12 +36,11 @@
<exclude-pattern>tests/</exclude-pattern>
</rule>

<rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
<exclude-pattern>i18n/</exclude-pattern>
<exclude-pattern>src/</exclude-pattern>
<exclude-pattern>src/*</exclude-pattern>
<exclude-pattern>tests/php</exclude-pattern>
<exclude-pattern>tests/Tools/</exclude-pattern>
<rule ref="WordPress">
<!-- Any of `WordPress|WordPress-Core|WordPress-Docs|WordPress-Extra|WordPress-VIP-Go|WordPressVIPMinimum|10up-Default` -->
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" />
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
</rule>


</ruleset>
Loading
Loading