Commit graph

32 commits

Author SHA1 Message Date
Dominik Richter
ad9a7120d0 www: remove jquery sticky on the sidebar (#3623)
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2018-11-26 09:12:22 -05:00
Jared Quick
2bbcdbde9b
Inspec 3.0 (#3512)
* Remove deprecated yumrepo. (#3435)

* Remove deprecations for cli `--format` and metadata.rb (#3452)

* Remove deprecated database_helpers stderr/stdout methods.
Update deprecation text for processes/apache.

* Remove deprecations for `--format` and metadata.rb
Remove deprecated `format` code.
Remove deprecated code test and change json-config format test to use
reporter.
Remove deprecated metadata.rb code
Remove deprecation notice for old supports syntax.
Deprecate metadata.rb from source_reader
Remove rubocop disables as they are no longer required for this code block.
Remove deprecated legacy metadata.rb mock profiles.
Remove deprecated metadata.rb profile tests.
Remove deprecated yumrepo test.

* Allow inspec-3.0 branch to be tested.
* Allow appveyor to test inspec-3.0 branch
* Change runner tests to use reporter rather than format.
Remove deprecated `supports: linux` tests.

* Remove skip from inherited profiles from showing up in reporting (breaking change) (#3332)

* Skip loading dependency profiles if they are unsupported on the current
platform.

Skip loading dependencies if they are unsupported on the current
platform.

Wrap our log and next in a conditional checking if the platform is
supported.

Change a `if !` into a `unless`

Check if the backend is a Train Mock Connection and if so say that the
profile does support the platform.

While iterating through tests being loaded skip when the platform is
unsupported.

We now log a WARN when a profile is skipped due to unsupported platform,
so lets check that.

Modified existing test to log that there are 0 skipped tests, instead of
2.

Add functional test that loads profile-support-skip with a json reporter
to check that our controls are not loaded and that stderr contains our
warning.

* Rather than iterating through each test return before recursion if the platform is
unsupported.

* Resolve tests using a supported platform different from testing platform

Add a control to `test/unit/mock/profiles/complete-profile` that would
work on any OS with a Internet connection. This allows the profile
to execute on any OS with success. `filesystem_spec.rb` was a control
that would only work on Linux and some BSD's.

We want profile tests to consistently work across development and testing
platforms, and not get 'skipped' in some cases.  Travis-CI tests on Linux,
Inspec Dev team uses Linux and MacOS, Appveyor tests on Windows

Also Updated `file_provider_test.rb` for `complete-profile` content changes.

If you `MockLoader.load_profile` on a unsupported platform you might not
hit the usual skip. Lets handle situations where the tests array in
Profile#load_checks_params could be nil.

* Use safe navigation rather than checking if tests is nil.
Update tests to point to unsupported_inspec and account for WARN changes.
Make unsupported_inspec profile support os-family 'unsupported_inspec'

* Fix skip bug when using include/require controls. (#3487)

* Fix skip bug when using include/require controls.
* fix test and feedback.

* Remove need for UUID detection for Automate report (#3507)
* Add json metadata for skipped profiles (#3495)

* Add skip metadata to json reports
* Unify skip messages.
* Update with status field.
* Add testing.
* Fix tests.
* lint
* Add skip exit codes for profile skips.
* Update website for 3.0 launch

Add `plugins` to sidebar.
Change 2.0 -> 3.0 in slim files.
Update 3.0 features list.
* Fix comments
* Update float to numeric.
* Change Float to numeric.
* updated feature list and impact doc
* Change "What's new in InSpec 3.0" -> "Announcing InSpec 3.0"
* Bump VERSION to 3.0.0 (#3511)

* Remove 3.0 testing checks.

* Fix azure link.
2018-10-15 18:25:27 -04:00
hannah-radish
0994c63d48 Usability testing fixes (#2755)
* Usability testing fixes

Signed-off-by: hannah-radish <hmaddy@chef.io>

* Bug fixes

Signed-off-by: hannah-radish <hmaddy@chef.io>
2018-03-07 12:25:54 +01:00
hannah-radish
53b80c3706 InSpec SEO (#2725)
* Alt tags and meta descriptions

* add sitemap support

* Sitemap Priority

Signed-off-by: hannah-radish <hmaddy@chef.io>

* Jerry's feedback

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2018-02-21 16:42:55 -08:00
Franklin Webber
eaee24a143 Fixes the paths for assets loading for javascript and stylesheets (#2710)
* The paths were relative and that was causing problems on non-index pages.
* jquery apparently needs to be loaded before the menumaker.

Signed-off-by: Franklin Webber <franklin@chef.io>
2018-02-20 15:53:05 -05:00
hannah-radish
3b41a5d7cf HM Mobile IE (#2705)
* Mobile media queries

* Dominik's slider broke

* slide groups fix

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>

* Optimization changes
2018-02-19 17:04:16 -08:00
hannah-radish
959f1e2ee0 HM website optimization (#2699)
* Font awesome

* Scroll to resources - done

* Overwriting swift type styles

* Fixed links

* Remove DL bin

* lint

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>

* lint

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>

* Add new breakpoints
2018-02-19 13:14:01 -08:00
hannah-radish
bea3d15b4c Hannah Review1 (#2683)
* Smaller triangle - slowed down grid animation

* Remove slide-up from community footer - adjust slider speed

* Beginning of tutorials

* Added links

* Tutorials sliders
2018-02-17 10:27:10 -08:00
Christoph Hartmann
4641978716 Update InSpec website (#2681)
* New styles

* Fundamental styles for home page

* Legal pages

* Community page, downloads page, tutorials page

* Docs page

* Content toggle and github badge

* Add code - highlighter

* Copy button

* Sliding content animation

* fix particle animatino on downloads page

* Scroll-to-top button

* docs sidebar links

* innocent comments on resources

* Fancy code animation

* Small update to diamond

* whatever slider

* Slider styles

* initial selection if no sliders are there

* add netifly config

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>

* inspec for provisioners

* fix incorrect text on aws ssm

* fix layout javascript

post-rebase

* resource grouping in docs

* introduce groups in docs/resources

* fix minor spelling issues and move download button in new features section

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>

* pass linting

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2018-02-17 07:44:42 -08:00
Adam Leff
f2be9a035f Update segment tag on inspec.io website (#2263)
* Update segment tag on inspec.io website

Signed-off-by: Adam Leff <adam@leff.co>

* Remove redundant include of segment.js

Signed-off-by: Adam Leff <adam@leff.co>
2017-10-26 16:37:38 -04:00
hannah-radish
23434f3606 Bug fixes for Inspec.io
- Added banner for webinars (present and future)
- CSS support for IE10, IE11, Edge
- Fixed URL bug for demo
- Fixed Edge browser resize bug
- Changes to relative path, update event info

Signed-off-by: Hannah Maddy <hmaddy@chef.io>
2017-03-03 12:25:33 -08:00
hannah-radish
9e513621fe HM - EmergencyFontFix
Allfont API unreachable so site crash. Removed font API till tomorrow
and added Helvetica, san-serif
2017-02-23 14:55:53 -08:00
hannah-radish
9bf72b4fa1 Bug fixes + New Elements
** Fixed 404 pages on mobile
** Colored links when on correct page for Nav (probably, a better way
to handle this..but it works for now)
** Changed horizontal parallax to vertical
** Per Kaiv’s request slowed down grid animation
** Per Kaiv’s request added a little “code snippet” preview when plus
icon on homepage is clicked.
2017-01-22 18:50:12 -08:00
Christoph Hartmann
b200851a51 minor code-style fixes
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-01-20 10:28:38 +01:00
Hannah Maddy
3317c3fc5d Mobile Nav - cross browser support - general UI edits 2017-01-20 10:28:33 +01:00
Hannah Maddy
af80f543d1 Removed Unnecessary JS (old sticky docs side bar 2017-01-20 10:27:10 +01:00
Hannah Maddy
6d398e8df1 Nav/footer changes to support responsive 2017-01-20 10:27:05 +01:00
Hannah Maddy
d8590b6d9c Cross-browser support for Moz, safari, google
To do: Media Queries
Highlight state when on page
2017-01-20 10:26:47 +01:00
Hannah Maddy
7fff31a5f4 Slack Invite Form 2017-01-20 10:26:42 +01:00
Hannah Maddy
bed1741b7b Tutorial Styles 2017-01-20 10:26:36 +01:00
Hannah Maddy
ab30724c64 Community Edits and progress bar 2017-01-20 10:26:30 +01:00
Hannah Maddy
72cbd0d39e New Inspec.io WIP
WIP : Community/Tutorials
NEED TO DO: Media Queries, Docs
2017-01-20 10:26:14 +01:00
Hannah Maddy
bd4a73cfb9 WIP New Inspec.io
Base SCSS, JS, fonts, images, HTML ported over to old inspec.io
tempting engine.
—To do:
Media queries, Header, footer, docs, tutorials
2017-01-20 10:22:51 +01: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
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
Christoph Hartmann
e31b56cf24 handle resize between app and tutorial 2016-09-26 15:42:46 +02:00
Maggie Walker
a4d48bd5fd Add favicon 2016-09-23 14:51:01 -07:00
Dominik Richter
959509fd70 embed tutorial inside the website 2016-09-23 16:01:18 +02:00
Maggie Walker
d9677c9af3 Add main site footer 2016-09-21 10:43:33 +02:00
Maggie Walker
f79ec02efc Add main site navigation
Also includes integration of Font awesome icons.
2016-09-20 09:23:34 -07:00
Maggie Walker
8efd59016c Add jQuery/Foundation, remove old styles
Resetting the styles to the new site baseline using jQuery and
Foundation (using a custom build of Foundation to get only the
pieces that we need).
2016-09-20 09:23:33 -07:00
Dominik Richter
9eb3711bbd add homepage 2016-09-12 21:01:40 +02:00