Commit Graph

1331 Commits

Author SHA1 Message Date
Silvan
f22b900cda
test(queries): org domain prepare funcs (#2648)
* chore(queries): test suite for prepare stmt funcs

* test(queries): prepare project funcs

* refactor: add comments

* test: simlify expected sql, added possibility to add args to expected queries

* test(queries): prepare funcs in org

* chore(backend): correct modules

* test(queries): org domain prepare funcs

* test: correct name
2021-11-15 14:44:14 +01:00
Livio Amstutz
ebe2fbe1d5
fix: rename lifetime to expiration of pwless link in ImportHumanUserResponse (#2687) 2021-11-15 14:24:45 +01:00
Silvan
8d4b2dcc75
test(queries): org prepare funcs (#2647)
* chore(queries): test suite for prepare stmt funcs

* test(queries): prepare project funcs

* refactor: add comments

* test: simlify expected sql, added possibility to add args to expected queries

* test(queries): prepare funcs in org

* chore(backend): correct modules
2021-11-15 12:52:49 +00:00
Silvan
f927f4af02
test(queries): suite for prepare stmt funcs (#2644)
* chore(queries): test suite for prepare stmt funcs

* test(queries): prepare project funcs

* refactor: add comments

* test: simlify expected sql, added possibility to add args to expected queries
2021-11-15 10:04:46 +01:00
Livio Amstutz
bd9f621030
docs: revocation_endpoint (#2654) 2021-11-15 08:37:05 +00:00
Max Peintner
12eed30c08
feat: add it-IT to internationalization (#2439)
* login it

* deepl translations, corrections

* login, en typos

* it internal, typo fixes

* message texts, optim console texts, guide for internationalization

* missing console, fix de, en

* Add missing keys from main

* translate missing keys

* add it to console selection, change it policy descriptors

* add missing i18n from jwt idp, fixes

* add missing translations

* missing translations

* fix

* auth user language change, interceptor

* remove multiline operator

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-11-15 08:23:35 +01:00
Livio Amstutz
cfdb8c3301
fix: mitigate overload risk in processProject on user memberships (#2665) 2021-11-12 15:06:26 +01:00
Livio Amstutz
4fc2582b4c
fix: mitigate overload risk in processProject on user grant (#2662) 2021-11-12 11:11:37 +00:00
Livio Amstutz
7324e776cf
fix: features and texts models (#2653) 2021-11-12 09:50:37 +01:00
Livio Amstutz
5bc0520adb
docs: fix jwt profile iat and exp (#2660) 2021-11-11 17:56:30 +01:00
Livio Amstutz
fef9eb91f9
docs: add swagger editor links (#2657)
* docs: add swagger editor links

* Apply suggestions from code review

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

Co-authored-by: Florian Forster <florian@caos.ch>
2021-11-11 13:56:16 +01:00
Max Peintner
07e9268f19
chore(console): npm dependencies (#2607)
* chore(deps-dev): bump karma from 6.3.3 to 6.3.6 in /console (#2597)

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.3 to 6.3.6.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.3...v6.3.6)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

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

* core cli

* material cdk

* schematics

* lock

* chore(deps-dev): bump @angular-eslint/builder in /console (#2604)

Bumps [@angular-eslint/builder](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/builder) from 12.5.0 to 12.6.1.
- [Release notes](https://github.com/angular-eslint/angular-eslint/releases)
- [Changelog](https://github.com/angular-eslint/angular-eslint/blob/master/packages/builder/CHANGELOG.md)
- [Commits](https://github.com/angular-eslint/angular-eslint/commits/v12.6.1/packages/builder)

---
updated-dependencies:
- dependency-name: "@angular-eslint/builder"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

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

* chore(deps): bump google-protobuf from 3.18.0 to 3.19.1 in /console (#2605)

Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf) from 3.18.0 to 3.19.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.18.0...v3.19.1)

---
updated-dependencies:
- dependency-name: google-protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-11 13:55:26 +01:00
Livio Amstutz
037e1ab4ac
fix: add cors (*) to openAPI endpoint (#2656) 2021-11-11 10:58:16 +01:00
Livio Amstutz
92e9db3fa6
fix: project grpc converter (#2658) 2021-11-11 07:23:19 +00:00
dependabot[bot]
df25e9de5e
chore(deps): bump google.golang.org/api from 0.59.0 to 0.60.0 (#2636)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.59.0 to 0.60.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.59.0...v0.60.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 08:54:57 +00:00
dependabot[bot]
8d5f7c7c17
chore(deps): bump github.com/lib/pq from 1.10.3 to 1.10.4 (#2652)
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.3 to 1.10.4.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.3...v1.10.4)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 09:23:20 +01:00
dependabot[bot]
7255f791dd
chore(deps): bump google.golang.org/grpc from 1.41.0 to 1.42.0 (#2639)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.41.0 to 1.42.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.41.0...v1.42.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 09:21:43 +01:00
dependabot[bot]
d774770379
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp (#2637)
Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.25.0...zpages/v0.26.1)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 08:32:48 +01:00
dependabot[bot]
294d9d5496
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc (#2634)
Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.25.0...zpages/v0.26.1)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 07:56:23 +01:00
dependabot[bot]
9b38061ed4
chore(deps): bump github.com/manifoldco/promptui from 0.8.0 to 0.9.0 (#2632)
Bumps [github.com/manifoldco/promptui](https://github.com/manifoldco/promptui) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/manifoldco/promptui/releases)
- [Changelog](https://github.com/manifoldco/promptui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/manifoldco/promptui/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/manifoldco/promptui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 07:56:01 +01:00
Max Peintner
659d1b1252
fix(console): project role ui optimization, disable resend init mail btn for reader (#2615)
* fix: new role button alignment

* disable init mail btn

* stylelint
2021-11-09 12:21:40 +01:00
Max Peintner
b1ef990785
fix: refresh idp list on delete, add (#2596) 2021-11-09 11:35:59 +01:00
Livio Amstutz
685ffc5dc7
fix: nil pointer in external providers (#2642)
* fix: nil pointer in external providers

* fix returns
2021-11-09 08:13:17 +00:00
Livio Amstutz
af1f10b7ca
fix: check login policy before register and password check (#2611)
* fix: check login policy before register and password check

* remove accidentally pushed overwrite

* Update en.yaml
2021-11-08 07:42:07 +00:00
Silvan
17e00f8204
fix(database): oidc config change type to int2 (#2620) 2021-11-05 16:13:48 +01:00
Livio Amstutz
ccf4828b50
feat: allow IAM and Org Owners to generate a passwordless registration link (#2619) 2021-11-05 14:57:10 +01:00
Silvan
f7ae8f2601
refactor: remove unused code (#2614)
* fix(auth): switch project role requests to query pkg

* refactor: delete unused project role code
2021-11-04 14:37:58 +01:00
Silvan
a34ca05691
fix(auth): switch project role requests to query pkg (#2613) 2021-11-04 13:46:15 +01:00
Livio Amstutz
3a7d68fccd
fix: error handling for refresh_token revocation (#2609) 2021-11-03 14:10:01 +01:00
Livio Amstutz
fc6154cffc
feat: token revocation and OP certification (#2594)
* fix: try using only user session if no user is set (id_token_hint) on prompt none

* fix caos errors As implementation

* implement request mode

* return explicit error on invalid refresh token use

* begin token revocation

* token revocation

* tests

* tests

* cleanup

* set op config

* add revocation endpoint to config

* add revocation endpoint to config

* migration version

* error handling in token revocation

* migration version

* update oidc lib to 1.0.0
2021-11-03 08:35:24 +01:00
Max Peintner
8df5614e4d
docs(apis): cleanup navigation, better overview (#2608)
* api cards, cleanup overview

* endpoint, definition shortcuts, links

* update quickstart links

* mobile overflow

* Update docs/docs/apis/introduction.mdx

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

* Update docs/docs/apis/introduction.mdx

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

Co-authored-by: Florian Forster <florian@caos.ch>
2021-11-02 14:05:47 +01:00
Silvan
80b811c12e
fix(projection): add idp login policy link (#2590)
* fix(projections): add app

* fix(migration): add index for project_id

* test: app projection

* fix(projections): add idp_user_link

* test: idp user link

* fix(projection): add idp login policy link

* fix: migration versions

* fix: migration versions

* refactor: rename externalIDP to UserIDPLink

* fix: interface

* fix: interface methods
2021-11-02 10:00:48 +00:00
Silvan
92f9eedbe0
fix(projections): user idp link projection (#2583)
* fix(projections): add app

* fix(migration): add index for project_id

* test: app projection

* fix(projections): add idp_user_link

* test: idp user link

* fix: migration versions

* refactor: rename externalIDP to UserIDPLink

* fix: interface methods
2021-11-02 10:08:47 +01:00
Max Peintner
5ba1e45423
feat(console): change my username (#2587)
* feat: username change

* use btn, update on dist

* disable mgmt side

* lint

* rm scope

* chore(deps-dev): bump eslint from 7.32.0 to 8.1.0 in /console (#2569)

Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.1.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.1.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

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

* chore(deps-dev): bump ts-node from 10.2.1 to 10.4.0 in /console (#2568)

Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.2.1 to 10.4.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.2.1...v10.4.0)

---
updated-dependencies:
- dependency-name: ts-node
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

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

* chore(deps-dev): bump @types/node from 16.10.2 to 16.11.4 in /console (#2567)

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

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

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

* cli core

* material, cdk

* eslint schematics

* legacy peer deps

* grpcweb, types

* dontgrade eslint

* revert package mods

* change username mgmt

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-02 09:03:02 +01:00
Silvan
bc526561d0
fix(projections): add app (#2576)
* fix(projections): add app

* fix(migration): add index for project_id

* test: app projection

* fix: clearify variable naming
2021-11-02 08:26:34 +01:00
Fabi
4c1be86ce2
feat: feature query (#2578)
* feat: features projection

* feat: tests

* fix: update version
2021-10-29 16:33:00 +02:00
Fabi
a1f4a06d27
feat: Message projection (#2591)
* feat: mail template projection

* feat: message text projection

* feat: message text projection tests

* feat: custom text projection

* feat: custom text projection
2021-10-29 16:11:47 +02:00
Silvan
8996b17a76
fix(db): update cockroach to 21.1.11, (#2584)
* fix(db): update cockroach to 21.1.11,
update flyway to 8.0.2

* chore: update all crdb versions
2021-10-29 11:30:51 +02:00
Silvan
60aa4874ed
fix: bug fixes (#2595) 2021-10-29 11:00:42 +02:00
Silvan
d689b2192a
fix: Allow empty email (#2593)
* fix(management): allow emty email in resend initialization email

* fix: update dependencies

* download correct files
2021-10-28 15:35:24 +00:00
Silvan
dc3493cba0
fix(management): allow emty email in resend initialization email (#2592) 2021-10-28 15:13:46 +00:00
Livio Amstutz
6ef0d92200
docs: remove client credentials from supported grant types (#2586) 2021-10-28 16:06:48 +02:00
Silvan
ca9cc0203e
fix(idp): no panic if wrong event type sent to reduce (#2589) 2021-10-28 14:52:26 +02:00
Livio Amstutz
b3b4d5dde9
fix: return auth request even on error (in next steps) (#2588)
* fix return auth request even on error (in next steps)

* Update README.md

* Update README.md
2021-10-28 14:50:29 +02:00
Fabi
c190d5d1b7
feat: add some manager roles (#2585)
* feat: add some manager roles

* feat: add some manager roles

* fix indent

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-10-28 13:22:25 +02:00
Livio Amstutz
f1afdef7fb
fix: remove vulnerable dependencies (#2577)
* fix: remove vulnerable dependencies

* fix: replace vulnerable dependencies (gin-gonic)

* fix: replace vulnerable dependencies (gin-gonic)
2021-10-27 14:55:03 +02:00
Fabi
cd65fd8c17
feat: all project grant search query (#2581)
* feat: all project grant search query

* feat: all project grant search query
2021-10-27 09:26:01 +00:00
Fabi
802fbf175b
fix: search usergrants if no resourceowner query (#2579) 2021-10-27 09:28:44 +02:00
Livio Amstutz
a4127278e7
fix: client secret verification (for introspection) (#2570) 2021-10-26 11:33:59 +02:00
Florian Forster
7f62b169ac
chore(actions): enable buildkit GHA cache again (#2482)
* chore(actions): enable buildkit GHA cache again

* Update .github/workflows/zitadel.yml
2021-10-26 10:31:24 +02:00