Commit Graph

1615 Commits

Author SHA1 Message Date
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
Fabi
8e94d2377b
fix: remove adding automatically global role on register (#4050) 2022-07-27 07:04:17 +02:00
Max Peintner
e8a01abcdb
fix(console): set user language (#4028)
fix: cnsl user language

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-07-26 07:30:54 +00:00
Max Peintner
9347a196c0
fix(console): statehandler (#4042)
Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-07-26 06:41:49 +02:00
Florian Forster
0ebda7caaa
docs: improve template handling for search results (#4043)
* docs: improve template handling for search results

* chore: remove draft again

* chore: change configure
2022-07-25 15:59:45 +02:00
Max Peintner
7c491381de
feat(console): show instance detail (#4032)
feat: instance detail

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-07-25 12:26:36 +00:00
Elio Bischof
6bb3220186
chore: speed up build (#4017)
* better cache dependencies

* ignore local statik.go

* remove previously generated statik.go file

* remove redundant .dockerignore
2022-07-25 11:54:05 +00:00
Livio Spring
ccde49b323
feat: extend claims of introspection response (#4018)
* feat: extend claims of introspection response

* update oidc lib
2022-07-25 09:38:15 +02:00
Max Peintner
955e4d483e
fix(console): show otp secret (#4030) 2022-07-22 15:44:16 +02:00
Livio Spring
9fc8a43642
fix: handle events of PATs correctly (#4024) 2022-07-22 13:47:55 +02:00
Max Peintner
3855ec2ab5
fix(console): SMS provider (#3949)
fix: console twilio

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-07-22 11:23:13 +00:00
Livio Spring
aed7010508
fix: scheduling (#3978)
* fix: improve scheduling

* build pre-release

* fix: locker

* fix: user handler and print stack in case of panic in reducer

* chore: remove sentry

* fix: improve handler projection and implement tests

* more tests

* fix: race condition in tests

* Update internal/eventstore/repository/sql/query.go

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

* fix: implemented suggested changes

* fix: lock statement

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2022-07-22 10:08:39 +00:00
Max Peintner
0cc548e3f8
fix(console): asset path on signout route, stop event propagation in actions table (#4016)
fix: asset path, stop event propagation in actions table
2022-07-22 09:06:16 +02:00
mffap
5da72dee92
fix(docs): primary domain scope (#3999)
primary domain scope
2022-07-21 11:53:06 +00:00
Livio Spring
91206967b4
fix: reset custom org domain policy (#4014) 2022-07-21 13:46:59 +02:00
Max Peintner
6a3689e05a
fix(console): username overflow when suffix is shown (#4007)
* fix(console): username overflow when suffix

* rm logs
2022-07-21 11:15:35 +02:00