Commit graph

2935 commits

Author SHA1 Message Date
Alex Pop
b2a05172cc Merge pull request #1200 from chef/dr/inspec-archive
bugfix: always use the mock backend for inspec archive
2016-10-05 12:01:23 +01:00
Dominik Richter
2ee7988d18 bugfix: always use the mock backend for inspec archive 2016-10-05 12:54:35 +02:00
Alex Pop
fe661ccae9 Merge pull request #1198 from chef/dr/fix-logger
bugfix: use correct logger in cli
2016-10-05 10:42:38 +01:00
Dominik Richter
c93ae2d323 bugfix: use correct logger in cli 2016-10-05 11:24:35 +02:00
Dominik Richter
8d740deabf Merge pull request #1194 from chef/chris-rock-patch-1
Remove pre-1.0 warning from meta-profile
2016-10-02 23:29:26 +02:00
Christoph Hartmann
9eeb5ba8a7 Remove pre-1.0 warning from meta-profile 2016-10-02 18:06:07 +02:00
Maggie Walker
bf623e6a7d Merge pull request #1190 from chef/mw/nav
Website: Fix buggy behavior in nav and add global message
2016-09-30 11:16:39 -07:00
Maggie Walker
81f8e0e8bb Add global message to website
Adds a global message that will appear above the nav that can
be customized to advertise upcoming events.
2016-09-30 09:39:14 -07:00
Maggie Walker
7ecb1611d6 Fix buggy behavior in Docs nav 2016-09-30 09:39:14 -07:00
Dominik Richter
b08de666e8 Merge pull request #1179 from davidwrede/doc_edits
Changing headings to align with SEO best practices
2016-09-30 15:33:21 +02:00
Dominik Richter
642b2bde31 Merge pull request #1180 from chef/vj/fix-instructions
include control section in instructions
2016-09-30 14:04:46 +02:00
Victoria Jeffrey
2b712342b5 include control section in instructions 2016-09-30 13:38:30 +02:00
Dominik Richter
8ef3b02de1 Merge pull request #1185 from chef/vj/add-yumconf-example
add example for yumconf-like structured files
2016-09-30 13:38:11 +02:00
Victoria Jeffrey
3c9db53b6f add example for yumconf-like structured files 2016-09-30 13:37:47 +02:00
Dominik Richter
d7386183b9 Merge pull request #1183 from chef/dr/www/test
add sanity checks and fail build process if requirements aren't met
2016-09-30 13:37:04 +02:00
victoria jeffrey
593bdbc282 Merge pull request #1177 from chef/ssd/gitignore-test-lockfiles
Ignore lockfiles in example profiles
2016-09-28 14:49:52 -04:00
Victoria Jeffrey
12b69280b1 add sanity checks for docs and middleman build 2016-09-28 12:10:54 -04:00
Dominik Richter
9a816b2b7d add verifiers for tutorial build step
https://github.com/chef/inspec/issues/1182
2016-09-28 16:52:08 +02:00
Dominik Richter
695680a581 www: stop build process if any shell commands fail
use `sh` instead of `system`; `sh` fails, system just returns `nil` and saves the status...
2016-09-28 16:40:15 +02:00
Steven Danna
fd04d5bf7a
Ignore lockfiles in example profiles
These get generated if you run the tests manually sometimes and clutter
up git-status.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-28 13:49:06 +01:00
Christoph Hartmann
fe83884417 Merge pull request #1181 from chef/tp/learn-links
tp/learn links
2016-09-28 11:48:02 +02:00
tpetchel
bfa6e06411 Update tutorial links
* We’re gradually moving the tutorials under /tutorials.
2016-09-27 22:02:52 -04:00
tpetchel
e2f878eaee Fix a few typos 2016-09-27 22:02:20 -04:00
victoria jeffrey
c66a2fad03 Merge pull request #1175 from jerryaldrichiii/remove-default-parameter-usage
Remove default parameter in `updateInstructions()`
2016-09-27 16:00:03 -04:00
David Wrede
9283f19b6e Changing headings to align with SEO best practices
Signed-off-by: David Wrede <dwrede@chef.io>
2016-09-27 12:03:23 -07:00
Jerry Aldrich III
3ed5803f50 Remove default parameter in updateInstructions()
Some browsers do not support the use of default parameters. Moving the
logic that sets `step` to null if undefined into the function body
allows those browsers to render the tutorial correctly.
2016-09-27 14:48:36 -04:00
Dominik Richter
368a38c04d Merge pull request #1178 from chef/vj/fix-dep-on-term-ansicolor
move inquirer to deploy
2016-09-27 20:30:42 +02:00
Victoria Jeffrey
4baf1ae99c move inquirer to deploy 2016-09-27 14:23:32 -04:00
Victoria Jeffrey
47c6427082 print profile info before test results (inherited profiles) 2016-09-27 10:39:35 -04:00
Maggie Walker
da63276070 Merge pull request #1174 from chef/mw/fix-docs-nav
Website: Fix docs nav functionality and optimize for mobile
2016-09-26 13:59:48 -07:00
Maggie Walker
051b00e6bc Set constant for 2016-09-26 13:05:06 -07:00
Maggie Walker
08b1a5da88 Website: Fix docs nav functionality and optimize for mobile
A few minor styling fixes for the docs nav for mobile, refactoring
the markup to remove unneeded parent elements, and fixing a
bug where the nav overlapped with the footer if the window was
too short.
2016-09-26 12:46:56 -07:00
Christopher Webber
38e851cf0d Merge pull request #1172 from chef/cwebber/segment
Adds segment
2016-09-26 10:40:21 -07:00
Christopher Webber
9398c16ac9
Adds segment
We want the ability to add basic analytics to the site, this enables the
use of Segment.

