Commit Graph

2608 Commits

Author SHA1 Message Date
Silvan
a6ffb120fa
fix(admin): setup converter only adds domain if set (#358) 2020-07-07 12:57:45 +02:00
Max Peintner
b8798230b0
fix(console): ui/ux improvements, delete user phone, pinned cards, user grant role load fix (#357)
* project grant member edit

* project grant member dialog, import cleanup

* readd project roles

* user login-methods cleanup

* fix sw config, user grant context

* delete user grants, context for creation, search

* contributor box shadow

* password to detail view

* user detail notification

* ui ux improvements

* pinned section

* project pinnable grid, rem columns, move buttons

* user detail mfa, move user comonents, user grant

* del phone

* user detail service

* delete phone for auth, mgmt user
2020-07-07 11:50:42 +02:00
Silvan
18669b39c1
fix(iam_member): naming, error handling, column name (#355) 2020-07-07 11:42:39 +02:00
Stefan Benz
9c277e2efb
fix(postgres): no password in connection string when empty (#356) 2020-07-07 11:31:12 +02:00
Livio Amstutz
65b17a83fb
feat(login): default to user selection, take login_hint into account (#350)
* feat(login): default to user selection instead of login, take login_hint into account

* fix: proper error message when user (and other objects) not found (#337)

* fix: proper error message when user not found by loginname

* add more not found and fix some typos

* feat: usergrant (#348)

* fix: add needed permissions

* feat: search project/projectgrant user grants

* fix: no zitadel permissions

* fix: queries length

* feat: add get my password policy (#346)

* feat: add get my password policy

* fix: failed merges

* chore(deps): bump contrib.go.opencensus.io/exporter/stackdriver (#343)

Bumps [contrib.go.opencensus.io/exporter/stackdriver](https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver/releases)
- [Commits](https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver/compare/v0.13.1...v0.13.2)

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

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

* feat: remove phone (#349)

* feat: remove phone number

* feat: remove phone number tests

* feat: remove phone number tests

* fix: regenerate protos

* fix(console): distinct user grant searches and creates, project grant member edit, import cleanup (#342)

* project grant member edit

* project grant member dialog, import cleanup

* readd project roles

* user login-methods cleanup

* fix sw config, user grant context

* delete user grants, context for creation, search

* contributor box shadow

* password to detail view

* user detail notification

* lint

Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
2020-07-07 08:14:44 +02:00
Max Peintner
9935784461
fix(console): distinct user grant searches and creates, project grant member edit, import cleanup (#342)
* project grant member edit

* project grant member dialog, import cleanup

* readd project roles

* user login-methods cleanup

* fix sw config, user grant context

* delete user grants, context for creation, search

* contributor box shadow

* password to detail view

* user detail notification

* lint
2020-07-06 16:17:06 +02:00
Fabi
c8cdbe136c
feat: remove phone (#349)
* feat: remove phone number

* feat: remove phone number tests

* feat: remove phone number tests

* fix: regenerate protos
2020-07-06 15:48:24 +02:00
dependabot[bot]
0e1ef5758a
chore(deps): bump contrib.go.opencensus.io/exporter/stackdriver (#343)
Bumps [contrib.go.opencensus.io/exporter/stackdriver](https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver/releases)
- [Commits](https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver/compare/v0.13.1...v0.13.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-06 15:43:40 +02:00
Fabi
645c4597e8
feat: add get my password policy (#346)
* feat: add get my password policy

* fix: failed merges
2020-07-06 15:35:20 +02:00
Fabi
5251fc712c
feat: usergrant (#348)
* fix: add needed permissions

* feat: search project/projectgrant user grants

* fix: no zitadel permissions

* fix: queries length
2020-07-06 15:27:29 +02:00
Livio Amstutz
26634505ba
fix: proper error message when user (and other objects) not found (#337)
* fix: proper error message when user not found by loginname

* add more not found and fix some typos
2020-07-06 13:18:10 +02:00
Silvan
b7298bed1e
fix(sql): ssl check for empty mode (#345) 2020-07-06 10:00:26 +02:00
Max Peintner
73a4b7baef
fix(console): application state, add project role bulk, user grant explanations, i18n, ngsw update prompt #341 2020-07-03 15:07:43 +02:00
Max Peintner
7b67b55f4e
feat(console): bump dependencies (#340)
* chore(deps): bump grpc-web from 1.1.0 to 1.2.0 in /console (#313)

Bumps [grpc-web](https://github.com/grpc/grpc-web) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/grpc/grpc-web/releases)
- [Changelog](https://github.com/grpc/grpc-web/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grpc/grpc-web/compare/1.1.0...1.2.0)

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

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

* chore(deps-dev): bump karma from 5.0.9 to 5.1.0 in /console (#312)

Bumps [karma](https://github.com/karma-runner/karma) from 5.0.9 to 5.1.0.
- [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/v5.0.9...v5.1.0)

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

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

* chore(deps): bump uuid from 8.1.0 to 8.2.0 in /console (#311)

Bumps [uuid](https://github.com/uuidjs/uuid) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v8.1.0...v8.2.0)

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

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

* chore(deps): bump @ngx-translate/core from 12.1.2 to 13.0.0 in /console (#310)

Bumps [@ngx-translate/core](https://github.com/ngx-translate/core) from 12.1.2 to 13.0.0.
- [Release notes](https://github.com/ngx-translate/core/releases)
- [Commits](https://github.com/ngx-translate/core/compare/v12.1.2...v13.0.0)

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 14.0.13 to 14.0.14 in /console (#308)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.13 to 14.0.14.
- [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: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

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

Bumps [@angular/language-service](https://github.com/angular/angular/tree/HEAD/packages/language-service) from 10.0.0 to 10.0.1.
- [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/10.0.1/packages/language-service)

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

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

* bump angular oidc package to version 10

* update ng components

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-03 13:20:05 +02:00
Livio Amstutz
10d8d68b21
fix: Potentially unsafe external link (#335) 2020-07-03 12:48:09 +02:00
Silvan
6736b2867e
fix: Secure sql connection (#332)
* feat: sql ssl connection

* fix: simpler implementation of ssl-config in sql

* fix(config): set db ssl connection by env vars
2020-07-03 12:44:08 +02:00
Max Peintner
a71b5e35d7
fix(console): edit project role, address form cleanup, assets, i18n (#339)
* remove grant detail module, role detail dialog

* change appearance, i18n, remove address form
2020-07-03 10:26:43 +02:00
Florian Forster
1d0c8eff7f
chore(dependabot): change dockerfile name (#338)
* chore(dependabot): change dockerfile name

* chore(build): fix file reference

* chore(anchore): dockerfilename

* chore(build): clean build file

* chore(build): fix dependant job

* chore(build): fix missing job
2020-07-03 10:04:37 +02:00
Max Peintner
c8e2db3287
feat(console): show and clear admin views, fix iam member (#334)
* gen auth, get my user changes

* iam view

* use table for admin views

* fix pagination for views

* fix themeing transition

* transition

* lint
2020-07-02 17:16:47 +02:00
Florian Forster
5b17b2641a
chore(security): anchore upload (#331) 2020-07-02 15:45:04 +02:00
dependabot[bot]
a67eb7c2bc
chore(deps): bump golang.org/x/text from 0.3.2 to 0.3.3 (#246)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.2...v0.3.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 14:17:21 +02:00
dependabot[bot]
c5396cccbb
chore(deps): bump github.com/lib/pq from 1.6.0 to 1.7.0 (#215)
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.6.0...v1.7.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-07-02 14:16:53 +02:00
dependabot[bot]
90549a1ec8
chore(deps): bump github.com/jinzhu/gorm from 1.9.12 to 1.9.14 (#247)
Bumps [github.com/jinzhu/gorm](https://github.com/jinzhu/gorm) from 1.9.12 to 1.9.14.
- [Release notes](https://github.com/jinzhu/gorm/releases)
- [Commits](https://github.com/jinzhu/gorm/compare/v1.9.12...v1.9.14)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 14:15:16 +02:00
dependabot[bot]
46c1043bf6
chore(deps): bump go.opencensus.io from 0.22.3 to 0.22.4 (#248)
Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go) from 0.22.3 to 0.22.4.
- [Release notes](https://github.com/census-instrumentation/opencensus-go/releases)
- [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.22.3...v0.22.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 14:14:50 +02:00
dependabot[bot]
7957d44ef0
chore(deps): bump github.com/envoyproxy/protoc-gen-validate (#305)
Bumps [github.com/envoyproxy/protoc-gen-validate](https://github.com/envoyproxy/protoc-gen-validate) from 0.1.0 to 0.4.0.
- [Release notes](https://github.com/envoyproxy/protoc-gen-validate/releases)
- [Commits](https://github.com/envoyproxy/protoc-gen-validate/compare/v0.1.0...v0.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 14:14:32 +02:00
dependabot[bot]
1e3b13f6f2
chore(deps): bump google.golang.org/grpc from 1.29.1 to 1.30.0 (#306)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.29.1...v1.30.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 14:14:07 +02:00
dependabot[bot]
a3d51eda16
chore(deps): bump google.golang.org/protobuf from 1.24.0 to 1.25.0 (#307)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.24.0...v1.25.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 14:10:51 +02:00
Silvan
682d623343
fix(spooler): improve check for failure count (#326)
* fix(spooler): improve check for failure count

* fix(spooler): add tests for HandleError

* fix(spooler): correct test
2020-07-02 08:08:55 +02:00
Silvan
fcdf27c683
fix(usergrant): verify project id is equal (#319)
* fix(usergrant): verify project id is equal

* fix: delete wrong code
2020-07-02 08:04:43 +02:00
Max Peintner
9c07711aab
fix(console): project member grants, user grants (#329)
* checkbox color

* project grant preview

* project grante expandable row

* add grant detail component

* proto regen

* project grant members shared module

* fix project grant members dialog

* fix create dialog

* lint

* add avatar colors, meta component styling

* light theme

* dl report

* styles

* move grants out of user context, grant detail

* i18n grant pipe

* lint

* user grants

* clear expandable view project grants

* fix project member routing

* fix granted members routing

* fix group label

* rename project grant

* disable zitadel grant members

* fix routing user grant creation

* rest member writes

* ignore case searches

* forkjoin observables for project search

* fix grant creation with users

* fix projectid reference

* formfield table style, user grant dynamic load

* show key if no displayvalue is set

* Delete report.20200630.163913.44081.0.001.json

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-07-01 17:48:34 +02:00
Silvan
c5a4eb3555
fix: typo in display name and gorm annotation (#325)
* fix(management): map all fields in user grant view converter

* feat(management): add display name to user grant view

* fix(usergrant): typo in display name
2020-07-01 13:18:30 +02:00
Silvan
f57913fdcc
fix(management): map all fields in user grant view converter (#324)
* fix(management): map all fields in user grant view converter

* feat(management): add display name to user grant view
2020-07-01 12:46:46 +02:00
Silvan
cf7a906023
feat(auth): My user changes (#318)
* fix: project by id loads project from view and from eventstore

* fix: correct search key for role

* feat(auth): my user changes

* fix: improve error handling in change converters

* fix: log-id
2020-07-01 07:18:05 +02:00
Florian Forster
4f3631acbb
chore(security): codeql-analysis job (#320)
* Create codeql-analysis.yml

* Update .github/workflows/codeql-analysis.yml

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

* Update codeql-analysis.yml

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-06-30 19:23:50 +02:00
Silvan
566161ae89
fix: correct search params for project role by id (#316)
* fix: project by id loads project from view and from eventstore

* fix: correct search key for role
2020-06-30 07:56:03 +02:00
Silvan
3c56fe6a0f
fix: project by id loads project from view and from eventstore (#315) 2020-06-30 07:54:39 +02:00
Livio Amstutz
3937e76947
Update V1.24__failed_events.sql (#314) 2020-06-29 10:46:32 +02:00
Fabi
5a0876cf98
fix: rename tables failed_event to failed_events (#287)
* fix: rename tables failed_event to failed_events

* fix: use const
2020-06-29 09:56:29 +02:00
Fabi
79eff2795f
feat: on logout we terminate all sessions from agent (#288)
* feat: on logout we terminate all sessions from agent

* Update eventstore.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-06-29 09:49:40 +02:00
Silvan
509a993d31
chore: zitadel service account instead of eventstore (#300) 2020-06-29 09:38:55 +02:00
Fabi
c8a0a050ba
fix: editorname (#281)
* feat: editorname on changes

* feat: editorname on changes

* feat: editorname on changes

* feat: editorname on changes

* fix: tests

* fix: tests
2020-06-29 09:37:10 +02:00
Max Peintner
5fc250f046
fix(console): changes, project grant create, member add, org setup, project search autocomplete, grpc header url decoding (#303)
* mobile max-width container

* fix project search autocomplete

* remove changes error, add bottom label

* fix project grant, contributor add
2020-06-26 16:45:18 +02:00
Fabi
63ccdb1147
fix: setup org, user invalid (#298) 2020-06-26 15:42:34 +02:00
Fabi
f31bea8d1c
fix: otp level (#292) 2020-06-26 14:44:35 +02:00
Max Peintner
0a488eb1fb
feat(console): split granted from owned project modules, general ui ux fixes (#286)
* add iam label, user avatar

* avatar component

* split granted and owned modules

* move components to resp module

* refactor project contributors, g project nav

* rem console logs, add avatar for org members

* fix changes loading, auth user page

* refactor home, i18n

* fix changes side overflow

* lint
2020-06-26 14:15:05 +02:00
Fabi
ee73dc07dd
fix: use email as account name in otp instead of userid (#274)
* fix: use email as account name in otp instead of userid

* fix: use email as account name in otp instead of userid
2020-06-26 08:31:25 +02:00
Max Peintner
785c8d9763
feat(console): angular 10, iam settings, timestamp to date pipe, org iam indicator, general gui fixes and i18n (#270)
* prettier member dialog, iam indicator

* changes i18n

* fix timestamp conversion, timestamp to date pipe

* rm create, update iam policy

* add iam policy

* add iam section, members component

* add iam contributors

* gen admin protos

* iam member search

* update angular

* update cdk material

* add module for iam members

* add iam roles to member dialog

* home shortcuts

* project view, i18n

* lint
2020-06-25 12:52:57 +02:00
Silvan
d947bb1247
feat(changes): add editor (#273)
* fix(changes): add editor to change mapper

* fix(eventstore): only add latest sequence if greater 0 to query

* sort order in request for changes

* fix(changes): map editor for org, app and project
2020-06-25 11:25:38 +02:00
Fabi
62b654ea18
feat: iam members in admin api (#272)
* feat: iam members in admin api

* feat: add error id in translate error

* fix: resolve merge conflicts
2020-06-25 08:12:29 +02:00
Fabi
8bfa1a083c
feat: administrator (#271)
* feat: get views and failed events

* feat: get views and failed events

* feat: get views and failed events

* Update internal/view/repository/sequence.go

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

* Update internal/view/repository/general_query.go

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

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-06-25 08:01:13 +02:00