Justin Hutchings
8cdd3a3d8c
chore(security): Optimize CodeQL ( #541 )
...
This reduces duplicate analyses by only running on push to master, or PRs to master.
2020-07-30 08:55:52 +02:00
Silvan
42e24e3508
fix(migrations): event sequence as hash shared index ( #528 )
...
* one concurrent task
* disable spooler
* fix: improve concurrency in spooler
* fix: dont block lock
* fix: break if lock failed
* fix: check if handler is working
* fix: worker id
* fix: test
* fix: use limit for spoolers configured in startup.yaml
* fix test
* fix: factory
* fix(key): only reduce if not expired
* fix(searchQueryFactory): check for string-slice in aggregateID
* fix(migrations): combine migrations
* fix: allow saving multiple objects in one request
* fix(eventstore): logging
* fix(eventstore): rethink insert i locks table
* fix: ignore failed tests for the moment
* fix: tuubel
* fix: for tests in io
* fix: ignore tests for io
* fix: rename concurrent tasks to workers
* fix: incomment tests and remove some tests
* fix: refert changes for io
* refactor(eventstore): combine types of sql in one file
* refactor(eventstore): logs, TODO's, tests
* fix(eventstore): sql package
* test(eventstore): add tests for search query factory
* chore: logs
* fix(spooler): optimize lock query
chore(migrations): rename locks.object_type to view_name
chore(migrations): refactor migrations
* test: incomment tests
* fix: rename PrepareSaves to PrepareBulkSave
* chore: go dependencies
* fix(migrations): add id in events table
* refactor(lock): less magic numbers
* fix(migrations): event_sequence as hash shared index
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-07-29 09:54:37 +02:00
Max Peintner
da0df27679
fix(console): fix clipboard hostlistener ( #534 )
2020-07-28 12:48:06 +02:00
Fabi
461b7b23b1
fix: usergrant update ( #533 )
...
* fix: add grantid on update usergrant
* fix: add grantid on update usergrant
2020-07-28 12:29:01 +02:00
Elio Bischof
0d670ab3a2
docs: Update README.md ( #530 )
2020-07-28 10:49:17 +02:00
Silvan
41e1a7cc7b
fix(spooler): correct workers ( #508 )
...
* one concurrent task
* disable spooler
* fix: improve concurrency in spooler
* fix: dont block lock
* fix: break if lock failed
* fix: check if handler is working
* fix: worker id
* fix: test
* fix: use limit for spoolers configured in startup.yaml
* fix test
* fix: factory
* fix(key): only reduce if not expired
* fix(searchQueryFactory): check for string-slice in aggregateID
* fix(migrations): combine migrations
* fix: allow saving multiple objects in one request
* fix(eventstore): logging
* fix(eventstore): rethink insert i locks table
* fix: ignore failed tests for the moment
* fix: tuubel
* fix: for tests in io
* fix: ignore tests for io
* fix: rename concurrent tasks to workers
* fix: incomment tests and remove some tests
* fix: refert changes for io
* refactor(eventstore): combine types of sql in one file
* refactor(eventstore): logs, TODO's, tests
* fix(eventstore): sql package
* test(eventstore): add tests for search query factory
* chore: logs
* fix(spooler): optimize lock query
chore(migrations): rename locks.object_type to view_name
chore(migrations): refactor migrations
* test: incomment tests
* fix: rename PrepareSaves to PrepareBulkSave
* chore: go dependencies
* fix(migrations): add id in events table
* refactor(lock): less magic numbers
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-07-28 09:42:21 +02:00
Max Peintner
531060ab67
fix(console): hide granted project navigation if none, cache zitadel permissions, emit refresh on org change, cleanup contributors, styling ( #511 )
...
* fix iam member model
* fix org member model
* fix auth user loading
* copytoclipboard directive
* directive logs, load bar on init, create user
* typo
* welcome section, contributor spinner
* fix home link
* fix stepper flow
* show dialog on invalid token
* fix app table refresh, pin icons light theme
* cleanup contributor
* inherit parent color, animations
* use localized date pipe everywhere
* cmp styles refactor, dont show granted p if none
* fix navitem desc, fixed header
* change permissions, caching
* roles on org emit, use prom instead of hot obs
* dont calc 100vh
2020-07-28 09:09:18 +02:00
Fabi
2d8f934a07
fix: add grant id to createusergrant ( #525 )
2020-07-28 08:43:55 +02:00
Florian Forster
a5890ed4a8
chore(readme): improve text ( #526 )
...
* chore(readme): improve text
* add link
* Update README.md
* Update README.md
Co-authored-by: Jay <48990649+juergrinaldi@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Jay <48990649+juergrinaldi@users.noreply.github.com>
* Update README.md
* add link
* final touches
Co-authored-by: Jay <48990649+juergrinaldi@users.noreply.github.com>
2020-07-28 08:24:09 +02:00
Max Peintner
1d34f6ecc2
chore(console): update dependencies ( #523 )
...
* chore(deps-dev): bump jasmine-core from 3.5.0 to 3.6.0 in /console (#520 )
Bumps [jasmine-core](https://github.com/jasmine/jasmine ) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/jasmine/jasmine/releases )
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md )
- [Commits](https://github.com/jasmine/jasmine/compare/v3.5.0...v3.6.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 @angular-devkit/build-angular in /console (#519 )
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli ) from 0.1000.1 to 0.1000.4.
- [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-dev): bump @types/node from 14.0.14 to 14.0.26 in /console (#518 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.0.14 to 14.0.26.
- [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): bump google-proto-files from 2.1.0 to 2.2.0 in /console (#516 )
Bumps [google-proto-files](https://github.com/googleapis/nodejs-proto-files ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/googleapis/nodejs-proto-files/releases )
- [Changelog](https://github.com/googleapis/nodejs-proto-files/blob/master/CHANGELOG.md )
- [Commits](https://github.com/googleapis/nodejs-proto-files/compare/v2.1.0...v2.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 @angular/language-service in /console (#517 )
Bumps [@angular/language-service](https://github.com/angular/angular/tree/HEAD/packages/language-service ) from 10.0.2 to 10.0.5.
- [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.5/packages/language-service )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump angular-oauth2-oidc from 10.0.2 to 10.0.3 in /console (#512 )
Bumps [angular-oauth2-oidc](https://github.com/manfredsteyer/angular-oauth2-oidc ) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/manfredsteyer/angular-oauth2-oidc/releases )
- [Changelog](https://github.com/manfredsteyer/angular-oauth2-oidc/blob/master/docs/changelog.html )
- [Commits](https://github.com/manfredsteyer/angular-oauth2-oidc/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump typescript from 3.9.6 to 3.9.7 in /console (#521 )
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump angularx-qrcode from 10.0.3 to 10.0.6 in /console (#524 )
Bumps [angularx-qrcode](https://github.com/cordobo/angularx-qrcode ) from 10.0.3 to 10.0.6.
- [Release notes](https://github.com/cordobo/angularx-qrcode/releases )
- [Commits](https://github.com/cordobo/angularx-qrcode/compare/10.0.3...10.0.6 )
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 10.0.1 to 10.0.4 in /console (#522 )
Bumps [@angular/cli](https://github.com/angular/angular-cli ) from 10.0.1 to 10.0.4.
- [Release notes](https://github.com/angular/angular-cli/releases )
- [Commits](https://github.com/angular/angular-cli/compare/v10.0.1...v10.0.4 )
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>
* npm update
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 09:34:41 +02:00
Max Peintner
af60b88997
fix(console): user create loading state and i18n, improved app create stepper, invalid token dialog, cleanup, new home ( #509 )
...
* fix iam member model
* fix org member model
* fix auth user loading
* copytoclipboard directive
* directive logs, load bar on init, create user
* typo
* welcome section, contributor spinner
* fix home link
* fix stepper flow
* show dialog on invalid token
* fix app table refresh, pin icons light theme
* cleanup contributor
* Update console/src/assets/i18n/en.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/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-24 09:48:58 +02:00
Fabi
c105bf483b
feat: apiurls, passwordpolicy, userbyid ( #507 )
...
* feat: api doc request
* feat: return zitadel docs
* feat: return zitadel docs
* feat: pw policy min length
* feat: pw policy min length
* fix: semantic
* fix: read missing events on user by id
2020-07-22 16:15:11 +02:00
Max Peintner
7dcc5f9e58
fix(console): create user route, common mixin for app grid, avatar ( #505 )
...
* warn color, move themed conf to destination
* fix user creation
* cleanup create component
2020-07-22 14:40:37 +02:00
Fabi
c66d9d3490
feat: show display name on members ( #492 )
...
* feat: show display name on members
* fix: generate proto
2020-07-22 14:21:41 +02:00
Fabi
351aac22f8
feat: usergrant ( #489 )
...
* fix: search usergrants only for allowed projects
* fix: check permissions
* fix: check permissions
* fix: check permissions
* Update internal/management/repository/eventsourcing/eventstore/project.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fix: merge request changes
* fix: variable name
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-07-22 14:00:29 +02:00
Max Peintner
a9f0e15e65
fix(console): cleanup contributor module, move loading state to shared module, button visibility in light theme ( #504 )
...
* refreshtable component
* project grant refresh table
* project role refresh, user grant, i18n
* lint
* auth user mfa table
* auth mfa table
* rm unused 404 page, add mgmt mfa table
* change light accent color
* add actions to mfa table
* user detail mfa table
* clear selection on refresh, bind data length
* member table
* fix padding mfa table
* 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>
* z-index, new colors
* new senf color
* create stepper
* app create stepper
* i18n
* i18n sections, header titles
* lint
* add pro mode
* main contributor component
* drop project members shared module
* project detail members
* org contributors, iam contributors
* invert card and background colors in light design
* changes card design
* lighten meta background
* account card radius
* fix imports, global user email link
* move spinner to refresh-table component
* 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/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/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>
* light background on light design
* 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>
Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-22 13:47:31 +02:00
Fabi
f39d3a3cc7
fix: login flow handling ( #491 )
...
* fix: login flow handling
* fix: cancel button
* fix: hover in light design
* fix: profile image width
* fix: profile image width
* fix: profile image width
2020-07-22 11:43:32 +02:00
Fabi
520cc161d7
fix: message key in error detail ( #503 )
2020-07-22 11:29:43 +02:00
Max Peintner
117a0d7b19
fix(console): refresh tables, auto refresh emitter, avatar colors ( #487 )
...
* refreshtable component
* project grant refresh table
* project role refresh, user grant, i18n
* lint
* auth user mfa table
* auth mfa table
* rm unused 404 page, add mgmt mfa table
* change light accent color
* add actions to mfa table
* user detail mfa table
* clear selection on refresh, bind data length
* member table
* fix padding mfa table
* 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>
* z-index, new colors
* new senf color
Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-20 15:23:29 +02:00
Livio Amstutz
933193855a
feat(login): show profile ( #485 )
...
* profile data
* fix scripts
* fix image paths
* feat: show profile (with image) when possible
* fix profile image width
2020-07-20 10:00:29 +02:00
Max Peintner
4f3ccbfad0
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange ( #483 )
...
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
Fabi
2a3ecc0c6a
feat: check passwordpolicy on login ( #477 )
...
* fix: password complexity policy
* feat: check password policy
* feat: check password policy
* fix: password policy on password change
* fix: remove double policy check
* feat: check pw policy on register
* feat: check pw policy on init
* fix: hover on secondary buttons
* fix: use data set instead of hidden inputs
* fix: disabled button
* fix: en login
* fix: read policy
* feat: check if org exists
* multiple checks
* feat: validate all forms
* fix: check all forms
* fix: remove unused err
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-07-16 14:26:08 +02:00
Fabi
c34f6b1074
fix: check if org id not empty before checking if it exists ( #482 )
2020-07-16 13:51:37 +02:00
Fabi
5e00f1c9db
feat: check if org exists ( #480 )
...
* feat: check if org exists
* feat: check if org exists
* Update internal/authz/repository/eventsourcing/eventstore/token_verifier.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fix: err handling
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-07-16 13:27:36 +02:00
Fabi
423b86a03b
feat: sequence and timestamp on searchrequests ( #468 )
...
* feat: reread events
* feat: sequence and timestamo on search requests
* feat: sequence and timestamo on search requests
* fix: better naming
* fix: log errors
* fix: read sequence before search request
2020-07-15 13:24:36 +02:00
Livio Amstutz
87155f8c9e
chore(login): html cleanup ( #473 )
2020-07-15 13:22:45 +02:00
Max Peintner
30282acb42
fix(console): initialize org owner with or without password ( #471 )
...
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
2020-07-15 09:04:45 +02:00
Livio Amstutz
c051fa8ae1
fix: ignore empty displayname in changes ( #472 )
2020-07-15 09:01:06 +02:00
Silvan
56ed2940e9
fix: oidc translations ( #439 )
...
* fix: oidc translations
* fix: only one domain in org
* fix: translation in english
* Update en.yaml
2020-07-14 16:14:06 +02:00
Fabi
7b652651fc
feat: get default complexity policy ( #399 )
...
* feat: get default complexity policy
* fix: regenerate proto files
2020-07-14 07:11:11 +02:00
Max Peintner
8519243669
fix: rerun #450 , cleanup policies ( #451 )
2020-07-14 07:08:04 +02:00
Silvan
cc7556aaa0
fix(sql): remove ssl=true ( #461 )
2020-07-13 17:34:45 +02:00
Max Peintner
547d55a2c8
remove guard ( #450 )
2020-07-13 14:14:02 +02:00
Max Peintner
b628baeb1a
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects ( #449 )
...
* pinned organisations
* project grant detail, state update, user-list pad
* rm entry components
* members nav, i18n, disable actions on non active
* add org domain dialog
* mv password policy rm to detail view
* prefix pinned orgs for userid, fix collapsed pad
* fix app back navigation
* rem pwd required validator
* fix org item overflow
* routing
* move users modules to users page
* reorganize projects
* remove child init of translate
* hide same preferred loginname
2020-07-13 13:38:49 +02:00
Livio Amstutz
d8eef34a37
fix: send csrf on root path ( #444 )
2020-07-10 13:09:30 +02:00
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