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

[WIP] Sage 9 #1590

Merged
merged 94 commits into from
Aug 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
9eaffa3
Restructure theme, use autoloader
QWp6t Dec 19, 2015
97906e9
Rename interfaces, unset after unwrapping
QWp6t Dec 19, 2015
2911c3e
Update Composer.lock
QWp6t Dec 19, 2015
9283bbb
Fix: page title not displaying
QWp6t Dec 19, 2015
f752470
Rename app to src
QWp6t Dec 20, 2015
c9ef232
bootstrap 4
QWp6t Dec 20, 2015
e51e41e
Update dependencies, switch to eslint
QWp6t Dec 20, 2015
8712dc8
Update node in travis, remove unsupported php
QWp6t Dec 20, 2015
2121030
Add PHP 7.x "nightlies" to Travis CI and allow to fail
ntwb Dec 21, 2015
d217ba6
Remove comment-reply JS
retlehs Dec 26, 2015
fa0e51f
Update asset handles
retlehs Dec 26, 2015
67c190f
Cleanup
retlehs Dec 26, 2015
abeea0f
Remove template_part, template_sidebar, temp sidebar fix
retlehs Dec 26, 2015
9eec17d
Fix error
retlehs Dec 27, 2015
f7194cb
Use Kernighan-Ritchie style braces
QWp6t Dec 27, 2015
d4461fa
Remove sage.pot
retlehs Dec 27, 2015
12d6ac3
Remove closure from sidebar registration
QWp6t Dec 28, 2015
1df3fee
Remove Template class
QWp6t Dec 28, 2015
2d02544
Create new phpcs rules
QWp6t Dec 28, 2015
6a4d3bd
Conform to new rules
QWp6t Dec 28, 2015
c5f3724
Resolve PHPMD warnings
QWp6t Dec 28, 2015
246955c
Use phpcs.xml for all rules
QWp6t Dec 28, 2015
fe659f4
Use 4 spaces for src/*.php
QWp6t Dec 29, 2015
f598ca9
Only use root editorconfig, allow warnings in travis
QWp6t Dec 29, 2015
16b6496
Remove CONTRIBUTING.md
retlehs Dec 29, 2015
9e2917e
Fix issue with WP loading wrong index.php
QWp6t Dec 29, 2015
b491f76
All function braces need to be on new line
QWp6t Dec 30, 2015
6efa099
Move single-post loop to single.php, closes #1582
QWp6t Dec 30, 2015
b42c425
Optimize travis a bit
QWp6t Jan 7, 2016
856a482
Pass the correct template.
mikespainhower Jan 30, 2016
5551dde
Fix BS4 grid after their grid updates
retlehs Feb 20, 2016
13c4681
Ben Word -> Roots
retlehs Feb 20, 2016
463d6bc
removed deprecated gulp-minify-css in favour of gulp-cssnano
jakecobley Jan 31, 2016
3f9b112
Restructure theme, use autoloader
QWp6t Dec 19, 2015
98b84ec
Missed during rebase
retlehs Mar 11, 2016
4d079d9
Missed during rebase
retlehs Mar 12, 2016
610c46b
Require PHP 5.5
retlehs Mar 12, 2016
7d1baa0
webpack implementation
Mar 13, 2016
d1685fe
Merge pull request #1625 from ptrckvzn/webpack-sage-9
retlehs Mar 13, 2016
82cd4c3
Missed during rebase. https://github.com/roots/sage/commit/3f9b112ffa…
retlehs Mar 13, 2016
55b9fea
is_page_template() requires the name of the subfolder
Mar 15, 2016
7fa53e3
remove SAGE_ENV; uses webpack -d/-p flags; add config file; subfolder…
Mar 15, 2016
8e2aeb5
images & fonts : keep the same name
Mar 15, 2016
9bb6233
remove env variable in npm scrpts; rename watch script for clarity
Mar 16, 2016
c2658fc
add image-webpack-loader; keep subfolder(s) for images & fonts: 'dist…
Mar 24, 2016
bf31b59
Merge pull request #1627 from ptrckvzn/webpack-sage-9
retlehs Mar 24, 2016
a994889
Move Sage includes from autoloader back to functions.php to fix issue…
henkler Mar 25, 2016
1a89353
bootstrap 4 flex grid
Mar 26, 2016
f89c550
webpack - various ameliorations
Mar 30, 2016
42f7de2
Merge pull request #1629 from ptrckvzn/webpack-sage-9
retlehs Mar 30, 2016
1a52c68
Update README [ci skip]
retlehs Apr 3, 2016
3216174
Merge pull request #1632 from roots/update-readme
retlehs Apr 3, 2016
4d5bc34
Merge pull request #1626 from ptrckvzn/fix-sidebar-templates
retlehs Apr 3, 2016
f5aaf3b
Consistency
retlehs Apr 3, 2016
e554726
Travis: gulp and Bower are no longer needed
retlehs Apr 3, 2016
b19cbbf
Merge pull request #1628 from HumulusLLC/sage-9
retlehs Apr 3, 2016
508de7d
Composer autoload conditional
retlehs Apr 3, 2016
fd1f625
Use Composer to run PHPCS and PHPMD tests
retlehs Apr 3, 2016
752bf04
Travis: Remove oauth
retlehs Apr 3, 2016
83ee29f
Sage 9 - fix bootstrap4 styles (#1642)
PTiCA1 May 3, 2016
c1fed13
Bootstrap NPM ^4.0.0-alpha.2
May 21, 2016
764d5fb
Merge pull request #1650 from darrenjacoby/bootstrap-4
retlehs May 23, 2016
07aec24
Add `npm prune` to Travis CI
ntwb Jun 8, 2016
b116325
Merge pull request #1663 from ntwb/patch-2
retlehs Jun 15, 2016
0356230
Updated to align with the Bootstrap 4 docs
allanchau Jun 16, 2016
ca4db00
Merge pull request #1667 from allanchau/patch-1
retlehs Jun 22, 2016
1ce8b1d
Remove path.extname() check
WatsonWeb Jul 2, 2016
4435d52
Wrap templates located outside the theme
QWp6t Jul 14, 2016
8ee444d
Allow Obj->__toString() in template heirarchy filter
QWp6t Jul 14, 2016
96c5969
Fix Obj->__toString() conditional logic in wrapper
QWp6t Jul 15, 2016
9bfdd5a
Remove unused static variable in Wrapper
QWp6t Jul 15, 2016
0a71544
Fix tpyo
QWp6t Jul 15, 2016
eb3a7ad
Rework template wrapper, bring back template_part()
QWp6t Jul 15, 2016
325c4d4
Merge pull request #1678 from roots/sage9-rework_wrapper
QWp6t Jul 16, 2016
eae36be
Refactor functions.php
QWp6t Jul 16, 2016
f34af48
Convert scripts to es6
QWp6t Jul 16, 2016
3425386
Fix display of theme name in Customizer
QWp6t Jul 16, 2016
339cc8e
router doesn't require jQuery. use default params
QWp6t Jul 16, 2016
320c691
Use shorthand syntax in main.js routes
QWp6t Jul 16, 2016
cc32225
Boostrap
retlehs Jul 16, 2016
9136379
Update comment for importing deps
retlehs Jul 16, 2016
72b2d89
Update required Node.js version
retlehs Jul 21, 2016
69917bf
Merge pull request #1673 from WatsonWeb/patch-1
retlehs Jul 21, 2016
96ad42d
Create prototype of GitHub Issue Template using Trellis equivalent as…
chrisatomix May 8, 2016
3f0e2bf
Added contributing guidelines link to readme
paultibbetts Jun 15, 2016
529b108
Fix path to stylesheet in add_editor_style
johnnyicarus Jul 23, 2016
ccd128c
Remove HTML comments from wrapper
retlehs Aug 4, 2016
447c24d
Update dependencies, incl Bootstrap 4 alpha 3
QWp6t Aug 7, 2016
25cfd61
Load tether
andrewklau Aug 8, 2016
4d58f88
Squashing asset pipeline bugs and other stuff
QWp6t Aug 13, 2016
de60291
Merge pull request #1686 from andrewklau/patch-1
QWp6t Aug 13, 2016
b6b0f4b
Ignore .github dir and .travis.yml for Composer installs
retlehs Aug 14, 2016
97c1a30
move assets found in node_modules/ to dist/vendor; simpler assets/con…
Aug 26, 2016
7623ad0
Set dynamically aboslute public path on 'npm run watch'; fix http/htt…
Aug 26, 2016
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: 0 additions & 3 deletions .bowerrc

This file was deleted.

6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.php]
indent_size = 4

[templates/**.php]
indent_size = 2
17 changes: 17 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"root": true,
"extends": "eslint:recommended",
"globals": {
"wp": true
},
"env": {
"browser": true,
"jquery": true,
"node": true,
"amd": true
},
"parser": "babel-eslint",
"rules": {
"no-console": 0
}
}
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/.github export-ignore
/.gitattributes export-ignore
/.travis.yml export-ignore
File renamed without changes.
61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
## Submit a feature request or bug report

- [ ] This is a feature request
- [ ] This is a bug report
- [ ] This request isn't a duplicate of an [existing issue](https://github.com/roots/sage/issues)
- [ ] I've read the [docs](https://roots.io/sage/docs) and [NPM Debugging Guidelines post](https://discourse.roots.io/t/npm-debugging-guidelines-failed-npm-install-bower-install-or-gulp-build-read-this/3060) and followed them (if applicable)
- [ ] This is not a personal support request that should be posted on the [Roots Discourse](https://discourse.roots.io/c/sage) forums

Replace any `X` with your information.

---

**What is the current behavior?**

X


**What is the expected or desired behavior?**

X

---

## Bug report

(delete this section if not applicable)

**Please provide steps to reproduce, including full log output:**

X

**Please describe your local environment:**

WordPress version: X

OS: X

NPM/Node version: X

**Where did the bug happen? Development or remote servers?**

X


**Is there a related [Discourse](https://discourse.roots.io/) thread or were any utilized (please link them)?**

X

---

## Feature Request

(delete this section if not applicable)

**Please provide use cases for changing the current behavior:**

X

**Other relevant information:**

X
95 changes: 0 additions & 95 deletions .jscsrc

This file was deleted.

15 changes: 0 additions & 15 deletions .jshintrc

This file was deleted.

42 changes: 29 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,47 @@
sudo: false
language: php
php:
- nightly
- 7.0
- 5.6
- 5.5
- 5.4
- hhvm
- nightly

env:
- TRAVIS_NODE_VERSION="4.2" CXX="g++-4.8"
- TRAVIS_NODE_VERSION="5.3" CXX="g++-4.8"

matrix:
fast_finish: true
allow_failures:
- php: nightly

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

cache:
apt: true
directories:
- bower_components
- $HOME/.composer/cache
- node_modules
- vendor

before_install:
- composer self-update

install:
- npm install -g npm@latest
- npm install -g bower gulp jscs
- npm install
- composer self-update && composer --version
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- composer global require squizlabs/php_codesniffer
- source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- travis_retry npm install -g npm@latest
- travis_retry npm install -g eslint
- node -v && npm -v
- npm rebuild
- travis_retry npm install
- npm prune
- composer install -o --prefer-dist --no-interaction

script:
- npm run build
- npm run jshint
- npm run jscs
- phpcs --standard=ruleset.xml --extensions=php -n -s .
- composer test
Loading