From b842642289aa41abf8d5476f4cfe7ef3122d898c Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Mon, 31 Jul 2017 12:10:04 -0300 Subject: [PATCH] Initial commit. --- .editorconfig | 17 + .gitattributes | 3 + .github/CONTRIBUTING.md | 1 + .github/ISSUE_TEMPLATE.md | 62 + .gitignore | 10 + .travis.yml | 41 + CHANGELOG.md | 556 ++ LICENSE.md | 19 + README.md | 124 + app/admin.php | 24 + app/filters.php | 70 + app/helpers.php | 147 + app/setup.php | 128 + composer.json | 50 + composer.lock | 1489 ++++ config/assets.php | 31 + config/theme.php | 32 + config/view.php | 51 + package.json | 131 + phpcs.xml | 71 + resources/assets/build/.eslintrc | 14 + resources/assets/build/config.js | 60 + resources/assets/build/helpers/hmr-client.js | 7 + resources/assets/build/helpers/public-path.js | 7 + resources/assets/build/postcss.config.js | 15 + .../assets/build/util/addHotMiddleware.js | 15 + .../build/util/assetManifestsFormatter.js | 34 + resources/assets/build/util/desire.js | 14 + resources/assets/build/webpack.config.js | 211 + .../assets/build/webpack.config.optimize.js | 19 + .../assets/build/webpack.config.watch.js | 35 + resources/assets/config.json | 21 + resources/assets/fonts/.gitkeep | 0 resources/assets/images/.gitkeep | 0 resources/assets/scripts/customizer.js | 5 + resources/assets/scripts/main.js | 24 + resources/assets/scripts/routes/about.js | 5 + resources/assets/scripts/routes/common.js | 8 + resources/assets/scripts/routes/home.js | 8 + resources/assets/scripts/util/Router.js | 63 + resources/assets/scripts/util/camelCase.js | 9 + resources/assets/styles/common/_global.scss | 0 .../assets/styles/common/_variables.scss | 5 + .../assets/styles/components/_buttons.scss | 0 .../assets/styles/components/_comments.scss | 5 + .../assets/styles/components/_forms.scss | 5 + .../assets/styles/components/_wp-classes.scss | 56 + resources/assets/styles/layouts/_footer.scss | 0 resources/assets/styles/layouts/_header.scss | 2 + resources/assets/styles/layouts/_pages.scss | 0 resources/assets/styles/layouts/_posts.scss | 0 resources/assets/styles/layouts/_sidebar.scss | 0 resources/assets/styles/layouts/_tinymce.scss | 3 + resources/assets/styles/main.scss | 25 + resources/controllers/About.php | 10 + resources/controllers/App.php | 13 + resources/controllers/Home.php | 10 + resources/functions.php | 92 + resources/index.php | 3 + resources/screenshot.png | Bin 0 -> 225 bytes resources/style.css | 12 + resources/views/404.blade.php | 14 + resources/views/index.blade.php | 18 + resources/views/layouts/app.blade.php | 23 + resources/views/page.blade.php | 8 + resources/views/partials/comments.blade.php | 38 + .../views/partials/content-page.blade.php | 2 + .../views/partials/content-search.blade.php | 11 + .../views/partials/content-single.blade.php | 13 + resources/views/partials/content.blade.php | 9 + resources/views/partials/entry-meta.blade.php | 6 + resources/views/partials/footer.blade.php | 5 + resources/views/partials/head.blade.php | 6 + resources/views/partials/header.blade.php | 10 + .../views/partials/page-header.blade.php | 3 + resources/views/partials/sidebar.blade.php | 1 + resources/views/search.blade.php | 18 + resources/views/single.blade.php | 7 + resources/views/template-custom.blade.php | 12 + yarn.lock | 6773 +++++++++++++++++ 80 files changed, 10849 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 .github/CONTRIBUTING.md create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 CHANGELOG.md create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 app/admin.php create mode 100644 app/filters.php create mode 100644 app/helpers.php create mode 100644 app/setup.php create mode 100644 composer.json create mode 100644 composer.lock create mode 100644 config/assets.php create mode 100644 config/theme.php create mode 100644 config/view.php create mode 100644 package.json create mode 100644 phpcs.xml create mode 100644 resources/assets/build/.eslintrc create mode 100644 resources/assets/build/config.js create mode 100644 resources/assets/build/helpers/hmr-client.js create mode 100644 resources/assets/build/helpers/public-path.js create mode 100644 resources/assets/build/postcss.config.js create mode 100644 resources/assets/build/util/addHotMiddleware.js create mode 100644 resources/assets/build/util/assetManifestsFormatter.js create mode 100644 resources/assets/build/util/desire.js create mode 100644 resources/assets/build/webpack.config.js create mode 100644 resources/assets/build/webpack.config.optimize.js create mode 100644 resources/assets/build/webpack.config.watch.js create mode 100644 resources/assets/config.json create mode 100644 resources/assets/fonts/.gitkeep create mode 100644 resources/assets/images/.gitkeep create mode 100644 resources/assets/scripts/customizer.js create mode 100644 resources/assets/scripts/main.js create mode 100644 resources/assets/scripts/routes/about.js create mode 100644 resources/assets/scripts/routes/common.js create mode 100644 resources/assets/scripts/routes/home.js create mode 100644 resources/assets/scripts/util/Router.js create mode 100644 resources/assets/scripts/util/camelCase.js create mode 100644 resources/assets/styles/common/_global.scss create mode 100644 resources/assets/styles/common/_variables.scss create mode 100644 resources/assets/styles/components/_buttons.scss create mode 100644 resources/assets/styles/components/_comments.scss create mode 100644 resources/assets/styles/components/_forms.scss create mode 100644 resources/assets/styles/components/_wp-classes.scss create mode 100644 resources/assets/styles/layouts/_footer.scss create mode 100644 resources/assets/styles/layouts/_header.scss create mode 100644 resources/assets/styles/layouts/_pages.scss create mode 100644 resources/assets/styles/layouts/_posts.scss create mode 100644 resources/assets/styles/layouts/_sidebar.scss create mode 100644 resources/assets/styles/layouts/_tinymce.scss create mode 100644 resources/assets/styles/main.scss create mode 100644 resources/controllers/About.php create mode 100644 resources/controllers/App.php create mode 100644 resources/controllers/Home.php create mode 100644 resources/functions.php create mode 100644 resources/index.php create mode 100644 resources/screenshot.png create mode 100644 resources/style.css create mode 100644 resources/views/404.blade.php create mode 100644 resources/views/index.blade.php create mode 100644 resources/views/layouts/app.blade.php create mode 100644 resources/views/page.blade.php create mode 100644 resources/views/partials/comments.blade.php create mode 100644 resources/views/partials/content-page.blade.php create mode 100644 resources/views/partials/content-search.blade.php create mode 100644 resources/views/partials/content-single.blade.php create mode 100644 resources/views/partials/content.blade.php create mode 100644 resources/views/partials/entry-meta.blade.php create mode 100644 resources/views/partials/footer.blade.php create mode 100644 resources/views/partials/head.blade.php create mode 100644 resources/views/partials/header.blade.php create mode 100644 resources/views/partials/page-header.blade.php create mode 100644 resources/views/partials/sidebar.blade.php create mode 100644 resources/views/search.blade.php create mode 100644 resources/views/single.blade.php create mode 100644 resources/views/template-custom.blade.php create mode 100644 yarn.lock diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e5c8d6c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# editorconfig.org + +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.php] +indent_size = 4 + +[resources/views/**.php] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..b3f9170 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +/.github export-ignore +/.gitattributes export-ignore +/.travis.yml export-ignore diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 0000000..5867fee --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1 @@ +Please read [Contributing to Roots Projects](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..10eda92 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,62 @@ +## Submit a feature request or bug report + +- [ ] I've read the [guidelines for Contributing to Roots Projects](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md) +- [ ] 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 + + + +--- + +**What is the current behavior?** + +X + + +**What is the expected or desired behavior?** + +X + +--- + +## Bug report + + + +**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 + + + +**Please provide use cases for changing the current behavior:** + +X + +**Other relevant information:** + +X diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..45d23ca --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +# Include your project-specific ignores in this file +# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files +.cache-loader +dist +bower_components +node_modules +npm-debug.log +yarn-error.log +vendor +resources/assets/config-local.json diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..63ede20 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,41 @@ +language: php +sudo: false +dist: trusty +php: + - 7.1 + - 7.0 + - 5.6 + - nightly + +env: + - TRAVIS_NODE_VERSION="6" + - TRAVIS_NODE_VERSION="7" + +matrix: + fast_finish: true + allow_failures: + - php: nightly + +cache: + apt: true + directories: + - $HOME/.composer/cache + - $HOME/.yarn-cache + - vendor + +before_install: + - composer self-update + - source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION + - export PATH=$HOME/.yarn/bin:$PATH && travis_retry curl -o- -L https://yarnpkg.com/install.sh | bash + +install: + - node -v && yarn -V + - travis_retry yarn + - composer install -o --prefer-dist --no-interaction + +script: + - yarn run test + - yarn run build + - yarn run rmdist + - yarn run "build:production" + - composer test diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..95cde8b --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,556 @@ +### 9.0.0-beta.3: April 21st, 2017 +* Move required theme files to `sage/resources` ([#1877](https://github.com/roots/sage/pull/1877)) +* Move `src/` to `app/` ([#1868](https://github.com/roots/sage/pull/1868)) +* Move `templates/` to `resources/views/`, move `assets/` to `resources/assets/`, rename `base.blade.php` to `app.blade.php` ([#1864](https://github.com/roots/sage/pull/1864)) +* Add option to configure build settings ([#1822](https://github.com/roots/sage/pull/1822)) +* Add support for HTML injection ([#1817](https://github.com/roots/sage/pull/1817)) +* Add Tachyons as a CSS framework option ([#1867](https://github.com/roots/sage/pull/1867)) + +### 9.0.0-beta.2: January 19th, 2017 +* Fix Browersync ([#1815](https://github.com/roots/sage/pull/1815)) +* Add option to select CSS framework, add Foundation as an option ([#1813](https://github.com/roots/sage/pull/1813)) +* Add option to add Font Awesome ([#1812](https://github.com/roots/sage/pull/1812)) +* Add option to change theme file headers ([#1811](https://github.com/roots/sage/pull/1811)) +* Add option to remove Bootstrap ([#1810](https://github.com/roots/sage/pull/1810)) +* Remove Font Awesome ([#1809](https://github.com/roots/sage/pull/1809)) +* Remove grid defaults ([#1808](https://github.com/roots/sage/pull/1808)) +* Fix for `publicPath` ([#1806](https://github.com/roots/sage/pull/1806)) +* Update clean task name ([#1800](https://github.com/roots/sage/pull/1800)) +* Allow browser versions to be configured in `config.json` ([#1798](https://github.com/roots/sage/pull/1798)) +* Use stock ESLint ([#1796](https://github.com/roots/sage/pull/1796)) + +### 9.0.0-beta.1: January 10th, 2017 +* Update to Bootstrap 4 Alpha 6 ([#1792](https://github.com/roots/sage/pull/1792)) +* Add Blade ([#1765](https://github.com/roots/sage/pull/1765) and [#1777](https://github.com/roots/sage/pull/1777)) +* Remove sidebar defaults ([#1760](https://github.com/roots/sage/pull/1760)) +* Remove post formats ([#1759](https://github.com/roots/sage/pull/1759)) + +### 9.0.0-alpha.4: November 16th, 2016 +* Use new webpack api schema ([8ac5f15](https://github.com/roots/sage/commit/e6e60aa)) +* Update dependencies ([70ebba7](https://github.com/roots/sage/commit/70ebba7)) +* Variables organization ([8ac5f15](https://github.com/roots/sage/commit/8ac5f15)) +* Use `$.fn.ready()` (reverts [724d550](https://github.com/roots/sage/commit/724d550)) ([e7fccbe](https://github.com/roots/sage/commit/e7fccbe)) +* Theme activation updates 'stylesheet' option instead of 'template' ([fb19145](https://github.com/roots/sage/commit/fb19145)) +* Reorganize and refactor build routine ([8c9ba05](https://github.com/roots/sage/commit/8c9ba05)) +* Switch assets manifest plugin ([c1bb2b3](https://github.com/roots/sage/commit/c1bb2b3)) +* Add images to assets manifest ([c49793c](https://github.com/roots/sage/commit/c49793c)) +* Switch from babel to buble ([0d38ab8](https://github.com/roots/sage/commit/0d38ab8)) +* Update dependencies & webpack compatibility ([eae52fd](https://github.com/roots/sage/commit/eae52fd)) +* Use http by default (not https) to be consistent with Trellis ([e6f2f49](https://github.com/roots/sage/commit/e6f2f49)) + +### 9.0.0-alpha.3: September 11th, 2016 +* Fix webpack HMR ([#1713](https://github.com/roots/sage/issues/1713)) +* Remove minor edits from CHANGELOG.md ([3516629](https://github.com/roots/sage/commit/3516629)) + +### 9.0.0-alpha.2: September 4th, 2016 +* Refactor build routine ([#1703](https://github.com/roots/sage/pull/1703)) +* Update `_grid.scss` to use `@include make-col-ready()` mixin ([#1706](https://github.com/roots/sage/pull/1706)) + +### 9.0.0-alpha.1: August 30th, 2016 +* Move assets found in `node_modules/` to `dist/vendor`, simpler `assets/config.json` ([#1697](https://github.com/roots/sage/pull/1697)) +* Set dynamically absolute public path ([#1696](https://github.com/roots/sage/pull/1696)) +* Load Tether ([#1686](https://github.com/roots/sage/pull/1686)) +* Squash asset pipeline bugs ([4d58f88](https://github.com/roots/sage/commit/4d58f88)) +* Update dependencies, incl Bootstrap 4 alpha 3 ([447c24d](https://github.com/roots/sage/commit/447c24d)) +* Fix path to stylesheet in `add_editor_style` ([#1684](https://github.com/roots/sage/pull/1684)) +* Update required Node.js version ([72b2d89](https://github.com/roots/sage/commit/72b2d89)) +* Router doesn't require jQuery, use default params ([339cc8e](https://github.com/roots/sage/commit/339cc8e)) +* Fix display of theme name in Customizer ([3425386](https://github.com/roots/sage/commit/3425386)) +* Convert scripts to ES6 ([f34af48](https://github.com/roots/sage/commit/f34af48)) +* Refactor functions.php ([eae36be](https://github.com/roots/sage/commit/eae36be)) +* Rework template wrapper, bring back template_part() ([#1678](https://github.com/roots/sage/pull/1678)) +* Remove unused static variable in Wrapper ([9bfdd5a](https://github.com/roots/sage/commit/9bfdd5a)) +* Remove `path.extname()` check ([#1673](https://github.com/roots/sage/pull/1673)) +* Updated to align with the Bootstrap 4 docs ([#1667](https://github.com/roots/sage/pull/1667)) +* Add `npm prune` to Travis CI ([#1663](https://github.com/roots/sage/pull/1663)) +* Bootstrap NPM ^4.0.0-alpha.2 ([#1650](https://github.com/roots/sage/pull/1650)) +* Fix Bootstrap 4 styles ([#1642](https://github.com/roots/sage/pull/1642)) +* Fix autoloader load order issue when including Sage 9 via composer.json in Bedrock ([#1628](https://github.com/roots/sage/pull/1628)) +* `is_page_template()` requires the name of the subfolder ([#1626](https://github.com/roots/sage/pull/1626)) +* Webpack config improvements ([#1629](https://github.com/roots/sage/pull/1629)) +* Webpack implementation improvements ([#1627](https://github.com/roots/sage/pull/1627)) +* Webpack implementation ([#1625](https://github.com/roots/sage/pull/1625)) +* Fix BS4 grid after their grid updates ([5551dde](https://github.com/roots/sage/commit/5551dde)) +* Pass the correct template ([856a482](https://github.com/roots/sage/commit/856a482)) +* Optimize travis a bit ([b42c425](https://github.com/roots/sage/commit/b42c425)) +* Move single-post loop to single.php, closes #1582 ([6efa099](https://github.com/roots/sage/commit/6efa099)) +* All function braces need to be on new line ([b491f76](https://github.com/roots/sage/commit/b491f76)) +* Fix issue with WP loading wrong index.php ([9e2917e](https://github.com/roots/sage/commit/9e2917e)) +* Use 4 spaces for `src/*.php` ([fe659f4](https://github.com/roots/sage/commit/fe659f4)) +* Use phpcs.xml for all rules ([246955c](https://github.com/roots/sage/commit/246955c)) +* Conform to new rules ([6a4d3bd](https://github.com/roots/sage/commit/6a4d3bd)) +* Create new phpcs rules ([2d02544](https://github.com/roots/sage/commit/2d02544)) +* Remove Template class ([1df3fee](https://github.com/roots/sage/commit/1df3fee)) +* Remove closure from sidebar registration ([12d6ac3](https://github.com/roots/sage/commit/12d6ac3)) +* Remove sage.pot ([d4461fa](https://github.com/roots/sage/commit/d4461fa)) +* Remove template_part, template_sidebar, temp sidebar fix ([abeea0f](https://github.com/roots/sage/commit/abeea0f)) +* Update asset handles ([fa0e51f](https://github.com/roots/sage/commit/fa0e51f)) +* Remove comment-reply JS ([d217ba6](https://github.com/roots/sage/commit/d217ba6)) +* Update node in travis, remove unsupported php ([8712dc8](https://github.com/roots/sage/commit/8712dc8)) +* Update dependencies, switch to eslint ([e51e41e](https://github.com/roots/sage/commit/e51e41e)) +* Bootstrap 4 ([c9ef232](https://github.com/roots/sage/commit/c9ef232)) +* Fix: page title not displaying ([9283bbb](https://github.com/roots/sage/commit/9283bbb)) +* Rename interfaces, unset after unwrapping ([97906e9](https://github.com/roots/sage/commit/97906e9)) +* Restructure theme, use autoloader ([9eaffa3](https://github.com/roots/sage/commit/9eaffa3a2d4df462dd8020a10551334208bd32a3)) + +### 8.5.0: September 20th, 2016 +* Update installation instructions +* Update dependencies +* Update to Bootstrap 4.0.0-alpha.4 ([5eb01fd](https://github.com/roots/sage/commit/5eb01fd0319a7b6576e31579dc50e16b023abb74)) + +### 8.4.2: February 19th, 2016 +* Add Composer vendor directory to gitignore ([#1618](https://github.com/roots/sage/issues/1618)) +* Fix build test by removing trailing space ([#1617](https://github.com/roots/sage/issues/1617)) +* Replace deprecated gulp-minify-css with gulp-cssnano ([#1610](https://github.com/roots/sage/issues/1610)) + +### 8.4.1: January 27th, 2016 +* Add `composer.json` and update installation instructions ([#1583](https://github.com/roots/sage/issues/1583)) + +### 8.4.0: December 1st, 2015 +* Update to Bootstrap 3.3.6 ([#1578](https://github.com/roots/sage/pull/1578)) +* Remove unnecessary underscore ([#1577](https://github.com/roots/sage/pull/1577)) +* Drop support for older browsers ([#1571](https://github.com/roots/sage/pull/1571)) +* Add support for theme customizer ([#1573](https://github.com/roots/sage/pull/1573)) +* Remove extraneous no-js ([#1562](https://github.com/roots/sage/pull/1562)) +* Simplify/speed up editor style process ([#1560](https://github.com/roots/sage/pull/1560)) + +### 8.3.0: October 13th, 2015 +* Setup organization ([#1558](https://github.com/roots/sage/pull/1558)) +* Remove redundancy with WAI-ARIA in HTML ([#1557](https://github.com/roots/sage/pull/1557)) +* Rename config.php to setup.php ([#1556](https://github.com/roots/sage/pull/1556)) +* Move init.php to config.php ([#1555](https://github.com/roots/sage/pull/1555)) +* Use Sass to style search form, remove search template ([#1545](https://github.com/roots/sage/pull/1545)) +* Remove Modernizr ([#1541](https://github.com/roots/sage/pull/1541)) +* Remove references to WP_ENV ([#1554](https://github.com/roots/sage/pull/1554)) +* Use WP core's HTML5 gallery markup ([#1546](https://github.com/roots/sage/pull/1546)) +* Use slash in handle names for theme CSS and JS ([#1537](https://github.com/roots/sage/pull/1537)) +* Add compatibility with WooCommerce Multilingual plugin ([#1530](https://github.com/roots/sage/pull/1530)) +* Remove ConditionalTagCheck class ([#1494](https://github.com/roots/sage/pull/1494)) +* Add search templates ([#1459](https://github.com/roots/sage/issues/1459)) +* Allow `debugger` statements in development JavaScript ([#1487](https://github.com/roots/sage/issues/1487)) + +### 8.2.1: May 7th, 2015 +* Update BrowserSync ([#1457](https://github.com/roots/sage/issues/1457)) +* Bump dependencies ([#1448](https://github.com/roots/sage/issues/1448)) +* Allow revved files to resolve in development if they exist ([#1456](https://github.com/roots/sage/issues/1456)) +* Disable advanced minification features to fix incorrect file path in compiled CSS ([#1452](https://github.com/roots/sage/issues/1452)) +* Fix Glyphicon font path ([#1455](https://github.com/roots/sage/issues/1455)) + +### 8.2.0: April 29th, 2015 +* Use Sass Bootstrap by default ([#1437](https://github.com/roots/sage/issues/1437)) +* Remove nav walker and Bootstrap navbar ([#1427](https://github.com/roots/sage/issues/1427)) +* Remove Bootstrap gallery ([#1421](https://github.com/roots/sage/issues/1421)) +* Remove hardcoded feed link ([#1426](https://github.com/roots/sage/issues/1426)) +* Move jQuery CDN feature to Soil ([#1422](https://github.com/roots/sage/issues/1422)) +* Bump `gulp-load-plugins` to 0.10.0 ([#1419](https://github.com/roots/sage/issues/1419)) +* Switch from [yargs](https://github.com/bcoe/yargs) to [minimist](https://github.com/substack/minimist) ([#1418](https://github.com/roots/sage/issues/1418)) +* Remove `$content_width` ([#1417](https://github.com/roots/sage/issues/1417)) +* Lowercase `X-UA-Compatible` ([#1409](https://github.com/roots/sage/issues/1409)) +* Remove mention of Google Analytics from the config ([#1384](https://github.com/roots/sage/issues/1384)) + +### 8.1.1: March 31st, 2015 +* Remove pleeease dependency in favor of vanilla gulp-autoprefixer and gulp-minify-css ([#1402](https://github.com/roots/sage/issues/1402)) +* Fix `gulp --production` race condition ([#1398](https://github.com/roots/sage/issues/1398)) +* Update to Bootstrap 3.3.4 ([#1387](https://github.com/roots/sage/issues/1387)) + +### 8.1.0: March 13th, 2015 +* Move HTML5 Boilerplate's Google Analytics snippet to Soil ([#1382](https://github.com/roots/sage/issues/1382)) +* Run `gulp build` if `bower.json` is changed ([#1378](https://github.com/roots/sage/issues/1378)) +* Remove namespace from base.php ([#1372](https://github.com/roots/sage/issues/1372)) +* Allow build directory to be customized ([#1352](https://github.com/roots/sage/issues/1352), [#1366](https://github.com/roots/sage/issues/1366)) +* Update ConditionalTagCheck and usage docs ([#1365](https://github.com/roots/sage/issues/1365)) +* Change default gallery columns to 3 ([#1364](https://github.com/roots/sage/issues/1364)) +* Apply `script_loader_src` filter to jQuery fallback ([#1363](https://github.com/roots/sage/issues/1363)) + +### 8.0.1: February 26th, 2015 +* Update asset-builder version to fix Windows compatibility ([#1351](https://github.com/roots/sage/issues/1351)) +* Fix broken wiredep imports with main.scss.example ([Discussion](https://discourse.roots.io/t/issue-with-sage-sass-version/2962)) + +### 8.0.0: February 25th, 2015 +* Change theme name from Roots to Sage +* Bump required PHP version to >=5.4 +* Add coding standards based on PSR-2 +* Add Travis CI +* Add namespace +* Use short array syntax +* Use short echo syntax +* Switch from Grunt to gulp, new front-end development workflow +* Switch from Livereload to [BrowserSync](http://www.browsersync.io/) +* Use wiredep for Sass and Less injection +* Implement JSON file based asset pipeline with [asset-builder](https://github.com/austinpray/asset-builder) +* Re-organize asset file structure +* Re-organize stylesheet file structure +* Add main.scss.example and instructions for using Sass +* Use the primary theme stylesheet for the editor stylesheet +* Remove theme activation, move to [wp-cli-theme-activation](https://github.com/roots/wp-cli-theme-activation) +* Simplify 404 page +* Convert Sidebar to ConditionalTagCheck +* Update to jQuery 1.11.2 +* Use new core navigation template tag +* Update sidebar to fix default template check +* Update nav walker to correctly assign `active` classes for custom post types +* Better support for CPT templates + +### 7.0.3: December 18th, 2014 +* Use `get_the_archive_title` +* Remove `wp_title`, add title-tag theme support +* Remove `Roots_Nav_Walker` as default for all menus +* Update to Bootstrap 3.3.1 +* Add some base comment styling +* Make search term `required` in search form + +### 7.0.2: October 24th, 2014 +* Simplify comments, use core comment form and list +* Remove HTML5 shiv from Modernizr build +* Move JavaScript to footer +* Update hEntry schema to use `updated` instead of `published` +* Move variables into `main.less` +* Add `roots_body_class` function that checks for page slug in `body_class` +* Move `wp_footer` from footer template into `base.php` + +### 7.0.1: August 15th, 2014 +* Move `
` and `.sidebar` markup out of PHP and into LESS +* Define `WP_ENV` if it is not already defined +* Only load Google Analytics in production environment + +### 7.0.0: July 3rd, 2014 +* Updated Grunt workflow +* Use grunt-modernizr to make a lean Modernizr build +* Use Bower for front-end package management +* Update to Bootstrap 3.2.0 +* Update to Modernizr 2.8.2 +* Update to jQuery 1.11.1 +* Move clean up, relative URLs, and nice search to [Soil](https://github.com/roots/soil) +* Update LESS organization +* Move [community translations](https://github.com/roots/roots-translations) to separate repository + +### 6.5.2: February 4th, 2014 +* Update to Bootstrap 3.1.0 +* Move DOM routing into an anonymous function to support jQuery noConflict +* Update to jQuery 1.11.0 +* Add notice to theme activation, tidy activation table markup +* Remove changing media folder from theme activation (use [Bedrock](https://github.com/roots/bedrock) for clean URLs out of the box) +* Switch `div.main` to `main` element now that Modernizr uses the latest HTML5 Shiv +* Update to Modernizr 2.7.0 +* Don't run JSHint on plugins (`assets/js/plugins/`) +* Disable warnings about undefined variables (JSHint) +* Merge in updates from HTML5 Boilerplate +* Add JS source map (disabled by default) +* Replace `grunt-recess` with `grunt-contrib-less`, add LESS source map support + +### 6.5.1: November 5th, 2013 +* Move clean URLs to a [plugin](https://github.com/roots/roots-rewrites) +* Update to Bootstrap 3.0.1 + +### 6.5.0: August 23rd, 2013 +* Reference new site, [http://roots.io/](http://roots.io/) +* Remove bundled docs, reference [http://roots.io/docs/](http://roots.io/docs/) +* Use Bootstrap variables for media queries +* Update to Bootstrap 3.0.0 +* Update to jQuery 1.10.2 +* Change media directory from `/assets/` to `/media/` +* Update to Google Universal Analytics +* Show author display name for author archives +* Add Serbian translation +* Remove post tags from templates +* Remove TinyMCE valid elements tweaks (no longer necessary) +* Remove additional widget classes +* Move `/assets/css/less/` to `/assets/less/` +* Add wrapper templates filter +* Fix relative external URLs issue + +### 6.4.0: May 1st, 2013 +* Fix Theme Activation page issues +* Fix issues with root relative URLs and rewrites on non-standard setups +* Make sure rewrites are added to `.htaccess` immediately after activation +* Move HTML5 Boilerplate's `.htaccess` to a [plugin](https://github.com/roots/wp-h5bp-htaccess) +* Rename `page-custom.php` to `template-custom.php` +* Don't warn about unwritable htaccess if that option is disabled +* Add missing collapse class for top navbar +* Add comment template +* Update is_dropdown evaluation in nav walker +* Re-organize archives template +* Add missing comment ID +* hNews consistency with entry-title class +* Add `wp_title()` filter +* Fix missing closing div in comments +* Fix for navbar dropdowns +* Add option for using jQuery on Google CDN +* Correct logic in `roots_enable_root_relative_urls` +* Add Greek translation, update Brazilian Portuguese translation +* Update to Bootstrap 2.3.1 +* Simplify alerts +* Remove disabled post nav links +* Use Bootstrap media object for listing comments +* Move Google Analytics to `lib/scripts.php` +* Static top navbar instead of fixed + +### 6.3.0: February 8th, 2013 +* Update to Bootstrap 2.3.0 +* Update to jQuery 1.9.1 +* Output author title with `get_the_author()` +* Add EditorConfig +* Update 404 template based on H5BP +* Update H5BP's included .htaccess +* Don't show comments on passworded posts +* Add `do_action('get_header')` for WooSidebars compatibility +* Simplify entry meta +* Allow `get_search_form()` to be called more than once per request +* Move plugins.js and main.js to footer +* JavaScript clean up (everything is now enqueued) +* Remove conditional feed +* Introduce `add_theme_support('bootstrap-gallery')` +* Rewrites organization (introduce `lib/rewrites.php`) +* Fix `add_editor_style` path +* Updated translations: French, Bulgarian, Turkish, Korean +* Enable `add_theme_support` for Nice Search +* Replace ID's with classes +* Add support for dynamic sidebar templates +* Fix PHP notice on search with no results +* Update to jQuery 1.9.0 + +### 6.2.0: January 13th, 2013 +* Implement latest Nice Search +* Update [gallery] shortcode +* Add Simplified Chinese, Indonesian, Korean translations +* Move template title to `lib/utils.php` +* Update to Bootstrap 2.2.2 +* Update to jQuery 1.8.3 +* Use `entry-summary` class for excerpts per Readability's Article Publishing Guidelines +* Cleanup/refactor `lib/activation.php` +* Remove `lib/post-types.php` and `lib/metaboxes.php` +* Make sure Primary Navigation menu always gets created and has the location set upon activation, update activation permalink method +* Update to Bootstrap 2.2.1 +* Update conditional feed method +* Update to Bootstrap 2.2.0 +* Return instead of echo class names in `roots_main_class` and `roots_sidebar_class` +* Move nav customizations into `lib/nav.php` + +### 6.1.0: October 2nd, 2012 +* Change roots_sidebar into a more explicit configuration array +* Re-organize configuration/setup files +* Update to jQuery 1.8.2 +* Refactor/simplify Roots vCard Widget +* Move custom entry_meta code into template +* Move Google Analytics code into footer template +* Add CONTRIBUTING.md to assist with the new GitHub UI +* Add nav walker support for CSS dividers and nav-header + +### 6.0.0: September 16th, 2012 +* Simplify nav walker and support 3rd level dropdowns +* Update to Bootstrap 2.1.1, jQuery 1.8.1, Modernizr 2.6.2 +* Add bundled docs +* Update all templates to use [PHP Alternative Syntax](http://php.net/manual/en/control-structures.alternative-syntax.php) +* Add MIT License +* Implement scribu's [Theme Wrapper](http://scribu.net/wordpress/theme-wrappers.html) (see `base.php`) +* Move `css/`, `img/`, and `js/` folders within a new `assets/` folder +* Move templates, `comments.php`, and `searchform.php` to `templates/` folder +* Rename `inc/` to `lib/` +* Add placeholder `lib/post-types.php` and `lib/metaboxes.php` files +* Rename `loop-` files to `content-` +* Remove all hooks +* Use `templates/page-header.php` for page titles +* Use `head.php` for everything in `` + +### 5.2.0: August 18th, 2012 +* Update to jQuery 1.8.0 and Modernizr 2.6.1 +* Fix duplicate active class in `wp_nav_menu` items +* Merge `Roots_Navbar_Nav_Walker` into `Roots_Nav_Walker` +* Add and update code documentation +* Use `wp_get_theme()` to get the theme name on activation +* Use `
` & `
` for captions +* Wrap embedded media as suggested by Readability +* Remove unnecessary `remove_action`'s on `wp_head` as of WordPress 3.2.1 +* Add updates from HTML5 Boilerplate +* Remove well class from sidebar +* Flush permalinks on activation to avoid 404s with clean URLs +* Show proper classes on additional `wp_nav_menu()`'s +* Clean up `inc/cleanup.php` +* Remove old admin notice for tagline +* Remove default tagline admin notice, hide from feed +* Fix for duplicated classes in widget markup +* Show title on custom post type archive template +* Fix for theme preview in WordPress 3.3.2 +* Introduce `inc/config.php` with options for clean URLs, H5BP's `.htaccess`, root relative URLs, and Bootstrap features +* Allow custom CSS classes in menus, walker cleanup +* Remove WordPress version numbers from stylesheets +* Don't include HTML5 Boilerplate's `style.css` by default +* Allow `inc/htaccess.php` to work with Litespeed +* Update to Bootstrap 2.0.4 +* Update Bulgarian translation +* Don't use clean URLs with default permalink structure +* Add translations for Catalan, Polish, Hungarian, Norwegian, Russian + +### 5.1.0: April 14th, 2012 +* Various bugfixes for scripts, stylesheets, root relative URLs, clean URLs, and htaccess issues +* Add a conditional feed link +* Temporarily remove Gravity Forms customizations +* Update to Bootstrap 2.0.2 +* Update `roots.pot` for translations +* Add/update languages: Vietnamese, Swedish, Bulgarian, Turkish, Norwegian, Brazilian Portugese +* Change widgets to use `
` instead of `
` +* Add comment-reply.js +* Remove optimized robots.txt +* HTML5 Boilerplate, Modernizr, and jQuery updates + +### 5.0.0: February 5th, 2012 +* Remove all frameworks except Bootstrap +* Update to Bootstrap 2.0 +* Remove `roots-options.php` and replaced with a more simple `roots-config.php` +* Now using Bootstrap markup on forms, page titles, image galleries, alerts and errors, post and comment navigation +* Remove Roots styles from `style.css` and introduced `app.css` for site-specific CSS +* Remove almost all previous default Roots styling +* Latest updates from HTML5 Boilerplate + +### 4.1.0: February 1st, 2012 +* Update translations +* HTML5 Boilerplate updates +* Fix for Server 500 errors +* Add `roots-scripts.php`, now using `wp_enqueue_script` +* Re-organize `roots-actions.php` +* Allow `