Commit Graph

327 Commits

Author SHA1 Message Date
Ben Word
3fe2fa9d92 config.php clean up 2015-02-20 16:21:32 -06:00
Ben Word
6e7c887b63 Merge pull request #1329 from roots/conditional-tag-check
[WIP] Conditional tag check
2015-02-20 16:01:07 -06:00
Ben Word
a8819028f0 Update links 2015-02-20 15:06:12 -06:00
Scott Walkinshaw
e1663c5d2f Convert Sidebar to ConditionalTagCheck
Simplify and generalize class since it had nothing to do directly with
the sidebar. Now it can be used for other purposes as well.
2015-02-19 15:36:42 -05:00
Ben Word
73fa0de4d5 Merge branch 'master' into 8.0.0
Conflicts:
	lib/sidebar.php
2015-02-19 11:18:49 -06:00
Ben Word
17a04ee696 Migrate @Foxaii's nav-rejig for 8.0.0 2015-02-19 11:08:47 -06:00
Jason Gegere
031c4e17c0 use correct filename editor-style.css on dev or editor-style-*.css listed in manifest file for tinymce editor 2015-02-12 20:02:54 -06:00
Ben Word
b942809c97 Remove unnecessary forward slash from editor style path 2015-02-11 01:07:04 -06:00
Austin Pray
7b54b36afd Adds get_path method to JsonManifest 2015-01-31 12:08:13 -06:00
Austin Pray
979b99f397 reconcile bower dependency versions with CDN url 2015-01-31 00:33:07 -06:00
Austin Pray
f93a1f2c8c Memoize asset_path function
Previously roots would do a file operation each time asset_path is
called. Now it will only parse the json manifest one time per program
execution.

Extract json reading to class that can be used to read bower.json
2015-01-30 23:25:55 -06:00
Austin Pray
c85d059239 Switches from livereload to browsersync
Formatting
Removes references to livereload
Removes enqueued livereload client
2015-01-28 09:22:05 -06:00
Ben Word
594251ae44 Update referenced file name 2015-01-27 16:40:38 -06:00
Ben Word
b8608db3ec minor 2015-01-27 14:12:09 -06:00
Austin Pray
d5d2d02459 Fixes livereload
If the environment is development -> try loading the livereload client
being served by `gulp watch`
2015-01-24 13:17:25 -06:00
Austin Pray
c95261e8a8 Merge branch '8.0.0' of github.com:roots/roots into fix-gulp-rev
Conflicts:
	gulpfile.js
	package.json
2015-01-24 11:41:59 -06:00
Ben Word
f4d64d23c9 Update PHP files to pass coding standards 2015-01-24 00:48:50 -06:00
Austin Pray
c60b9052bf Enhance asset revving
conditional asset revving based on --production
make assets.php respect new asset revving flow
2015-01-23 03:13:01 -06:00
Austin Pray
1f098c242b Safe console.log 2015-01-21 10:41:46 -06:00
Scott Walkinshaw
4467d41325 Improve Google Analytics conditional loading
The current logic for condtionally including the GA snippet is confusing
and bit inconsistent. In development you would see logging when the
snippet wasn't included but this wouldn't happen if you were a logged in
admin.

Now there's only two cases:

