Silvan
4e3936b5bf
ci: publish sha to docker registry ( #7127 )
2024-01-02 14:03:23 +00:00
Tim Möhlmann
ba9b807854
perf(oidc): optimize the introspection endpoint ( #6909 )
...
* get key by id and cache them
* userinfo from events for v2 tokens
* improve keyset caching
* concurrent token and client checks
* client and project in single query
* logging and otel
* drop owner_removed column on apps and authN tables
* userinfo and project roles in go routines
* get oidc user info from projections and add actions
* add avatar URL
* some cleanup
* pull oidc work branch
* remove storage from server
* add config flag for experimental introspection
* legacy introspection flag
* drop owner_removed column on user projections
* drop owner_removed column on useer_metadata
* query userinfo unit test
* query introspection client test
* add user_grants to the userinfo query
* handle PAT scopes
* bring triggers back
* test instance keys query
* add userinfo unit tests
* unit test keys
* go mod tidy
* solve some bugs
* fix missing preferred login name
* do not run triggers in go routines, they seem to deadlock
* initialize the trigger handlers late with a sync.OnceValue
* Revert "do not run triggers in go routines, they seem to deadlock"
This reverts commit 2a03da2127
.
* add missing translations
* chore: update go version for linting
* pin oidc version
* parse a global time location for query test
* fix linter complains
* upgrade go lint
* fix more linting issues
---------
Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>
2023-11-21 13:11:38 +01:00
Silvan
0948a0b9ae
ci: set runner group on parallel jobs ( #6916 )
2023-11-14 10:48:41 +00:00
adlerhurst
bd23a7a56f
merge main into next
2023-10-19 12:34:00 +02:00
adlerhurst
9c069806c4
ci(lint): use ref_base instead of main
2023-10-19 10:47:37 +02:00
Max Peintner
0a2e6dcfb3
chore(console): npm dependencies ( #6626 )
...
* chore(deps-dev): bump eslint from 8.46.0 to 8.50.0 in /console (#6618 )
Bumps [eslint](https://github.com/eslint/eslint ) from 8.46.0 to 8.50.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.46.0...v8.50.0 )
---
updated-dependencies:
- dependency-name: eslint
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-dev): bump @types/node from 18.16.10 to 20.6.5 in /console (#6617 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.16.10 to 20.6.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump protobufjs from 7.2.3 to 7.2.5 in /console (#6584 )
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js ) from 7.2.3 to 7.2.5.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases )
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.2.3...protobufjs-v7.2.5 )
---
updated-dependencies:
- dependency-name: protobufjs
dependency-type: indirect
...
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/jasmine from 4.3.5 to 4.3.6 in /console (#6581 )
Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine ) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine )
---
updated-dependencies:
- dependency-name: "@types/jasmine"
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 @grpc/grpc-js from 1.8.14 to 1.9.3 in /console (#6578 )
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node ) from 1.8.14 to 1.9.3.
- [Release notes](https://github.com/grpc/grpc-node/releases )
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.8.14...@grpc/grpc-js@1.9.3 )
---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
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>
* chore(deps-dev): bump @types/qrcode from 1.5.0 to 1.5.2 in /console (#6477 )
Bumps [@types/qrcode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/qrcode ) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/qrcode )
---
updated-dependencies:
- dependency-name: "@types/qrcode"
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-dev): bump prettier from 2.8.8 to 3.0.3 in /console (#6476 )
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.8 to 3.0.3.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.0.3 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump socket.io-parser from 4.2.2 to 4.2.4 in /console (#6376 )
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser ) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/socketio/socket.io-parser/releases )
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.4 )
---
updated-dependencies:
- dependency-name: socket.io-parser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump semver from 5.7.1 to 5.7.2 in /console (#6375 )
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* lint
* node types
* use node 20
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 14:59:58 +02:00
Livio Spring
e17b49e4ca
feat: add apple as idp ( #6442 )
...
* feat: manage apple idp
* handle apple idp callback
* add tests for provider
* basic console implementation
* implement flow for login UI and add logos / styling
* tests
* cleanup
* add upload button
* begin i18n
* apple logo positioning, file upload component
* fix add apple instance idp
* add missing apple logos for login
* update to go 1.21
* fix slice compare
* revert permission changes
* concrete error messages
* translate login apple logo -y-2px
* change form parsing
* sign in button
* fix tests
* lint console
---------
Co-authored-by: peintnermax <max@caos.ch>
2023-08-31 08:39:16 +02:00
Livio Spring
f03a9d03b6
chore(workflow): exclude console dist folder from cache ( #6414 )
...
* empty line for test
* chore: exclude console dist folder from cache
2023-08-22 07:31:41 +02:00
Stefan Benz
4e0c3115fe
chore: delete ignore paths to run required jobs ( #6356 )
...
Co-authored-by: Florian Forster <florian@zitadel.com>
2023-08-11 14:46:28 +00:00
Stefan Benz
77e561af72
chore: add assets to releases ( #6346 )
...
* chore: change pipeline to add assets to the release
2023-08-11 14:49:28 +02:00
Stefan Benz
3b9dabcf36
chore: build image for digest and release on workflow_dispatch ( #6287 )
2023-08-10 12:21:01 +00:00
Livio Spring
702dfaf314
chore: build release on next
branch ( #6266 )
2023-07-25 08:43:06 +02:00
Livio Spring
01dce17b14
chore: remove on push and merge_group from pipeline execution ( #6254 )
2023-07-21 12:37:07 +00:00
Silvan
ebb7a90ca7
ci: run pipeline on every push ( #6221 )
...
* ci: run pipeline on every push
* ci: run pipeline on every push on all branches
---------
Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>
2023-07-18 14:32:23 +02:00
Silvan
ecf9835cb8
ci: run pipeline on every push ( #6219 )
2023-07-17 10:55:41 +02:00
Silvan
1c354ca977
ci: improve performance ( #5953 )
...
* pipeline runs on ubuntu instead of docker
* added Makefile to build zitadel core (backend) and console (frontend)
* pipeline runs in parallel where possible
* pipeline is split into multiple jobs
* removed goreleaser
* added command to check if zitadel instance is running
2023-07-17 10:08:20 +02:00
Livio Spring
80961125a7
feat(API): support V2 token and session token usage ( #6180 )
...
This PR adds support for userinfo and introspection of V2 tokens. Further V2 access tokens and session tokens can be used for authentication on the ZITADEL API (like the current access tokens).
2023-07-14 11:16:16 +00:00
Livio Spring
14b8cf4894
feat(api): add OIDC session service ( #6157 )
...
This PR starts the OIDC implementation for the API V2 including the Implicit and Code Flow.
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>
2023-07-10 13:27:00 +00:00
Elio Bischof
bb756482c7
feat: push telemetry ( #6027 )
...
* document analytics config
* rework configuration and docs
* describe HandleActiveInstances better
* describe active instances on quotas better
* only projected events are considered
* cleanup
* describe changes at runtime
* push milestones
* stop tracking events
* calculate and push 4 in 6 milestones
* reduce milestone pushed
* remove docs
* fix scheduled pseudo event projection
* push 5 in 6 milestones
* push 6 in 6 milestones
* ignore client ids
* fix text array contains
* push human readable milestone type
* statement unit tests
* improve dev and db performance
* organize imports
* cleanup
* organize imports
* test projection
* check rows.Err()
* test search query
* pass linting
* review
* test 4 milestones
* simplify milestone by instance ids query
* use type NamespacedCondition
* cleanup
* lint
* lint
* dont overwrite original error
* no opt-in in examples
* cleanup
* prerelease
* enable request headers
* make limit configurable
* review fixes
* only requeue special handlers secondly
* include integration tests
* Revert "include integration tests"
This reverts commit 96db9504ec
.
* pass reducers
* test handlers
* fix unit test
* feat: increment version
* lint
* remove prerelease
* fix integration tests
2023-07-06 08:38:13 +02:00
Tim Möhlmann
f456168a74
feat: session v2 passkey authentication ( #5952 )
2023-06-07 17:28:42 +02:00
Tim Möhlmann
62e35b266d
chore: exclude generated files from coverage ( #5884 )
2023-05-17 14:22:16 +00:00
Elio Bischof
240b799fd3
chore: bump Helm charts from next ( #5815 )
...
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-05-12 05:06:54 +00:00
Tim Möhlmann
5f0c1b5290
resolve comments
2023-05-03 15:10:27 +02:00
Tim Möhlmann
c839cb3ce0
tie loose ends, documentation
2023-05-02 19:24:24 +03:00
Tim Möhlmann
bd3820cc6c
correct the coverpkg path
2023-04-27 12:03:57 +03:00
Tim Möhlmann
03789d43e5
re-enable PR build
2023-04-26 20:29:43 +03:00
Tim Möhlmann
ec8f741e58
coverage reports
2023-04-26 20:12:58 +03:00
Tim Möhlmann
e1655c3fbb
Revert "temporarily remove other workflow for fast running"
...
This reverts commit 68200dcbe9
.
2023-04-26 20:03:40 +03:00
Tim Möhlmann
90ba3a8d92
poll on test start
2023-04-26 19:54:47 +03:00
Tim Möhlmann
234186c60c
do not run tests in parallel
2023-04-25 18:30:08 +03:00
Tim Möhlmann
68200dcbe9
temporarily remove other workflow for fast running
2023-04-25 18:11:53 +03:00
Tim Möhlmann
79084089ea
add github action for integration tests
2023-04-25 18:11:04 +03:00
Elio Bischof
1e63c2eea3
chore: remove duplicate step ( #5624 )
2023-04-06 13:46:21 +00:00
Silvan
698f46fe6a
chore: update dependencies ( #5401 )
...
* chore(backend): update dependencies
* chore(pipeline): update golangci-lint
2023-04-06 06:29:55 +00:00
Silvan
5c8748d769
chore: change action timeout ( #5604 )
2023-04-05 16:27:48 +02:00
Elio Bischof
cf9d74f4d7
ci(helm): inform charts repo about releases ( #4544 )
...
* ci(helm): inform charts repo about releases
* typo
* use gh app token
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-04-05 11:08:01 +02:00
Elio Bischof
abacb6c5aa
chore: improve development for non-Linux contributors ( #5288 )
...
* test: fix e2e against console dev server
* chore: get rid of network_mode host
* explain e2e commands
* chore: fix pipelines
* fix e2e paths
* fix dockerized e2e
* chore: map cypress run service ports
* simplify localhost
* access db via compose service
* access db via compose service
* fix npm run open:angular and e2e:angular
* docs: add empty line
* chore: remove unused file
* docs: update contrib
---------
Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
2023-02-28 17:49:19 +00:00
Livio Spring
fa1e6c0bb2
chore(workflow): update actions (node 16) ( #5177 )
2023-02-17 12:31:55 +01:00
Livio Spring
b9b0e5dead
chore: set 2.18.2 as stable ( #5168 )
...
* chore: set 2.18.1 as stable
* Update release-channels.yaml
* prevent rebuilding / retesting binary on stable channel change
2023-02-17 10:56:15 +01:00
Fabi
9d78fb66dc
chore: remove view from project where to add the issues ( #4960 )
2022-12-30 09:17:00 +01:00
Fabi
802e1d1b1f
chore: add issues to product management board ( #4946 )
2022-12-29 10:38:44 +00:00
Livio Spring
29441ce4b6
feat: save last occurrence of failed events and fix instance filtering ( #4710 )
...
* fix: filter failed events and current sequence correctly
* fix failed events sorting column
* feat: save last occurrence of failed event
* fix failedEvents query and update sql statements
* change sql statement to only create index
* fix linting
* fix linting
* Update internal/query/failed_events.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* update job name on test-docs to match the one from test-code
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2022-11-18 13:49:38 +01:00
Silvan
dbb18342a1
chore(linting): add golang-ci lint config ( #3899 )
...
* chore(linting): add golang-ci lint config
* more linters
* document more linters
* describe more linters
* describe more linters
* add descriptions
* add descriptions
* config is now valid
* try in action
* add runs on
* dont change out format
* make a change
* make a change
* add timeout
* maybe this way?
* oupsi
* only new issues
* chore: linter settings
* chore: concurRency
* docs(contrib): add linter
* chore: rename github job
* chore: rename github job
* chore(linter): use latest
* chore(linter): version
* chore(action): add working directory
* chore(linting): remove generated files
* build cache
* docs(contrib): recommend golangci-lint as linter in IDE
2022-11-16 11:43:24 +01:00
Elio Bischof
c0f65088a1
ci(e2e): fix typo in workflow ( #4527 )
2022-10-10 10:46:35 +02:00
Christian Jakob
0b7ca8a143
ci(e2e): get correct last semver tag ( #4497 )
...
fix: get last senver tag
2022-10-07 09:18:47 +00:00
Elio Bischof
c98170c19b
ci(e2e): save interesting container logs ( #4442 )
...
* ci(e2e): save prepare logs
* workflow run and dispatch logs
* ensure artifact dir exists
* fix steps order
2022-09-23 13:37:39 +02:00
Fabi
38026c9d63
chore(workflow): add all issue to kanban project ( #4390 )
...
* issuetoproject.yaml
* update repository
* change name and fix typo
Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-09-21 07:32:06 +00:00
Stefan Benz
7a5f7f82cf
feat(saml): implementation of saml for ZITADEL v2 ( #3618 )
2022-09-12 18:18:08 +02:00
Elio Bischof
f0250a3fdb
fix(console, e2e): optimize console and activate tests ( #4207 )
...
* activate some tests
* unskip remove project tests
* focus input elements before typing
* fix: prune permissions observable
* cleanup
* remove timeout
* remove ngIf
* test with chrome
* with ngIf
* single observable
* juhu
* maybe better
* fix isAllowed response
* cleanup
Co-authored-by: Max Peintner <max@caos.ch>
2022-09-02 13:43:44 +00:00
Silvan
77b4fc5487
feat(database): support for postgres ( #3998 )
...
* beginning with postgres statements
* try pgx
* use pgx
* database
* init works for postgres
* arrays working
* init for cockroach
* init
* start tests
* tests
* TESTS
* ch
* ch
* chore: use go 1.18
* read stmts
* fix typo
* tests
* connection string
* add missing error handler
* cleanup
* start all apis
* go mod tidy
* old update
* switch back to minute
* on conflict
* replace string slice with `database.StringArray` in db models
* fix tests and start
* update go version in dockerfile
* setup go
* clean up
* remove notification migration
* update
* docs: add deploy guide for postgres
* fix: revert sonyflake
* use `database.StringArray` for daos
* use `database.StringArray` every where
* new tables
* index naming,
metadata primary key,
project grant role key type
* docs(postgres): change to beta
* chore: correct compose
* fix(defaults): add empty postgres config
* refactor: remove unused code
* docs: add postgres to self hosted
* fix broken link
* so?
* change title
* add mdx to link
* fix stmt
* update goreleaser in test-code
* docs: improve postgres example
* update more projections
* fix: add beta log for postgres
* revert index name change
* prerelease
* fix: add sequence to v1 "reduce paniced"
* log if nil
* add logging
* fix: log output
* fix(import): check if org exists and user
* refactor: imports
* fix(user): ignore malformed events
* refactor: method naming
* fix: test
* refactor: correct errors.Is call
* ci: don't build dev binaries on main
* fix(go releaser): update version to 1.11.0
* fix(user): projection should not break
* fix(user): handle error properly
* docs: correct config example
* Update .releaserc.js
* Update .releaserc.js
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: Elio Bischof <eliobischof@gmail.com>
2022-08-31 07:52:43 +00:00