32 Commits

Author SHA1 Message Date
Elio Bischof
e0a5f8661d
feat: improve UX for external configuration (#6861)
* docs: simplify traefik external tls

* remove pass host header

* docs: simplify and fix nginx external tls

* fix: readiness with enabled tls

* improve proxy docs

* improve proxy docs

* fix(ready): don't verify server cert

* complete nginx docs

* cleanup

* complete traefik docs

* add caddy docs

* simplify traefik

* standardize

* fix caddy

* add httpd docs

* improve external config docs

* guiding error message

* docs(defaults.yaml): remove misleading comments

* guiding error message cs and ru

* improve proxy testability

* fix compose up command

* improve commands

* fix nginx tls disabled

* fix nginx tls enabled

* fix: serve gateway when tls is enabled

* fmt caddy files

* fix caddy enabled tls

* remove not-working commands

* review

* fix checks

* fix link

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-11-09 11:30:15 +01:00
Silvan
c8b9b0ac75
docs: replace fix cockroachdb version with latest stable (#6803) 2023-10-25 14:20:55 +00:00
Elio Bischof
385a55bd21
feat: limit audit trail (#6744)
* feat: enable limiting audit trail

* support AddExclusiveQuery

* fix invalid condition

* register event mappers

* fix NullDuration validity

* test query side for limits

* lint

* acceptance test audit trail limit

* fix acceptance test

* translate limits not found

* update tests

* fix linting

* add audit log retention to default instance

* fix tests

* update docs

* remove todo

* improve test name
2023-10-25 11:42:00 +00:00
Dakshitha Ratnayake
599a1ddd78
docs:change titles (#6582)
* Modified quick start guide to reflect the new onboarding changes.

* Modified titles to optimize indexing. Left thet titles in title case for now.

* Added side bar labels and also made minor changes to titles.

* Update docs/docs/apis/openidoauth/endpoints.mdx

Co-authored-by: Fabi <fabienne@zitadel.com>

---------

Co-authored-by: Fabi <fabienne@zitadel.com>
2023-09-19 13:50:00 +02:00
Christian
f07e40c70b
chore(docs): update paths for wget downloads (#6437) 2023-08-29 09:56:56 +00:00
Miguel Cabrerizo
fd00ac533a
feat: add reply-to header in email notification (#6393)
* feat: add reply-to header to smtp messages

* fix: grpc reply_to_address min 0 and js var name

* fix: add missing translations

* fix merge and linting

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-08-29 09:08:24 +02:00
Elio Bischof
7bc4aa9c76
docs: copy config options to docs (#6143)
* poc

* wip

* works

* upgrade yaml package

* need to add global comments for shifting

* wip: need index before working on comments

* green

* clean up

* test null value

* comment

* package

* delete

* convert to module

* render md table

* tests with ESM

* comments

* top level gitignore

* wip: new cases

* arrays: green

* array_test

* treat comments on map without first element

* fix some new case

* skip leaf comments

* output folder

* comment

* finish up for poc

* arrays

* create output dir

* merge main, create tables

* copy config options to docs

* cleanup

* recommend file configuration

* language

* add some explanations

* some small typo fixes

---------

Co-authored-by: mffap <mpa@zitadel.com>
Co-authored-by: Florian Forster <florian@zitadel.com>
2023-08-07 22:32:10 +02:00
Dominik from Unique
4e1dcc0692
docs: describe database user credentials handling (#6283)
* feat: Add full example for helmfile + PostgreSQL

- Adds full helmfile + PostgreSQL example
- Extends production checklist for bullet about insecure credentials
- Extends database documentation to ensure secure user rotation

Refs: https://discord.com/channels/927474939156643850/927866013545025566/1133692721710772294

* chore: revert example and move to zitadel-charts

---------

Co-authored-by: Elio Bischof <elio@zitadel.com>
Co-authored-by: Fabi <fabienne@zitadel.com>
2023-08-02 14:35:13 +02:00
Fabi
f331a88a16
docs: remove beta state from postgreSQL (#6245) 2023-07-25 07:10:04 +00:00
Miguel Cabrerizo
0f3c33cb86
feat: show basic info start-from-init (#6183) 2023-07-12 20:46:50 +03:00
Elio Bischof
bb756482c7
feat: push telemetry (#6027)
* document analytics config

* rework configuration and docs

* describe HandleActiveInstances better

* describe active instances on quotas better

* only projected events are considered

* cleanup

* describe changes at runtime

* push milestones

* stop tracking events

* calculate and push 4 in 6 milestones

* reduce milestone pushed

* remove docs

* fix scheduled pseudo event projection

* push 5 in 6 milestones

* push 6 in 6 milestones

* ignore client ids

* fix text array contains

* push human readable milestone type

* statement unit tests

* improve dev and db performance

* organize imports

* cleanup

* organize imports

* test projection

* check rows.Err()

* test search query

* pass linting

* review

* test 4 milestones

* simplify milestone by instance ids query

* use type NamespacedCondition

* cleanup

* lint

* lint

* dont overwrite original error

* no opt-in in examples

* cleanup

* prerelease

* enable request headers

* make limit configurable

* review fixes

* only requeue special handlers secondly

* include integration tests

* Revert "include integration tests"

This reverts commit 96db9504ecdb4e73451f09554fd749cd7c27341f.

* pass reducers

* test handlers

* fix unit test

* feat: increment version

* lint

* remove prerelease

* fix integration tests
2023-07-06 08:38:13 +02:00
mffap
5b3f04e4d9
docs(self-hosting): add minimum system requirements (#6032)
* docs(self-hosting): add minimum system requirements

* Apply suggestions from code review

Co-authored-by: Florian Forster <florian@zitadel.com>

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-06-15 00:06:52 +02:00
mffap
aa60de3d34
docs: fix some more broken links (#5962) 2023-06-01 08:46:50 +00:00
mffap
c7e0d979d4
docs: fix broken links (#5959)
* openid connect

* main

* cockroach links
2023-06-01 06:58:14 +02:00
Fabi
a60c9ae4f5
docs: remove beta state of postgresql (#5652)
* docs: remove beta state of postgres

* docs: release cycle, support states, postgres

* docs: release cycle, support states, postgres

* docs: postgreSQL

* Update docs/docs/concepts/architecture/software.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/concepts/architecture/solution.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/self-hosting/deploy/overview.mdx

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/self-hosting/manage/database/_postgres.mdx

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/self-hosting/manage/database/_postgres.mdx

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/self-hosting/manage/production.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/guides/manage/cloud/support.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/support/general.md

Co-authored-by: mffap <mpa@zitadel.com>

* fix broken link

* replace generic title (search optimization)

* new version of sidebars

* fix broken links

* add back to sidebar

---------

Co-authored-by: mffap <mpa@zitadel.com>
2023-05-22 05:13:58 +00:00
mffap
bae6e20a91
docs(api): update api path (#5876) 2023-05-17 12:47:55 +00:00
mffap
9c3f149cd7
docs(sh-manage): add logging to production setup (#5800)
* docs(sh-manage): add logging to production setup

* Update docs/docs/self-hosting/manage/production.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* add suggestion from review

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-05-04 12:37:01 +00:00
Elio Bischof
887e2f474d
fix: use fixed active instances duration (#5567)
* fix: use fixed active instances duration

* fix active instances tests

* fix syntax error

* run pipeline

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-30 13:01:27 +02:00
Elio Bischof
cccccd005c
feat: call webhooks at least once (#5454)
* feat: call webhooks at least once

* self review

* feat: improve notification observability

* feat: add notification tracing

* test(e2e): test at-least-once webhook delivery

* fix webhook notifications

* dedicated quota notifications handler

* fix linting

* fix e2e test

* wait less in e2e test

* fix: don't ignore failed events in handlers

* fix: don't ignore failed events in handlers

* faster requeues

* question

* fix retries

* fix retries

* retry

* don't instance ids query

* revert handler_projection

* statements can be nil

* cleanup

* make unit tests pass

* add comments

* add comments

* lint

* spool only active instances

* feat(config): handle inactive instances

* customizable HandleInactiveInstances

* call inactive instances quota webhooks

* test: handling with and w/o inactive instances

* omit retrying noop statements

* docs: describe projection options

* enable global handling of inactive instances

* self review

* requeue quota notifications every 5m

* remove caos_errors reference

* fix comment styles

* make handlers package flat

* fix linting

* fix repeating quota notifications

* test with more usage

* debug log channel init failures
2023-03-28 22:09:06 +00:00
Elio Bischof
62bd606593
feat: enable handling projections for inactive instances (#5523)
* fix: don't ignore failed events in handlers

* question

* fix retries

* don't instance ids query

* statements can be nil

* make unit tests pass

* add comments

* spool only active instances

* feat(config): handle inactive instances

* customizable HandleInactiveInstances

* test: handling with and w/o inactive instances

* docs: describe projection options

* enable global handling of inactive instances

* accept NowFunc, not Clock interface

* add comment about stringer usage

* remove enum stringer implementations

* fix enum format types

* Update internal/eventstore/repository/mock/repository.mock.impl.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-27 12:34:01 +00:00
Fabi
4486bf8529
docs: typos in production checklist (#5155)
* docs: typos and consistent starts of checklist

* docs: typos and consistent starts of checklist

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-24 15:10:03 +01:00
SwitchUpCB
7c79120443
docs: update configure.mdx (#5419)
* docs: update configure.mdx

fix spelling
stylistic improvements
code block consistency

* add additional changes

natural phrases

* address suggestion r1132148559

improve clarity

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-15 21:36:00 +00:00
mffap
8d4d182c20
docs: proposal restructure (#5318)
* docs: docs structure

* docs: remove sdk from main nav

* docs: fix broken links

* docs: texts

* docs: texts

* docs: react example

* docs: proposal restructure

* remove manual, move troubleshooting

* revmove duplicate item

* identity providers

* broken links and rel paths

* examples wip

* examples

* navigation

* support

* solution scenarios

* concepts

* overview

* Actions caution to info

* suggestions from code review

* remove start command again

* proposed start command (with and without api)

* wip startpage

* startpage

* broken link integrate

* remove get started from nav

* Apply suggestions from code review

Co-authored-by: Elio Bischof <elio@zitadel.com>

---------

Co-authored-by: Fabienne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Florian Forster <florian@zitadel.com>
Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-03-07 09:33:13 +02:00
Florian Forster
aa9518ac02
docs: improve api docs (#5158)
* integrate docs into nav

* generator for local use, production needs to be set by env

* fix typo

* local dev

* docs: annotate the first user endpoints in the management api

* docs: annotate the first user endpoints in the management api

* docs: annotate the first user endpoints in the management api

* docs: annotate the first user endpoints in the management api

* docs: add header params

* rewrite docs links and improve ci

* tweak build command

* fix path

* Update docs/docusaurus.config.js

Co-authored-by: Max Peintner <max@caos.ch>

* fix docker

* docs: add header params

* docs: Add tags to management api. add some descriptions

* docs: more descriptions

* docs: more descriptions

* docs: required fields

* docs: example request

* docs: example request

* docs: example request

* docs: example request

* docs: example request

* docs: user metadata requests

* docs: user requests

* docs: user requests

* docs: user requests

* docs: user requests

* docs: change nav add first methods to authentication api

* docs: auth api

* docs: auth api

* docs: auth api

* docs: auth api

* docs: auth api

* docs: api sidenav

* chore: use buf without docker

* fix deploy

* fix ci

* fix vercel

* docs: admin

* docs: admin api docs

* docs: admin api docs

* docs: admin api docs

* docs: admin api docs

* docs: security

* docs: security

* docs: admin api

* docs: change to env vars

* docs: auth api

* docs: remove assets, deprecated requests, menu

* reworked page with PaloAltoNetworks/docusaurus-openapi-docs

* works with the resolutions

* fix broken build by adding assets again

* add tags to menu

* chore: improve build speed

* no-minify

* test ssr

* ssr 20

* use lazy

* increase mem

* use default mem

* change names

* docs: remove assets, deprecated requests, menu

* docs: management api

* docs: management api

* docs: management api

* docs: sidebar

* not the best word smithing but it is ;-)

* more typos

* merge main

* fix some error

* trial

* update grpc gateway

* trigger vercel build

* docs: deprecated requests

* docs: deprecated requests

---------

Co-authored-by: Fabienne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
2023-02-23 18:08:06 +07:00
Elio Bischof
681541f41b
feat: add quotas (#4779)
adds possibilities to cap authenticated requests and execution seconds of actions on a defined intervall
2023-02-15 02:52:11 +01:00
Florian Forster
d050e9cd27
docs: append setting to make gRPC work (#5198)
* docs: append setting to make gRPC work

* Update _traefik.mdx

* Update _traefik.mdx

---------

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
2023-02-13 13:25:31 +00:00
Christian Jakob
b06878c2a6
docs: add production checklist (#4964)
* docs: added first checklist draft

* docs: formatting

* docs: increase list

* docs: added monitoring and links

* docs: typos and links

* best practise approach

* added missing links

* Update docs/docs/self-hosting/manage/production.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* added checkboxes

* changed name and separated checklist

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* fixing links

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Elio Bischof <eliobischof@gmail.com>

Co-authored-by: Florian Forster <florian@zitadel.com>
Co-authored-by: Elio Bischof <eliobischof@gmail.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-01-23 13:39:05 +01:00
Silvan
1bf1f335dc
feat(admin-api): list events (#4989)
* docs: update cockroachdb version to 22.2
* feat(adminAPI): ListEventTypes returns the list of event types ZITADEL implements
* feat(adminAPI): ListAggregateTypes returns the list of aggregate types ZITADEL implements
* feat(adminAPI): ListEvents allows `IAM_OWNERS` to search for events
2023-01-16 11:30:03 +00:00
Gibheer
f34611d675
docs(postgres): avoid using the admin user. (#4975)
docs: Update the documentation to avoid using the postgres user.

In some environments it is not possible to get access to the postgres
user.

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-01-05 11:05:01 +01:00
Elio Bischof
10b281535a
docs(self-hosting): describe updating and scaling (#4932)
* docs(self-hosting): describe updating and scaling

* Update docs/docs/self-hosting/manage/updating_scaling.md

Co-authored-by: mffap <mpa@zitadel.com>

* Update docs/docs/self-hosting/manage/updating_scaling.md

Co-authored-by: mffap <mpa@zitadel.com>

* add tldr, satisfy review

Co-authored-by: mffap <mpa@zitadel.com>
2022-12-28 16:10:18 +01:00
Silvan
5c8cfa4167
docs(self-hosting): add env vars for proxy configuration (#4916) 2022-12-22 13:42:44 +01:00
Florian Forster
77e3d08f22
docs: split out self-hosting into new section (#4903)
* docs: split out self-hosting into section

* check for broken links

* fix netlify proxy forward

* use full path
2022-12-20 11:17:27 +01:00