2758 Commits

Author SHA1 Message Date
Livio Spring
47930c6a85
fix: handle instanceID correctly in auth projections (#4252) 2022-08-25 13:38:35 +00:00
Elio Bischof
14124c6e38
ci: delete environment.json (#4239)
* Delete environment.json

* Update .gitignore
2022-08-25 13:56:27 +02:00
Livio Spring
cb8e6c9f24
chore: update stable to 2.2.0 (#4246) 2022-08-25 11:17:47 +02:00
mffap
cad7211288
docs: update readme (#4243)
* docs: update readme

* Cloud

* small changes

* examples

* Update README.md

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

Co-authored-by: Florian Forster <florian@zitadel.com>
2022-08-25 00:03:14 +02:00
mffap
79e7ab76b6
docs(api): link rate limit policy to rules (#4235)
Co-authored-by: Florian Forster <florian@zitadel.com>
2022-08-24 13:30:28 +00:00
Livio Spring
4c26665b93
fix: improve user grants precondition checks (#4237)
* fix: improve user grants precondition checks

* build rc

* fix prerelease

* fix: build image

* remove branch from releaserc
v2.2.0
2022-08-24 11:38:59 +02:00
Livio Spring
06fd70d457
chore: always push docker image (#4236)
(only skip latest manifest on prereleases)
2022-08-24 09:53:14 +02:00
Christian Jakob
e09c7af49f
chore: adding conditions for upload for dockers and brews (#4212)
* chore: removing unneeded channel

* fix: enabled tag push

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-08-23 15:03:23 +00:00
Livio Spring
69534a2f7a
feat: allow JWT for ZITADEL APIs (#4206)
* feat: allow JWT for ZITADEL APIs

* improve getTokenIDAndSubject

* comment

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2022-08-23 08:02:36 +02:00
Florian Forster
f2c603523b
chore: fix broken links with redirect (#4231) 2022-08-22 18:59:56 +02:00
Max Peintner
2ece8ffaa7
fix(console): membership role deletion (#4230) 2022-08-22 09:08:01 +02:00
Livio Spring
cc612fed07
fix: trim spaces for usernames and organization names (#4217) 2022-08-19 15:00:14 +02:00
Livio Spring
d656b3f3c9
fix: instance interceptors return NotFound (404) error for unknown hosts (#4184)
* fix: instance interceptors return "NotFound" (404) error for unknown hosts

* fix tests
2022-08-17 06:07:41 +00:00
Alloys Mila
d0733b3185
docs: fix minor typo (#4203) 2022-08-16 16:13:24 +02:00
Florian Forster
cd4c61a6bb
docs: fixing incomplete sentence and old aud scope (#4202)
* docs: fixing incomplete sentence and old aud scope

* Update docs/docs/examples/secure-api/go.md
2022-08-16 15:13:15 +02:00
Livio Spring
9c37f39d43
docs: better distinct JWT Profile grant and assertion (#4201)
docs: update JWT Profile grant
2022-08-16 14:49:37 +02:00
Max Peintner
44fc2efbb7
fix(console, e2e): static data-e2e attributes, consistent naming (#4188)
* fix(console, e2e): static data-e2e attributes, consistent naming

* quote cypress attribute selectors

* Update console/src/app/modules/policies/private-labeling-policy/private-labeling-policy.component.html

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

* Update console/src/app/modules/project-roles-table/project-roles-table.component.html

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

* fix ,

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
2022-08-16 14:02:59 +02:00
Livio Spring
dcac08b1d5
fix: caching of assets (correct headers and versioned avatar and variables.css url) (#4118)
* fix: caching of assets (correct headers and versioned avatar url)

* serve variables.css versioned and extend shared max age of assets

* fix TestCommandSide_AddHumanAvatar

* refactor: const types

* refactor: return values

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
2022-08-16 05:04:36 +00:00
Elio Bischof
0c6b47a081
docs: update rate limiting docs (#4186)
* docs: update rate limiting docs

* reduce regexp mental overhead
2022-08-15 17:40:43 +02:00
Florian Forster
872a4eae66
fix: release version for arm broken (#4187)
* fix: release version for arm broken

This PR fixes the problem that the arm container included the amd binary

* build prerelease

* remove prerelease

Co-authored-by: Livio Spring <livio.a@gmail.com>
v2.1.1
2022-08-15 15:22:15 +00:00
mffap
33b8eecba4
chore(docs): update readme and docs for producthunt (#4168)
* readme

* wip

* zitadel.com

* remove pointer events none

Co-authored-by: Max Peintner <max@caos.ch>
2022-08-12 11:02:18 +02:00
Stefan Benz
2388764f1c
fix(IDP): correct org idp response resourceowner (#4165) 2022-08-11 11:56:59 +02:00
Christian Jakob
9bf656deec
chore: changed trigger to follow release (#4163)
* fix: changed trigger to follow release

* fix: changed variable trigger
2022-08-11 09:28:01 +00:00
Elio Bischof
4014c017fa
ci: ignore some changes for tests (#4152)
* ci: ignore some changes for tests

* is check ok?

* match all .md files

* is check ok?

* is check ok?

* avoid skipped but required checks

* document test-docs.yml workflow

* cleanup check tests

* trigger check

* revert readme changes

* respect changes in /tools/ for tests

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-08-11 08:06:25 +00:00
Max Peintner
7c49f03d19
docs: welcome gigi (#4159)
* docs: welcome gigi

* light theme

* foreground

* banner on readme

Co-authored-by: mffap <mpa@zitadel.com>
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-08-11 07:32:50 +00:00
mffap
ee2c0df126
chore(docs): fix link typo (#4162) 2022-08-10 15:51:50 +00:00
Christian Jakob
33e4c5c151
chore: added multiple browser support (#4161)
* chore: added multiple browser support

* chore: use matrix for parallel jobs

* fix: browsername
2022-08-10 17:24:19 +02:00
mffap
670d107945
chore(docs): add link to v1 docs (#4155)
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-08-10 11:49:39 +00:00
Livio Spring
90cec44de4
chore: remove stale bot (#4156) 2022-08-10 06:55:10 +00:00
Livio Spring
c5b4441373
chore: add stale bot (#4153) v2.1.0 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 254b5a1f87be71c64c1289b12fc1bf23a401ea64.

* 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) v2.0.1 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