Commit graph

2826 commits

Author SHA1 Message Date
Christoph Hartmann
31e945fd7a Merge pull request #1062 from chef/chris-rock/fix-encoding
Force encoding in bin only
2016-09-13 17:09:37 +02:00
Christoph Hartmann
60360f267d move force encoding to binary only, so that it does not affect the use of inspec in lib mode 2016-09-13 16:18:40 +02:00
Christoph Hartmann
4237a47dc4 Merge pull request #1067 from chef/ssd/rubocop-fixup
Fixup rubocop violation in www/
2016-09-13 16:17:34 +02:00
Steven Danna
6e60362d56
Fixup rubocop violation in www/
- Missing encoding comments in ruby files

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-13 15:11:48 +01:00
Dominik Richter
ed178293ab Merge pull request #1063 from chef/dr/www
add homepage skeleton
2016-09-12 21:17:48 +02:00
Dominik Richter
9eb3711bbd add homepage 2016-09-12 21:01:40 +02:00
Christoph Hartmann
b591f0c6ca 0.34.0 2016-09-12 19:36:09 +02:00
Christoph Hartmann
7f2c10b5d0 Merge pull request #1051 from chef/chris-rock/meta-profile
rename example to meta-profile
2016-09-12 16:02:08 +02:00
Christoph Hartmann
b99c8b57b6 Merge pull request #1050 from chef/vj/fix-webpack-script
fix webpack start script for tutorial
2016-09-12 15:17:02 +02:00
Christoph Hartmann
a8a3053a48 rename example to meta-profile 2016-09-12 14:45:40 +02:00
Victoria Jeffrey
d22749dc29 fix webpack start script 2016-09-12 08:42:31 -04:00
Christoph Hartmann
4269cb374c Merge pull request #1044 from chef/chris-rock/security_policy
use simple config for security policy resource
2016-09-12 12:31:44 +02:00
Christoph Hartmann
9c7d06c167 use simple config for security policy resource 2016-09-12 12:20:57 +02:00
Christoph Hartmann
fe9850664d Merge pull request #1038 from chef/ssd/dup-detect
Improve duplicate and cycle detection in resolver
2016-09-12 12:19:56 +02:00
Steven Danna
b48b9edae9
Improve duplicate and cycle detection in resolver
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-12 10:57:55 +01:00
Christoph Hartmann
bff5bb2320 Merge pull request #1039 from chef/chris-rock/user_enabled
identify enabled/disabled accounts for windows
2016-09-12 11:49:28 +02:00
Christoph Hartmann
a2143b8249 identify enabled/disabled accounts for windows 2016-09-12 11:40:25 +02:00
Christoph Hartmann
5a788f1138 Merge pull request #1046 from chef/ssd/fetcher-backcompat
Add Inspec::Fetcher#relative_target for compatibility
2016-09-12 11:38:57 +02:00
Steven Danna
1836e6daeb
Add Inspec::Fetcher#relative_target for compatibility
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-12 09:54:57 +01:00
Christoph Hartmann
6506493d06 Merge pull request #1033 from chef/vj/get-content-in-demo
add demo content
2016-09-12 09:56:38 +02:00
Victoria Jeffrey
66e54b675f load content into demo and handle shell commands 2016-09-12 09:39:16 +02:00
Christoph Hartmann
4048cc6b4c Merge pull request #1037 from chef/ssd/example-corp-profile
Add example of corporate profile
2016-09-12 09:34:39 +02:00
Steven Danna
d8d53b36c1 Add example of corporate profile
This won't work until the git fetcher is merged. It likely also
exhibits other problems related to platform support handling.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-12 09:29:49 +02:00
Christoph Hartmann
df487861fe Merge pull request #1041 from chef/ssd/le-sigh
Typo supermarket -> compliance
2016-09-09 18:48:57 +02:00
Steven Danna
4d2d0f2b67
Typo supermarket -> compliance
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-09 14:46:36 +01:00
Christoph Hartmann
1c10d7fbb4 Merge pull request #1034 from chef/ssd/git-fetcher
Add GitFetcher and rework Fetchers+SourceReaders
2016-09-09 15:29:19 +02:00
Steven Danna
120b3d895a
Allow supermarket:// and compliance:// in inspec.yml
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-09 14:14:37 +01:00
Steven Danna
85cbe713d7
Add GitFetcher and rework Fetchers+SourceReaders
This adds a new git fetcher. In doing so, it also refactors how the
fetchers work a bit to better support fetchers that need to resolve
user-provided sources to fully specified sources appropriate for a
lockfile.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-09 14:14:36 +01:00
Steven Danna
3777f06927
Remove some warnings during the test run 2016-09-09 14:14:36 +01:00
Steven Danna
f431794917
Clean up Inspec::Profile initialize to make it clear what options we use 2016-09-09 14:14:36 +01:00
Christoph Hartmann
e44a3802dd Merge pull request #1035 from chef/chris-rock/sys_info
add sys_info resource to get information about the hostname
2016-09-09 12:50:35 +02:00
Christoph Hartmann
e61f71143d add unit tests 2016-09-09 12:43:03 +02:00
Christoph Hartmann
82a4e21cf7 add sys_info resource to get information about the hostname 2016-09-09 10:36:02 +02:00
Christoph Hartmann
23410755ea Merge pull request #990 from chef/ksubrama/user_sid
user resource should support filtertable
2016-09-09 10:24:48 +02:00
Christoph Hartmann
fb416bfdf8 added further comments highlight that the users research is focussed on local users 2016-09-09 09:31:38 +02:00
Christoph Hartmann
23cfc3c4bd fix for solaris 2016-09-09 09:31:38 +02:00
Christoph Hartmann
78a47aa43b improve windows implementation 2016-09-09 09:31:38 +02:00
Christoph Hartmann
74c3904844 improve performance for single user requests 2016-09-09 09:31:37 +02:00
Christoph Hartmann
94100d98b0 full implementation for filtable for linux and mac 2016-09-09 09:31:37 +02:00
Kartik Null Cating-Subramanian
42fd3fc51a first iteration fitlertable for user resource 2016-09-09 09:31:37 +02:00
Christoph Hartmann
c8f835a2ef Merge pull request #1036 from chef/ssd/code-coverage-fix
Ensure simplecov starts before everything else
2016-09-08 22:48:58 +02:00
Steven Danna
7e8f3f571e
Ensure simplecov starts before everything else
Before this change, simplecov was reporting

    1864 / 5198 LOC (35.86%) covered

