Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use ky in integration tests #5584

Merged
merged 4 commits into from Mar 29, 2024
Merged

refactor: use ky in integration tests #5584

merged 4 commits into from Mar 29, 2024

Conversation

gao-sun
Copy link
Member

@gao-sun gao-sun commented Mar 28, 2024

Summary

  • since node 18, native fetch are supported, so we can use ky for a way smaller bundle size (758KB vs. 3.3KB) & leveraging native fetch
  • (hopefully) resolve the random "socket hang up" issue in integration testing

Main updates

  • statusCode -> status
  • no .body
  • followRedirect: false -> redirect: 'manual' note that under this config a redirect will throw error (in got it resolves)
  • cannot directly use .deepStrictEqual() against .json() and another plain object. need spreading.

this is the first pull of replacing with ky. will open another to complete the replacement.

About the "socket hang up" issue

the possible cause: nodejs/node#47130 someone commented with "use native fetch then it's ok" so we have this pull

it seems to work and may explain the random timeout in core and cloud service as well.

Testing

ci

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@github-actions github-actions bot added the enhancement Make it better label Mar 28, 2024
Copy link

github-actions bot commented Mar 28, 2024

COMPARE TO master

Total Size Diff 📉 -2.06 KB

Diff by File
Name Diff
packages/console/package.json 0 Bytes
packages/experience/package.json 0 Bytes
packages/integration-tests/jest.setup.api.js 📉 -251 Bytes
packages/integration-tests/jest.setup.js 📉 -7 Bytes
packages/integration-tests/package.json 📉 -30 Bytes
packages/integration-tests/src/api/api.ts 📉 -10 Bytes
packages/integration-tests/src/api/application.ts 📉 -102 Bytes
packages/integration-tests/src/api/connector.ts 📉 -51 Bytes
packages/integration-tests/src/api/custom-phrase.ts 📉 -15 Bytes
packages/integration-tests/src/api/factory.ts 📉 -560 Bytes
packages/integration-tests/src/api/interaction-sso.ts 📉 -29 Bytes
packages/integration-tests/src/api/interaction.ts 📉 -311 Bytes
packages/integration-tests/src/api/organization.ts 0 Bytes
packages/integration-tests/src/api/resource.ts 📉 -37 Bytes
packages/integration-tests/src/api/scope.ts 📉 -37 Bytes
packages/integration-tests/src/client/index.ts 📉 -120 Bytes
packages/integration-tests/src/helpers/admin-tenant.ts 📉 -27 Bytes
packages/integration-tests/src/helpers/index.ts 📉 -36 Bytes
packages/integration-tests/src/helpers/interactions.ts 📉 -4 Bytes
packages/integration-tests/src/include.d/node-fetch.d.ts 📉 -87 Bytes
packages/integration-tests/src/tests/api/admin-user.roles.test.ts 📉 -9 Bytes
packages/integration-tests/src/tests/api/admin-user.search.test.ts 📉 -19 Bytes
packages/integration-tests/src/tests/api/admin-user.test.ts 📉 -112 Bytes
packages/integration-tests/src/tests/api/application/application-sign-in-experience.test.ts 📉 -12 Bytes
packages/integration-tests/src/tests/api/application/application-user-consent-organization.test.ts 📉 -16 Bytes
packages/integration-tests/src/tests/api/application/application-user-consent-scope.test.ts 📉 -32 Bytes
packages/integration-tests/src/tests/api/application/application.roles.test.ts 📉 -17 Bytes
packages/integration-tests/src/tests/api/application/application.test.ts 📉 -10 Bytes
packages/integration-tests/src/tests/api/callback.test.ts 📉 -23 Bytes
packages/integration-tests/src/tests/api/connector.test.ts 📉 -17 Bytes
packages/integration-tests/src/tests/api/custom-phrase.test.ts 📉 -1 Bytes
packages/integration-tests/src/tests/api/dashboard.test.ts 📉 -12 Bytes
packages/integration-tests/src/tests/api/domains.test.ts 📉 -13 Bytes
packages/integration-tests/src/tests/api/health-check.test.ts 📉 -4 Bytes
packages/integration-tests/src/tests/api/hook/hook.test.ts 📉 -19 Bytes
packages/integration-tests/src/tests/api/hook/hook.testing.test.ts 📉 -16 Bytes
packages/integration-tests/src/tests/api/interaction/api-counter-cases/interaction-details-guard.test.ts 📉 -40 Bytes
packages/integration-tests/src/tests/api/interaction/api-counter-cases/interaction-results-checking.test.ts 📉 -32 Bytes
packages/integration-tests/src/tests/api/interaction/api-counter-cases/patch-interaction-identifiers.test.ts 📉 -4 Bytes
packages/integration-tests/src/tests/api/interaction/api-counter-cases/post-send-verification-code.test.ts 📉 -178 Bytes
packages/integration-tests/src/tests/api/interaction/api-counter-cases/put-interaction-event.test.ts 📉 -24 Bytes
packages/integration-tests/src/tests/api/interaction/api-counter-cases/put-interaction.test.ts 📉 -32 Bytes
packages/integration-tests/src/tests/api/interaction/forgot-password/happy-path.test.ts 📉 -16 Bytes
packages/integration-tests/src/tests/api/interaction/forgot-password/sad-path.test.ts 📉 -12 Bytes
packages/integration-tests/src/tests/api/interaction/mfa/backup-code.test.ts 📉 -8 Bytes
packages/integration-tests/src/tests/api/interaction/mfa/totp.test.ts 📉 -24 Bytes
packages/integration-tests/src/tests/api/interaction/register-with-identifier/happy-path.test.ts 📉 -16 Bytes
packages/integration-tests/src/tests/api/interaction/register-with-identifier/sad-path.test.ts 📉 -16 Bytes
packages/integration-tests/src/tests/api/interaction/register-with-identifier/single-sign-on.test.ts 📉 -4 Bytes
packages/integration-tests/src/tests/api/interaction/sign-in-with-passcode-identifier/happy-path.test.ts 📉 -28 Bytes
packages/integration-tests/src/tests/api/interaction/sign-in-with-passcode-identifier/sad-path.test.ts 📉 -40 Bytes
packages/integration-tests/src/tests/api/interaction/sign-in-with-passcode-identifier/single-sign-on.test.ts 📉 -4 Bytes
packages/integration-tests/src/tests/api/interaction/sign-in-with-password-identifier/happy-path.test.ts 📉 -8 Bytes
packages/integration-tests/src/tests/api/interaction/sign-in-with-password-identifier/sad-path.test.ts 📉 -40 Bytes
packages/integration-tests/src/tests/api/interaction/sign-in-with-password-identifier/single-sign-on.test.ts 📉 -4 Bytes
packages/integration-tests/src/tests/api/interaction/single-sign-on/happy-path.test.ts 📉 -110 Bytes
packages/integration-tests/src/tests/api/interaction/single-sign-on/sad-path.test.ts 📉 -56 Bytes
packages/integration-tests/src/tests/api/interaction/social-sign-in/happy-path.test.ts 📉 -41 Bytes
packages/integration-tests/src/tests/api/interaction/social-sign-in/sad-path.test.ts 📉 -60 Bytes
packages/integration-tests/src/tests/api/log.test.ts 📉 -4 Bytes
packages/integration-tests/src/tests/api/logto-config.test.ts 📉 -32 Bytes
packages/integration-tests/src/tests/api/me.test.ts 📉 -8 Bytes
packages/integration-tests/src/tests/api/oidc/content-type-json.test.ts 📉 -37 Bytes
packages/integration-tests/src/tests/api/oidc/get-access-token.test.ts 📉 -32 Bytes
packages/integration-tests/src/tests/api/oidc/refresh-token-grant.test.ts 📉 -282 Bytes
packages/integration-tests/src/tests/api/organization/organization-invitation.creation.test.ts 📉 -18 Bytes
packages/integration-tests/src/tests/api/organization/organization-invitation.status.test.ts 📉 -30 Bytes
packages/integration-tests/src/tests/api/organization/organization-role.test.ts 📉 -87 Bytes
packages/integration-tests/src/tests/api/organization/organization-scope.test.ts 📉 -65 Bytes
packages/integration-tests/src/tests/api/organization/organization-user.test.ts 📉 -45 Bytes
packages/integration-tests/src/tests/api/organization/organization.test.ts 📉 -13 Bytes
packages/integration-tests/src/tests/api/resource.scope.test.ts 📉 -33 Bytes
packages/integration-tests/src/tests/api/resource.test.ts 📉 -25 Bytes
packages/integration-tests/src/tests/api/role.application.test.ts 📉 -29 Bytes
packages/integration-tests/src/tests/api/role.scope.test.ts 📉 -41 Bytes
packages/integration-tests/src/tests/api/role.test.ts 📉 -37 Bytes
packages/integration-tests/src/tests/api/role.user.test.ts 📉 -33 Bytes
packages/integration-tests/src/tests/api/sign-in-experience.test.ts 📉 -4 Bytes
packages/integration-tests/src/tests/api/sso-connectors.test.ts 📉 -9 Bytes
packages/integration-tests/src/tests/api/swagger-check.test.ts 📉 -4 Bytes
packages/integration-tests/src/tests/api/verification-code.test.ts 📉 -186 Bytes
packages/integration-tests/src/tests/api/well-known.test.ts 📉 -5 Bytes
packages/integration-tests/src/tests/experience/password-policy.test.ts 📉 -56 Bytes
packages/integration-tests/src/utils.ts 📉 -74 Bytes
pnpm-lock.yaml 📉 -1.22 KB

