Commit Graph

29 Commits

Author SHA1 Message Date
Ned Zimmerman
2ee886bbef Write modified package.json with Font Awesome.
Fixes #1818.
2017-01-22 11:53:26 -04:00
Ben Word
360dfc91c5 Fix Bootstrap JS removal/replacement 2017-01-19 09:01:38 -07:00
Ben Word
3909bf76f0 Add option to select CSS framework, add Foundation as an option (#1813)
* Add option to select CSS framework, add Foundation as an option
2017-01-18 09:05:56 -07:00
Ben Word
1f8f24f04f Add option to add Font Awesome 2017-01-17 14:59:55 -07:00
Ben Word
c2c43df4b8 Add option to change theme file headers 2017-01-15 12:41:06 -07:00
Ben Word
b91ab89834 Add option to remove Bootstrap when creating project (#1810)
* Add option to remove Bootstrap when creating project
* Remove phpmd, per @QWp6t
2017-01-14 19:56:17 -07:00
QWp6t
50bc9d8525 Merge branch 'master' into config-class 2016-12-28 13:20:50 -08:00
QWp6t
121e3f20d7 Prefer passing class name when binding new shared instances 2016-12-24 23:45:05 -08:00
QWp6t
c0fc19ef61 Use Config object to store config options 2016-12-24 23:14:38 -08:00
QWp6t
a3141c569e Refactor Blade implementation (again), closes #1769 (#1777)
* Squash bugs, reorganize, etc.
* Use `get_body_class()` to apply filters on template data
* Use `PHP_INT_MAX` as priority for `template_include` filter
2016-12-18 15:50:08 -08:00
QWp6t
fb6f01bac8 Array manipulation in FileViewFinder::getPossibleViewFiles() should be a separate method 2016-12-10 06:11:11 -08:00
QWp6t
7af96ac311 Normalize $templates[] in {$type}_template_hierarchy 2016-12-10 06:06:00 -08:00
QWp6t
b3ebd1f698 Fallback delimiter should be const 2016-12-08 15:55:16 -08:00
QWp6t
7f7ce45ed4 Use hyphen in view paths as delimiter for fallback views 2016-12-08 15:22:17 -08:00
QWp6t
0d83ed4b8b Refactor Blade implementation. Use Container 2016-12-06 03:42:41 -08:00
QWp6t
aef630d898 Remove wrapper and template classes 2016-12-04 11:19:34 -08:00
kalenjohnson
0918597d4a First pass at Blade templating 2016-12-03 10:27:22 -08:00
Kalen Johnson
2124163de0 Namespaces on own line (#1712)
`namespace` declarations appear on their own line in PHP FIG examples as well as in common PHP frameworks. While not officially part of PSR-2, we should still follow this common practice of not putting `namespace` declaration on the same line as `<?php`.

- http://www.php-fig.org/psr/psr-2/
- https://github.com/laravel/laravel/blob/master/app/User.php#L1-L3
- https://github.com/symfony/filesystem/blob/master/Filesystem.php#L1-L12
- https://github.com/zendframework/zend-mail/blob/master/src/Address.php#L1-L10
2016-09-09 04:24:09 -07:00
QWp6t
f6bdc7b48c Refactor build routine and switch to airbnb style (#1703)
- Relocate webpack stuff to assets/build
- Switch all js to airbnb code style
- Update webpack to v2.0 (beta)
- Update all other dependencies
- Assets manifest uses relative path as key [1]
- Code should be compatible with Node 4.5.0
- All dependencies have been updated

[1]: Previously the assets manifest would use the basename of a file path as
its key when looking up a cachebusted file. This was to be consistent with
Sage 8. This change makes it so that the relative path is used instead.

To clarify, review the following example.

Before:
```
{
  "main.js": "scripts/main_5f4bfc9a9f82291c6dea.js",
  "main.css": "styles/main_5f4bfc9a9f82291c6dea.css",
  "customizer.js": "scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```

After:
```
{
  "scripts/main.js":"scripts/main_5f4bfc9a9f82291c6dea.js",
  "styles/main.css":"styles/main_5f4bfc9a9f82291c6dea.css",
  "scripts/customizer.js":"scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```
2016-09-04 19:13:16 -07:00
QWp6t
eb3a7add85 Rework template wrapper, bring back template_part() 2016-07-15 05:31:02 -07:00
QWp6t
0a71544b83 Fix tpyo 2016-07-15 03:09:09 -07:00
QWp6t
9bfdd5a5f5 Remove unused static variable in Wrapper 2016-07-14 23:17:11 -07:00
QWp6t
4435d52d01 Wrap templates located outside the theme
Wrapper will now pass through $template if locate_template() turns up zero
results.
2016-07-14 15:00:07 -07:00
QWp6t
b491f76974 All function braces need to be on new line 2016-03-11 18:06:27 -05:00
QWp6t
c5f3724efd Resolve PHPMD warnings 2016-03-11 18:06:27 -05:00
QWp6t
6a4d3bd51a Conform to new rules 2016-03-11 18:03:15 -05:00
QWp6t
1df3fee010 Remove Template class 2016-03-11 18:03:15 -05:00
Ben Word
67c190fc41 Cleanup 2016-03-11 18:03:14 -05:00
QWp6t
f752470b33 Rename app to src 2016-03-11 18:00:06 -05:00