Max Peintner
133aec4568
chore(console): angular 16 ( #5870 )
...
* ng 16
* material cdk
* module imports, rmn @accounts
* deps
* lint
* buf
---------
Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-05-18 19:28:35 +00:00
Tim Möhlmann
62e35b266d
chore: exclude generated files from coverage ( #5884 )
2023-05-17 14:22:16 +00:00
mffap
bae6e20a91
docs(api): update api path ( #5876 )
2023-05-17 12:47:55 +00:00
Elio Bischof
885e3385aa
fix: send exhausted property in env json ( #5877 )
2023-05-17 11:41:54 +02:00
Stefan Benz
80815e89cf
chore(api): proto definition of passkeys endpoints (user service) ( #5864 )
...
* feat: first proto definition of passkeys endpoints
* improve passkeys requests
* fix: some renaming of passkey endpoint attributes
* change to post methods
* improve passkeys requests
* add code id and make codes optional
* fix: some documentation for passkeys endpoints
* drop code from VerifyPasskeyRegistrationRequest
not needed, as disccussed
* put code_id and code in a nested object
* add passkey_id to RegisterPasskeyResponse
* improve description
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
2023-05-17 07:06:11 +00:00
mffap
116d11dcf7
docs(troubleshooting): WebFinger requirement for tailscale ( #5862 )
2023-05-16 11:20:53 +00:00
Livio Spring
e4427380f3
feat: enable grpc server reflection ( #5689 )
...
This change enables [gRPC server
reflection](https://github.com/grpc/grpc-go/blob/master/Documentation/server-reflection-tutorial.md ).
It allows for easier setting up of dev-tools like
[gRPCurl](https://github.com/fullstorydev/grpcurl ) and
[gRPCui](https://github.com/fullstorydev/grpcui ).
To see it in action, after you start zitadel on the localhost:
```
go install github.com/fullstorydev/grpcui/cmd/grpcui@latest
grpcui -plaintext localhost:8080
````
![image](https://user-images.githubusercontent.com/5411563/232060184-1a114640-e87a-48da-866f-ff8d597e790f.png )
2023-05-16 11:17:20 +02:00
Livio Spring
383e68b819
Merge branch 'main' into grcp-server-reflect
2023-05-16 10:51:32 +02:00
Livio Spring
a77f299168
fix(eventstore): add created_at
column ( #5818 )
...
### Definition of Ready
- [x] I am happy with the code
- [ ] Short description of the feature/issue is added in the pr
description
- [ ] PR is linked to the corresponding user story
- [ ] Acceptance criteria are met
- [ ] All open todos and follow ups are defined in a new ticket and
justified
- [ ] Deviations from the acceptance criteria and design are agreed with
the PO and documented.
- [ ] No debug or dead code
- [ ] Critical parts are tested automatically
- [ ] Where possible E2E tests are implemented
- [ ] Documentation/examples are up-to-date
- [ ] All non-functional requirements are met
- [ ] Functionality of the acceptance criteria is checked manually on
the dev system.
2023-05-16 09:08:54 +02:00
Livio Spring
2962870bdd
Merge branch 'main' into eventstore-created-at
2023-05-16 08:44:25 +02:00
mffap
d78b273b44
docs(contributing): don't repeat yourself ( #5869 )
2023-05-15 14:30:05 +02:00
kotoriのねこ
a21d184790
docs(nginx): fix nginx directory, system api proto description ( #5809 )
...
Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-05-15 07:23:56 +00:00
Elio Bischof
0e251a29c8
fix: set exhausted cookie with env json ( #5868 )
...
* fix: set exhausted cookie with env json
* lint
2023-05-15 08:51:02 +02:00
mffap
b449762aed
docs: add generated docs to gitignore ( #5827 )
2023-05-12 09:08:22 +00:00
mffap
91431cb451
docs(legal): editorial changes ( #5828 )
...
* docs(legal): editorial changes
* remove from tos
2023-05-12 10:51:17 +02:00
Elio Bischof
99857ff954
chore: speed up local console docker build ( #5824 )
...
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-05-12 07:36:44 +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
Silvan
098c27d3da
fix: render authrequest id only if possible ( #5823 )
2023-05-11 16:02:34 +00:00
adlerhurst
4d7a733e11
fix(step11): execute step 10 to make sure events are in correct order
2023-05-11 11:53:52 +02:00
Silvan
defa429eb7
Merge branch 'main' into eventstore-created-at
2023-05-11 11:24:23 +02:00
Stefan Benz
8d13f170e8
feat(api): new settings service ( #5775 )
...
* feat: add v2alpha policies service
* feat: add v2alpha policies service
* fix: rename of attributes and messages in v2alpha api
* fix: rename of attributes and messages in v2alpha api
* fix: linter corrections
* fix: review corrections
* fix: review corrections
* fix: review corrections
* fix: review corrections
* fix grpc
* refactor: rename to settings and more
* Apply suggestions from code review
Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>
* add service to docs and rename legal settings
* unit tests for converters
* go mod tidy
* ensure idp name and return list details
* fix: use correct resource owner for active idps
* change query to join
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
2023-05-11 09:23:40 +00:00
adlerhurst
b9a3fac3d2
fix(eventstore): backfill column
2023-05-11 11:14:42 +02:00
Livio Spring
c07411e314
fix: only reuse port for integration tests ( #5817 )
...
* fix: only reuse port for integration tests
* exclude default listenConfig from integration build
2023-05-11 08:58:35 +00:00
adlerhurst
5a3d09d3a3
fix(eventstore): use creation_date for existing columns
2023-05-11 10:31:33 +02:00
Max Peintner
2dc016ea3b
feat(console): device code ( #5771 )
...
* feat: device code
* device code, create stepper
* rm logs
* app setup with device code
* remove redirects if grant type is device code only
* add device code app e2e
---------
Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>
Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-05-11 08:18:14 +00:00
adlerhurst
c6d29fc201
fix(eventstore): new column to test clock_timestamp()
2023-05-11 10:04:35 +02:00
Elio Bischof
35a0977663
fix: improve exhausted SetCookie header ( #5789 )
...
* fix: remove access interceptor for console
* feat: template quota cookie value
* fix: send exhausted cookie from grpc-gateway
* refactor: remove ineffectual err assignments
* Update internal/api/grpc/server/gateway.go
Co-authored-by: Livio Spring <livio.a@gmail.com>
* use dynamic host header to find instance
* add instance mgmt url to environment.json
* support hosts with default ports
* fix linting
* docs: update lb example
* print access logs to stdout
* fix grpc gateway exhausted cookies
* cleanup
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-05-11 09:24:44 +02:00
Tim Möhlmann
1461d9ec6d
Merge branch 'main' into grcp-server-reflect
2023-05-07 16:47:52 +02:00
Tim Möhlmann
62b4c31834
add server reflection to Probes list
2023-05-07 16:47:43 +02:00
Livio Spring
c2cb84cd24
feat(api): new session service ( #5801 )
...
* backup new protoc plugin
* backup
* session
* backup
* initial implementation
* change to specific events
* implement tests
* cleanup
* refactor: use new protoc plugin for api v2
* change package
* simplify code
* cleanup
* cleanup
* fix merge
* start queries
* fix tests
* improve returned values
* add token to projection
* tests
* test db map
* update query
* permission checks
* fix tests and linting
* rework token creation
* i18n
* refactor token check and fix tests
* session to PB test
* request to query tests
* cleanup proto
* test user check
* add comment
* simplify database map type
* Update docs/docs/guides/integrate/access-zitadel-system-api.md
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
* fix test
* cleanup
* docs
---------
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
2023-05-05 15:34:53 +00:00
Fabi
74377c2c37
docs: remove tasklist ( #5806 )
2023-05-05 12:22:39 +00:00
Miguel Cabrerizo
3ca7147808
fix: introduce measures to avoid bots crawling and indexing activities ( #5728 )
...
* fix: 404 for robots.txt and meta robots tags
* fix: add unit tests for robots txt and tag
* fix: add meta tag robots none for login pages
* fix: weird format issue in header.go
* fix: add x-robots-tag=none to grpcwebserver
* fix linting
---------
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-05-05 10:25:02 +02:00
mffap
d224172a31
docs(contrib): fix headings, add embedded code ( #5752 )
2023-05-04 16:03:07 +02:00
mffap
696fb390ae
docs(concepts): Describe audit trail feature ( #5747 )
...
* docs(concepts): Audit Trail
* event viewer
* event api
* future plans
* fix broken links
* external system
* link to logs (dependency)
* correct link
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@zitadel.com>
* service user link
* replace image
---------
Co-authored-by: Florian Forster <florian@zitadel.com>
2023-05-04 15:37:28 +02:00
mffap
9c3f149cd7
docs(sh-manage): add logging to production setup ( #5800 )
...
* docs(sh-manage): add logging to production setup
* Update docs/docs/self-hosting/manage/production.md
Co-authored-by: Florian Forster <florian@zitadel.com>
* add suggestion from review
---------
Co-authored-by: Florian Forster <florian@zitadel.com>
2023-05-04 12:37:01 +00:00
Livio Spring
f1534c0c4c
refactor: use new protoc plugin for api v2 ( #5798 )
...
* refactor: use new protoc plugin for api v2
* simplify code
2023-05-04 08:50:19 +00:00
Tim Möhlmann
e772ae55ab
chore: integration test base ( #5739 )
...
Add integrations tests for the gRPC API, primarily targeted at `v2` but
can also be used for legacy. Provides a crude framework that runs a
server, prepares a client and exposes the underlying resources such as
`command` and `query` handlers to the tester. The code in
`internal/integration` is written just as a proof of concept and
probably needs to be split up in more reusable chunks when we need more
functionality, like multiple users, organisations, instances etc.
Integrations tests for `user/v2alpha` are also included.
See the added documentation for more details.
Related to #5598
2023-05-04 09:45:04 +02:00
Tim Möhlmann
11f0f54ce5
Merge branch 'main' into integration-tests
2023-05-04 09:11:59 +02:00
Fabi
59fb58b185
docs: technical advisory ( #5792 )
...
* docs: technical advisory
* Update docs/sidebars.js
Co-authored-by: mffap <mpa@zitadel.com>
* Update docs/docs/support/advisory/a10000.md
Co-authored-by: mffap <mpa@zitadel.com>
* Update docs/docs/support/advisory/a10000.md
Co-authored-by: mffap <mpa@zitadel.com>
* Update docs/docs/support/advisory/a10000.md
Co-authored-by: mffap <mpa@zitadel.com>
---------
Co-authored-by: mffap <mpa@zitadel.com>
2023-05-04 08:32:02 +02:00
mffap
53654cb44a
docs: instances, clean-up ( #5796 )
...
* instances
* delete rate limits
* service users
* serviceusers
* serviceusers
2023-05-03 15:13:07 +02:00
Tim Möhlmann
5f0c1b5290
resolve comments
2023-05-03 15:10:27 +02:00
Tim Möhlmann
4934d6f4fa
Merge branch 'main' into integration-tests
2023-05-02 19:24:37 +03:00
Tim Möhlmann
c839cb3ce0
tie loose ends, documentation
2023-05-02 19:24:24 +03:00
Livio Spring
e0505b2def
fix: use correct org id for external authentication actions ( #5793 )
2023-05-02 16:03:33 +00:00
Silvan
40bf7e49cc
fix: correct tracing in access interceptor ( #5766 )
2023-05-02 08:46:44 +00:00
Tim Möhlmann
f011882b2d
Merge branch 'main' into grcp-server-reflect
2023-04-30 14:40:13 +03:00
Silvan
39bdef35e7
chore: merge ( #5773 )
...
* feat: allow skip of success page for native apps (#5627 )
add possibility to return to callback directly after login without rendering the successful login page
* build next
* fix(console): disallow inline fonts, critical styles (#5714 )
fix: disallow inline
* fix(setup): step 10 for postgres (#5717 )
* fix(setup): smaller transactions (#5743 )
* fix: order by sequence by default
* test: add allowCreationDateFilter
* fix(step10): separate executions (#5754 )
* feat: allow skip of success page for native apps (#5627 )
add possibility to return to callback directly after login without rendering the successful login page
* build next
* fix(console): disallow inline fonts, critical styles (#5714 )
fix: disallow inline
* fix(setup): step 10 for postgres (#5717 )
* fix(setup): smaller transactions (#5743 )
* fix(step10): split statements
* fix(step10): split into separate execs
* chore: prerelease
* add truncate before insert
* fix: add truncate
* Merge branch 'main' into optimise-step-10
* chore: reset release definition
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
2023-04-28 14:56:51 +00:00
Tim Möhlmann
498c4436ae
inegration tests for user email
2023-04-28 17:44:59 +03:00
Livio Spring
458a383de2
fix: use current sequence for refetching of events ( #5772 )
...
* fix: use current sequence for refetching of events
* fix: use client ids
2023-04-28 16:28:13 +02:00
Silvan
c8c5cf3c5f
feat(cli): add setup cleanup
sub command ( #5770 )
...
* feat(cli): add `setup cleanup` sub command
* chore: logging
* chore: logging
2023-04-28 11:55:35 +00:00