1. Production non admin user: GA snippet is loaded.
2. Anything else (development or admin user): log output
2015-01-20 23:35:01 -05:00
Ben Word
1d7205891b Fix editor style path 2015-01-19 16:19:57 -06:00
Austin Pray
c6a0f6eab9 Reworks asset revving
fixes https://github.com/roots/roots/issues/1266
2015-01-19 15:19:26 -06:00
Ben Word
67f3811a6d app.js -> main.js 2015-01-18 17:30:49 -06:00
Ben Word
95cbd1713d Use minified jQuery
See 3a4ae77b1e (commitcomment-9235183)
2015-01-18 17:08:38 -06:00
Ben Word
a903e08b86 Use short array syntax 2015-01-18 16:45:18 -06:00
Ben Word
203c4c39e0 Use short echo syntax, bump required PHP version to 5.4 2015-01-18 16:29:23 -06:00
Ben Word
7016d92f07 Move is_element_empty to nav.php 2015-01-18 04:23:30 -06:00
Ben Word
7f64125701 Remove theme activation 2015-01-10 14:53:33 -06:00
Ben Word
587fbf6c35 Add namespace 2015-01-10 14:49:46 -06:00
Ben Word
030c084134 Rename to Sage 2015-01-09 20:52:29 -06:00
Ben Word
dadb2ce632 Merge master 2015-01-09 19:09:46 -06:00
Ben Word
fcc685f9df Update to jQuery 1.11.2 2015-01-06 11:54:18 -06:00
Scott Walkinshaw
2723692852 Merge pull request #1126 from mikespainhower/patch-display-sidebar
Update Sidebar to fix default template check
2014-12-23 08:25:56 -05:00
Ben Word
4f26c81bb1 Use get_the_archive_title 2014-12-18 14:11:35 -06:00
Ben Word
49221085d1 Remove wp_title, add title-tag theme support 2014-12-18 14:07:43 -06:00
Joe Fletcher
41e9f3ea68 update comments now that jQuery & Modernizr load in the footer 2014-12-05 14:34:11 -08:00
Austin Pray
44f69cf0a5 Fixes modernizr not being enqueued
https://github.com/roots/roots/issues/1223
https://github.com/roots/roots/issues/1223#issuecomment-65754009
2014-12-05 01:00:07 -06:00
Leonardo Giacone
d37c9a8604 Removed Roots_Nav_Walker as default for all menus 2014-12-02 00:52:34 +01:00
Austin Pray
e2091ef880 Implement JSON file based asset pipeline
Adds manifest.json which contains all of the mappings for the assets
ref: https://github.com/roots/roots/pull/1138#issuecomment-62593715

Prune and update NPM deps
2014-11-24 12:42:41 -06:00
Austin Pray
75db78a9a1 Remove disparity between dev and prod gulp tasks
removes `gulp dev` in favor of `gulp`

adds `gulp --rev` to produce revved asset manifest

adds `gulp --tasks` to the readme

removes postinstall script
removes bower dep
2014-11-24 12:42:30 -06:00
Austin Pray
3a4ae77b1e Reorganizes asset file structure
Separates assets into
- Source assets: `assets`
- Compiled assets: `dist`

Edits assets.php to reflect changes

Removes '.min' from filenames

Fixes:
- removes 'clean' from build step.
2014-11-24 12:34:11 -06:00
Mike Spainhower
1195739c70 Update Sidebar to fix default template check 2014-11-16 07:49:07 -07:00
Ben Word
0ea4b8c266 Merge pull request #1191 from alexsomeoddpilot/unused-parameters
Unused parameters and declared properties
2014-11-14 17:48:26 -06:00
Ben Word
554e3e7339 Merge pull request #1196 from QWp6t/master
Store display_sidebar in static variable
2014-11-11 18:20:24 -06:00
QWp6t
d1e2196f2c Store display_sidebar in static variable 2014-11-11 14:50:56 -08:00
Ben Word
49765c7450 Merge pull request #1136 from tomdxw/feature/1134-template_include
Check for template_include passing non-strings. Fixes #1134
2014-11-11 12:33:34 -06:00
Kalen Johnson
329102d630 Added correct path to editor-styles.css 2014-10-31 12:29:34 -07:00
alexsomeoddpilot
2072b30918 Declaring properties on Roots_Wrapping 2014-10-30 09:47:00 -05:00
alexsomeoddpilot
de67c88b92 Removing dead variables in activation 2014-10-30 09:41:56 -05:00
alexsomeoddpilot
2e470c7903 Fixing dead variables and params 2014-10-30 09:24:33 -05:00