Commit Graph

1093 Commits

Author SHA1 Message Date
Livio Amstutz
92506d69c0
fix: handle logout correctly on tokens (#1803) 2021-06-01 13:30:29 +02:00
Silvan
a625a86124
fix(dockerfile): copy (#1802) 2021-06-01 11:51:54 +02:00
Silvan
a6e4b537fe
chore(contribute): add step by step guide (#1754)
* chore(contributing): add startup

* init

* cleanup docker file

* local

* compose works

* markdowns

* add gateway start on readme

* readme done

* finish mds

* rename/delete compose files

* correct docker compose file name

* fix links,
update contribute,
split build/readme into separate files in /guides,
add zitadel startup

* fix(docker compose): allow .keys folder to not exist

* update md's

* use docker-compose instead of docker compose as --profile gets ignored

* write a message if create key

* copy openapi statik.go

* explain how to connect in quickstart

* Apply suggestions from code review

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

* sremove subscription service from env.json

* Delete caos_local.sh

moved to build/local/local.env

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-06-01 09:55:08 +02:00
Max Peintner
d61baadfd9
fix: use webpack to load i18n files on buildtime (#1797) 2021-06-01 08:40:33 +02:00
dependabot[bot]
6ce4e83d36
chore(deps): bump github.com/nicksnyder/go-i18n/v2 from 2.1.1 to 2.1.2 (#1334)
* chore(deps): bump github.com/nicksnyder/go-i18n/v2 from 2.1.1 to 2.1.2

Bumps [github.com/nicksnyder/go-i18n/v2](https://github.com/nicksnyder/go-i18n) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/nicksnyder/go-i18n/releases)
- [Changelog](https://github.com/nicksnyder/go-i18n/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nicksnyder/go-i18n/compare/v2.1.1...v2.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

* update release-action

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Forster <florianÂ@caos.ch>
2021-06-01 07:45:59 +02:00
Max Peintner
74ff154b19
feat(console): angular 12, migrate grpc lib, ui element fixes (#1740)
* fix: is default

* fix: feature tile in org, iam, neutral color for info boxes

* lint

* consolidation, ui elements

* feat(console): angular 12, migrate deprecated grpc to @grpc/grpc-js (#1741)

* update cli core

* update material

* mig

* migrate grpc to grpc-js

* audit

* lint

* node lts version, ng12 deprecation

* rem comment

* disable inlinestyles

* fix iam feature link, binding
2021-06-01 07:02:49 +02:00
Livio Amstutz
4fde6df477
fix: check refresh token grant type (#1796) 2021-05-31 12:27:32 +02:00
Livio Amstutz
f8ab1f5b7b
fix: refresh token activation (#1795)
* fix: oidc grant type check

* docs: add offline_access scope

* docs: update refresh token status in supported grant types

* fix: update oidc pkg
2021-05-31 11:06:01 +02:00
Max Peintner
1f41cc5ca8
feat(console): refresh toggle out of granttype context (#1785)
* refresh toggle

* disable if not code flow, lint

* lint

* fix: change oidc config order

* accept refresh option within flow

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-05-31 09:04:49 +02:00
Florian Forster
769fb93506
chore(coc): recommend code of conduct (#1782) 2021-05-28 07:38:50 +02:00
Livio Amstutz
bf4c4d881d
fix: access tokens for service users and refresh token infos (#1779)
* fix: access token for service user

* handle info from refresh request

* uniqueness

* postpone access token uniqueness change
2021-05-26 09:01:07 +02:00
Silvan
070abae6d9
fix(login): links (#1778)
* fix(login): href for help

* fix(login): correct link to tos
2021-05-26 07:38:25 +02:00
Livio Amstutz
a8ff292470
fix: migration version (#1767) 2021-05-20 14:24:36 +00:00
Livio Amstutz
8e19dc1868
fix: correct json name of clientId in key.json (#1760) 2021-05-20 13:47:22 +00:00
Livio Amstutz
ec5020bebc
feat: refresh token (#1728)
* begin refresh tokens

* refresh tokens

* list and revoke refresh tokens

* handle remove

* tests for refresh tokens

* uniqueness and default expiration

* rename oidc token methods

* cleanup

* migration version

* Update internal/static/i18n/en.yaml

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

* fixes

* feat: update oidc pkg for refresh tokens

Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2021-05-20 11:33:35 +00:00
Max Peintner
bc21eeb114
fix: missing patchvalue (#1758) 2021-05-20 12:34:55 +02:00
Max Peintner
1ba70d2012
fix(console): add model for api keys, fix toast, binding (#1757)
* fix: add model for api keys, fix toast, binding

* show api clientid
2021-05-20 10:26:53 +02:00
Fabi
d0a5ad94d2
fix: handle api configs in authz handler (#1755) 2021-05-19 17:08:29 +00:00
Max Peintner
ee98e3a503
fix: additional origin list (#1753) 2021-05-19 12:52:17 +02:00
mffap
71e40f6aa6
docs: update run and start section texts (#1745)
* update run and start section texts

* adds showcase

Co-authored-by: Maximilian Panne <maximilian.panne@gmail.com>
2021-05-19 09:47:16 +02:00
Livio Amstutz
2e8fa82261
feat: add additional origins on applications (#1691)
* feat: add additional origins on applications

* app additional redirects

* chore(deps-dev): bump @angular/cli from 11.2.8 to 11.2.11 in /console (#1706)

* fix: show org with regex (#1688)

* fix: flag mapping (#1699)

* chore(deps-dev): bump @angular/cli from 11.2.8 to 11.2.11 in /console

Bumps [@angular/cli](https://github.com/angular/angular-cli) from 11.2.8 to 11.2.11.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v11.2.8...v11.2.11)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump stylelint from 13.10.0 to 13.13.1 in /console (#1703)

* fix: show org with regex (#1688)

* fix: flag mapping (#1699)

* chore(deps-dev): bump stylelint from 13.10.0 to 13.13.1 in /console

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.10.0 to 13.13.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.10.0...13.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/node from 14.14.37 to 15.0.1 in /console (#1702)

* fix: show org with regex (#1688)

* fix: flag mapping (#1699)

* chore(deps-dev): bump @types/node from 14.14.37 to 15.0.1 in /console

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.37 to 15.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump ts-protoc-gen from 0.14.0 to 0.15.0 in /console (#1701)

* fix: show org with regex (#1688)

* fix: flag mapping (#1699)

* chore(deps): bump ts-protoc-gen from 0.14.0 to 0.15.0 in /console

Bumps [ts-protoc-gen](https://github.com/improbable-eng/ts-protoc-gen) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/improbable-eng/ts-protoc-gen/releases)
- [Changelog](https://github.com/improbable-eng/ts-protoc-gen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/improbable-eng/ts-protoc-gen/compare/0.14.0...0.15.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/jasmine from 3.6.9 to 3.6.10 in /console (#1682)

Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.6.9 to 3.6.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @types/google-protobuf in /console (#1681)

Bumps [@types/google-protobuf](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/google-protobuf) from 3.7.4 to 3.15.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/google-protobuf)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump grpc from 1.24.5 to 1.24.7 in /console (#1666)

Bumps [grpc](https://github.com/grpc/grpc-node) from 1.24.5 to 1.24.7.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/grpc@1.24.5...grpc@1.24.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* lock

* chore(deps-dev): bump @angular/language-service from 11.2.9 to 11.2.12 in /console (#1704)

* fix: show org with regex (#1688)

* fix: flag mapping (#1699)

* chore(deps-dev): bump @angular/language-service in /console

Bumps [@angular/language-service](https://github.com/angular/angular/tree/HEAD/packages/language-service) from 11.2.9 to 11.2.12.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/11.2.12/packages/language-service)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* package lock

* downgrade grpc

* downgrade protobuf types

* revert npm packs 🥸

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2021-05-19 09:17:38 +02:00
mffap
18ed6633be
docs: changes acme to acme-caos (#1744)
* changes acme to acme-caos

* Apply suggestions from code review

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

Co-authored-by: Maximilian Panne <maximilian.panne@gmail.com>
Co-authored-by: Florian Forster <florian@caos.ch>
2021-05-19 08:43:01 +02:00
Livio Amstutz
f34b5b72b3
chore: add GH Token to sem rel (#1746)
* chore: add GH Token to sem rel

* try branch

* add GH Token

* remove test branch again
2021-05-19 08:11:42 +02:00
Florian Forster
18b8047097
chore: remove PAT and use GH Token (#1716)
* chore: remove PAT and use GH Token

* fix env

* fix env

* fix env

* md lint

* trigger ci

* change user

* fix GH bug

* replace login part
2021-05-19 06:41:40 +02:00
Florian Forster
bde22e0fde
chore(deps): update docusaurus (#1739) 2021-05-19 06:39:48 +02:00
Livio Amstutz
62457f3075
fix: use email as username on global org (#1738)
* fix: use email as username on global org

* Update user_human.go

* Update register_handler.go
2021-05-17 11:39:51 +00:00
Max Peintner
fe2342f15c
fix: is default (#1737) 2021-05-17 09:18:51 +00:00
Christoph Bühler
4a388e410a
docs(quickstarts): add flutter quickstart (#1714)
Signed-off-by: Christoph Bühler <christoph@smartive.ch>
2021-05-07 15:50:32 +02:00
Elio Bischof
7bb689269a
docs: fix email writesecret command (#1713)
* docs: fix email writesecret command

* docs: gitops
2021-05-06 16:10:48 +00:00
Florian Forster
4701d3f2f6
docs(api): correct link (#1712) 2021-05-05 09:03:11 +00:00
Max Peintner
06afff614d
fix: correct value (#1695) 2021-05-05 07:24:56 +02:00
Livio Amstutz
bc633627c4
fix: handle domain claimed event correctly for service users (#1711)
* fix: handle domain claimed event correctly on user view

* fix: ignore domain claimed events for email notifications

* fix: change org

* handle org changed in read models correctly

* fix: change org in user grant handler

Co-authored-by: fabi <fabienne.gerschwiler@gmail.com>
2021-05-04 14:57:11 +02:00
Livio Amstutz
87c1dfa3aa
fix: uniqueness (#1710)
* fix: uniqueconstraint to lower

* feat: change org

* feat: org change test

* feat: change org

* fix: tests

* fix: handle domain claims correctly

* feat: update org

Co-authored-by: fabi <fabienne.gerschwiler@gmail.com>
2021-05-04 09:09:24 +00:00
Fabi
667cc30291
feat: asset storage (#1696)
* feat: remove assets

* feat: minio implementation

* fix: remove assets from tests

* feat: minio implementation

* feat: Env vars

* fix: sprintf

* fix: sprintf

* Update internal/eventstore/repository/repository.go

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

* fix: error handling

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-05-03 10:15:50 +02:00
Fabi
a5c6bf5498
docs: React Quickstart (#1698)
* docs: React Quickstart

* fix: fix some text mistakes

* Update react.md

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-05-03 09:52:57 +02:00
Livio Amstutz
5277dd0818
fix: add loopback for native apps redirect_uri (#1690)
* fix: allow loopback redirect_uri for native apps

* add loopback to native redirect_uri

* fix loopback

* update oidc pkg

* merge

* fix: oidc compliance in read model
2021-05-03 09:07:54 +02:00
Silvan
f70adec022
fix: flag mapping (#1699) 2021-04-30 20:42:47 +02:00
Max Peintner
4d09b804f5
fix: show org with regex (#1688) 2021-04-29 15:57:10 +02:00
Elio Bischof
fe4f6a963e
feat(operator): enable specifying custom acme authority for subdomains (#1634)
* feat: enable specifying custom acme authority for subdomains

* test: none authority

* chore: use latest ORBOS

* chore: use latest ORBOS

* test: host tls secret is unmanaged if not provided

* chore: use latest ORBOS

* chore: use latest ORBOS

* fix: default acme authority to "none"

* chore: use latest ORBOS

* chore: compile with latest ORBOS
2021-04-28 11:00:56 +02:00
Elio Bischof
fd3ac0dbd6
feat: try StartTLS if SMTP server doesn't support pure TLS (#1676)
* feat: try starttls if smtp server doesn't support pure tls

* chore: fix log id

* fix: errors.As is not working with own error type
2021-04-28 09:53:33 +02:00
Fabi
72f0cbe813
docs: .net quickstart (#1683)
* fix: add .net quickstart

* fix: add .net quickstart

* fix: add .net quickstart

* fix: add .net quickstart

* fix: add .net quickstart

* add syntax highlight for csharp

* typo in go

* fix: fix docs

* Update docs/docs/quickstarts/dot-net.md

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-04-27 13:10:13 +00:00
Fabi
f51f0ede5c
feat: add assets to eventstore and event (#1674)
* fix: add assets to eventstore and event

* fix: project member, grant member, app changed tests

* fix: asset migrations

* feat: add asset tests

* feat: add asset tests

* Update internal/eventstore/repository/repository.go

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

* feat: add asset tests

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-04-27 12:58:18 +02:00
Silvan
eaf966e3d2
chore(dependabot): schedule time (#1679) 2021-04-27 10:20:20 +00:00
Fabi
dbafb7b419
fix: check user is unique (#1678) 2021-04-27 09:22:33 +00:00
Max Peintner
10e85d999e
fix(console): ui issues (#1670)
* mark required fields

* membership overflow, deactivate btn

* app create show info

* remove padding

* lint scss

* fix count of results

* rm log
2021-04-27 08:15:53 +02:00
mffap
c4607409a5
docs: fixes linkes to docs (#1657)
Co-authored-by: Maximilian Panne <maximilian.panne@gmail.com>
2021-04-23 13:55:21 +02:00
Elio Bischof
f9a7f1e27d
fix: use latest ORBOS (#1660) 2021-04-23 13:46:28 +02:00
Livio Amstutz
920ada55fc
fix: update oidc pkg for jwt profile fix (#1659) 2021-04-23 12:13:18 +02:00
Livio Amstutz
dcf1d86e7b
fix: enable all features possible in step 12 (#1656) 2021-04-23 08:30:56 +00:00
Florian Forster
c45624d6b8
chore(pipeline): change caching keys (#1651)
* Update zitadel.yml

* use different files for hashing the keys

* use correct path for docker and hash the dockerfile

* use codecov within steps

* proper indenting

* rename steps

* fix duplicate name

* move dockerignore

* rename things

* codecov as pre step before the build

* ignore cache path

* debug

* Update .dockerignore

* debug

* debug

* debug

* debug

* debug

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-04-23 09:40:13 +02:00