1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

608 Commits

Author SHA1 Message Date
Gastón Fournier
8023fef711
docs: update to node 18 (#3689)
## About the changes
Update documentation to the minimum version of node. This was already
updated in other parts of the documentation

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-05-05 09:17:34 +02:00
Simon Hornby
f172c8851f
docs: update docs to reflect that google SSO is removed (#3626)
Updates docs to point out that Google SSO is removed and how to
temporarily bring it back
2023-05-02 11:53:11 +02:00
Mateusz Kwasniewski
10fee99467
Update how-to-synchronize-unleash-instances.md 2023-04-28 13:28:19 +02:00
Mateusz Kwasniewski
96e3e43188
docs: unleash instance synchronization (#3652) 2023-04-28 13:23:50 +02:00
Thomas Heartman
b815fa1a9d
docs: add migration guide entry for v4 -> v5 (#3650)
This lists the breaking changes between the versions to make it easier
(and safer) for users to upgrade
2023-04-28 13:10:30 +02:00
Christopher Kolstad
1fdf68eeec
task: removes deprecated feature api (#3609)
### What
We've had this marked as deprecated through our v4, this PR removes it.

### Worth noting
This updates the deprecation notices with removal notices in the
documentation as well.

### Considerations
The tags API is still located under
/api/admin/features/{featureName}/tags. It should be moved to
/api/admin/projects/{project}/features/{featureName}/tags. I vote we do
that in a separate PR, we'd probably also need to deprecate the existing
tags endpoints for v5 and remove in v6. We could use 308s to signify
that they are moved.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-26 10:45:00 +02:00
Mateusz Kwasniewski
7eda493e8e
docs: skip CR also works in the UI (#3518) 2023-04-26 08:49:34 +02:00
Jaanus Sellin
28f61e05ff
feat: fix csp headers for feedback form (#3617)
Fix feedback form failing due to missing csp headers
2023-04-25 13:40:55 +03:00
Gastón Fournier
a53457f6d0
docs: removal of event hook in v5 (#3586)
## About the changes
Make it explicit that eventHook is no longer an option in v5, the
migration should be to
https://docs.getunleash.io/reference/addons/webhook which is already
linked in the docs since v4
2023-04-21 14:33:09 +02:00
Gastón Fournier
29907d8d9f
doc: update link to new import/export (#3584)
## About the changes
Add correct link to new import/export
2023-04-21 08:49:05 +00:00
andreas-unleash
b38a0c911d
chore: add mode and defaultStickiness to project docs (#3487)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
Adds `mode` and `defaultStickiness` to the project form.
Adds a new img

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-21 07:32:42 +00:00
Gastón Fournier
b593bdd404
docs: deprecation notice on state api (#3561)
## About the changes
Update documentation about the deprecation of state API.

Related to https://github.com/Unleash/unleash/issues/1265
2023-04-21 09:19:22 +02:00
Gastón Fournier
0e80484068
docs: update documentation and dev server use of passord (#3564)
## About the changes
Update `passord` documentation with `password`. Note this was not a typo
but just Norwegian:
https://dictionary.cambridge.org/dictionary/english-norwegian/password
```shell
grep passord * -R -l | grep -v .git | grep -v dist | grep -v v3 | xargs sed -i 's/passord/password/g'
```
The script above avoids updating v3 because of legacy reasons

Related to #1265
2023-04-19 13:29:18 +02:00
David Leek
bbfb88122b
docs: jira cloud documentation (#3494)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

New PR using correct prefixes

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

Adds documentation to the docs website for the new Jira Cloud plugin.
Couple of pieces on install page are missing due to the nature of having
to have the docs before we can start the review process after which
we'll get the final details on how/where to install/from etc.

Also a couple of pending fixes that might impact screenshots/warrant new
ones made

![Skjermbilde 2023-04-06 kl 12 34
40](https://user-images.githubusercontent.com/707867/230353148-98c5915f-0d97-4cba-bec5-33d46503448d.png)
![Skjermbilde 2023-04-06 kl 12 34
49](https://user-images.githubusercontent.com/707867/230353157-e9dd3f57-e6a3-4e9b-a966-ebdfcdaf2581.png)

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#2952

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->

- website/docs/reference/integrations/jira-cloud-plugin-installation.md
- website/docs/reference/integrations/jira-cloud-plugin-usage.md

## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
Very open to improvements on wording and tips on standards used in
screenshots

---------

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-17 15:16:01 +02:00
Thomas Heartman
0a9df052a6
docs: fix broken links (#3533)
Fixes broken links that were mistakenly committed to main.
2023-04-17 14:10:31 +02:00
Thomas Heartman
222f34f43d
docs: add large segments explainer (#3441)
This PR adds an explainer document about using large/complex
constraints, inspired by the Unleash and Redis repo.

The intent is to create a comprehensive and understandable explanation
as to why we don't recommend you do this, and also to offer alternative
solutions for the same problem.

---------

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2023-04-14 12:59:07 +00:00
andreas-unleash
be4de289a1
fix: project api token docs (#3485)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
[Previous PR (has the
comments)](https://github.com/Unleash/unleash/pull/3405)

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-13 11:08:54 +03:00
Mateusz Kwasniewski
536230a364
docs: adr for db changes (#3439) 2023-04-11 14:16:40 +02:00
Ivan Lee
e45a953cd1
Chore: Update Python SDK compatibility. (#3474)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

Update to Python compatibility table. 

* Impression events supported in v5.6.0.
([Docs](https://docs.getunleash.io/unleash-client-python/eventcallbacks.html))
* Bootstrapping from files and custom boostrapping has been supported
since v5.2.0.
([Docs](https://docs.getunleash.io/unleash-client-python/filecache.html)
&
[Docs](https://docs.getunleash.io/unleash-client-python/customcache.html))

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
2023-04-07 10:34:38 +02:00
Thomas Heartman
d18b04de72
docs: fix typo
This change fixes two typos in the import export service:
- Unleahs -> Unleash
- API's -> APIs
2023-04-04 07:50:25 +02:00
Thomas Heartman
1ab3a338c9
docs: point link to unleash/unleash instead of unleash-docker (#3434)
## why

This link used to post to the now-outdated unleash-docker repo. They
should instead go directly to the unleash repo now.
2023-03-31 12:42:34 +02:00
Mateusz Kwasniewski
dc34fe1944
docs: Update api-tokens-and-client-keys.mdx (#3418) 2023-03-29 13:53:57 +02:00
andreas-unleash
5c27153e50
docs: Project api token (#3405)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-03-29 11:39:37 +03:00
Jaanus Sellin
e9271d8eec
fix: notifcations word break (#3403) 2023-03-28 13:27:47 +03:00
Mateusz Kwasniewski
585df244e5
docs: import export for project/env (#3369) 2023-03-28 11:12:35 +02:00
Mateusz Kwasniewski
d4b4866552
docs: notifications (#3361) 2023-03-24 10:37:25 +01:00
Mateusz Kwasniewski
e03307e286
docs: Project collaboration mode docs (#3360) 2023-03-22 13:13:56 +01:00
Thomas Heartman
335374aa6d
docs(a11y): update syntax highlighting theme to fix contrast issues (#3341)
This PR changes the syntax highlighting theme we use in the docs. The
reason for the change is that the previous theme we used didn't have
sufficient color contrast between its comment strings and its
background.

## Options

I decided to use the Oceanic Next color theme that is included with
docusaurus. Looking through, the only other dark theme that also passed
AA contrast checks was VS Dark. The reason I picked Oceanic over VS Dark
is simply that I like it better.

For demonstration, here's what the Oceanic theme looks like:

![image](https://user-images.githubusercontent.com/17786332/225867069-f0d9c721-8927-4e70-984e-b9160992811b.png)

And here's the VS Dark theme:

![image](https://user-images.githubusercontent.com/17786332/225867089-6dac9cb2-6ebb-4b9e-ae5c-3be9956cbf60.png)


## Bonus change

The PR also includes a fix to render a pricing admonition correctly.
It's not related to the PR, but I noticed it rendered incorrectly while
I was working on it.
2023-03-17 12:19:13 +02:00
Thomas Heartman
d23266decb
docs: clarify that we don't support multi-host db urls (#3312)
This PR updates the docs to clarify that we don't support multi-host
strings in the databaseUrl configuration variable.

The docs used to just mention that we accept libpq strings, but as
reported in #3221, we **don't** support multi-host strings.

I did some digging and found that this is because [node-postgres -- the
library we use to connect to postgres -- itself does not support
multi-host
strings](https://github.com/brianc/node-postgres/issues/2308).

To fix this, we would need to replace the library we use or otherwise
wrap it. While this would be a better long-term solution, we don't have
the capacity to it right now. But we can update the docs to better
reflect reality.
2023-03-17 10:13:08 +01:00
Nuno Góis
516cb1884b
docs: login history (#3261)
https://linear.app/unleash/issue/2-728/documentation-login-history

-
[reference/login-history](https://unleash-docs-git-docs-login-history-unleash-team.vercel.app/reference/login-history)
-
[how-to/how-to-download-login-history](https://unleash-docs-git-docs-login-history-unleash-team.vercel.app/how-to/how-to-download-login-history)


![image](https://user-images.githubusercontent.com/14320932/223392428-fb693624-77a5-4d63-bb00-20e035e23f9e.png)

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-03-08 19:08:50 +00:00
Nuno Góis
6a8ed55c63
feat: better segment info (#3243)
## About the changes

- Updates the segment information on top to be clearer - No longer an
experimental feature, but we do have some limits in place;
- Also updates the documentation to better reflect this;

Co-authored-by: @thomasheartman


![image](https://user-images.githubusercontent.com/14320932/222380864-029e7eef-bcee-4576-b9af-22a591d494a9.png)

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2023-03-02 14:13:27 +00:00
Gastón Fournier
90e4054c90
docs: update documentation around permissions for variants (#3195)
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-02-28 14:06:24 +01:00
Jaanus Sellin
af82202ada
feat: remove maintenance feature flag (#3199) 2023-02-27 15:36:56 +02:00
Thomas Heartman
ff58e2aeaf
docs: clarify note around permissions required (#3201)
This change does two things:

It clarifies that the permissions listed in the guide are permissions
needed to perform all the steps in the guide, and not the permissions
needed to create a feature.

Separates the project-level and environment-level permissions needed
into separate sublists.
2023-02-27 11:49:53 +00:00
Thomas Heartman
e7ef06ff9d
docs: Update change requests permissions docs (#3194)
This change updates the "change requests permissions" section of the
change request doc to explicitly call out a few things we've seen
confusion around recently.

These are:

- project owners can't approve/apply change requests. You must create
custom roles
-   viewers can create change requests. This is intentional
-   skip change requests only works via the API

It also:

- elaborates a little on the circumventing change requests section to
clarify how it works.
- adds the change requests project roles to the project roles list. This
section should be kept up to date with all the relevant roles that exist
for projects.
2023-02-27 08:47:01 +01:00
Gastón Fournier
291bcb4a0f
docs: new variants per environment (#2590)
## About the changes
Documentation about feature toggle variants per environment

## Discussion points
The version when this will be available is still to be defined.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-02-24 15:25:03 +01:00
Thomas Heartman
94bfb757d6
docs: slight update to environment docs (#3187)
## What & why

This update does three things:

1. Adjusts the environment cloning feature availability notice: because
this has been released.
2. Updates the availability notice for environments (to conform with the
standard docusaurus way of doing things): for consistency
3. Add a brief explanation of environment types: because this isn't
documented anywhere

## Sources

The note about how environment types work is sourced from this old
[slack thread (internal to the
team)](https://unleash-community.slack.com/archives/G01MU2Q49QC/p1659600175175769)
2023-02-24 12:48:45 +00:00
Thomas Heartman
898160b295
network-view-docs: rename source file (#3183)
This PR expands upon the docs in the original PR (and thus supersedes #3139) 

It contains the docs for the recent network view feature.

Closes #2603

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2023-02-24 08:36:12 +00:00
Thomas Heartman
08dbf23ee7
docs: mention env var options for auth config (#3169)
## What

Adds environment variable equivalents for remaining authentication
options.

Also reformats the list silghtly.

## Why

Because the `AUTH_TYPE` and `AUTH_ENABLE_API_TOKEN` variables hadn't
been previously mentioned and we get questions about this from time to
time.

The reformat is primarily for using `monospace font` where appropriate.
2023-02-22 12:32:27 +01:00
Thomas Heartman
53c82d798f
docs: remove the proxy from the sdks overview table (#3060)
## What

This change removes the "unleash proxy" column from the SDK compat
table.

## Why

Because the proxy isn't technically an SDK. Having the column there can
be misleading to users.

In the latest case, a user pointed out that the table says the proxy
supports `isEnabled` with fallback values, but that there is no way to
use this via the API (or via client-side sdks) at the moment.

I think we should add a section to the proxy doc about its capabilities
instead.

In fact, I think we should do the same thing with the proxy that we did
with the SDKs: merge the docs.getunleash content with the github readme
and instead source it from there.
2023-02-22 09:42:47 +00:00
Gastón Fournier
4e3ce8e0af
chore: GA responseTimeWithAppNames (#3178)
## About the changes
This makes response time with app names enabled for everyone but also
kept a way of turning it off (kill switch) in case it cause some issues
because of misconfigured app names
2023-02-22 09:10:06 +00:00
Jaanus Sellin
1dba7291ba
feat: maintenance mode docs (#3159)
feat: maintenance mode docs
2023-02-20 16:27:28 +02:00
Thomas Heartman
0b1d4fbd07
docs: add notes to constraints and segment docs about large values (#3142)
## What

This PR adds a note to the constraint and the segment docs about using a
large number of constraint values.

## Why

This is a fairly common question in slack, and there is no clear
documentation around this at the moment. As such, it's likely that
people do this a fair bit without telling us. We don't think this is the
right approach, so adding this bit of documentation should hopefully
make it a little clearer.
2023-02-17 11:06:25 +00:00
Thomas Heartman
415e1b0596
Source proxy and Edge docs from GitHub (#3122)
## What

The main purpose of this PR is to

1. Delete the proxy docs in this repo and replace them with the proxy's
GitHub readme.
2. Add the docs for Unleash Edge.

### Detailed change description

This PR contains a lot of small changes in a large number of files. To
make it easier to get an overview, here's a detailed description of what
happens where:

#### In the `website/docs`directory

Except for the deletion of the proxy doc, all changes in this directory
are rewriting internal links, so that they point to the newly generated
document instead.

#### `package.json` and `yarn.lock`

When including the documentation for Edge, we also want to render the
mermaid diagrams it uses. Docusaurus supports this via a plugin. All
changes in these files are related to installing that plugin.

#### `docusaurus.config.js`

There's two types of changes in this file:

1. Mermaid-related changes: we ask docusaurus to render mermaid in
markdown files and add the plugin

2. Document generation. There's some rewrites to the sdk doc generation
plus an entirely new section that generates docs for Edge and the proxy

#### `sidebars.js`

Two things:

1. Add the edge docs
2. Move both the Edge and the proxy docs up a level, so that they're
directly under "reference docs" instead of nested inside "unleash
concepts".

#### In the `website/remote-content` directory

These are the remote content files. Previously, all of this lived only
in a `readme-fns.js` file, but with the introduction of Edge and proxy
docs, this has been moved into its own directory and refactored into
three files (`shared`, `sdks`, `edge-proxy`).

#### `custom.css`

Style updates to center mermaid diagrams and provide more space around
them.

#### In `static/img`

The image files that were included in the proxy doc and that have been
deleted.

## Why

For two reasons:

1. Reduce duplication for the proxy. Have one source of truth.
2. Add docs for edge.

## Discussion points and review wishes

This is a big PR, and I don't expect anyone to do a line-by-line review
of it, nor do I think that is particularly useful. Instead, I'd like to
ask reviewers to:

1. Visit the [documentation
preview](https://unleash-docs-git-docs-source-proxy-gh-unleash-team.vercel.app/reference/unleash-proxy)
and have a look at both the proxy docs and the Edge docs. Potentially
have a look at the SDK docs too to verify that everything still works.

2. Consider whether they think moving the proxy and edge docs up a level
(in the sidebar) makes sense.

3. Let me know what slug they'd prefer for the Edge docs. I've gone with
`unleash-edge` for now (so that it's
`docs.getunleash.io/reference/unleash-edge`), but we could potentially
also just use `edge`. WDYT?

4. Read through the detailed changes section.

5. Let me know if they have any other concerns or questions.

## Screenies

The new proxy doc:


![image](https://user-images.githubusercontent.com/17786332/219043145-1c75c83e-4191-45a3-acb5-775d05d13862.png)

The new edge doc:


![image](https://user-images.githubusercontent.com/17786332/219043220-1f5daf13-972e-4d56-8aaf-70ff1812863e.png)
2023-02-16 13:36:28 +01:00
Thomas Heartman
eb843c21a1
docs: add image to anatomy about variants per environment (#3080)
## What

This PR updates the anatomy of unleash document with a figure explaining
how variants can be different across environments now.
2023-02-10 15:31:11 +01:00
Gastón Fournier
354b5b2976
chore: service accounts GA (#3059)
## About the changes
This PR prepares the GA of service accounts: OpenAPI tags, documentation
and flag removal

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#2942

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-02-08 11:59:24 +01:00
Sebastian Bury
a9b6c3c53f
Update proxy-hosting.mdx 2023-02-06 17:08:01 +01:00
Yao Sun
94947acac7
Update overview.md, fix typo (#3039) 2023-02-03 16:04:11 +01:00
Thomas Heartman
0a6f9f647b
docs: update Anatomy doc with variants per environment notice (#3046)
## What

This change updates the "variants" section of the Anatomy of Unleash
document with more information about how variants work with multiple
environments.

At the moment, it states that variants per env are GA from 4.21, but
that might need to be changed.

## Why

With the upcoming release of variants per environment, the doc should
reflect the current state of things. However, it should also still
contain info for those not yet on v4.21
2023-02-03 12:01:10 +01:00
Thomas Heartman
a7cb20c42b
docs: update old docker compose instructions (#3043)
## What

This change updates the docker compose instructions to match what is
currently in the Unleash/unleash repo itself.

## Why

Because the old version was out of date.
2023-02-03 09:39:14 +00:00