Commit Graph

35 Commits

Author SHA1 Message Date
Sebastien de Menten e13143c737 import http-api tutorial
- simplify python code (use json=, use strip)
- do not rename input as http_api (quite confusing, better to keep input everywhere in all tutorials
- reorder statement to always have input.user as first item in the rule

Signed-off-by: Sebastien de Menten <sdementen@gmail.com>
2019-02-17 09:54:19 -08:00
Torin Sandall a852671272 Prepare v0.10.3 release
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2019-01-22 07:41:51 -08:00
Torin Sandall 6af8da83ad Prepare v0.10.2 release
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2018-12-10 14:14:51 -08:00
Torin Sandall 6c39555de1 Prepare v0.10.1 release
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2018-10-30 13:25:17 -07:00
Torin Sandall dbf54cde4e Prepare v0.10.0 release
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2018-10-25 11:05:57 -07:00
Torin Sandall 9fbff4c330 Prepare v0.9.2 release
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2018-09-24 09:10:52 -07:00
Torin Sandall 3ffb13f138 Link to security docs in tutorials
Fixes #917

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2018-09-04 14:30:20 -07:00
Torin Sandall d5ba22b70a Prepare v0.9.1 release
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2018-08-16 08:42:41 -07:00
Torin Sandall 71d0e299b4 Prepare v0.9.0 release
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2018-07-31 14:35:00 -07:00
Torin Sandall 877d39f035 Prepare v0.8.2 release
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2018-06-22 15:02:03 -07:00
Torin Sandall 91ad1a786f Prepare v0.8.1 release
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2018-04-30 13:05:44 -07:00
Torin Sandall a165fc7e08 Prepare v0.8.0 release
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2018-04-11 09:10:28 -07:00
Torin Sandall 688594c378 Prepare v0.7.1 release 2018-02-25 15:47:52 -08:00
Torin Sandall d8f6f7f9b3 Prepare v0.7.0 release 2018-02-22 11:23:56 -08:00
Torin Sandall 43fcc6ae25 Prepare v0.6.0 release 2018-01-18 15:04:39 -08:00
repenno dad703e03c Fix to Python code in Docs
- Removed username append based on feedback
2017-12-21 16:45:23 -08:00
repenno 2ee5d11fa1 Fix to Python code in Docs
- Fixes to python integration code example snippet
- Provided more comments behind code choices
2017-12-21 16:45:23 -08:00
Torin Sandall 4b93400691 Prepare v0.5.13 release 2017-12-07 22:15:00 -06:00
Torin Sandall 00c559c209 Prepare v0.5.12 release 2017-11-22 14:50:37 -08:00
Torin Sandall 47e8e78423 Prepare v0.5.11 release 2017-11-15 15:16:20 -08:00
Torin Sandall 3ebbeede6c Refactor topdown evaluation/unification
These changes modify topdown evaluation to use a binding list that
namespaces variables. This allows topdown to propagate partially ground
ref operands into child query evaluation.

These changes also prepare topdown evaluation to support a partial
evaluation mode.

With these changes, evaluation is no longer performed in two steps
(i.e., first pass of evaluating individual terms, second pass of
evaluating built-in expressions.) Instead, evaluation assumes queries
have been rewritten to eagerly evaluate refs and comprehension. This
way, ref and comprehension bindings do not have to be maintained
separately: they are handled by the normal variable binding list.

This commit contains some breaking changes to the topdown APIs,
namely...

1. Truth explanation has been removed. This feature was not used and the
tracing changes broke it. We can revisit in future if necessary.

2. Data indexing has been removed. Data indexing can be re-added in
future if necessary however it should be handled outside of topdown to
avoid potential memory leaks.

3. Built-in functions produce at-most-one output now. Functions that
used to produce multiple outputs (e.g., io.jwt.decode) can produce a
composite value if they need to.

Fixes #131
2017-11-09 09:07:48 -08:00
Torin Sandall c003eaf18f Prepare v0.5.10 release 2017-10-30 11:10:57 -07:00
Torin Sandall 800beae9e9 Prepare v0.5.9 release 2017-10-10 09:28:08 -07:00
Torin Sandall b8832e0a7f Prepare v0.5.8 release 2017-09-15 09:11:34 -07:00
Torin Sandall 49306526ab Prepare v0.5.7 release 2017-09-08 09:52:57 -07:00
Torin Sandall f2a2cfdb48 Prepare v0.5.6 release 2017-08-29 15:51:47 -07:00
Torin Sandall 198e691ee1 Prepare v0.5.5 release 2017-08-17 18:39:19 -07:00
Torin Sandall 53baaee901 Fix image version in HTTP API tutorial
Before we were using the "latest" tag in the tutorial. This caused an
issue because we thought the JWT token support added to the toy server
had been built and published under the latest tag however it had not.

Since the toy server functionality is somewhat coupled to the tutorial,
hardcoding the version number here is acceptable.
2017-08-17 18:32:18 -07:00
Torin Sandall 4beda85c42 Prepare v0.5.4 release 2017-08-07 08:55:37 -07:00
Tim Hinrichs 9160bd03c7 docs: Add code snippet to HTTP API tutorial 2017-08-04 11:51:11 -07:00
Torin Sandall d342ec1fc2 Prepare v0.5.3 release 2017-07-24 08:15:03 -07:00
Torin Sandall 9c88ed993a Prepare v0.5.2 release 2017-07-17 11:20:14 -07:00
Torin Sandall d3ff73969a Prepare v0.5.1 release 2017-07-10 10:55:45 -07:00
Torin Sandall ee499eb0c0 Prepare v0.5.0 release 2017-07-05 15:55:21 -07:00
Eva Xiaohui Luo 25ba04c980 Refresh OPA website
These changes contain a redesign of the OPA website. The main changes
are (1) new frontpage w/ refreshed messaging and assets and (2) docs
ported to gitbook.
2017-07-05 15:39:45 -07:00