Livio Amstutz
56b916a2b0
feat: projections auto create their tables ( #3324 )
...
* begin init checks for projections
* first projection checks
* debug notification providers with query fixes
* more projections and first index
* more projections
* more projections
* finish projections
* fix tests (remove db name)
* create tables in setup
* fix logging / error handling
* add tenant to views
* rename tenant to instance_id
* add instance_id to all projections
* add instance_id to all queries
* correct instance_id on projections
* add instance_id to failed_events
* use separate context for instance
* implement features projection
* implement features projection
* remove unique constraint from setup when migration failed
* add error to failed setup event
* add instance_id to primary keys
* fix IAM projection
* remove old migrations folder
* fix keysFromYAML test
2022-03-23 09:02:39 +01:00
Fabi
9e13b70a3d
feat: add system api proto ( #3294 )
...
* feat: add system api proto
* Update proto/zitadel/instance.proto
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update proto/zitadel/instance.proto
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update proto/zitadel/instance.proto
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* feat: add system api proto
* feat: add system api proto
* feat: add system api proto
* feat: add system api proto
* generate grpc
* feat: remove region from system proto
* fix: remove metrics endpoint
* fix: add md file
* rebuild proto
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-03-22 07:47:18 +00:00
Fabi
5132ebe07c
feat: add tenant column to eventstore ( #3314 )
...
* feat: add tenant column to eventstore
* feat: read tenant from context on push and filter
* Update 07_events_table.sql
* pass tenant to queryFactory
* fix some query tests
* init in tests
* add missing sql files
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-03-15 07:19:02 +01:00
Livio Amstutz
5463244376
feat: encryption keys in database ( #3265 )
...
* enable overwrite of adminUser fields in defaults.yaml
* create schema and table
* cli: create keys
* cli: create keys
* read encryptionkey from db
* merge v2
* file names
* cleanup defaults.yaml
* remove custom errors
* load encryptionKeys on start
* cleanup
* fix merge
* update system defaults
* fix error message
2022-03-14 07:55:09 +01:00
Fabi
7899a0b851
feat: Notification providers config ( #3212 )
...
* feat: add login check lifetimes to login policy
* feat: org features test
* feat: debug notificatiaon events
* feat: debug notification file/log commands
* feat: add requests to proto
* feat: add api for debug notification providers file/log
* feat: add projection for debug notifiication providers
* feat: requests
* feat: merge v2
* feat: add settings proto to generate
* feat: notifiaction providers
* fix: remove unused code
* Update iam_converter.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-03-07 14:22:37 +01:00
Fabi
7d6c933485
feat: OIDC setting ( #3245 )
...
* feat: add oidc config struct
* feat: oidc config command side
* feat: oidc configuration query side
* feat: add translations
* feat: add tests
* feat: add translations
* feat: rename oidc config to oidc settings
* feat: rename oidc config to oidc settings
2022-02-25 16:05:06 +01:00
Fabi
f05d4063bf
feat: Login verification lifetimes ( #3190 )
...
* feat: add login check lifetimes to login policy
* feat: org features test
* feat: read lifetimes from loginpolicy
2022-02-21 16:05:02 +01:00
Fabi
7d235e3eed
feat: Default configs sms provider ( #3187 )
...
* feat: sms config
* feat: twilio as sms provider
* feat:sms projection
* feat: sms queries
* feat: sms queries test
* feat: sms configs
* feat: sms configs sql file
* fix merge
* fix: rename from to sendername
* fix: proto comments
* fix: token as crypto
* fix: tests
* fix: sms config sender name to sender number
* fix: sms config sender name to sender number
* Update email.go
* Update channel.go
* Update V1.111__settings.sql
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-02-21 12:22:20 +00:00
Fabi
e3528ff0b2
feat: Config to eventstore ( #3158 )
...
* feat: add default language to eventstore
* feat: add secret generator configs events
* feat: tests
* feat: secret generators in eventstore
* feat: secret generators in eventstore
* feat: smtp config in eventstore
* feat: smtp config in eventstore
* feat: smtp config in eventstore
* feat: smtp config in eventstore
* feat: smtp config in eventstore
* fix: migrations
* fix migration version
* fix test
* feat: change secret generator type to enum
* feat: change smtp attribute names
* feat: change smtp attribute names
* feat: remove engryption algorithms from command side
* feat: remove engryption algorithms from command side
* feat: smtp config
* feat: smtp config
* format smtp from header
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-02-16 15:49:17 +00:00
Silvan
4272ea6fe1
fix: init sub commands ( #3218 )
...
* fix(init): add sub commands
* fix(init): admin user in config,
test(init): verify functions
* refactor: config, remove second commands
* refactor: init steps
* chore: fix link in readme
* chore: numerate sql files
* Update cmd/admin/initialise/sql/README.md
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update cmd/admin/initialise/sql/README.md
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix(init): remove unused index
* user
* fix database username in defaults.yaml
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-02-16 12:30:49 +00:00
Livio Amstutz
389eb4a27a
feat: run on a single port ( #3163 )
...
* start v2
* start
* run
* some cleanup
* remove v2 pkg again
* simplify
* webauthn
* remove unused config
* fix login path in Dockerfile
* fix asset_generator.go
* health handler
* fix grpc web
* refactor
* merge
* build new main.go
* run new main.go
* update logging pkg
* fix error msg
* update logging
* cleanup
* cleanup
* go mod tidy
* change localDevMode
* fix customEndpoints
* update logging
* comments
* change local flag to external configs
* fix location generated go code
* fix
Co-authored-by: fforootd <florian@caos.ch>
2022-02-14 17:22:30 +01:00
Florian Forster
2f3a482ade
chore(ci): release pipeline for v2 ( #3197 )
...
* not working
* test ci
* correct path
* test
* test
* test
* remove k8s & test
* test
* test image
* typo
* test
* fix
* test
* fix
* test
* fix
* fix windows
* fix
* fix
* fix codecov
* fix with arch
* test
* test
* test
* test
* trial
* trial
* trial
* trial
* trial
* trial
* trial
* try
* try
* first improvement
* trial
* improve
* improve
* improve
* use bash
* trial
* random test
* wip
* test with goreleaser and semrel
* fix typo
* trial
* add buildx
* define default
* force buildkit
* use buildx
* debug GH docker
* use images
* debug docker
* work around image name issues
* trial
* test
* test with prebuilt image
* fix
* use load
* test
* use only docker
* trial
* test
* use load
* test
* test with docker driver
* trial
* trial
* trial
* use arm
* upload artifacts
* try to cache grpc base
* try to use a cache
* fall back
* test
* fix
* improve
* upload artifacts
* fix
* name things
* add tag if poc
* args for protos
* remove v2 build
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-02-14 14:35:16 +00:00
Livio Amstutz
2d208dd8ba
fix: remove operator ( #3195 )
2022-02-11 15:00:14 +01:00
Silvan
c086c4fd55
fix(init): add sub commands ( #3194 )
2022-02-11 14:07:32 +01:00
Livio Amstutz
5d4351f47c
feat: merge main into v2 ( #3193 )
...
* feat(console): personal access tokens (#3185 )
* token dialog, pat module
* pat components
* i18n, warn dialog, add token dialog
* cleanup dialog
* clipboard
* return creationDate of pat
* i18n
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix(cockroach): update to 21.2.5 (#3189 )
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2022-02-11 13:33:31 +01:00
Silvan
b44b48fa1e
fix(init): flags ( #3192 )
2022-02-11 11:52:50 +01:00
Silvan
e8ab237ada
fix(init): prepare database ( #3191 )
...
* fix(init): prepare database
* fix(defaults): cockroach local defaults
2022-02-11 11:02:47 +01:00
Silvan
9d471d0d30
feat(cli): init cli ( #3186 )
...
* feat(cli): initilize cli
* fix(config): allow multiple files
* refactor(cli): constructor naming
* go mod tidy
* refactor: move code out of v2 package
* chore: logging v0.1
* chore: remove old gitignore
* fix func
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-02-09 15:01:19 +01:00
Livio Amstutz
699fdaf68e
feat: add personal access tokens for service users ( #2974 )
...
* feat: add machine tokens
* fix test
* rename to pat
* fix merge and tests
* fix scopes
* fix migration version
* fix test
* Update internal/repository/user/personal_access_token.go
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
v1.79.0
2022-02-08 09:37:28 +01:00
Max Peintner
3bf9adece5
feat(console): limited actions ( #3164 )
...
* max count features
* deactivate, activate
* actions, limited
* disable without permission, show action state in flow
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
v1.78.0
2022-02-07 14:53:35 +01:00
Livio Amstutz
78af86db98
fix: checkAdditionalActionAllowed for unlimited ( #3165 )
v1.77.2
2022-02-07 10:36:18 +01:00
Livio Amstutz
ab62f2d79d
fix: return full url of assets in admin and mgmt api ( #3157 )
...
* fix: return full url of assets in admin and mgmt api
* remove asset loading over asset service
* remove unused code
Co-authored-by: Max Peintner <max@caos.ch>
v1.77.1
2022-02-04 15:02:18 +01:00
Fabi
31bdd3f431
feat: reset custom texts on IAM ( #3160 )
...
* fix: only show factors with state ready
* fix: get iam by id and clean up code
* fix: get iam by id and clean up code
* fix: remove unused code
* feat: add message template remove func to admin api
* fix: proto texts
* fix: proto texts
v1.77.0
2022-02-04 10:25:25 +01:00
Fabi
9b1e0730d7
fix: translation ( #3156 )
...
* fix: translation
* fix: translation
* fix: translation
v1.76.2
2022-02-03 09:12:28 +01:00
Max Peintner
bd2e7d8133
fix(console): static assets, edit csp ( #3153 )
...
* fix: static font, icons
* mat icon package
* csp
* lint
* rm csp line
v1.76.1
2022-02-03 07:21:00 +01:00
Max Peintner
46ff51b631
docs: local assets ( #3151 )
2022-02-02 13:45:01 +01:00
Livio Amstutz
1367a2e139
feat: limit amount of active actions ( #3143 )
...
* max actions
* fix: max allowed actions
* fix: max allowed actions
* fix tests
v1.76.0
2022-02-02 09:04:05 +01:00
Livio Amstutz
585ebf9a81
fix: user search with login_name (e.g. password reset) ( #3149 )
v1.75.8
2022-02-02 08:21:54 +01:00
Livio Amstutz
f96f62a1ab
fix: set correct state of idp in old view ( #3148 )
...
* fix: set correct state of idp in old view
* add italian to language selection in login
v1.75.7
2022-02-01 18:12:18 +01:00
Livio Amstutz
bf6cb59b87
fix: list IDPs on Org ( #3141 )
...
* fix: idp query
* fix: remove failed events
v1.75.6
2022-02-01 08:32:59 +01:00
Max Peintner
694af4bebc
chore(console): deps ( #3121 )
...
* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /console (#3103 )
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.8.0 to 5.10.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.10.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
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): bump @grpc/grpc-js from 1.4.5 to 1.5.3 in /console (#3100 )
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node ) from 1.4.5 to 1.5.3.
- [Release notes](https://github.com/grpc/grpc-node/releases )
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.4.5...@grpc/grpc-js@1.5.3 )
---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
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>
* chore(deps-dev): bump eslint from 8.5.0 to 8.7.0 in /console (#3019 )
Bumps [eslint](https://github.com/eslint/eslint ) from 8.5.0 to 8.7.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/v8.5.0...v8.7.0 )
---
updated-dependencies:
- dependency-name: eslint
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): bump rxjs from 7.4.0 to 7.5.2 in /console (#3016 )
Bumps [rxjs](https://github.com/reactivex/rxjs ) from 7.4.0 to 7.5.2.
- [Release notes](https://github.com/reactivex/rxjs/releases )
- [Changelog](https://github.com/ReactiveX/rxjs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reactivex/rxjs/compare/7.4.0...7.5.2 )
---
updated-dependencies:
- dependency-name: rxjs
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>
* chore(deps-dev): bump @types/jasmine from 3.9.1 to 3.10.3 in /console (#2915 )
Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine ) from 3.9.1 to 3.10.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine )
---
updated-dependencies:
- dependency-name: "@types/jasmine"
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 stylelint and stylelint-config-standard (#2895 )
Bumps [stylelint](https://github.com/stylelint/stylelint ) and [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard ). These dependencies needed to be updated together.
Updates `stylelint` from 13.13.1 to 14.2.0
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/13.13.1...14.2.0 )
Updates `stylelint-config-standard` from 22.0.0 to 24.0.0
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases )
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/22.0.0...24.0.0 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-major
- dependency-name: stylelint-config-standard
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>
* rm ngx-image-cropper
* cli
* core
* material cdk
* downgrade stylelint
* lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 08:30:25 +01:00
Max Peintner
22c9cf99e7
docs: update deps, fix zitadel logo size ( #3122 )
2022-01-31 13:36:16 +01:00
Livio Amstutz
f1b02254b2
fix: update OIDC lib to handle keys without use
( #3123 )
v1.75.5
2022-01-28 14:03:22 +00:00
Livio Amstutz
990be687c0
fix: handle first key rotation on newly created instance ( #3118 )
v1.75.4
2022-01-28 08:24:34 +00:00
Livio Amstutz
e99b7f4972
fix: move activity log to queries and remove old code ( #3096 )
...
* move changes to queries and remove old code
* fix changes query
* remove unused code
* fix sorting
* fix sorting
* refactor and remove old code
* remove accidental go.mod replace
* add missing file
* remove listDetail from ChangesResponse
v1.75.3
2022-01-26 10:16:33 +01:00
Livio Amstutz
52da2354a3
fix: set gender correctly in userinfo ( #3112 )
2022-01-25 16:00:38 +01:00
dependabot[bot]
5f3b17c174
chore(deps): bump nanoid from 3.1.30 to 3.2.0 in /docs ( #3097 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 13:58:15 +01:00
Fabi
ce53fe7814
fix: user with state initial can only be deleted not deactivated ( #3110 )
v1.75.2
2022-01-25 11:54:36 +01:00
Max Peintner
159d82ad8e
fix: deactivate only active users, activate only inactive users ( #3111 )
2022-01-25 10:51:40 +00:00
Livio Amstutz
542651707a
fix: state on user projection ( #3109 )
...
* fix: state on user projection
* fix: state on user projection
* don't change user state on HumanEmailVerifiedEvent
2022-01-25 11:35:38 +01:00
Silvan
77de5bf97a
fix(database): update to version 21.2.4 ( #3106 )
2022-01-25 11:34:28 +01:00
Fabi
b64b5d89ec
fix: send preferred login name on init user mail ( #3105 )
...
* fix: send preferred login name on init user
* trigger gh actions
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
v1.75.1
2022-01-24 15:22:27 +01:00
Fabi
a824312be3
docs: error codes ( #3108 )
...
* docs: add error codes to api docs
* docs: add error codes to api docs
* docs: add error codes to api docs
2022-01-24 15:19:47 +01:00
Max Peintner
f485a52d9a
feat(console): apply text color, fallback to zitadel themes if colors not adequate ( #3087 )
...
* feat: fallback to real themes if colors not adequate
* lint
v1.75.0
2022-01-21 16:08:32 +01:00
Elio Bischof
bca337319c
docs: add MongoDB Authenticated Charts integration guide ( #3080 )
...
* docs: add MongoDB Authenticated Charts integration guide
* blur client id
* finalize mongodb charts integration
* fix audience field description
Co-authored-by: mffap <mpa@caos.ch>
Co-authored-by: mffap <mpa@caos.ch>
2022-01-21 14:30:20 +00:00
Fabi
01501c5087
feat: iam query ( #3085 )
...
* fix: only show factors with state ready
* fix: get iam by id and clean up code
* fix: get iam by id and clean up code
* fix: remove unused code
v1.74.0
2022-01-21 14:01:25 +01:00
Livio Amstutz
37d8e23186
fix: nil pointer in my user changes ( #3086 )
v1.73.4
2022-01-21 12:29:40 +00:00
Livio Amstutz
5af7d8315d
fix: metadata query ( #3084 )
v1.73.3
2022-01-21 10:30:43 +00:00
Livio Amstutz
3ee3b8f6d3
fix: internal api health check ( #3083 )
v1.73.2
2022-01-21 09:32:51 +00:00
Fabi
2592383a7c
fix: only show factors with state ready ( #3081 )
v1.73.1
2022-01-21 08:27:57 +00:00