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

Next version 4 #5

Open
wants to merge 143 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
c453010
next init
mejta Sep 7, 2024
d0a0ae6
next
mejta Sep 16, 2024
8cadfe7
next
mejta Sep 17, 2024
06c29e8
next
mejta Sep 20, 2024
b07d0d3
next
mejta Sep 23, 2024
2726817
next
mejta Sep 23, 2024
6a5052a
next
mejta Sep 24, 2024
1f1268f
next
mejta Sep 24, 2024
d4d47e6
next
mejta Sep 24, 2024
a5f38e6
next
mejta Sep 24, 2024
216934b
next
mejta Sep 24, 2024
9d255b6
next
mejta Sep 24, 2024
22e4e80
next
mejta Sep 24, 2024
c6ae8ef
next
mejta Sep 24, 2024
65067ba
next
mejta Sep 24, 2024
57aec12
next
mejta Sep 24, 2024
318f09a
next
mejta Sep 25, 2024
b2dbcaf
next
mejta Sep 25, 2024
943fc2d
next
mejta Sep 26, 2024
90c9807
next
mejta Sep 26, 2024
aedcdce
next
mejta Sep 26, 2024
2f6338f
next
mejta Sep 26, 2024
9da25d8
next
mejta Sep 26, 2024
84e6c07
next
mejta Sep 26, 2024
4b19062
next
mejta Sep 26, 2024
99fd302
next
mejta Sep 26, 2024
32a397e
next
mejta Sep 26, 2024
8d9ddf1
next
mejta Sep 26, 2024
95e656a
next
mejta Sep 26, 2024
303b0aa
next
mejta Sep 26, 2024
6fe916e
next
mejta Sep 27, 2024
a03fc66
next
mejta Sep 27, 2024
56812f5
next
mejta Sep 27, 2024
5e92fbd
next
mejta Sep 28, 2024
41dbeeb
next
mejta Sep 28, 2024
4f674d8
next
mejta Sep 28, 2024
652ce7b
next
mejta Sep 28, 2024
8bad32e
next
mejta Sep 28, 2024
c9e9cc9
next
mejta Sep 28, 2024
c494684
next
mejta Sep 29, 2024
f63e4f7
next
mejta Sep 29, 2024
bbb0533
Product options WIP
vaclavgreif Sep 29, 2024
134e452
Merge remote-tracking branch 'origin/next' into next
vaclavgreif Sep 29, 2024
bfe942f
Product options WIP
vaclavgreif Sep 29, 2024
b8edb22
Product options WIP
vaclavgreif Sep 29, 2024
c675a56
Order metabox WIP
vaclavgreif Sep 29, 2024
4a1db50
next
mejta Sep 29, 2024
dc18606
next
mejta Sep 30, 2024
c6b76ac
Order metabox WIP
vaclavgreif Sep 30, 2024
440e3ae
next
mejta Sep 30, 2024
1562198
Order metabox WIP
vaclavgreif Sep 30, 2024
66f4fdd
Merge remote-tracking branch 'origin/next' into next
vaclavgreif Sep 30, 2024
4691ecc
Order metabox WIP
vaclavgreif Sep 30, 2024
55c0793
Variations WIP
vaclavgreif Sep 30, 2024
eb558dc
fix register_post_meta
mejta Oct 1, 2024
919fa27
add term custom fields
mejta Oct 1, 2024
715e6d3
add term custom fields
mejta Oct 1, 2024
ca0e38b
styling updated
dusanzvonar Oct 1, 2024
df4fadf
styling updated
dusanzvonar Oct 1, 2024
553d508
WIP
mejta Oct 1, 2024
dc0b15a
WIP
mejta Oct 1, 2024
9b52a99
WIP
mejta Oct 2, 2024
c310612
WIP Blocks
mejta Oct 3, 2024
52fc8f0
Gutenberg blocks
mejta Oct 5, 2024
e43188e
Gutenberg blocks
mejta Oct 5, 2024
9eba9c2
Gutenberg blocks
mejta Oct 5, 2024
02a449d
Comment
mejta Oct 5, 2024
a3c27aa
Site Options
mejta Oct 6, 2024
d7a2a81
Site Options
mejta Oct 6, 2024
ba3f2a7
Site Options
mejta Oct 6, 2024
8682fa6
User Options
mejta Oct 7, 2024
4f63a0e
Cleanup
mejta Oct 7, 2024
295ca25
Product and order options code review
mejta Oct 7, 2024
551b7e9
Product variation
mejta Oct 8, 2024
7619673
Product variation
mejta Oct 8, 2024
f520919
Subscription metabox
vaclavgreif Oct 8, 2024
4522088
Product variation
mejta Oct 8, 2024
ccec09d
Product variation
mejta Oct 8, 2024
cef683c
State refactoring
mejta Oct 8, 2024
553b995
State refactoring
mejta Oct 8, 2024
5739cc9
State refactoring
mejta Oct 8, 2024
861a362
State refactoring
mejta Oct 8, 2024
39a5ddb
State refactoring
mejta Oct 8, 2024
d7180cc
Memberships
vaclavgreif Oct 8, 2024
3a024a9
PHPCS
mejta Oct 9, 2024
1a0120c
WooCommerce Settings
mejta Oct 10, 2024
d25e4a4
Menu Item
mejta Oct 10, 2024
ec775c7
Sanitization, default value refactoring
mejta Oct 10, 2024
d7855bd
Improved sanitization
mejta Oct 10, 2024
279b557
Inner Blocks field
mejta Oct 12, 2024
542359a
Fixes
mejta Oct 16, 2024
2607381
Fixes
mejta Oct 17, 2024
fc285e3
Fixes
mejta Oct 17, 2024
a4a28de
Fixes
mejta Oct 18, 2024
c290bb2
Fixes
mejta Oct 19, 2024
fb2b357
Fixes
mejta Oct 19, 2024
ce3e692
Fixes
mejta Oct 19, 2024
14d6702
Fixes
mejta Oct 20, 2024
b4fc111
Fixes
mejta Oct 20, 2024
765816d
PHPCS
mejta Oct 21, 2024
04fc24b
PHPCS
mejta Oct 21, 2024
e5182f0
PHPCBF and husky
mejta Oct 21, 2024
ba5c0a0
PHPCS
mejta Oct 21, 2024
dabc592
PHPCS
mejta Oct 21, 2024
58ef696
PHPCS
mejta Oct 21, 2024
ec5822d
PHPCS
mejta Oct 21, 2024
ada8c99
PHPCS
mejta Oct 21, 2024
e7b37d3
PHPCBF
mejta Oct 21, 2024
ed33acb
PHPCS
mejta Oct 21, 2024
1318a12
PHPCS
mejta Oct 21, 2024
d0cb95b
PHPCS
mejta Oct 21, 2024
11d0c4b
PHPCS
mejta Oct 21, 2024
5a08748
PHPCS
mejta Oct 21, 2024
51f33b1
Fixes
mejta Oct 21, 2024
324be85
Fixes
mejta Oct 21, 2024
e8f6dd1
Fixes
mejta Oct 21, 2024
25c25af
Fixes
mejta Oct 21, 2024
c9a7853
Fixes
mejta Oct 21, 2024
85e4e26
Fixes
mejta Oct 21, 2024
be054fa
Fixes
mejta Oct 21, 2024
7d6ebf6
Fixes
mejta Oct 21, 2024
6bffeaf
Documentation
mejta Oct 21, 2024
63f5091
styles
Oct 23, 2024
db71f1a
Documentation
mejta Oct 25, 2024
b73b29c
styles
Oct 25, 2024
8604cda
Merge remote-tracking branch 'origin/next' into next
Oct 25, 2024
f4fef9c
Fix
mejta Oct 25, 2024
2919003
Merge remote-tracking branch 'origin/next' into next
Oct 25, 2024
1990190
Fix
mejta Oct 25, 2024
bc3cd6d
Fix
mejta Oct 25, 2024
d06f281
Fix
mejta Oct 25, 2024
f8d69ed
Fix
mejta Oct 28, 2024
f5257f3
Fix
mejta Oct 28, 2024
624f062
Fix
mejta Oct 28, 2024
03ef62d
Fix
mejta Oct 28, 2024
67a6b56
Fix
mejta Oct 29, 2024
a5a8237
Fix
mejta Oct 29, 2024
797b720
Fix
mejta Oct 29, 2024
04dfb8d
Fix
mejta Nov 6, 2024
6615bcf
Fix
mejta Nov 6, 2024
33a8d0b
Fix
mejta Nov 6, 2024
3b74641
Fix
mejta Nov 6, 2024
06018a6
Fix
mejta Nov 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 0 additions & 27 deletions .editorconfig