@gao-sun
Copy link
Member Author

gao-sun commented Mar 29, 2024

currently low roi

@gao-sun gao-sun closed this Mar 29, 2024
@gao-sun gao-sun deleted the gao-use-ky branch March 29, 2024 05:21
@gao-sun gao-sun restored the gao-use-ky branch March 29, 2024 07:23
@gao-sun gao-sun reopened this Mar 29, 2024
@gao-sun gao-sun force-pushed the gao-use-ky branch 2 times, most recently from e7c503d to 56de71c Compare March 29, 2024 08:51
@charIeszhao charIeszhao marked this pull request as ready for review March 29, 2024 10:06
@gao-sun gao-sun enabled auto-merge (squash) March 29, 2024 10:09
@gao-sun gao-sun mentioned this pull request Mar 29, 2024
4 tasks
@gao-sun gao-sun merged commit 6d56434 into master Mar 29, 2024
25 checks passed
@gao-sun gao-sun deleted the gao-use-ky branch March 29, 2024 10:10
SamSalvatico added a commit to ogcio/logto that referenced this pull request Apr 11, 2024
* chore(schemas): renaming

* refactor(core): refactor code

* refactor(core): overload  function interface

* refactor(core): refactor

* feat(core): add GET /configs/jwt-customizer API

* chore(core,test): update tests and refactor getJwtCustomizer query