After this change it is reporting

    4131 / 5275 LOC (78.31%) covered.

Keeping the require at the top of the file ensure that simplecov is
loaded before any of our application code.
2016-09-08 21:32:15 +01:00
Christoph Hartmann
bf4d5774f0 Merge pull request #1015 from chef/vj/make-demo-better
make demo better
2016-09-07 18:31:23 +02:00
Christoph Hartmann
cbaf4d1fe9 add webpack configuration 2016-09-07 18:24:50 +02:00
Victoria Jeffrey
9d32685ccb switch from systemjs to webpack 2016-09-07 18:24:50 +02:00
Victoria Jeffrey
7f47f61f43 make the demo better!! 2016-09-07 17:53:50 +02:00
Christoph Hartmann
9e9de6c66b Merge pull request #1031 from chef/dr/table
fix table formatting in readme
2016-09-07 17:50:43 +02:00
Dominik Richter
c2e834b9f4 fix table formatting in readme 2016-09-07 17:36:58 +02:00
Christoph Hartmann
f9416ffe29 Merge pull request #1029 from chef/dr/delivery
remove old delivery tests
2016-09-07 17:19:45 +02:00
Dominik Richter
2e03665f1f remove old delivery tests
our open source projects dont use these right now. Git history retains all information, so it is easy to restore it once we can use workflow again.
2016-09-07 17:15:20 +02:00