This file was deleted.

9 changes: 3 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
.githooks export-ignore
.github export-ignore
assets export-ignore
docs export-ignore
.editorconfig export-ignore
.eslintignore export-ignore
.nvmrc export-ignore
.stylelintignore export-ignore
.gitlab-ci.yml export-ignore
.gitignore export-ignore
package.json export-ignore
package-lock.json export-ignore
webpack.config.js export-ignore
.github export-ignore
33 changes: 33 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/sh

# Run PHP Code Beautifier
if [ -f vendor/bin/phpcbf ]; then
echo "Running PHP Code Beautifier..."
vendor/bin/phpcbf -ps .
fi

echo "phpcbf completed successfully."

# Run NPM Build
if [ -f package.json ]; then
echo "Running npm build process..."
npm run build
if [ $? -ne 0 ]; then
echo "Error: npm run build failed."
exit 1
fi
echo "npm build process completed successfully."
else
echo "No package.json found. Skipping npm build process."
fi

# Add generated build files to the commit
echo "Adding build files to the commit..."
git add -u # This stages the changes of any tracked files
git add build/
git add src/
git add *.php


echo "Pre-commit hook completed successfully. Proceeding with the commit..."
exit 0
39 changes: 39 additions & 0 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: PHPCS on Push

on:
push:
branches:
- '*'

jobs:
phpcs:
name: Run PHPCS
runs-on: ubuntu-latest

steps:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v4

# Set up PHP with Composer
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1' # Specify the version of PHP you want to use
tools: composer, phpcs

# Install Composer dependencies, including dev dependencies
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --no-interaction

# Run PHPCS (PHP CodeSniffer) to check code standards
- name: Run PHP CodeSniffer
run: vendor/bin/phpcs -ps .

# Optional: Fail the workflow if PHPCS finds issues
- name: Fail if issues found
run: |
if [ $(vendor/bin/phpcs --report=summary . | grep -c "FOUND") -gt 0 ]; then
echo "PHPCS found issues, failing the job."
exit 1
fi
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/.idea/
/node_modules/
/vendor/
/.php_cs.cache
*.map
/.ssl
.DS_Store
node_modules
vendor
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

Loading
Loading