Commit Graph

1930 Commits

Author SHA1 Message Date
Livio Spring
90cec44de4
chore: remove stale bot (#4156) 2022-08-10 06:55:10 +00:00
Livio Spring
c5b4441373
chore: add stale bot (#4153) 2022-08-09 16:14:16 +02:00
mffap
7ff419779a
docs(trainings): onboarding project (#4128)
* init

* Apply suggestions from Florian

Co-authored-by: Florian Forster <florian@caos.ch>

Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-09 13:38:49 +02:00
Christian Jakob
84c748581c
fix: skip flaky project tests (#4139)
* fix: skip flaky project tests

* fix: moved skip to affect only delete

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
2022-08-09 11:54:53 +02:00
Livio Spring
02d2032790
feat: add ZITADEL project id scope (#4146)
* feat: add ZITADEL project id scope

* update documentation

* documentation

* fix scopes

* change to lowercase
2022-08-09 09:45:59 +02:00
Christian Jakob
1b5c8677ab
docs: normalised versions and explained releases (#4119)
* docs: normalised versions and explained releases

* added downoad links

* fix: corrected tar flag for linux

Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-08 14:04:46 +00:00
Florian Forster
d6cb1e521d
docs: general fixes to links who where broken and some lint and typos (#4144) 2022-08-08 16:02:47 +02:00
cyb3rd0g1
2746b4f3a7
fix(login): update automatic registration to pull form data (#4103)
* update automatic registration to pull form data

* prioritize form-derived usernames when registering via external oidc

* allow for customization of displayname on registration via external IdP

* Update internal/api/ui/login/external_login_handler.go

Co-authored-by: Livio Spring <livio.a@gmail.com>

* Update internal/api/ui/login/external_login_handler.go

Co-authored-by: Livio Spring <livio.a@gmail.com>

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-08-08 13:05:38 +00:00
Max Peintner
075fd1dfe6
fix(console): restore url after state handling, remove user metadata without user.write permission (#4136)
* metadata role check

* fix: restore url after handling state

* hide metadata if has user not user.write

* allow metadata read

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-08-08 13:03:28 +00:00
Livio Spring
d4d39dbd80
docs: document authentication for system api (#4140)
* docs: add authentication for system api

* update defaults.yaml
2022-08-08 14:52:59 +02:00
Stefan Benz
46e5c0da97
docs(import): correct formatting of json examples for export and import (#4142)
Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-08 14:33:56 +02:00
Max Peintner
50acb22399
fix(console): authz creation from user, add org settings keyboardshortcut (#4135)
* fix(console): create user grant from user

* add org settings to keyboard shortcuts

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-08-08 12:18:55 +00:00
Florian Forster
8f999e5806
docs(import/export): improve and fix heading (#4138) 2022-08-08 14:02:24 +02:00
Stefan Benz
a7d63271bd
docs: correct import and export documentation (#4137) 2022-08-08 12:02:15 +02:00
Elio Bischof
52f098e6ad
fix e2e workflow (#4133)
* fix e2e workflow

* configure registry once
2022-08-05 20:23:10 +02:00
Max Peintner
fc99ec87c5
ci(e2e): Run Tests in Pipelines (#3903)
* cy10 changes

* test: setup local e2e env

* test(e2e): migrate e2e setup

* add more config

* make e2e setup work

* align variables

* fix config

* skip mfa

* set user register to false

* read ids from database if not provided

* don't read ids withing env file

* fix escaping in id queries

* fix project root

* export projectRoot path

* export projectRoot

* add e2e-setup.sh

* specify GOOS and GOARCH for dockerfile compatible binary

* add org default redirect uri

* correctly initialize org policy

* await ids

* fix awaiting ids

* fix cypress configuration

* fix some tests

* initial compose setup

* fix working directory

* fix references

* make tests less flaky

* run go tests

* compose works until e2e-setup incl

* pass created e2e sa key

* make cypress run

* derive e2e orgs domain from baseurl

* use host from baseurl for setup ctx

* move defaults.yaml back to cmd pkg

* just create org owner

* Don't render element if no roles are passed

* use map instead of switchMap

* fix e2e tests

* added testdata for e3e

* zipped dump

* removed dumpDir

* cypress workflow with compose

* quote name

* cleanup vars

* eliminate need for e2e setup

* compose has no builds anymore

* use compose run and zitadel nw

* test e2e on pr (#4114)

* test e2e on pr

* install goreleaser

* install npm dev dependencies

* run cypress wf

* dynamic release version

* skip flaky user tests

* skip flaky permissions test

* cache docker layers in pipeline

* Update .github/workflows/cypress.yml

Co-authored-by: Florian Forster <florian@caos.ch>

* align goreleaser version

* get rid of install.sh

* remove cypress-terminal-report

* Revert "remove cypress-terminal-report"

This reverts commit 254b5a1f87.

* just one npm e2e:build command

* cache npm dependencies

* install node modules using docker

* dedicated e2e context

* fix syntax

* don't copy node modules from goreleaser

* add npm-copy target

* add tsconfig.json

* remove docker caching

* deleted unneeded shellscript

* naming and cleanup

Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Christian Jakob <christian@caos.ch>

* cleanup

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
Co-authored-by: Christian Jakob <christian@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-05 20:00:46 +02:00
Florian Forster
ce85397050
docs: fix i18n link (#4126) 2022-08-05 12:24:57 +00:00
Florian Forster
4e7f0eaec9
docs: create secrets concepts and update docusaurus to stable release (#4111)
* chore: update docusaurus to v2

* extend concepts for secrets handling

* fix links

* add credentials

* docs review with @livio-a

* remove change

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-08-04 14:08:24 +00:00
Christian Jakob
5fb73c15e8
chore: copy multiarchitecture manifests (#4115)
* chore: copy multichannel manifests

* use all option

Co-authored-by: Florian Forster <florian@caos.ch>

Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-04 11:30:28 +02:00
Christian Jakob
7020b59f1d
chore: Release channels action to create stable images (#4110)
* feat: testing skopeo and introduce stable container

* yaml syntax

* yaml syntax

* testing release

* corrected docker images path

* set release to 2.0.0 to test copy

* reset channel

* create stable images

* feat: create release channels for docker containers

* fix removed arch due to multiarch build

* chore: updated action name

* Update .github/workflows/release-channels.yml

Co-authored-by: Florian Forster <florian@caos.ch>

Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-04 10:53:35 +02:00
Livio Spring
64508c42ea
chore: fix .goreleaser.yaml (#4109) 2022-08-03 10:55:54 +00:00
Florian Forster
ef4d4cadfd
docs(azuread): guide to use azuread as IdP for ZITADEL (#4101) 2022-08-03 08:18:06 +00:00
Livio Spring
dba0fdcf7b
fix: handle user metadata projection correctly (#4098) 2022-08-03 09:50:23 +02:00
Livio Spring
6b30be77e6
fix: restrict domain names to alphanumeric characters (#4104)
* fix: restrict domain names to alphanumeric characters

* improve error message
2022-08-03 07:25:25 +00:00
Fabi
b4d948cc75
docs: remove work in progress from token exchange (#4099)
* docs: remove work in progress from token exchange

* docs: broken links

* docs: broken links
2022-08-03 09:11:27 +02:00
Florian Forster
e3746624da
docs(architecture): extend the software and deployment architecture (#4081)
* docs: eventstore wordings

* docs: software and deployment architecture

* docs: typos and links

* fix toc

* Apply suggestions from code review

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-08-03 06:06:46 +00:00
mffap
558820f271
chore(docs): update links to status page (#4100)
* remove status from footer

* update status link

* status to zitadel.com
2022-08-02 20:21:57 +02:00
Livio Spring
fbd04d399d
fix: hide / show username suffix correctly on registration pages (#4097) 2022-08-02 16:31:35 +02:00
Florian Forster
9326061f1a
docs: fix broken links and typos (#4085)
* docs: fix broken links

* some language fixes

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
2022-08-02 13:30:11 +02:00
Florian Forster
25317c6c08
chore: change image tags and add docker manifest (#4075) 2022-08-02 07:08:43 +00:00
cyb3rd0g1
e5b6c3748d
docs(development): Remove references to deprecated files, add info on DOCKER_BUILDKIT (#4084) 2022-08-01 08:47:23 +00:00
Florian Forster
1984eae813
chore(readme): update links (#4080) 2022-07-29 19:05:47 +02:00
Elio Bischof
80eca531e9
docs(installation): fix helm command (#4079) 2022-07-29 18:36:11 +02:00
Livio Spring
459779ae3a
docs: update db config in example configs (#4077)
* docs: update db config in example configs

* fix version

* more cockroach
2022-07-29 15:45:38 +00:00
Florian Forster
25baeb05ff
docs: fix kubectl command (#4078) 2022-07-29 17:19:17 +02:00
Livio Spring
6e6f5d5f17
docs: fix broken links in examples overview (#4074) 2022-07-29 14:12:52 +02:00
Max Peintner
5b284f8c9b
fix(console): horizontal toggle for users, projects, improve UI/UX (#4047)
* fix(console): horizontal toggle for users, projects

* improve input contrast

* toggles, profile UI fix

* lint

* fix safari styles

* fix button placement redirects

* style lint

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-07-29 09:14:45 +00:00
Fabi
9ed972f308
docs: fix broken links on startpage (#4073)
Co-authored-by: Florian Forster <florian@caos.ch>
2022-07-29 09:08:38 +00:00
Jay
c3046b1bb9
chore: changed title in html file (#3955)
changed title in html file

Co-authored-by: Jay <juerg.rinaldi@gmail.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-07-29 08:57:52 +00:00
Christian Jakob
8cfa81231a
chore: update releaserc.js and add latest tag (#4060)
* added channels for semrel releases

* removed unfunctional channel

* chore: remove prerelease channels

* fix

Co-authored-by: Florian Forster <florian@zitadel.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-07-29 10:48:07 +02:00
Florian Forster
3c3bce1a6b
docs: improve documentation for v2 release (#4046)
* WIP: docs(proxy): describe proxy settings

* fix nginx

* refactor (docs): deploy and operate sections

* chore: ignore package-lock since we use yarn

* chore: update to rc1

* chore: broken links

* chore: update yarn

* docs: move disclaimer to bottom

* chore: fix broken links

* Update docs/docs/guides/operate/tls_modes.mdx

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>

* test caddy files

* syntax highlight

* traefik example

* refactor: docs

* refactor

* working state

* got a working state

* remove bar

* mark rate limits for update

* remove zitadel.ch

* fix cases

* docs: zitadel quickstart

* docs: zitadel quickstart

* docs: create app and project

* docs: move customer portal docs to guides manage cloud

* docs: move customer portal docs to guides manage cloud

* docs: move customer portal docs to guides manage cloud

* docs: add help me choose in the quickstart

* docs: broken links

* fix broken links

* Update knative guide

* styling

* docs: support customer portal

* update to main instead v2-alpha

* use version 2 tag

* docs: images

* docs: move authentication and authorization guides to integrate

* docs: quickstart use examples

* docs: lb example

* fix broken link

* docs: update userinfo endpoints

* docs: update userinfo endpoints

* fix oidc endpoint

* docs: remove unused endpoints in app.module

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
Co-authored-by: Fabienne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-07-29 10:13:45 +02:00
Max Peintner
fb52575f79
fix(console): remove redundancy in hasrole directive (#4063)
Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-07-29 05:13:15 +00:00
Fabi
8448f88f94
fix: remove user login must be domain check on machine users (#4065)
* fix: remove user login must be domain check on machine users

* fix: test

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-07-28 14:33:59 +00:00
Livio Spring
f610d48569
feat: prepare for multiple database types (#4068)
BREAKING CHANGE: the database and admin user config has changed.
2022-07-28 16:25:42 +02:00
Stefan Benz
bc9a85daf3
feat: V2 alpha import and export of organizations (#3798)
* feat(import): add functionality to import data into an instance

* feat(import): move import to admin api and additional checks for nil pointer

* fix(export): export implementation with filtered members and grants

* fix: export and import implementation

* fix: add possibility to export hashed passwords with the user

* fix(import): import with structure of v1 and v2

* docs: add v1 proto

* fix(import): check im imported user is already existing

* fix(import): add otp import function

* fix(import): add external idps, domains, custom text and messages

* fix(import): correct usage of default values from login policy

* fix(export): fix renaming of add project function

* fix(import): move checks for unit tests

* expect filter

* fix(import): move checks for unit tests

* fix(import): move checks for unit tests

* fix(import): produce prerelease from branch

* fix(import): correctly use provided user id for machine user imports

* fix(import): corrected otp import and added guide for export and import

* fix: import verified and primary domains

* fix(import): add reading from gcs, s3 and localfile with tracing

* fix(import): gcs and s3, file size correction and error logging

* Delete docker-compose.yml

* fix(import): progress logging and count of resources

* fix(import): progress logging and count of resources

* log subscription

* fix(import): incorporate review

* fix(import): incorporate review

* docs: add suggestion for import

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>

* fix(import): add verification otp event and handling of deleted but existing users

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: Fabienne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-07-28 13:42:35 +00:00
Livio Spring
d620126aab
fix: handle nil pointer when login hint is invalid (#4066)
* fix: handle nil pointer when login hint is invalid

* mention encoding for login_hint
2022-07-28 14:11:10 +02:00
Livio Spring
096e12d3d0
fix: set domain verified if domain policy does not require validation (#4061)
* fix: set domain verified if domain policy does not require validation

* handle domain claimed
2022-07-28 13:18:31 +02:00
Silvan
0b742233f9
fix: clarify instances in steps and config (#4003)
* fix: clarify instances in steps and config

* docs: update setup step

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-07-27 10:22:20 +02:00
Livio Spring
5bd9badbcf
fix: project grants (#4031)
* fix: filter granted memberships correctly

* fix: only show changes of granted project

* Apply suggestions from code review

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>

* Update internal/query/user_membership.go

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-07-27 07:55:44 +00:00
Livio Spring
c15577c1f9
fix: use default redirect uri when not passed on end_session endpoint (#4054)
* fix: use default redirect uri when not passed on end_session endpoint

* instance state
2022-07-27 09:49:16 +02:00