* fix(test): fix tests

* refactor(core): refactor

* feat(core): add GET /configs/jwt-customizer API

* feat(core): add DELETE /configs/jwt-customizer API

* fix(core): fix rebase

* refactor(console): implement environment variables input field (1/2) (logto-io#5471)

* refactor(console): extract the KeyValueInput ds component

extract the KeyValueInput ds component

* fix(console): remove unused styles

remove unused styles

* refactor(console): extract the FormField from KeyValueInput

extract the FormField from KeyValueInput

* fix(console): refactor some code based on code review comment

refactor some code based the code review comment

* feat(console,phrases): implement environment variables input field (2/2) (logto-io#5473)

feat(console,phrases): implement environment variables input field

implement environment variables input field

* feat(console,phrases): add test sample code editor (logto-io#5475)

* feat(console,phrases): add test sample code editor

add test sample code editor

* fix(console): remove unused styles

remove unused styles

* refactor(console): refactor the components structure

erfactor the components structure

* refactor(console): clean up the root component

clean up the root component

* feat(console,phrases): add test result component (logto-io#5479)

* feat(console,phrases): add test result component

add test result component

* fix(console): remove unused styles

remove unused styles

* feat(core): create user with avatar and custom data (logto-io#5476)

* feat(core): add password algorithm transition (logto-io#5481)

* chore(console): component rename (logto-io#5480)

rename component XXXPanel -> XXXSection

* fix(console): fix input field background color (logto-io#5478)

* feat(console, phrases): implement the copy, clear and reset button (logto-io#5490)

* refactor(console): replace copy button with CopyToClipboard component

replace copy button with CopyToClipboard component

* feat(console): implement the clear and reset button

implement the clear and reset button

* refactor(console): bind RHF controller to the code editor

bind RHF controller to the code editor

* chore(console): add some comments

add some comments

* feat(core,schemas): update jwt customizer user info context

* feat(console): add change alert and save changes footer (logto-io#5492)

* feat(console): add change alert and save changes footer

add change alert and save changes footer

* chore(console): add useMemo hook

add useMemo hook

* refactor(experience): skip non-object messages in native (logto-io#5491)

* refactor(experience): skip non-object messages in native

* chore: add changeset

* chore(schemas): add cloud scope, service log type and API guard

* refactor(core): update organization invitation apis (logto-io#5474)

* refactor(core): update organization invitation apis

* chore: add api tests

* refactor(core,console): align the jwt token path enum (logto-io#5493)

align the jwt token path enum used in console and core

* feat(console,phrases): integrate jwt customizer api (logto-io#5495)

* feat(console,phrases): integrate jwt customizer api

integrate jwt customizer api

* chore(console): update the comment

update the comment

* fix(console): clear the console logs

clear the console logs

* refactor(console,core,schemas): rename the jwtCustomizer related type and guards (logto-io#5496)

rename the jwtCustomizer related type and guards

* feat(phrases): add i18n phrases for cloud collaboration

* feat(console): add global loading skeleton (logto-io#5498)

add global loading skeleton

* fix(console): fix code edtior set undefined value bug (logto-io#5499)

fix the code editor set undefined value bug

* fix(core): the koa response status guard missing 422 in sso integration API (logto-io#5506)

* chore(schemas): export custom JWT API request body type (logto-io#5510)

chore(schemas): export custom jwt API request body type

* refactor: remove slonik from shared

* refactor: fix errors

* refactor: use silverhand slonik

* chore: upgrade slonik

* refactor: remove unused files

* chore: add changeset for the bug fix PR (logto-io#5507)

add changeset for the bug fix PR

* feat(core): set oidc issuer to custom domain (logto-io#5509)

* feat(core): set oidc issuer to custom domain

* refactor(core): get tenant id return whether is custom domain

* test(core): mock crypto functions in password tests (logto-io#5522)

* refactor: update invitation apis

* feat: allow get invitations by invitee

* refactor(console): refactor the code editor type definition (logto-io#5516)

* refactor(console): refactor the code editor type definition

refactor the code editor type definition

* refactor(console): extract type definition gen process

extract the type definition gen step to the build time. As typescript is not available at run time.

* fix(console): add generate to console build script

add generate to console build script

* fix(console): add prettier format

add prettier format

* refactor(console): replace the field table with type definition code (logto-io#5519)

* refactor(console): replace the field table with type definition code

replace the field table with type definition code

* refactor(console): rebase and pickup the generated type definitions

rebase and pickup the generated type definitions

* feat: return and store connector raw data

* chore: add exception for connector template

* refactor(core): update user context type

* feat: add oidc standard claims to user

* refactor(core,schemas): refactor to improve lib method performance

* fix(console): fix some user related type in console

* refactor(console,phrases): refactor the jwt customizer content (logto-io#5527)

* refactor(console,phrases): refactor the jwt customizer content

refactor the jwt customizer content

* fix(console): add isDev guard

add isDev guard

* refactor(core): refactor oidc sso connector (logto-io#5528)

refactor oidc sso connector

* refactor: fix type issues

* refactor: fix tests

* chore: remove org role scopes field since it relies on pagination setup

* feat: add profile api, update api and database, add tests

* chore: add changeset and api doc

* ci: bump workflow version (logto-io#5533)

* fix(schemas): fix the get interation/consent api bug (logto-io#5503)

* fix(schemas): fix the get interation/consent api bug

fix the get interation/consent api bug

* chore: update changeset

update changeset

* fix: update changeset

update changeset

* refactor(schemas, console): alter the resource scopes description field to nullable (logto-io#5504)

* refactor(schemas, console): alter the resoruce scopes description field nullable

make the resourec scopes description nullable

* fix(test): fix the type issue in the integration test

fix the type issue in the integration test

* fix(console): add the field register

add the field register

* fix: update the changeset

update the changeset

* fix(console,test): update comments and rebase

update comments and rebase the master

* chore: add comments

* feat(core): add POST /configs/jwt-customizer/test API

* refactor(core): use discriminate union for custom jwt test API

* chore: update core dependency

* chore: add todo

* chore: remove 500 status guard

* refactor: refactor

* refactor(core): add cloud-only API prune for API docs

* refactor: remove cloud only operations when needed

* refactor: keep origin customJwtFetcherGuard

* refactor: adopt suggestion

* chore(schemas): remove deprecated `prune:logs` scope (logto-io#5524)

* chore: add status 403 for custom jwt test API

* feat(console): integrate jwt customizer test api (logto-io#5532)

* feat(console): integrate jwt customizer test api

integrate jwt customizer test api

* refactor(console,core): jwt test api integration

jwt test api integration

* chore: add cloud connection scope config for fetching custom jwt

---------

Co-authored-by: Darcy Ye <darcyye@silverhand.io>

* feat(console): add tenant member and invitation lists (logto-io#5501)

* feat(console): add tenant member and invitation lists

* refactor: polish code per comments

* fix: lockfile

* Update README.md (logto-io#5535)

logto-io#1937 (comment)

* refactor: fix test and ci

* feat(core): add the support on custom JWT feature

* fix: cloud connection should bypass custom JWT flow

* chore: update cloud dependency

* refactor(core): add cache for cloud connection data

* refactor: block admin tenant from using creating jwt-customizer API

* refactor: remove credentials cache

* refactor: try catch extraTokenClaims function to avoid breaking the auth process

* style(console): fix the jwt test panel layout (logto-io#5538)

fix the jwt test panel layout

* chore: fix

* chore: fix

* refactor(core): remove unused mark mfa skip function (logto-io#5517)

fixed logto-io#5482

* chore(schemas): add comments for `ReservedPlanId` (logto-io#5542)

* refactor(console): extract shared quota between featured plan and comparison table (logto-io#5543)

* refactor(console): avoid nested modal content for role creation (logto-io#5544)

* refactor: reorder code

* refactor: not update console cloud dependency

* refactor(phrases,core,console): update API and console error handling/display

* chore: add comments

* refactor(schemas,core,console): skip onboarding if user has pending invitations (logto-io#5547)

* fix(core): fix the post domains api error status code (logto-io#5552)

fix the post domains api error status code

* chore: bump @logto dependencies (logto-io#5548)

* chore(phrases): add i18n phrases for console invitation interim pages (logto-io#5553)

* refactor(console): reorg sidebar menu items (logto-io#5550)

* fix(core,phrases): fix custom JWT PUT API block admin tenant logic

* feat: support direct sign-in (logto-io#5536)

* feat: support direct sign-in

* chore: add changesets

* refactor: add test cases

* chore(deps): upgrade logto sdks

* chore(deps): update softprops/action-gh-release action to v2 (logto-io#5486)

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

* chore(schemas): update customJwtFetcherGuard to specify custom jwt use case

* feat(console): invite members dialog (logto-io#5531)

* feat(console): add console landing page to accept user invitation (logto-io#5554)

* chore(deps): update packges (logto-io#5545)

* chore(deps): upgrade puppeteer

* chore: replace plugin

* refactor: fix tests

* feat(core,schemas): add new Azure OIDC SSO connector (logto-io#5540)

add new Azure OIDC SSO connector

* refactor(core,schemas): refactor the sso connector factory type (logto-io#5541)

* refactor(core,schemas): refactor the sso connector factory type

refactor the sso connector factory type and add providerType to the config data

* fix(core): fix ut

fix ut

* refactor(schemas): add the providerType to the providerDetails return type

add the new providerType property to the providerDetails return type

* refactor(console): refactor useApi (logto-io#5549)

refactor useApi hideToast logic

* refactor(console): refactor sso detail pages (logto-io#5551)

* refactor(console): refactor sso detail pages

refactor sso details pages

* fix(console): fix the sso paywall guard content

fix the sso paywall guard content

* style(console): fix the color code white css (logto-io#5564)

fix the color code white css

* feat(console): support signing-key rotation for oss version (logto-io#5559)

* fix(console,phrases): api resource indicator should be a valid absolute uri (logto-io#5561)

* fix(console,phrases): api resource indicator should be a valid absolute uri

* refactor: use vitest for connectors (logto-io#5562)

* fix(console): fix jwt test context code editor bug (logto-io#5563)

fix jwt test context code editor bug

* fix(console): fix the zod-to-ts type infer bug (logto-io#5566)

fix the zod-to-ts type infer bug

* feat(console): implement interim landing page for new users to join invited tenants (logto-io#5560)

* feat(console): support permission editing (logto-io#5567)

* chore(schemas,core): update custom JWT sample token payload guard

* feat(console): add quick join options in tenant selector dropdown (logto-io#5568)

* feat(console): implement interim landing page for new users to join invited tenants

* feat(console): add quick join options in tenant selector dropdown

* chore(console): update the default user context as well

* refactor: remove jest

* refactor: remove jest

* refactor: add back `build:test` for other packages

* chore: add test coverage pacakge

* refactor: remove jest

* test: wait 0ms after each test

* refactor(console): update tenant settings access per user tenant scopes (logto-io#5571)

* test: add integration tests for jwt (logto-io#5565)

* test: improve integration tests (logto-io#5577)

* refactor(schemas): remove invite member scope from tenant member role (logto-io#5578)

* fix(deps): update dependency snakecase-keys to v7 (logto-io#5556)

* fix(deps): update dependency snakecase-keys to v7

* test: wait for 1ms for every api test

---------

Co-authored-by: Gao Sun <gao@silverhand.io>

* fix(deps): update dependency snake-case to v4 (logto-io#5534)

Co-authored-by: Gao Sun <gao@silverhand.io>

* chore: add comments for cloud seed data (logto-io#5583)

* feat(schemas): add new scope read:member to both tenant admin and member roles (logto-io#5582)

* chore: update cloud version and the way to call cloud custom JWT API

* fix(console,phrases): should check duplicated emails when inviting members (logto-io#5581)

fix(console,phrases): check duplicated emails when inviting members

* fix(console): revert the custom jwt forms overflow hidden (logto-io#5573)

revert the custom jwt forms overflow hidden styles

* feat(schemas): add util method to convert admin tenant org id to user tenant id (logto-io#5570)

* refactor: use ky in integration tests (logto-io#5584)

* refactor: use ky in integration tests

* refactor: remove node-fetch

* refactor: fix test cases

* refactor: remove waitFor after each test

* feat: support direct sign-in for sso (logto-io#5589)

* chore(core): update GET /configs/jwt-customizer/:tokenPath API error handling (logto-io#5595)

* refactor(core): reorg and separate logto-config APIs into files

* chore(cli): update translate CLI configs

* fix(console): refresh invitation list after inviting members (logto-io#5593)

* test: add tests for username case sensitive (logto-io#5597)

* refactor(console): move organization template into a single page (logto-io#5590)

* refactor(console): move organization template into a single page

* feat(phrases): add org template translations

* feat(console): implement custom jwt landing page

implement custom jwt landing page

* refactor(console): relocalte the component files

relocate the component files

* refactor(console): rename the jwtClaims page

rename the jwtClaims page

* refactor(console,phrases): refactor the customize jwt details page

refactor the customize jwt details page

* refactor(console): remove unused element

remove unused element

* refactor(console): redesign the jwt details page

redesign the jwt details page

* feat(console): update jwt create page button text

update jwt create page button text

* chore(console): align custom JWT path and hide the entrance for OSS

* style(console): refine the SSO connector create model (logto-io#5594)

refine the sso connector create model

* fix(console): only pending invitations can be resent (logto-io#5601)

* fix(core): update expired invitation to expired before inserting a new one (logto-io#5609)

* feat(console): add leave tenant button in tenant settings (logto-io#5600)

* fix(console): joining tenant should navigate user to the new tenant (logto-io#5602)

* chore(core,console): update error handling of testing custom JWT

* feat(core): add PATCH /configs/jwt-customizer API

* fix(console): reset form as soon as JWT customizer is created (logto-io#5612)

* feat(core,schemas): log extraTokenClaims exception (logto-io#5539)

* refactor(console): improve invitation email input field (logto-io#5615)

* refactor(schemas): rename tenant member role to collaborator (logto-io#5616)

* fix(console,phrases): fix a batch of organization invitation console ui issues (logto-io#5614)

* feat(console): support org permission management on new org template page (logto-io#5603)

* feat(console): support org permission management on new org template page

* refactor(console): rename org pages

* refactor(console): rename phrase keys

* refactor(console): rename org to organization

* feat(console): add org role details general settings page (logto-io#5610)

* chore(console,phrases): update content and fix console

* chore(console,toolkit): update custom JWT details page code editor action buttons style

* refactor(console,phrases): rename tenant member role to collaborator (logto-io#5618)

* chore(console,toolkit): update custom JWT details page code editor action buttons style

* chore(core,console,schemas): update variable name and field name

* refactor(experience): fix sso callback page style (logto-io#5624)

* refactor(phrases): add zh-cn phrases in OIDC consent page (logto-io#5606)

* feat(phrases): add i18n phrases for zh-cn about OICD Authorize page

* refactor: apply suggestions from code review

---------

Co-authored-by: Gao Sun <gao@silverhand.io>

* chore(console): update style

chore(console): update style

* refactor(console,phrases): display inviter name on tenant invitations table (logto-io#5622)

* refactor(console,phrases): display inviter name on tenant invitations table

* chore: bump @logto/cloud

* chore: update pnpm lockfile

* refactor: update dependency on @logto/cloud and update legacy JWT customizer

* fix(console): temporarily fix pro plan cannot invite members issue (logto-io#5629)

* feat(console): create organization role (logto-io#5630)

* feat(console): add permissions page for org role details page (logto-io#5631)

* refactor(console): reorg resource details page (logto-io#5634)

* feat(core): search organization roles (logto-io#5627)

* feat(core,schemas): add organization resource scope relations (logto-io#5608)

* feat(console): add azure OIDC guide (logto-io#5592)

add azure OIDC guide

* feat(core,schemas): edit and query resource scopes for org role (logto-io#5613)

* fix(console,phrases): update the jwt test section content (logto-io#5641)

update the jwt test section content

* style(console): fix the jwt details page style (logto-io#5642)

* style(console): fix the jwt details page style

fix the jwt details page style

* fix(console): remove the unused style

remove the unused style

* fix(console): remove sticky position

remove sticky position

* feat(console,core,phrases): add quota guard for cloud collaboration in console (logto-io#5644)

* fix(console): fix test result panel overflow bug (logto-io#5643)

fix test result panel overflow bug

* chore(schemas): fix alteration timestamp (logto-io#5645)

chore(schemas): fix alteration scripts order

* feat(console): support searching for organization roles (logto-io#5646)

* chore(schemas): fix alteration down (logto-io#5648)

* refactor(console): show confirm box when inviting a member as admin (logto-io#5649)

* fix(console): should stop requesting invitations api for collaborator role (logto-io#5650)

* feat(console): add guide for organization template page (logto-io#5647)

* refactor(console): collaborator can see tenant domain settings in readonly mode (logto-io#5652)

* refactor(console): hide switching tabs and invite button for collaborators (logto-io#5654)

* refactor(console): improve switch button styles (logto-io#5655)

* fix(console): user should switch account and accept invitation properly in console (logto-io#5657)

* fix(console): bump js sdks to fix the cannot switch user account issue

* fix(console): accept invitation automatically after switching account

* refactor(console): improve tenant member role related experience (logto-io#5659)

* refactor(console,phrases): improve invite email input (logto-io#5661)

* fix(console): go to onboarding process on clicking create new tenant button (logto-io#5663)

* fix(connector): fix microsoft social connector readme (logto-io#5658)

* fix(connector): fix microsoft social connector readme

fix microsoft social connector readme

* fix(connector): improve wording

improve wording

* fix(experience): fix the terms of use not clickable bug (logto-io#5670)

* fix(experience): fix the terms of use not clickable bug

fix the terms of use not clickable bug

* chore: remove changeset

remove changeset

* chore(console): remove dev feature flags for cloud collaboration (logto-io#5666)

* chore(console): update pricing plan items for jwt claims (logto-io#5672)

* refactor(console): redirect to sign-up page on clicking invitation links (logto-io#5669)

* chore: add changeset (logto-io#5668)

add changeset

* refactor(experience): fall back to sign-in page when error (logto-io#5673)

* refactor(experience): fall back to sign-in page for edge cases

* refactor: add unit tests

* refactor: fix tests

* release: version packages (logto-io#5463)

* feat(cli): updated references to slonik lib

---------

Co-authored-by: Darcy Ye <darcyye@silverhand.io>
Co-authored-by: simeng-li <simeng@silverhand.io>
Co-authored-by: wangsijie <wangsijie@silverhand.io>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
Co-authored-by: Gao Sun <gao@silverhand.io>
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
Co-authored-by: Julian Hackenberg <julian@hackenberg.dev>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pawn <115976311+the-pawn-2017@users.noreply.github.com>
Co-authored-by: silverhand-bot <107667382+silverhand-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants