2864 Commits

Author SHA1 Message Date
Elio Bischof
4afc31bc00
fix: give restore more time (#1997) v1.21.2 2021-07-09 16:43:35 +00:00
Livio Amstutz
f7aa2f6b25
fix: handle closed channels on unsubscribe (#1995) v1.21.1 2021-07-09 11:33:43 +02:00
Livio Amstutz
09b5c964cc
feat: handle ui_locales in login (#1994)
* fix: handle ui_locales in login

* move supportedlanguage func into i18n package

* update oidc pkg
v1.21.0
2021-07-09 07:45:31 +00:00
Livio Amstutz
f93337e99b
fix: race condition in auth request unmarshalling (#1993) v1.20.5 2021-07-08 16:38:34 +00:00
Fabi
c950d6d272
fix: return default language file, if requested lang does not exist for default login texts (#1988)
* fix: return default language file, if requested lang doesnt exists

* feat: read default translation file

* feat: docs
v1.20.4
2021-07-08 14:01:07 +02:00
Livio Amstutz
10cae58505
fix: log error reason on terminate session (#1973) 2021-07-08 13:55:21 +02:00
Christian Jakob
cde29db571
fix: set version for sentry release (#1990)
* feat(send sentry release): send sentry release

* fix(moved step and added releasetag): moved step and added releasetag

* fix(corrected var name): corrected var name

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
v1.20.3
2021-07-08 04:00:42 +00:00
Christian Jakob
32e1fa2122
fix(sentry): trigger sentry release (#1989)
* feat(send sentry release): send sentry release

* fix(moved step and added releasetag): moved step and added releasetag
v1.20.2
2021-07-07 14:05:00 +00:00
mffap
8d08d7fdad
docs: eventstore (#1982)
* docs: eventstore

* Apply suggestions from code review

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

Co-authored-by: Florian Forster <florian@caos.ch>
2021-07-07 15:22:08 +02:00
Livio Amstutz
38a4683bab
fix: role assertion (#1986)
* fix: enum to display access token role assertion

* improve assertion descriptions

* fix nil pointer
v1.20.1
2021-07-07 09:51:20 +00:00
Florian Forster
6fa3076f74
docs: update to beta 3 (#1984) 2021-07-07 07:19:44 +00:00
Fabi
ff9af1704f
feat: Extend oidc idp with oauth endpoints (#1980)
* feat: add oauth attributes to oidc idp configuration

* feat: return idpconfig id on create idp

* feat: tests

* feat: descriptions

* feat: docs

* feat: tests
v1.20.0
2021-07-06 14:39:48 +00:00
Silvan
5349d96ce4
fix(eventstore): sub queries (#1805)
* sub queries

* fix: tests

* add builder to tests

* new search query

* rename searchquerybuilder to builder

* remove comment from code

* test with multiple queries

* add filters test

* fix(contibute): listing

* add validate module

* fix: search queries

* remove unused event type in query

* ignore query if error in marshal

* go mod tidy

* update privacy policy query

* update queries

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
v1.19.4
2021-07-06 13:55:57 +02:00
Livio Amstutz
0e472a347f
fix: add sentry in ui, http and projection handlers (#1977)
* fix: add sentry in ui, http and projection handlers

* fix test
v1.19.3
2021-07-06 13:36:35 +02:00
Max Peintner
9277928ef7
fix: check for features on mgmt only (#1976) v1.19.2 2021-07-06 13:09:27 +02:00
Livio Amstutz
20f84ef469
fix: template names in login (#1974)
* fix: template names in login

* fix: error.html
v1.19.1
2021-07-06 11:56:43 +02:00
Fabi
2e3b0c54c0
docs: fix proto option generation (#1972)
* docs: fix proto option generation

* update

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-07-05 14:16:39 +00:00
Fabi
99b2c33ccb
feat: Custom text login (#1925)
* feat: default custom message text

* feat: org custom message text

* feat: org custom message text

* feat: custom messages query side

* feat: default messages

* feat: message text user fields

* feat: check for inactive user

* feat: fix send password reset

* feat: fix custom org text

* feat: add variables to docs

* feat: custom text tests

* feat: fix notifications

* feat: add custom text feature

* feat: add custom text feature

* feat: feature in custom message texts

* feat: add custom text feature in frontend

* feat: merge main

* feat: feature tests

* feat: change phone message in setup

* fix: remove unused code, add event translation

* fix: merge main and fix problems

* fix: english translation file

* fix: migration versions

* fix: setup

* fix: custom login text

* feat: add all possible custom texts for login

* feat: iam login texts

* feat: org login texts

* feat: protos

* fix: custom text in admin api

* fix: add success login text

* fix: docs

* fix: add custom login texts to management api

* fix: add sub messages to custom login texts

* fix: setup custom texts

* feat: get org login texts

* feat: get org login texts

* feat: handler in adminapi

* feat: handlers in auth and admin

* feat: render login texts

* feat: custom login text

* feat: add all login text keys

* feat: handle correct login texts

* feat: custom login texts in command side

* feat: custom login texts in command side

* feat: fix yaml file

* feat: merge master and add confirmation text

* feat: fix html

* feat: read default login texts

* feat: get default text files

* feat: get custom texts org

* feat: tests

* feat: change translator handling

* fix translator from authReq

* feat: change h1 on login screens

* feat: add custom login text for remove

* feat: add custom login text for remove

* feat: cache translation files

* feat: cache translation files

* feat: zitadel user in env var

* feat: add registration user description

* feat: better func naming

* feat: tests

* feat: add mutex to read file

* feat: add mutex to read file

* fix mutex for accessing translation map

* fix: translation key

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
v1.19.0
2021-07-05 15:10:49 +02:00
Livio Amstutz
7c0bc8f63d
chore: add generated asset files to .gitignore (#1971) 2021-07-05 11:08:58 +00:00
Max Peintner
5bd2acd56f
fix(console): label policy preview, duplicate changes on update, deps (#1948)
* font, preview fixes, i18n

* fix changes refresh

* chore(deps): bump @angular/platform-browser-dynamic in /console (#1901)

Bumps [@angular/platform-browser-dynamic](https://github.com/angular/angular/tree/HEAD/packages/platform-browser-dynamic) from 12.0.3 to 12.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/12.0.5/packages/platform-browser-dynamic)

---
updated-dependencies:
- dependency-name: "@angular/platform-browser-dynamic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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/compiler-cli in /console (#1904)

Bumps [@angular/compiler-cli](https://github.com/angular/angular/tree/HEAD/packages/compiler-cli) from 12.0.3 to 12.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/12.0.5/packages/compiler-cli)

---
updated-dependencies:
- dependency-name: "@angular/compiler-cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

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

* chore(deps): bump @angular/service-worker in /console (#1905)

Bumps [@angular/service-worker](https://github.com/angular/angular/tree/HEAD/packages/service-worker) from 12.0.3 to 12.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/12.0.5/packages/service-worker)

---
updated-dependencies:
- dependency-name: "@angular/service-worker"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* chore(deps): bump @angular/common from 12.0.3 to 12.0.5 in /console (#1908)

Bumps [@angular/common](https://github.com/angular/angular/tree/HEAD/packages/common) from 12.0.3 to 12.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/12.0.5/packages/common)

---
updated-dependencies:
- dependency-name: "@angular/common"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* chore(deps): bump @angular/forms from 12.0.3 to 12.0.5 in /console (#1909)

Bumps [@angular/forms](https://github.com/angular/angular/tree/HEAD/packages/forms) from 12.0.3 to 12.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/12.0.5/packages/forms)

---
updated-dependencies:
- dependency-name: "@angular/forms"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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

* chore(deps): bump @angular/router from 12.0.3 to 12.0.5 in /console (#1907)

Bumps [@angular/router](https://github.com/angular/angular/tree/HEAD/packages/router) from 12.0.3 to 12.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/12.0.5/packages/router)

---
updated-dependencies:
- dependency-name: "@angular/router"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-devkit/build-angular in /console (#1943)

Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 12.0.3 to 12.1.0.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v12.0.3...v12.1.0)

---
updated-dependencies:
- dependency-name: "@angular-devkit/build-angular"
  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 ngx-color from 7.0.0 to 7.2.0 in /console (#1932)

Bumps [ngx-color](https://github.com/scttcper/ngx-color) from 7.0.0 to 7.2.0.
- [Release notes](https://github.com/scttcper/ngx-color/releases)
- [Commits](https://github.com/scttcper/ngx-color/compare/v7.0.0...v7.2.0)

---
updated-dependencies:
- dependency-name: ngx-color
  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>

* update cli, lang servce

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v1.18.1
2021-07-05 11:35:48 +02:00
Livio Amstutz
820df1571b
fix: migration version of privacy policy (#1968) v1.18.0 2021-07-05 09:00:22 +00:00
Christian Jakob
b024cda4e5
feat: sentry integration (#1944)
* initial sentry variables and secrets

* feat: sentry monitoring

* fix typo

* feat(sentry version): sentry capability

* fix(sentry include): included sentry import 4 zitadel

* usage flag for sentry

* improve sentry flag

* merge main

* fix sentry config

* add sentry dsn to secret env vars

* fix test

* log sentry start

* add sentry grpc interceptor and recover

* add sentry http interceptor to asset api

* fix interceptor order

* try improve sentry recover

* fix i18n interception

* panic

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-07-05 10:58:58 +02:00
Fabi
beb1c1604a
feat: Privacy policy (#1957)
* feat: command side privacy policy

* feat: add privacy policy to api

* feat: add privacy policy query side

* fix: add privacy policy to mgmt api

* fix: add privacy policy to auth and base data

* feat: use privacyPolicy in login gui

* feat: use privacyPolicy in login gui

* feat: test org fatures

* feat: typos

* feat: tos in register
2021-07-05 10:36:51 +02:00
Livio Amstutz
91f1c88d4e
fix: add option to disable asset storage (#1878)
* fix: add no storage option

* improve error handling
v1.17.7
2021-07-02 13:55:52 +02:00
Silvan
992b598100
fix: undo scan for current sequence in get by id (#1956)
* index on events for changes

* check for current sequence before filter events

* fix(migration): enable hash shared indexes feature

* fix(database): drop changes idx as it slows unwanted queries

* fix: remove check for current sequence after objects loaded as not all events are processed
v1.17.6
2021-07-01 22:32:16 +02:00
Silvan
d5626db71b
fix(migration): enable hash shared index flag (#1954)
* index on events for changes

* check for current sequence before filter events

* fix(migration): enable hash shared indexes feature
v1.17.5
2021-07-01 18:44:00 +02:00
Livio Amstutz
62b4df8c09
fix: user grant change (#1953) v1.17.4 2021-07-01 15:08:40 +00:00
Silvan
15ae8be3c3
fix: query optimisations (#1949)
* index on events for changes

* check for current sequence before filter events
v1.17.3
2021-07-01 16:21:24 +02:00
Fabi
2037d7d41c
fix: usergrant pre condition check (#1947)
* fix: usergrant pre condition check

* fix: usergrant pre condition check

* fix: usergrant pre condition check
v1.17.2
2021-07-01 13:53:52 +00:00
Livio Amstutz
c6ad784a6c
fix: check oidc / api config (#1940) v1.17.1 2021-06-27 09:20:59 +00:00
mffap
724df5d6c4
docs: updates readme with privatelabeling (#1899)
* docs: updates readme with privatelabeling

* fixes gif
2021-06-25 14:25:27 +02:00
Christoph Bühler
04b84d2c7b
docs: improve Flutter quickstart (#1936)
Signed-off-by: Christoph Bühler <cbuehler@rootd.ch>
2021-06-25 13:49:37 +02:00
Livio Amstutz
4ecbb932e8
chore(issues): add links to discussions for feature requests (#1934)
* add links to discussions in issues

* delete feature request template

* add emoji to bug report template
2021-06-25 12:04:36 +02:00
Elio Bischof
b2b53ae9e1
feat: enable running ZITADEL offline (#1894)
* feat: enable running ZITADEL offline

* refactor: move operator image to common images

* test: remove empty test
v1.17.0
2021-06-25 08:56:22 +00:00
Christoph Bühler
c6c60d1d2a
fix(local-dev): add minio to default local env. (#1872)
This add minio to the default setup to be able to run
the whole solution out of the box.

Signed-off-by: Christoph Bühler <cbuehler@rootd.ch>
v1.16.8
2021-06-25 09:39:31 +02:00
Livio Amstutz
c93e3370d2
chore(dependencies): set labels for dependabot PR (#1930)
* chore(dependencies): set labels for dependabot PR

* Update dependabot.yml
2021-06-24 15:44:18 +00:00
Livio Amstutz
3fde4aa1c2
chore: align go.mod version for pipeline (#1922) 2021-06-22 15:18:22 +02:00
Livio Amstutz
796cbc8998
fix: subscription (#1918)
* fix: disable button until redirect is ready

* fix: hide unnecessary button

* fix: format audit log retention

* fix: enable descriptions to be empty

* fix: enable descriptions to be empty
v1.16.7
2021-06-21 15:35:00 +00:00
dependabot[bot]
5d5c15ca9c
chore(deps): bump github.com/grpc-ecosystem/go-grpc-middleware (#1799)
Bumps [github.com/grpc-ecosystem/go-grpc-middleware](https://github.com/grpc-ecosystem/go-grpc-middleware) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/grpc-ecosystem/go-grpc-middleware/releases)
- [Changelog](https://github.com/grpc-ecosystem/go-grpc-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v1.2.2...v1.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-21 06:46:16 +02:00
Fabi
41560274c1
fix: err id as title (shown on hover) (#1895) v1.16.6 2021-06-18 10:31:53 +02:00
Livio Amstutz
ab88d311f3
fix: create label policy if not exists on font upload (#1898) 2021-06-18 08:12:40 +00:00
you1996
fd04fb58d0
fix: add hint for password-confirmation (#1863)
* fix:add hint for password-confirmation

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

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

Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
v1.16.5
2021-06-17 15:46:32 +02:00
Livio Amstutz
32f8545082
fix: label policy fixes (#1886)
* fix: check correct permission for label policy in console policy grid

* fix: add next steps for label policy detail

* fix: add label policy link in console home

* fix: i18n of EN features

* fix: set font color on preview

* fix: handle label policy remove in write model

* fix: add more content-types for font upload

* fix: add label policy link in console home

* fix: dont return error when bucket does not exists

* fix: iam access pref

* fix: EN i18n for apply button
v1.16.4
2021-06-17 14:10:14 +02:00
Livio Amstutz
82ae9dd459
chore(workflow): add possibility for manual pipeline trigger (#1889) 2021-06-17 10:57:47 +02:00
Fabi
d9d361c3de
docs(manuals): add policy docs for managers (#1880)
* docs(manuals): add policy docs for managers

* docs(manuals): add policy docs for managers

* Update docs/docs/manuals/admin-policies.md

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

* Update docs/docs/manuals/admin-policies.md

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

* Update docs/docs/manuals/admin-policies.md

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

* Update docs/docs/manuals/admin-policies.md

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

* Update docs/docs/manuals/admin-policies.md

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

* Update docs/docs/manuals/admin-policies.md

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

* Update docs/docs/manuals/admin-policies.md

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

* Update docs/docs/manuals/admin-policies.md

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-06-17 07:03:06 +00:00
Livio Amstutz
3062a6cf9b
chore(workflow): push images only on main branch (#1873)
* chore(workflow): push images only on CAOS repositories

* chore(workflow): push images only on CAOS repositories

* chore(workflow): push images only on CAOS repositories

* chore(workflow): push images only on CAOS repositories

* chore(workflow): push images only on not forked repositories

* print full repo name

* print full repo name

* print full repo name

* print full repo name

* print full repo name

* print full event

* print full event

* print full event

* use separate workflows for release and PR

* use separate workflows for release and PR
2021-06-16 12:01:29 +02:00
mffap
62b04502a1
fix: tos and privacy links (#1877)
* fix: update tos and privacy policy links

* fix: DE tos privacy

* Update app.component.html

Co-authored-by: Maximilian Panne <maximilian.panne@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
v1.16.3
2021-06-16 11:09:15 +02:00
Fabi
48e3f90db4
docs: Contribution guide in readme (#1879) 2021-06-16 08:47:54 +00:00
Livio Amstutz
4a2ca5a1e8
fix: handle reauth correctly (max_age=0 or prompt=login) (#1870)
* max age

* merge main

* fix when no prompt is set

* fix: update oidc pkg

* fix tests
v1.16.2
2021-06-16 10:02:15 +02:00
Livio Amstutz
1e1ded440c
chore(workflow): run on pullrequest (#1871) 2021-06-15 14:27:54 +02:00