Commit Graph

510 Commits

Author SHA1 Message Date
Livio Amstutz
0c442cbb3a
fix: eventQuery for project grant members (#445) 2020-07-10 13:08:01 +02:00
Livio Amstutz
c0f811d0bd
fix: missing password config (#443) 2020-07-10 08:45:13 +02:00
Livio Amstutz
870226a481
fix: changes in auth (#442) 2020-07-09 18:47:54 +02:00
Max Peintner
e5172bad70
fix(console): toast message (#440)
* fix: toast message

* i18n fully

* fix toast payload
2020-07-09 18:47:01 +02:00
Fabi
1b59a52f26
fix: return my org on zitadel permission (#441) 2020-07-09 18:39:10 +02:00
Max Peintner
4fa68ae2ee
fix(console): granted project member actions (create, update, delete) (#438)
* project grant members abst

* ref name from both project types
2020-07-09 18:02:05 +02:00
Livio Amstutz
da113ffb95
fix: redirect to register (#437) 2020-07-09 18:01:58 +02:00
Fabi
8f1c31f37d
fix: remove project grant member from view (#436) 2020-07-09 17:56:37 +02:00
Livio Amstutz
bc5f16d5b4
fix: render login (#432) 2020-07-09 17:44:35 +02:00
Fabi
5add7eae6d
fix: rolecascade (#434)
* fix: project role delete

* fix: project role delete
2020-07-09 17:28:14 +02:00
Silvan
66376f9213
fix: translate panic for changes (#433)
* fix: refactor object-changes

* fix: check if changes are nil
2020-07-09 17:16:47 +02:00
Fabi
cde6231164
fix: project role delete (#431) 2020-07-09 16:47:48 +02:00
Christian Jakob
f664ad7f88
added flow for loggin (#429) 2020-07-09 16:34:56 +02:00
Silvan
a1e8385714
fix: refactor object-changes (#430) 2020-07-09 16:32:49 +02:00
Fabi
49a3339425
fix: project role (#428) 2020-07-09 16:02:00 +02:00
Livio Amstutz
6128c0c672
fix: response type mapping (#426)
* fix: return authorizations on userinfo

* fix: response type mapping

* fix tests

* fix angular

* regenerate mgmt proto

* enable login link again
2020-07-09 15:52:20 +02:00
Max Peintner
0b012f2fa2
fix(console): general fixes, project grants for owned and granted context (#425)
* update and delete project grants

* fix: user grant id (#421)

* fix: verboser logging on sql err (#412)

* fix(eventstore): improve insert statement

* fix: verbose logging on error

* fix: simplify insertEvents

* fix: project grant delete (#417)

* fix: add grant id to user grant if needed

* fix: add grant id to user grant if needed

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

* fix user grant context

* lint

* role validators

* fix: usergrantid (#424)

* fix: verboser logging on sql err (#412)

* fix(eventstore): improve insert statement

* fix: verbose logging on error

* fix: simplify insertEvents

* fix: project grant delete (#417)

* fix: add grant id to user grant if needed

* fix: add grant id to user grant if needed

* fix: add bulk remove

* fix: merge

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

Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-07-09 15:14:01 +02:00
Silvan
cf51bbc36d
fix(translation_interceptor): check if response is nil (#423) 2020-07-09 15:02:03 +02:00
Silvan
5658f33918
feat: new tracing type none (#422) 2020-07-09 14:34:20 +02:00
Livio Amstutz
8efa697af2
fix: return authorizations on userinfo (#420) 2020-07-09 14:05:12 +02:00
Fabi
7cf13a646d
fix: project role view, remove project grants (#419) 2020-07-09 13:24:35 +02:00
Fabi
aeae04c90b
fix: project grant delete (#417) 2020-07-09 13:05:02 +02:00
Silvan
e8f3868100
fix: verboser logging on sql err (#412)
* fix(eventstore): improve insert statement

* fix: verbose logging on error

* fix: simplify insertEvents
2020-07-09 11:08:59 +02:00
Max Peintner
0721acf605
fix(console): toast login handler, show user session loginname, policy value incrementation, accessibility (#413)
* get auth policy, fix increment from 0

* seo, accessibility

* ngsw rem check for update

* organize interceptors

* toast i18n part1

* show loginname

* use primary color

* toast login handler, fix user session type

* Update console/src/assets/i18n/de.json

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

* Update console/src/assets/i18n/de.json

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

* Update console/src/assets/i18n/de.json

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

* Update console/src/assets/i18n/en.json

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

* Update console/src/index.html

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

* Update console/src/assets/i18n/en.json

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

* Update console/src/assets/i18n/en.json

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

Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-09 10:54:55 +02:00
Silvan
fa57cc48c1
fix(eventstore): improve insert statement (#408) 2020-07-09 09:35:14 +02:00
Fabi
740bab7f59
feat: permissin denied (#411) 2020-07-09 09:31:29 +02:00
Florian Forster
c73875afbb
fix(console): i18n keys (#398)
* fix(console): json missing ,

* fix(console): change keys for i18n
2020-07-08 15:47:04 +02:00
Florian Forster
9f3654311c
fix(console): json missing , (#397) 2020-07-08 15:38:01 +02:00
Livio Amstutz
60e9695199
fix: login prefix only on dev (#396) 2020-07-08 15:22:14 +02:00
Florian Forster
86b8d5f9fe
chore(console): improve text (#293)
* chore: translation

* use uppercase ZITADEL

* text changes

* resolve merge conflicts

* chore: text

* Update console/src/assets/i18n/de.json

* Update console/src/assets/i18n/en.json

* change from `sie` to `du`

* fix: some changes

Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
2020-07-08 15:02:57 +02:00
Livio Amstutz
2136efe083
fix: url prefixes (#395) 2020-07-08 14:55:33 +02:00
Silvan
59ac7f051f
fix: empty project by id (#393)
* fix: check if project found in by id

* fix: check length of events
2020-07-08 14:26:35 +02:00
Fabi
4b58097cca
feat: logindesign (#394)
* feat: add design

* fix: nicer light mode

* fix: register secondary button

* fix: register secondary button

* fix: merge
2020-07-08 14:14:24 +02:00
Livio Amstutz
3549a8b64e
feat: port reduction (#323)
* move mgmt pkg

* begin package restructure

* rename auth package to authz

* begin start api

* move auth

* move admin

* fix merge

* configs and interceptors

* interceptor

* revert generate-grpc.sh

* some cleanups

* console

* move console

* fix tests and merging

* js linting

* merge

* merging and configs

* change k8s base to current ports

* fixes

* cleanup

* regenerate proto

* remove unnecessary whitespace

* missing param

* go mod tidy

* fix merging

* move login pkg

* cleanup

* move api pkgs again

* fix pkg naming

* fix generate-static.sh for login

* update workflow

* fixes

* logging

* remove duplicate

* comment for optional gateway interfaces

* regenerate protos

* fix proto imports for grpc web

* protos

* grpc web generate

* grpc web generate

* fix changes

* add translation interceptor

* fix merging

* regenerate mgmt proto
2020-07-08 13:56:37 +02:00
Florian Forster
708652a655
fix: force a release for PR (#390) (#392) 2020-07-08 13:44:14 +02:00
Max Peintner
e2d4a7f0e0
fix pins, get translated changes, home (#390) 2020-07-08 13:07:45 +02:00
Fabi
5e42ff2bb8
feat: correct create projectgrant usergrant (#389)
* feat: correct create projectgrant usergrant

* fix: remove orgid in frontend
2020-07-08 11:24:34 +02:00
Max Peintner
c621fdee41
feat(console): replace wget with curl, user login prompt, warn dialog (#387)
* remove evil wget, add warn-dialog, login hint

* i18n

* reference ngsw.js

* update clientid

* fix warn dialog

* lint

* Update console/src/assets/i18n/de.json

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

* Update console/src/assets/i18n/en.json

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

Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-08 10:00:15 +02:00
Fabi
a5bfd085a1
fix: Inituser (#386)
* fix: init user only create change pw event if pw set

* fix: init user only create change pw event if pw set

* fix: tests
2020-07-08 09:53:09 +02:00
Silvan
c0f85c2733
feat: localized messages (#328)
* 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

* feat(translations): event type translations

* feat: localized translations

* fix(translations): correct yaml format

* chore: example

* fix: remove unused code

* correct checkSSL in sql

* chore(modules): update

* chore: refactor interceptors

* fix: improvments

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/en.yaml

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

* Update internal/static/i18n/en.yaml

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

* Update internal/static/i18n/en.yaml

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

* Update internal/static/i18n/en.yaml

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

* Update internal/static/i18n/en.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/de.yaml

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

* Update internal/static/i18n/en.yaml

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

* chore(translations): start with upper case on Code

* chore(middleware): move funcs

* add message to grpc web generation

* translation in mgmt and fixes

* fix authoptions

* fix console statik

Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-07-08 09:48:11 +02:00
Livio Amstutz
b863e7c407
fix(console): header overwrite (#384) 2020-07-08 08:23:33 +02:00
Fabi
230e6c9101
feat: loginstyles (#366)
* feat: nice login site

* fit: select other user img

* fix: if in scss
2020-07-08 07:32:48 +02:00
Fabi
1c40d5645e
feat: notification loginname (#381)
* feat: add login names to notify user

* feat: add login names to initial mail

* feat: add login names to initial mail
2020-07-07 19:31:51 +02:00
Silvan
5081ff21b0
fix: return emtpy project if no project in view (#379)
* fix: return emtpy project if no project in view

* fix: new project if nil

* fix: easier to read
2020-07-07 19:28:19 +02:00
Stefan Benz
837d7cc770
fix(postgres): env variables for notification corrected (#371) 2020-07-07 17:57:28 +02:00
Fabi
5988ec4844
fix: merge migrations (#363)
* fix: merge migrations

* fix: rename env variable
2020-07-07 16:53:54 +02:00
Silvan
c6e8597eeb
fix(config): rename env vars notify to notification (#362)
* fix(config): sql password as env var

* fix(config): rename notify to notification

* Update startup.yaml

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-07-07 16:53:07 +02:00
Livio Amstutz
141fe5f4e4
chore(console): delete evil js (#365)
* Delete admin_grpc_web_pb.d.ts

* Delete admin_grpc_web_pb.js

* Delete admin_pb.d.ts

* Delete admin_pb.js
2020-07-07 15:26:19 +02:00
Max Peintner
8a098bb165
chore(console): gen proto on npm postinstall, ignore generated output (#266)
* proto gen

* fix: remove type from project lists (#256)

* fix: remove type from project lists

* Update user-detail.component.ts

* fix: remove add project

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

* fix project view model

* regen mgmt proto

* rm orgid from route, switch to project view

* chore(deps-dev): bump @types/jasmine from 3.5.10 to 3.5.11 in /console (#252)

Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.5.10 to 3.5.11.
- [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-dev): bump @angular-devkit/build-angular in /console (#251)

Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.901.7 to 0.901.9.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)

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

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

* chore(deps): bump moment from 2.26.0 to 2.27.0 in /console (#250)

Bumps [moment](https://github.com/moment/moment) from 2.26.0 to 2.27.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.26.0...2.27.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 (#218)

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 ngx-moment from 3.5.0 to 4.0.1 in /console (#219)

Bumps [ngx-moment](https://github.com/urish/ngx-moment) from 3.5.0 to 4.0.1.
- [Release notes](https://github.com/urish/ngx-moment/releases)
- [Changelog](https://github.com/urish/ngx-moment/blob/master/CHANGELOG.md)
- [Commits](https://github.com/urish/ngx-moment/compare/3.5.0...4.0.1)

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-dev): bump @angular/language-service in /console (#217)

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

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-dev): bump @angular/cli from 9.1.7 to 9.1.9 in /console (#249)

Bumps [@angular/cli](https://github.com/angular/angular-cli) from 9.1.7 to 9.1.9.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v9.1.7...v9.1.9)

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>

* set partial user profile

* fix org routing

* auth user loginnames, i18n

* fix clipboard, secret regeneration

* project role required field

* show change editor

* show granted project grid, remove add button

* hide meta overflow

* username validation

* common pwd validators

* fix org create pwd validation

* show 2fa error

* add postinstall script

* fix: postinstall script ref

* setup go env for proto gen

* revert i18n

* set gopath manually

* test

* test

* test

* trial

* test

* hop

* protoc

* test

* test

* path

* path

* path

* wat

* path

* try a hardcoded approach

* remove failing steps

* test

* test

* chore: gitignore

* chore: build file for grpc-web

* chore: delete files

* chore: reduce package.json

* chore: test angular build

* download protoc

* use sudo

* full pipeline

* test

* protoc in lint

* remove lint

Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-07 15:21:18 +02:00
Fabi
fb2091edc9
fix: add migration (#361)
* fix: add migration

* fix: add migration

* fix: delete primary domain

* Update en.yaml

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-07-07 14:23:09 +02:00