Commit Graph

468 Commits

Author SHA1 Message Date
adlerhurst
b6ed7a396c fix(eventstore): resource owner from previous event 2020-10-22 18:13:31 +02:00
adlerhurst
0f855c86cf test: eventstore queries 2020-10-21 19:45:23 +02:00
adlerhurst
5fc0a808e1 test(eventstore): queries 2020-10-21 19:29:22 +02:00
adlerhurst
3c9c2806c8 test: eventstore 2020-10-21 19:00:41 +02:00
adlerhurst
83121ab44d test: eventstore query 2020-10-21 09:39:24 +02:00
adlerhurst
370597a0e8 fix: remove routines 2020-10-19 13:58:59 +02:00
adlerhurst
35ce026651 try with goroutines 2020-10-19 09:53:32 +02:00
adlerhurst
55e5e82dbc fix(eventstore): set previous sequence NULL if not checked 2020-10-15 16:51:00 +02:00
adlerhurst
62f0d9d59d push tests 2020-10-15 13:25:25 +02:00
adlerhurst
d400b02e53 test(eventstore): push 2020-10-15 08:44:17 +02:00
adlerhurst
639872b82e fix: add tests 2020-10-14 12:43:31 +02:00
adlerhurst
71fd4bf9f9 refactor: eventstore v2 2020-10-06 21:28:09 +02:00
adlerhurst
46a68c15bf fix: eventstore v2 insert statement 2020-10-06 20:20:23 +02:00
adlerhurst
9342efa834 refactor: eventstore v2 2020-10-06 20:19:56 +02:00
adlerhurst
f2559c2027 crdb tests 2020-10-05 22:03:21 +02:00
adlerhurst
53b02b7f5e event data mapping in eventstore v2 2020-10-05 22:02:59 +02:00
adlerhurst
64a0859d76 test(eventstore): sql unit tests 2020-10-05 20:39:36 +02:00
adlerhurst
120a8bae85 refactor(eventstore): sql 2020-10-05 19:09:26 +02:00
adlerhurst
eb51a429ff testing with local cockroach started for tests and migrations 2020-10-02 16:21:51 +02:00
adlerhurst
169b1787df start with cockroach test server 2020-09-30 19:04:52 +02:00
adlerhurst
34783ba763 fix: transaction 2020-09-30 16:44:29 +02:00
adlerhurst
e4d8478b04 start sqlite migrations 2020-09-30 10:00:05 +02:00
adlerhurst
7da344be26 init v2 2020-09-24 08:52:10 +02:00
Fabi
0bd27bc8e4
fix: add prompt on oidc rp, fix idp and login policy in console (#769)
* fix: add prompt on oidc rp

* fix: add prompt on oidc rp

* fix: translation

* fix: translation

* fix: not existing login policy

* fix: login policy

* fix: identity provider detail

* fix: idp update

* fix: idps in login policy

* fix: lint

* fix: scss

* fix: external idps on auth user detail

* fix: idp create mapping fields

* fix: remove idp provider

* fix: angular lint

* fix: login policy view

* fix: translations
2020-09-23 16:52:19 +02:00
Livio Amstutz
9887e897ee
fix: only show external login text when providers available (#768) 2020-09-21 14:06:54 +02:00
Livio Amstutz
da8f243129
fix: marshal of user info address (#767) 2020-09-21 12:55:39 +02:00
Fabi
108f6b3545
feat: external idps on user (#755)
* feat: show external idps on user

* feat: show external idps on user

* fix: angular linting

* fix: display Name

* fix: display Name email
2020-09-18 17:00:38 +02:00
Matthias M. Schneider
abf5151653
fix(translations): improved translations (#745)
* Updates up to "PROJECT"

Capitalisation of headings and buttons using the rules recommended here:

https://grammar.yourdictionary.com/capitalization/rules-for-capitalization-in-titles.html

* Spell checking and minor improvements

* only deploy docs on master

* Improved reference to security repo.

* Completed en.json and re-worked de.json up to "VALIDATION".

* Re-work up to "MEMBERSHIP"

* Completed language strings.

* Updates to INVALIDPATTERN.

Proposal for the message string in English and German .

* Re-work of personal pronouns in German language strings.

Changing de.json from "Sie" to "Du" and other improvements.

* Apply suggestions from code review

Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>

* Update SECURITY.md

Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>

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

* Apply suggestions from code review

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

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

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

Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-09-18 14:47:53 +02:00
Silvan
ee0383cae8
refactor: spooled handler (#752)
* refactor: spooled handler

* fix(spooler): test locked channel
2020-09-18 13:39:28 +02:00
Fabi
320ddfa46d
feat: Identity brokering (#730)
* feat: add/ remove external idps

* feat: external idp add /remove

* fix: auth proto

* fix: handle login

* feat: loginpolicy on authrequest

* feat: idp providers on login

* feat: link external idp

* fix: check login policy on check username

* feat: add mapping fields for idp config

* feat: use user org id if existing

* feat: use user org id if existing

* feat: register external user

* feat: register external user

* feat: user linking

* feat: user linking

* feat: design external login

* feat: design external login

* fix: tests

* fix: regenerate login design

* feat: next step test linking process

* feat: next step test linking process

* feat: cascade remove external idps on user

* fix: tests

* fix: tests

* feat: external idp requsts on users

* fix: generate protos

* feat: login styles

* feat: login styles

* fix: link user

* fix: register user on specifig org

* fix: user linking

* fix: register external, linking auto

* fix: remove unnecessary request from proto

* fix: tests

* fix: new oidc package

* fix: migration version

* fix: policy permissions

* Update internal/ui/login/static/i18n/en.yaml

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

* Update internal/ui/login/static/i18n/en.yaml

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

* Update internal/ui/login/handler/renderer.go

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

* Update internal/ui/login/handler/renderer.go

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

* fix: pr requests

* Update internal/ui/login/handler/link_users_handler.go

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

* fix: pr requests

* fix: pr requests

* fix: pr requests

* fix: login name size

* fix: profile image light

* fix: colors

* fix: pr requests

* fix: remove redirect uri validator

* fix: remove redirect uri validator

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-09-18 13:26:28 +02:00
Fabi
1d542a0c57
fix: remove redirect uri validator (#754)
* fix: remove redirect uri validator

* fix: remove redirect uri validator
2020-09-18 10:20:45 +02:00
Silvan
e7b499794d
fix(setup): set first org owner as project owner (#753) 2020-09-17 16:48:14 +02:00
Max Peintner
58b01cdf3f
feat(console): identity providers and login policies (#722)
* idp list, idp create route

* idp modules, lazy import, i18n, routing

* generic service, i18n

* seperate lockout, age policy component

* seperate component modules

* routing

* enum class

* login policy

* iam policy grid

* login policy providers

* idps login policy

* add idp dialog component

* add idp to loginpolicy

* delete idp config, iam policy grid

* remove idp from loginpolicy

* idp detail component, generic idp create

* lint

* idp detail clientid-secrets, issuer, scopes

* hide clientsecret on update

* rm background style, idp config

* app tooltip fix

* lint

* dont refresh on idp select

* Update console/src/app/modules/idp-create/idp-create.component.html

Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2020-09-17 10:22:41 +02:00
Silvan
845026e43f
fix(spooler): memory leak (#751)
* fix: dependecies

* fix: one of two memory leaks found

* fix: remove log
2020-09-17 09:12:56 +02:00
Silvan
5a8cafcae5
fix: JWT Profile (#748)
* fix: correct env var for tracing type

* fix: local env tracing

* fix: key in detail as string

* fix: implement storage

* fix: machine key by id
fix: store public key as bytes instead of crypto value

* update oidc pkg

* dont check origins for service account tokens

* fix: scopes

* fix: dependencies

* fix: dependencies

* fix: remove unused code

* fix: variable naming

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-09-17 08:49:33 +02:00
Silvan
71abc4f077
test: machine (#683)
* test: machine

* test: better naming
2020-09-15 15:04:02 +02:00
dependabot[bot]
3e7cfcbca3
chore(deps-dev): bump stylelint from 13.7.0 to 13.7.1 in /console (#743)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.7.0 to 13.7.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.7.0...13.7.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 13:13:46 +02:00
Silvan
eefdd17478
fix(usergrant): delete in handler search for correct key (#732) 2020-09-11 16:01:03 +02:00
Silvan
c37d55b069
fix: User grant id key (#731)
* fix: log id and error message

* fix: user grant by id correct search field
2020-09-11 14:51:50 +02:00
Max Peintner
4926509de0
feat(console): refresh roles, user-grants and project-members based on previous navigation (#728)
* feat: refresh roles, user-grants, project-members

* refresh keys

* user grants on granted projects

* refresh on member changes

* membership refresh

* lint
2020-09-11 14:24:41 +02:00
Max Peintner
15c977dab4
fix: otp delete comfirmation (#729) 2020-09-11 13:52:07 +02:00
Max Peintner
4931000dc9
fix(console): enable phonenumber edit (#725)
* fix: edit phonenumber

* rm consolelog

* remove ? operator

* remove unnecessary check
2020-09-11 13:26:47 +02:00
Silvan
87c0010d54
fix: unique username (#726) 2020-09-11 10:50:35 +02:00
Max Peintner
173f9dd5d6
fix(console): show machine key after creation, fix bulk delete (#716)
* show machinekey after creation

* delete bulk

* lint

* download button

* 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-09-11 09:57:08 +02:00
Max Peintner
5c6989e831
feat(console): loginname hint, update dependencies (#709)
* chore(deps): bump rxjs from 6.6.2 to 6.6.3 in /console (#707)

Bumps [rxjs](https://github.com/reactivex/rxjs) from 6.6.2 to 6.6.3.
- [Release notes](https://github.com/reactivex/rxjs/releases)
- [Changelog](https://github.com/ReactiveX/rxjs/blob/6.6.3/CHANGELOG.md)
- [Commits](https://github.com/reactivex/rxjs/compare/6.6.2...6.6.3)

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/cli from 10.0.8 to 10.1.0 in /console (#706)

Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.0.8 to 10.1.0.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.0.8...v10.1.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.1.1 to 5.2.1 in /console (#705)

Bumps [karma](https://github.com/karma-runner/karma) from 5.1.1 to 5.2.1.
- [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.1.1...v5.2.1)

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 from 13.6.1 to 13.7.0 in /console (#704)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.6.1 to 13.7.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.6.1...13.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: Max Peintner <max@caos.ch>

* chore(deps): bump angularx-qrcode from 10.0.6 to 10.0.10 in /console (#703)

Bumps [angularx-qrcode](https://github.com/cordobo/angularx-qrcode) from 10.0.6 to 10.0.10.
- [Release notes](https://github.com/cordobo/angularx-qrcode/releases)
- [Commits](https://github.com/cordobo/angularx-qrcode/compare/10.0.6...10.0.10)

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 @types/node from 14.6.1 to 14.6.4 in /console (#701)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.6.1 to 14.6.4.
- [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 prettier from 2.0.5 to 2.1.1 in /console (#665)

Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.1.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.5...2.1.1)

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 (#708)

Bumps [@angular/language-service](https://github.com/angular/angular/tree/HEAD/packages/language-service) from 10.0.14 to 10.1.0.
- [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.1.0/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-dev): bump @angular-devkit/build-angular in /console (#666)

Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1000.6 to 0.1000.8.
- [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>
Co-authored-by: Max Peintner <max@caos.ch>

* show loginname suffix

* update packlock

* rm console logs

* private

* suffix for org create

* rm suffix for org create

* rm org create suffix

* lint

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 09:02:57 +02:00
Livio Amstutz
8fcb03854b
fix: iam permission (#720)
* fix: get iam permissions

* fix: iam permissions
2020-09-10 15:40:20 +02:00
Silvan
463294669e
fix: Key details as string (#719)
* fix: correct env var for tracing type

* fix: local env tracing

* fix: key in detail as string
2020-09-09 16:19:17 +02:00
Florian Forster
46adcf8fe2
chore(docs): only deploy on master branch (#718) 2020-09-09 16:10:35 +02:00
Silvan
773750481f
fix: correct env var for tracing type (#714)
* fix: correct env var for tracing type

* fix: local env tracing
2020-09-09 15:15:21 +02:00
Max Peintner
8aaaca7d00
fix(console): role create (#715)
* fix: add projectid

* lint
2020-09-09 11:43:36 +02:00