Signed-off-by: Christopher Webber <cwebber@chef.io>
2016-09-26 10:31:55 -07:00
Dominik Richter
929dce8b87 Merge pull request #1168 from chef/dr/www/wording
www: fix wording
2016-09-26 18:18:17 +02:00
Dominik Richter
e8b960db94 www: fix wording 2016-09-26 18:08:10 +02:00
Dominik Richter
49f156ee0e Merge pull request #1167 from chef/ap/profiles-docs
Update dependency documentation and mention the lockfile
2016-09-26 17:55:38 +02:00
Alex Pop
9ce4ebb3a0 update dependency documentation and mention the lockfile 2016-09-26 16:31:06 +01:00
Christoph Hartmann
6113bb82a8 1.0.0 2016-09-26 15:59:54 +02:00
Dominik Richter
058cd116ed Merge pull request #1163 from chef/chris-rock/tutorial
website / tutorial interaction
2016-09-26 15:50:47 +02:00
Christoph Hartmann
e31b56cf24 handle resize between app and tutorial 2016-09-26 15:42:46 +02:00
Christoph Hartmann
46d193ebfe set code color for tutorial 2016-09-26 15:42:46 +02:00
Dominik Richter
d00198819f Merge pull request #1164 from chef/chris-rock/omnibus_images
update omnibus images
2016-09-26 15:42:28 +02:00
Christoph Hartmann
59c44f86cd update omnibus images 2016-09-26 15:29:27 +02:00
Christoph Hartmann
843a299553 Merge pull request #1160 from chef/ssd/require_controls_fix
Fix require_controls DSL method
2016-09-26 15:28:39 +02:00
Christoph Hartmann
549649e07a Merge pull request #1162 from chef/dr/www-community-page-links
fix buttons on community page
2016-09-26 15:26:56 +02:00
Steven Danna
7aa4c6da8e Fix require_controls DSL method
Previous, require_controls was including all controls from the named
profile, despite the documented behavior being that it only includes
controls explicitly pulled in by the user.  The cause was two-fold:

1) A previous refactor meant that we weren't removing the rule from the
correct context, and

2) We weren't descending down the dependency tree when filtering rules.

This commit fixes the require_controls DSL method and adds a test to
help prevent future regressions.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 15:20:56 +02:00
Dominik Richter
44ba4ccbad fix buttons on community page
part of https://github.com/chef/inspec/issues/1114
2016-09-26 15:18:45 +02:00
Christoph Hartmann
0ed416a25f Merge pull request #1161 from chef/dr/css-styling-community
fix alignment of community buttons
2016-09-26 15:17:59 +02:00
Dominik Richter
4f98fb8a5a fix alignment of community buttons
... and center them, see https://github.com/chef/inspec/issues/1114\#issuecomment-249526810
2016-09-26 15:06:24 +02:00