Commit Graph

236 Commits

Author SHA1 Message Date
Stephan Renatus a2994150f5 website/live-blocks/preprocess: allow queries with future keywords
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-06-22 10:36:06 +02:00
Dolev Farhi 0bc9319dee Add Alfred (self-hosted playground) to ecosystem (#4770)
Signed-off-by: dolevf <farhi.dolev@gmail.com>
2022-06-10 20:53:53 +02:00
psevestre 2bd6f3b6ab ecosystem: add java spring tutorial (#4757)
Code and tutorial for "Authorization for Java Spring Security"

Signed-off-by: Philippe <phil@lighthouse.com.br>
2022-06-09 20:11:20 +02:00
Stephan Renatus 68653fc825 website/ecosystem: use location.hash to track open modal (#4750)
This lets us link to a certain tile of the ecosystem page, e.g.

https://openpolicyagent.org/docs/edge/ecosystem/#styra-das-detail

Fixes #4667.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-06-07 14:17:36 +02:00
Avinash Desireddy 680b786fe0 website: Add "Edit on GitHub" button to docs (#4737)
Fixes #3784.

Includes:
- Minor design changes to make it look good
- Padding is reduced by 1rem on the top to remove extra spacing 

Signed-off-by: Avinash Desireddy <avinashr.desireddy@gmail.com>
2022-06-07 09:53:33 +02:00
Anders Eknert 51e1a9aa0c Add Pulumi to ecosystem page (#4735)
Signed-off-by: Anders Eknert <anders@eknert.com>
2022-06-04 00:03:24 +02:00
Stephan Renatus e8deba62bd types, ast, docs: Add support for named function arg declarations
This commit adds support for named argument declarations for built-in
functions as well as additional metadata/annotations on built-in
functions (e.g., descriptions, categories, etc.) This commit allows us
to generate a data file (builtin_metadata.json) that other tools can
consume to improve the Rego authoring experience.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>

Co-authored-by: Torin Sandall <torinsandall@gmail.com>
2022-05-24 09:38:07 -07:00
Anders Eknert 9674f8cd37 Add nginx integration (#4682)
Signed-off-by: Anders Eknert <anders@eknert.com>
2022-05-12 16:14:21 +02:00
James Chacon 9638ee2a22 ecosystem: Add Sansshell (#4674)
Signed-off-by: James Chacon <james.chacon@snowflake.com>
2022-05-11 07:23:53 +02:00
Víctor Martínez Bevià de4f7d2ecf Update k8s examples to the latest schema (#4655)
Signed-off-by: Víctor Martínez Bevià <vicmarbev@gmail.com>
2022-05-03 15:02:14 +02:00
Stephan Renatus eb94b739c1 website: add playground button to navbar (#4622)
Addressing one tiny bit of #4614.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-04-26 14:48:45 +02:00
Stephan Renatus 405777cb96 website/redirects: redirect previous patch releases to latest patch release (#4598)
This will result in the _redirects page having a bunch of entries like this:

    # previous minor versions
    /docs/v0.38.0/* /docs/v0.38.1/:splat
    /docs/v0.37.1/* /docs/v0.37.2/:splat
    /docs/v0.37.0/* /docs/v0.37.2/:splat
    /docs/v0.36.0/* /docs/v0.36.1/:splat
    /docs/v0.34.1/* /docs/v0.34.2/:splat
    /docs/v0.34.0/* /docs/v0.34.2/:splat
    /docs/v0.33.0/* /docs/v0.33.1/:splat
    /docs/v0.32.0/* /docs/v0.32.1/:splat

Fixes #4225.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-04-21 09:46:43 +02:00
Anders Eknert ae3f772645 Add blogs + OAuth and OIDC (#4589)
Signed-off-by: Anders Eknert <anders@eknert.com>
2022-04-17 11:39:40 +02:00
Stephan Renatus fb2bde05b3 website: add SRI to static html files (#4565)
No functional changes. Fixes the codeql findings that got reported recently.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-04-07 17:25:16 +02:00
Anders Eknert 148fe0c4ed ecosystem: Add GKE policy automation (#4557)
Signed-off-by: Anders Eknert <anders@eknert.com>
2022-04-07 13:19:27 +02:00
Jacky Jiang d7450721b7 adopters+ecosystem: add Magda (#4546)
Signed-off-by: Jacky Jiang <t83714@gmail.com>
2022-04-06 09:41:16 +02:00
Anders Eknert 1af44282eb ecosystem: Add AWS CloudFormation Hook (#4547)
Signed-off-by: Anders Eknert <anders@eknert.com>
2022-04-05 11:17:08 +02:00
Oz Radiano 93bd42b7f3 ecosystem: adding permit.io (#4531)
Signed-off-by: Oz Radiano <oz@permit.io>
2022-04-02 10:06:13 +02:00
Stephan Renatus 62f857b536 website: show yellow banner for old version (#4533)
Hopefully this is gets more attention than the yellow "older" button
in the version picker.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-04-01 12:57:37 +02:00
Peter Pan 3cfa3c3259 website: Remove unused variables to avoid error in strict mode(#4534)
To Fix:
```
2 errors occurred:
policy.rego:13: rego_compile_error: assigned var header unused
policy.rego:13: rego_compile_error: assigned var signature unused
```

Signed-off-by: panpan0000 <panpan0000@msn.com>
2022-04-01 12:05:47 +02:00
Or Weis f88db7e208 website: remove right margin on sidebar (#4529)
* remove right margin on sidebar
* replace the removed margin with padding

Signed-off-by: orweis <orweis@gmail.com>
2022-04-01 09:46:25 +02:00
Torin Sandall d252a32cc9 website: fix styra support link
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2022-03-31 10:19:41 -07:00
Stephan Renatus 7aef47703a website/style: fix code block bottom margin (#4526)
The text following regular code blocks was too close. Now, the bottom
margin is the same was used with live-blocks, 1.5rem (24px).

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-31 13:23:36 +02:00
Tayyab J 068a29731b integrations: Add Emissary-Ingress (#4523)
This PR adds the Emissary ingress to the Ecosystem page.
The blog section contains link to an article which guides on Emissary ingress and OPA integrations.

Signed-off-by: Tayyab J <tayyab.jamadar@styra.com>
2022-03-31 07:37:50 +02:00
Stephan Renatus 0e4d875d15 website: fix community site (#4522)
* remove hugo templating

This page doesn't go through hugo at all, so these things would
end up on the website.

A quick fix is reverting the bits that added the templating. The
downside is that local dev and PR previews will link to
/docs/latest/ecosystem, which doesn't exist there.

* link Documentation and Download to /docs

For /docs/ (not /docs/latest) we have a redirect in local dev and
PR preview mode:

    /docs -> /docs/edge

so this will be a little less broken: only ecosystem is a 404 link
on the preview.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-30 21:42:21 +02:00
dependabot[bot] 5a6b0b1c5b build(deps): bump nanoid in /docs/website/scripts/live-blocks (#4501) 2022-03-28 07:54:58 +00:00
Stephan Renatus 3297a69e6b build(dev-deps): update live-scripts deps: mocha, nanoid (#4500)
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-28 09:41:50 +02:00
Stephan Renatus 28c299b6f3 website/live-blocks: don't call the github api to determine release asset urls
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-25 14:40:41 +01:00
Stephan Renatus a16964d4c8 website/live-blocks: update caniuse/browserlist
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-25 14:40:41 +01:00
Stephan Renatus 397628b668 website: fix template to produce proper redirects (#4484)
Also redirect /docs -> /docs/edge in preview


Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-25 12:02:55 +01:00
Stephan Renatus 5ed5c1b941 docs/website: fix /docs redirect (#4483)
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-25 11:28:22 +01:00
Stephan Renatus 9d5d966b5a website: fix download link redirect (#4482)
Fixes the bug introduced in #4474 causing the setup-opa action to fail
to retrieve the "latest" opa binary.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-25 10:44:18 +01:00
Stephan Renatus e09b04f2a9 website: make local dev and PR preview not build everything (#4474)
With this change, the work done for local development, and the per-PR netlify preview changes:

It will no longer include the website stuff for versions other than edge, the current working tree.

We thus save us the time, and the flakiness, involved with

- checking if github has release binaries for all the versions
- checking out their sources
- fetching the release binaries to pre-hydrate old versions' live-blocks.

The previously-used, documented make target should still be intact.

Fixes #4379 to some extent, I hope.

* docs/website: remove "latest" binary from opa versions cache

Having a stale binary here -- one called "latest" but not actually
being "latest" -- causes issues like this: when building the website
content for the (real) latest version, the script would take the
old (previous-latest) binary, and fail because that binary didn't
know the latest future keywords.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-25 09:59:44 +01:00
Torin Sandall 3def34985e docs/website: Update support link for Styra (#4479)
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2022-03-25 01:39:08 +01:00
dependabot[bot] 6479b80386 build(deps-dev): bump minimist in /docs/website/scripts/live-blocks (#4473)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 14:41:46 +01:00
Omri Gazitt 601da0fc67 Add Open Policy Registry and Aserto to the Ecosystem page. (#4450)
Signed-off-by: Omri Gazitt <ogazitt@gmail.com>
2022-03-18 12:25:49 -07:00
Dolev Farhi 083feb7215 integrations: rename graphql logo (#4439)
Signed-off-by: Dolev Farhi <farhi.dolev@gmail.com>
2022-03-16 07:33:17 +01:00
Dolev Farhi 7e34623914 Add new custom integration - GraphQL-Graphene with OPA (#4437)
Add new custom integration - GraphQL-Graphene with OPA

Signed-off-by: Dolev Farhi <farhi.dolev@gmail.com>
2022-03-15 15:43:40 -07:00
Stephan Renatus 0affb11485 integrations: add rekor-sidekick
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-15 19:35:20 +01:00
Stephan Renatus d4361e17d0 docs/ecosystem: allow for svg logos
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-15 19:35:20 +01:00
Anders Eknert c8a6e6f6fb Integrations: enforce software is listed (#4425)
Any "software" entry an integration provides should reference
an item in the "software" object. This wasn't enforced previously,
so this also contains some fixes to the integrations.yaml file.

Signed-off-by: Anders Eknert <anders@eknert.com>
2022-03-10 15:01:35 +01:00
Anders Eknert 02c841f7e5 docs/integrations: misc fixes (#4419)
- Use keys for "software"
- Remove duplicate
- Remove commented out entries

Signed-off-by: Anders Eknert <anders@eknert.com>
2022-03-10 11:02:18 +01:00
Torin Sandall 66fb77e187 website: Add styra to the ecosystem
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2022-03-09 15:19:23 -08:00
Michael Sorens 495cdee9c7 website/community: stretch background so it covers on larger screens (#4405)
Fixes #4402.

Signed-off-by: Michael Sorens <msorens@styra.com>
2022-03-04 10:40:17 +01:00
Oz Radiano bbb8a41031 docs/integrations: add OPToggles (#4398)
Signed-off-by: Oz Radiano <oz@permit.io>
2022-03-03 09:28:41 +01:00
Stephan Renatus 4ded78a9fe docs+website: two small links fixes (#4391)
The docs themselves shouldn't use the full URL to reference other
pages.

Also changes http -> https for the newsletter sign-up page.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-03-01 12:22:23 +01:00
Peter ONeill 6991b00f08 website: Community Webpage Updates (#4390)
- Added two more community champions
- Removed enterprise support from community page
- Changed blurry line to solid line
- Updated newsletter signup from Medium to Mailchimp
- add hugo lock to gitignore

Signed-off-by: Peter ONeill <peteroneilljr@gmail.com>
2022-03-01 07:30:12 +01:00
Phil Hunt 11ff3dbf19 ecosystem: add i2scim.io (#4313)
Adding i2scim.io's support for OPA policies

Signed-off-by: Phil Hunt <independentidentity@gmail.com>
2022-02-03 09:27:47 +01:00
Stephan Renatus 218a3d8ec6 website/community: smaller touch-ups
- remove my-item (unused)
- remove aria-pressed="true"
- use FA for twitter/github icons
- cleanup footer
- drop txt templates

  For now, maintaining an extra manual templating mechanism does not
  seem like the right move: if we find ourselves in the need to replace
  the static HTML page, we can move stuff over to Hugo's data templates.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-02-01 12:31:24 +01:00
Michael Sorens d73cc9c22f website: add new "Community" page
Correct CSS for easy local static viewing

  With this tweak, can just open local support.html in the browser

Revise flex container for 2-up

Define tile layout

Add page header (with suggested text)

Swap Community for Support across site

Swap anchor for button

  Advantages:
  - removes JavaScript dependency; now pure HTML
  - more accessible; confusing to have a button act like a link

Add stylized horizontal rule

Fill out remaining horizontal rules

Add data and images for the page

  The data has been normalized to allow a semi-automated fill of an HTML
  fragment template in the next commit.

Semi-automated template for data generation in vim

Fill out page from semi-autogenerated content

  Now take the generated content and cut-and-paste the content
  for each section into the support.html file.

Refine layout with actual content now present

  Have to make the section headers readable on the two
  backgrounds: near the top--where the background image
  appears--we use white text, but in the remainder
  of the screen (with a white background) we use blue text.

Add connection to existing newsletter sign-up

Accessibilty refinements

  Ran axe accessibility checker (Chrome extension) and fixed:
  - All content in landmarks
  - Main landmark present
  - Content structured with <h1> and <h2>
  - Images have alternate text
  - Links have discernable text

Add back original support blurb

Improve responsive design

  Switch from bootstrap to CSS grid to better handle reflow
  into narrow screen width

Move new page to community.html

Reinstate original support page

Correct relative addresses

Add reference to new page in old page

Refine responsive design

  On mobile, last pass reduced to one column,
  but the individual cards were still truncated.

Fixes near bottom: action buttons and page margin

Spruce up the background image a bit

  Per @srenatus' suggestion, keep the background image
  (actually, two images)
  stationary--with a bit of a color shift
  that came along for the ride! :-)

Add github and twitter logo links for champions

Signed-off-by: Michael Sorens <msorens@styra.com>
2022-02-01 12:31:24 +01:00