Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
5b3c433
Crio29 (#436)
jamesros161 Jul 8, 2021
7a3be6d
phpcs fix
jamesros161 Jul 8, 2021
c7ee624
update version numbers
jamesros161 Jul 8, 2021
47edf7d
fix button alignments
jamesros161 Jul 8, 2021
3617231
update collision and styles
jamesros161 Jul 9, 2021
2b88729
add widget support
jamesros161 Jul 12, 2021
4c32c1e
fix collisions
jamesros161 Jul 14, 2021
9c22b35
change version numbers
jamesros161 Jul 14, 2021
510bb4c
remove unused variable
jamesros161 Jul 14, 2021
c0cb69b
phpcs fixes
jamesros161 Jul 14, 2021
ac9b8b7
enable selective refresh for widgets
jamesros161 Jul 15, 2021
6c41a39
reorganize controls.config.php
jamesros161 Jul 15, 2021
e53d12a
reorganize controls.config.php
jamesros161 Jul 15, 2021
3db3972
re-organize controls.config.php
jamesros161 Jul 16, 2021
bec8076
phpcs fixes
jamesros161 Jul 16, 2021
07c1266
add additional buttons
jamesros161 Jul 19, 2021
4351c78
fix collision detection
jamesros161 Jul 19, 2021
1101446
add external link modals
jamesros161 Jul 20, 2021
338a84f
update version numbers
jamesros161 Jul 20, 2021
b5517e0
resolves #307
jamesros161 Jul 23, 2021
291a69d
Resolves $449
jamesros161 Jul 23, 2021
1d2be42
Updated Support Links (#451)
nicolepaschen Jul 23, 2021
6c1ae39
fix z-indexing issues
jamesros161 Jul 23, 2021
edd4474
set rc1 version numbers
jamesros161 Jul 23, 2021
b5021da
update readme
jamesros161 Jul 23, 2021
bd9338e
RC Fixes
jamesros161 Jul 29, 2021
ea4b803
fix woocommerce and cph buttons
jamesros161 Jul 29, 2021
0fde386
update version number
jamesros161 Jul 29, 2021
5096341
update php versions in travis
jamesros161 Jul 29, 2021
0b04926
update php versions in travis
jamesros161 Jul 29, 2021
21dfc67
update php-codesniffer version
jamesros161 Jul 29, 2021
1855169
update path to phpcs
jamesros161 Jul 30, 2021
5f5d0a1
remove php8 from tavis.yml
jamesros161 Jul 30, 2021
d70dee4
adjust z-indexing
jamesros161 Aug 3, 2021
6289ad2
fix missing buttons
jamesros161 Aug 3, 2021
45daa1d
add comments and update version number
jamesros161 Aug 4, 2021
8558b44
button exclusion fix
jamesros161 Aug 4, 2021
d777610
fix empty <a>
jamesros161 Aug 4, 2021
5fe403c
remove debug code
jamesros161 Aug 4, 2021
7db886a
update changes
jamesros161 Aug 5, 2021
08cc95b
update version numbers
jamesros161 Aug 5, 2021
9a333e4
Merge branch 'master' into branch-2.9.0-rc4
jamesros161 Aug 6, 2021
c0da634
update readme and version numbers for stable
jamesros161 Aug 9, 2021
10a6f91
Merge branch 'branch-2.9.0-rc4' of https://github.com/boldgrid/boldgr…
jamesros161 Aug 9, 2021
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
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ matrix:
include:
- php: 7.3
- php: 7.1
- php: 5.6
env:
global:
- WP_VERSION=master WP_MULTISITE=0
Expand Down Expand Up @@ -41,7 +40,7 @@ before_script:
- cd $BGTFW_THEME_DIR
- phpenv rehash
script:
- find . \( -name '*.php' \) -exec php -lf {} \;
- find . \( -name '*.php' \) -exec php -lf {} \; >/dev/null
- "$WP_DEVELOP_DIR/php-codesniffer/scripts/phpcs -p -s -v -n . --standard=$TRAVIS_BUILD_DIR/phpcs.ruleset.xml --ignore=*partials/hover-colors-only.php,*/scssphp/*,*/kirki/*,*/wp_bootstrap_navwalker.php,*/woocommerce/*,*/sa_templates/*,functions.php --extensions=php"
- cd $TRAVIS_BUILD_DIR
deploy:
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ user guide for more information.

## Changelog ##


### 2.9.0 ###
* New Feature: New Edit Buttons added to Customizer Preview that feature dropdowns for buttons with multiple control options.
* Bug Fix: Crio - Branding in Footer - Site Title font bug [#431](https://github.com/BoldGrid/boldgrid-theme-framework/issues/431)
* Bug Fix: Crio Customizer Live Preview - font size / font weight does not update [#307](https://github.com/BoldGrid/boldgrid-theme-framework/issues/307)
* Bug Fix: Crio - Difficulty working with Widgets in the Customizer [#293](https://github.com/BoldGrid/boldgrid-theme-framework/issues/293)

### 2.8.2 ###
* Bug Fix: Crio - Venetian Inspiration (inspirations-theme-73) z-index issue with CTA button [#430](https://github.com/BoldGrid/boldgrid-theme-framework/issues/430)

Expand Down
56 changes: 56 additions & 0 deletions build/phpcs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#!/bin/bash

run_phpcs() {
if php node_modules/PHP_CodeSniffer/bin/phpcs --config-set installed_paths node_modules/WordPress-Coding-Standards/ ; then
if npm run phpcs-installStandards && node_modules/PHP_CodeSniffer/bin/phpcs -p -s --report-emacs --report-summary --report-width=220 --standard=WordPress-Docs --standard=WordPress-Extra --ignore=*/node_modules/*,*/vendor/* --extensions=php src/includes/configs/customizer/controls/; then
echo "No PHPCS Errors Found"
exit 0
else
while true; do
read -p "Do you wish to run PHPCBF to automatically fix errors?" yn
case $yn in
[Yy]* ) run_phpcbf; break;;
[Nn]* ) run_build_prompt; break;;
* ) echo "Please answer yes or no.";;
esac
done
fi
else
echo "PHPCS Installation failed"
exit 1
fi
}

run_phpcbf() {
npm run phpcs-installStandards && node_modules/PHP_CodeSniffer/bin/phpcbf -p -s --report-emacs --report-summary --report-width=220 --standard=WordPress-Docs --standard=WordPress-Extra --ignore=*/node_modules/*,*/vendor/* --extensions=php src/includes/configs/customizer/controls/
echo "Beautification done. Re-running PHPCS";
re_run_phpcs
}

re_run_phpcs() {
if php node_modules/PHP_CodeSniffer/bin/phpcs --config-set installed_paths node_modules/WordPress-Coding-Standards/ ; then
if npm run phpcs-installStandards && node_modules/PHP_CodeSniffer/bin/phpcs -p -s --report-emacs --report-summary --report-width=220 --standard=WordPress-Docs --standard=WordPress-Extra --ignore=*/node_modules/*,*/vendor/* --extensions=php src/includes/configs/customizer/controls/; then
echo "All Issues corrected by PHPCBF"
exit 0
else
echo "There are still issues that cannot be corrected automatically"
run_build_prompt
fi
else
echo "PHPCS Installation failed"
run_build_prompt
fi
}

run_build_prompt() {
while true; do
read -p "Do you wish to continue build, without completing php-codesniffer linting?" yn
case $yn in
[Yy]* ) exit 0;;
[Nn]* ) exit 1;;
* ) echo "Please answer yes or no.";;
esac
done
}

run_phpcs
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "boldgrid-theme-framework",
"version": "2.8.2",
"version": "2.9.0",
"description": "BoldGrid Theme Framework",
"main": "index.js",
"engines": {
Expand All @@ -27,7 +27,7 @@
"preversion": "bash build/cwd-dirty && yarn run build",
"postversion": "git tag -d $npm_package_version && node build/update-version.js src/boldgrid-theme-framework.php $npm_package_version && git commit -am \"Updating Version $npm_package_version\" && git tag -a $npm_package_version -m \"Version $npm_package_version Release\" master && git push origin $npm_package_version",
"test": "echo \"Error: no test specified\" && exit 1",
"phpcs-installStandards": "php node_modules/PHP_CodeSniffer/scripts/phpcs --config-set installed_paths node_modules/WordPress-Coding-Standards/",
"phpcs-installStandards": "php node_modules/PHP_CodeSniffer/bin/phpcs --config-set installed_paths node_modules/WordPress-Coding-Standards/",
"php-codesniffer": "npm run phpcs-installStandards && php ./node_modules/PHP_CodeSniffer/scripts/phpcs -p -s -v -n ./src --standard=./phpcs.ruleset.xml --ignore=*/wp_bootstrap_navwalker.php,*/woocommerce/* --extensions=php",
"build": "gulp build",
"webpack-server": "cross-env NODE_ENV=development webpack-dev-server",
Expand Down Expand Up @@ -63,8 +63,8 @@
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.0.0-beta.47",
"@boldgrid/controls": "https://github.com/BoldGrid/controls#dev",
"PHP_CodeSniffer": "https://github.com/squizlabs/PHP_CodeSniffer/#2.9",
"WordPress-Coding-Standards": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards#0.10.0",
"PHP_CodeSniffer": "https://github.com/squizlabs/PHP_CodeSniffer/#3.6.0",
"WordPress-Coding-Standards": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards#2.3.0",
"archiver": "^3.0.0",
"autoprefixer": "^8.6.2",
"babel-eslint": "^8.2.3",
Expand Down
1 change: 1 addition & 0 deletions phpcs.ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag" />
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
<exclude name="Squiz.Commenting.InlineComment.NotCapital" />
<include name="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned" />
</rule>
<rule ref="WordPress-Docs">

Expand Down
4 changes: 0 additions & 4 deletions src/assets/js/customizer/base-controls.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* eslint-disable */
import WidgetSectionUpdate from './widget/section-update';
import bgtfwWidgetsSection from './controls/bgtfw-widgets-section';
import BlogPagePanelExpand from './design/blog/blog-page/panel-expand.js';
import BlogPostsPanelExpand from './design/blog/posts/panel-expand.js';
import HomepageSectionExpand from './design/homepage/section-expand.js';
import WoocommerceSectionExpand from './design/woocommerce/section-expand.js'
import { Control as GenericControls } from './generic/control.js';
Expand Down Expand Up @@ -37,8 +35,6 @@ bgtfwDropdownMenu();
( function( $ ) {
const api = wp.customize;
new Required().init();
new BlogPagePanelExpand();
new BlogPostsPanelExpand();
new HomepageSectionExpand();
new WoocommerceSectionExpand();
new SectionExtendTitle();
Expand Down
3 changes: 1 addition & 2 deletions src/assets/js/customizer/customizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ api.selectiveRefresh.bind( 'partial-content-rendered', placement => {
) {
css += '#boldgrid-sticky-wrap .bgtfw-sticky-header { display: none !important; }';
}

document.getElementById( 'sticky-header-display-inline-css' ).innerHTML = css;
$( '#sticky-header-display-inline-css' ).html( css );
}
} );

Expand Down
68 changes: 0 additions & 68 deletions src/assets/js/customizer/design/blog/blog-page/panel-expand.js

This file was deleted.

41 changes: 0 additions & 41 deletions src/assets/js/customizer/design/blog/posts/panel-expand.js

This file was deleted.

Loading