0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00
Commit graph

5446 commits

Author SHA1 Message Date
simeng-li
777ef0e483
refactor(console,phrases): refactor the customize jwt details page
refactor the customize jwt details page
2024-04-01 15:23:18 +08:00
simeng-li
e3e8b14569
refactor(console): rename the jwtClaims page
rename the jwtClaims page
2024-04-01 15:22:41 +08:00
simeng-li
8115944e1d
refactor(console): relocalte the component files
relocate the component files
2024-04-01 15:21:16 +08:00
simeng-li
2f67dde7cb
feat(console): implement custom jwt landing page
implement custom jwt landing page
2024-04-01 15:21:14 +08:00
Xiao Yijun
9bf9f07f17
refactor(console): move organization template into a single page (#5590)
* refactor(console): move organization template into a single page

* feat(phrases): add org template translations
2024-04-01 10:20:54 +08:00
wangsijie
982aa918e6
test: add tests for username case sensitive (#5597) 2024-03-31 17:39:25 +08:00
Charles Zhao
0438a2e890
fix(console): refresh invitation list after inviting members (#5593) 2024-03-31 17:18:55 +08:00
Darcy Ye
39cacf45ff
chore(cli): update translate CLI configs 2024-03-31 16:20:45 +08:00
Darcy Ye
c1722c8793
refactor(core): reorg and separate logto-config APIs into files 2024-03-31 14:51:33 +08:00
Darcy Ye
e34cfd812a
chore(core): update GET /configs/jwt-customizer/:tokenPath API error handling (#5595) 2024-03-30 10:10:03 +08:00
Gao Sun
7756f50f8e
feat: support direct sign-in for sso (#5589) 2024-03-29 21:56:25 +08:00
Gao Sun
6d56434b48
refactor: use ky in integration tests (#5584)
* refactor: use ky in integration tests

* refactor: remove node-fetch

* refactor: fix test cases

* refactor: remove waitFor after each test
2024-03-29 10:10:13 +00:00
Charles Zhao
eb4c6c4e59
feat(schemas): add util method to convert admin tenant org id to user tenant id (#5570) 2024-03-29 18:00:31 +08:00
Darcy Ye
a77fd3f97f
Merge pull request #5585 from logto-io/yemq-log-8483-update-cloud-client-API-call
chore: update cloud version and the way to call cloud custom JWT API
2024-03-29 14:32:55 +08:00
simeng-li
867e1140a4
fix(console): revert the custom jwt forms overflow hidden (#5573)
revert the custom jwt forms overflow hidden styles
2024-03-29 10:39:37 +08:00
Charles Zhao
03144ae598
fix(console,phrases): should check duplicated emails when inviting members (#5581)
fix(console,phrases): check duplicated emails when inviting members
2024-03-29 10:03:37 +08:00
Darcy Ye
48cfdf51a3
chore: update cloud version and the way to call cloud custom JWT API 2024-03-29 02:03:58 +08:00
Charles Zhao
7e33eae6d9
feat(schemas): add new scope read:member to both tenant admin and member roles (#5582) 2024-03-28 23:48:11 +08:00
Gao Sun
a279fb4c6c
chore: add comments for cloud seed data (#5583) 2024-03-28 23:18:59 +08:00
renovate[bot]
dcb5eba305
fix(deps): update dependency snake-case to v4 (#5534)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-03-28 19:11:20 +08:00
renovate[bot]
961fd8ea99
fix(deps): update dependency snakecase-keys to v7 (#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>
2024-03-28 18:16:00 +08:00
Charles Zhao
3cc6d4b4f4
refactor(schemas): remove invite member scope from tenant member role (#5578) 2024-03-28 17:56:08 +08:00
Gao Sun
2ae8c112f5
test: improve integration tests (#5577) 2024-03-28 09:00:35 +00:00
wangsijie
80a3808398
test: add integration tests for jwt (#5565) 2024-03-28 17:00:08 +08:00
Gao Sun
113221e55d
Merge pull request #5574 from logto-io/gao-remove-jest
refactor: remove jest (partially)
2024-03-28 16:59:55 +08:00
Charles Zhao
a2899a8101
refactor(console): update tenant settings access per user tenant scopes (#5571) 2024-03-28 16:58:27 +08:00
Gao Sun
0ade3016d8
test: wait 0ms after each test 2024-03-28 16:26:58 +08:00
Gao Sun
3f152a8cab
refactor: remove jest 2024-03-28 14:49:15 +08:00
Gao Sun
02833b0c39
chore: add test coverage pacakge 2024-03-28 14:04:15 +08:00
Gao Sun
f549841b67
refactor: add back build:test for other packages 2024-03-28 12:59:13 +08:00
Gao Sun
340d562f37
refactor: remove jest 2024-03-28 12:55:10 +08:00
Darcy Ye
664c67dc6d
Merge pull request #5558 from logto-io/yemq-log-8448-update-sample-token-payload
chore(schemas,core): update custom JWT sample token payload guard
2024-03-28 12:14:29 +08:00
Gao Sun
412a3df1cf
refactor: remove jest 2024-03-28 12:07:54 +08:00
Darcy Ye
18041a6ccc
chore(console): update the default user context as well 2024-03-28 12:00:43 +08:00
Charles Zhao
afda22efa2
feat(console): add quick join options in tenant selector dropdown (#5568)
* feat(console): implement interim landing page for new users to join invited tenants

* feat(console): add quick join options in tenant selector dropdown
2024-03-28 11:27:39 +08:00
Darcy Ye
e0123fd415
chore(schemas,core): update custom JWT sample token payload guard 2024-03-28 11:20:44 +08:00
Xiao Yijun
ba966fdefe
feat(console): support permission editing (#5567) 2024-03-28 10:52:15 +08:00
Charles Zhao
f83e85ba55
feat(console): implement interim landing page for new users to join invited tenants (#5560) 2024-03-28 10:26:30 +08:00
simeng-li
6990a3ebb5
fix(console): fix the zod-to-ts type infer bug (#5566)
fix the zod-to-ts type infer bug
2024-03-28 10:23:08 +08:00
simeng-li
d1b19851f0
fix(console): fix jwt test context code editor bug (#5563)
fix jwt test context code editor bug
2024-03-28 10:22:27 +08:00
Gao Sun
d45cd37f9b
refactor: use vitest for connectors (#5562) 2024-03-28 10:21:50 +08:00
Darcy Ye
2ccc54ac98
Merge pull request #5557 from logto-io/yemq-log-8481-update-custom-jwt-fetcher
chore(schemas): update customJwtFetcherGuard to specify custom jwt use case
2024-03-27 18:26:44 +08:00
Charles Zhao
746483c494
fix(console,phrases): api resource indicator should be a valid absolute uri (#5561)
* fix(console,phrases): api resource indicator should be a valid absolute uri
2024-03-27 09:35:37 +00:00
Xiao Yijun
5758f84f5e
feat(console): support signing-key rotation for oss version (#5559) 2024-03-27 16:52:40 +08:00
simeng-li
d91e3e7d83
style(console): fix the color code white css (#5564)
fix the color code white css
2024-03-27 08:43:17 +00:00
simeng-li
ba16d1cf60
refactor(console): refactor sso detail pages (#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
2024-03-27 14:01:41 +08:00
simeng-li
affcecd0c6
refactor(console): refactor useApi (#5549)
refactor useApi hideToast logic
2024-03-27 03:49:33 +00:00
simeng-li
92d45f2432
refactor(core,schemas): refactor the sso connector factory type (#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
2024-03-27 03:10:48 +00:00
simeng-li
592d4672f0
feat(core,schemas): add new Azure OIDC SSO connector (#5540)
add new Azure OIDC SSO connector
2024-03-27 10:50:49 +08:00
Gao Sun
3f59461df6
chore(deps): update packges (#5545)
* chore(deps): upgrade puppeteer

* chore: replace plugin

* refactor: fix tests
2024-03-27 10:21:46 +08:00
Charles Zhao
2961b5399c
feat(console): add console landing page to accept user invitation (#5554) 2024-03-26 08:15:56 +00:00
Charles Zhao
c7a23dfe92
feat(console): invite members dialog (#5531) 2024-03-26 15:43:48 +08:00
Darcy Ye
0c4ba5b8a4
chore(schemas): update customJwtFetcherGuard to specify custom jwt use case 2024-03-26 14:37:42 +08:00
Gao Sun
2cbc591ff6
feat: support direct sign-in (#5536)
* feat: support direct sign-in

* chore: add changesets

* refactor: add test cases

* chore(deps): upgrade logto sdks
2024-03-26 13:23:41 +08:00
Darcy Ye
1f0ae00ce4
fix(core,phrases): fix custom JWT PUT API block admin tenant logic 2024-03-25 23:39:18 +08:00
Xiao Yijun
af53be8639
refactor(console): reorg sidebar menu items (#5550) 2024-03-25 18:46:26 +08:00
Charles Zhao
4766d224d9
chore(phrases): add i18n phrases for console invitation interim pages (#5553) 2024-03-25 18:38:06 +08:00
Charles Zhao
8d14c87652
chore: bump @logto dependencies (#5548) 2024-03-25 18:34:06 +08:00
simeng-li
a9b927910d
fix(core): fix the post domains api error status code (#5552)
fix the post domains api error status code
2024-03-25 10:18:36 +00:00
Darcy Ye
62bd784d4e
Merge pull request #5546 from logto-io/yemq-log-8470-update-custom-jwt-test-api-error-handling
refactor(phrases,core,console): update API and console error handling/display
2024-03-25 17:49:50 +08:00
Charles Zhao
a387bf2868
refactor(schemas,core,console): skip onboarding if user has pending invitations (#5547) 2024-03-25 17:45:06 +08:00
Darcy Ye
614375589d
chore: add comments 2024-03-25 17:38:21 +08:00
Darcy Ye
618c38f134
Merge pull request #5508 from logto-io/yemq-log-8338-update-extra-token-claims-logic
feat(core): add the support on custom JWT feature
2024-03-25 14:28:14 +08:00
Darcy Ye
9e67b670de
refactor(phrases,core,console): update API and console error handling/display 2024-03-25 14:18:01 +08:00
Darcy Ye
0f35538629
refactor: not update console cloud dependency 2024-03-25 14:17:11 +08:00
Darcy Ye
55e04cc683
refactor: reorder code 2024-03-25 14:00:05 +08:00
Xiao Yijun
7d86bf323f
refactor(console): avoid nested modal content for role creation (#5544) 2024-03-25 10:51:56 +08:00
Xiao Yijun
a538a1cc8a
refactor(console): extract shared quota between featured plan and comparison table (#5543) 2024-03-25 10:51:40 +08:00
Xiao Yijun
cec57e3c33
chore(schemas): add comments for ReservedPlanId (#5542) 2024-03-25 10:51:17 +08:00
wangsijie
ecd3db2c71
refactor(core): remove unused mark mfa skip function (#5517)
fixed #5482
2024-03-25 10:25:21 +08:00
Darcy Ye
5ea8c49c5d
chore: fix 2024-03-22 17:50:31 +08:00
Darcy Ye
ea796c15a5
chore: fix 2024-03-22 12:52:42 +08:00
simeng-li
3ff97d4ae1
style(console): fix the jwt test panel layout (#5538)
fix the jwt test panel layout
2024-03-22 11:19:59 +08:00
Darcy Ye
8ea166ad2d
refactor: try catch extraTokenClaims function to avoid breaking the auth process 2024-03-21 23:50:55 +08:00
Darcy Ye
210bb298be
refactor: remove credentials cache 2024-03-21 23:50:54 +08:00
Darcy Ye
8513dae8af
refactor: block admin tenant from using creating jwt-customizer API 2024-03-21 23:50:54 +08:00
Darcy Ye
ddd93dc977
refactor(core): add cache for cloud connection data 2024-03-21 23:50:54 +08:00
Darcy Ye
89ba8a1a0c
chore: update cloud dependency 2024-03-21 23:50:54 +08:00
Darcy Ye
18fb88ecdd
fix: cloud connection should bypass custom JWT flow 2024-03-21 23:50:53 +08:00
Darcy Ye
084ced1bd6
feat(core): add the support on custom JWT feature 2024-03-21 23:50:53 +08:00
Gao Sun
a98bc3da54
Merge pull request #5530 from logto-io/gao-add-oidc-standard-claims
feat: add oidc standard claims to user
2024-03-21 23:25:50 +08:00
Gao Sun
3cb9b892da
refactor: fix test and ci 2024-03-21 23:10:24 +08:00
Gao Sun
f60e64175f
Merge pull request #5526 from logto-io/gao-store-raw-data-social
feat: return and store social connector raw data
2024-03-21 22:47:13 +08:00
Charles Zhao
37cd6cced9
feat(console): add tenant member and invitation lists (#5501)
* feat(console): add tenant member and invitation lists

* refactor: polish code per comments

* fix: lockfile
2024-03-21 08:00:30 +00:00
simeng-li
f1f6b1cd61
feat(console): integrate jwt customizer test api (#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>
2024-03-21 15:26:30 +08:00
Darcy Ye
5c6af3823c
Merge pull request #5525 from logto-io/yemq-log-8444-add-jwt-customizer-test-api
feat(core): add POST /configs/jwt-customizer/test API
2024-03-21 13:04:19 +08:00
Darcy Ye
88f759c686
chore: add status 403 for custom jwt test API 2024-03-21 12:51:57 +08:00
Xiao Yijun
d913c8d5ca
chore(schemas): remove deprecated prune:logs scope (#5524) 2024-03-21 11:33:49 +08:00
Darcy Ye
239c17f367
refactor: adopt suggestion 2024-03-21 11:13:06 +08:00
Darcy Ye
b2e00df1b9
refactor: keep origin customJwtFetcherGuard 2024-03-21 10:58:36 +08:00
Gao Sun
45a7ee17aa
refactor: remove cloud only operations when needed 2024-03-21 10:57:25 +08:00
Darcy Ye
77b67fbd04
refactor(core): add cloud-only API prune for API docs 2024-03-21 10:57:25 +08:00
Darcy Ye
9c7956da5c
refactor: refactor 2024-03-21 10:57:23 +08:00
Darcy Ye
ed710b06ec
chore: remove 500 status guard 2024-03-21 10:56:13 +08:00
Darcy Ye
e72e927bb1
chore: add todo 2024-03-21 10:56:13 +08:00
Darcy Ye
aac7a7bcf8
chore: update core dependency 2024-03-21 10:56:13 +08:00
Darcy Ye
ef7e8e1fda
refactor(core): use discriminate union for custom jwt test API 2024-03-21 10:56:13 +08:00
Darcy Ye
5fbee28565
feat(core): add POST /configs/jwt-customizer/test API 2024-03-21 10:56:12 +08:00
Darcy Ye
f727ef8415
Merge pull request #5529 from logto-io/yemq-log-8446-update-user-context-type
refactor(core): update user context type
2024-03-21 10:54:46 +08:00
Darcy Ye
a2f20df9c9
chore: add comments 2024-03-20 14:35:08 +08:00
simeng-li
9518658595
fix(schemas): fix the get interation/consent api bug (#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 (#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
2024-03-20 14:31:35 +08:00
Gao Sun
abffb9f95e
chore: add changeset and api doc 2024-03-20 13:39:22 +08:00
Gao Sun
6feb531435
feat: add profile api, update api and database, add tests 2024-03-20 13:16:23 +08:00
Darcy Ye
e5e378d1bb
chore: remove org role scopes field since it relies on pagination setup 2024-03-20 12:58:12 +08:00
Gao Sun
d597681a67
refactor: fix tests 2024-03-20 11:57:48 +08:00
Gao Sun
bc110843e6
Merge pull request #5523 from logto-io/gao-allow-filter-invitation-by-invitee
feat: allow get invitations by invitee
2024-03-20 11:29:33 +08:00
Gao Sun
1bc40faf98
refactor: fix type issues 2024-03-20 11:00:11 +08:00
simeng-li
b994f1e2ad
refactor(core): refactor oidc sso connector (#5528)
refactor oidc sso connector
2024-03-20 10:20:01 +08:00
simeng-li
f638c8e6a2
refactor(console,phrases): refactor the jwt customizer content (#5527)
* refactor(console,phrases): refactor the jwt customizer content

refactor the jwt customizer content

* fix(console): add isDev guard

add isDev guard
2024-03-20 10:15:42 +08:00
Darcy Ye
8ac95a1bc2
fix(console): fix some user related type in console 2024-03-20 01:12:54 +08:00
Darcy Ye
8f5baac585
refactor(core,schemas): refactor to improve lib method performance 2024-03-20 00:47:56 +08:00
Gao Sun
beff82ae2c
feat: add oidc standard claims to user 2024-03-19 22:51:26 +08:00
Darcy Ye
348124b60e
refactor(core): update user context type 2024-03-19 16:01:55 +08:00
Gao Sun
5d692e30a9
chore: add exception for connector template 2024-03-19 15:19:41 +08:00
Gao Sun
57d97a4df8
feat: return and store connector raw data 2024-03-19 14:05:42 +08:00
simeng-li
d3d0f5133b
refactor(console): replace the field table with type definition code (#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
2024-03-19 05:04:08 +00:00
simeng-li
08acdf73e3
refactor(console): refactor the code editor type definition (#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
2024-03-19 04:50:07 +00:00
Gao Sun
23bc5cdc8e
Merge pull request #5521 from logto-io/gao-allow-unknown-keys-in-message-payload
refactor: allow unknown keys in send message payload
2024-03-19 10:49:52 +08:00
Gao Sun
98ca0a739d
feat: allow get invitations by invitee 2024-03-19 10:45:02 +08:00
Gao Sun
2c10c24232
refactor: update invitation apis 2024-03-19 10:38:36 +08:00
wangsijie
9aa07bf8ed
test(core): mock crypto functions in password tests (#5522) 2024-03-19 02:37:58 +00:00
Gao Sun
b40a3474aa
Merge pull request #5513 from logto-io/gao-use-svhd-slonik
refactor: use silverhand slonik
2024-03-19 09:26:59 +08:00
wangsijie
2f388c08bf
feat(core): set oidc issuer to custom domain (#5509)
* feat(core): set oidc issuer to custom domain

* refactor(core): get tenant id return whether is custom domain
2024-03-18 14:27:33 +08:00
Gao Sun
feaca53785
refactor: remove unused files 2024-03-18 10:04:25 +08:00
Gao Sun
0a5226c4be
chore: upgrade slonik 2024-03-18 09:59:38 +08:00
Gao Sun
fbbe767867
refactor: use silverhand slonik 2024-03-16 19:04:55 +08:00
Gao Sun
54c2b1d1e3
refactor: fix errors 2024-03-16 14:44:32 +08:00
Gao Sun
e22eb3a9d2
refactor: remove slonik from shared 2024-03-16 00:50:10 +08:00
Darcy Ye
2908c816e7
chore(schemas): export custom JWT API request body type (#5510)
chore(schemas): export custom jwt API request body type
2024-03-15 10:24:21 +00:00
Darcy Ye
58885b31cb
fix(core): the koa response status guard missing 422 in sso integration API (#5506) 2024-03-15 03:57:08 +00:00
simeng-li
e95a04619b
fix(console): fix code edtior set undefined value bug (#5499)
fix the code editor set undefined value bug
2024-03-14 02:50:30 +00:00
simeng-li
abb2c9f649
feat(console): add global loading skeleton (#5498)
add global loading skeleton
2024-03-14 10:15:07 +08:00
Charles Zhao
431c202569
feat(phrases): add i18n phrases for cloud collaboration 2024-03-13 21:18:22 +08:00
simeng-li
2a358bf241
refactor(console,core,schemas): rename the jwtCustomizer related type and guards (#5496)
rename the jwtCustomizer related type and guards
2024-03-13 06:35:47 +00:00
simeng-li
f11e95e1aa
feat(console,phrases): integrate jwt customizer api (#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
2024-03-13 14:21:08 +08:00
simeng-li
2c5a4491ae
refactor(core,console): align the jwt token path enum (#5493)
align the jwt token path enum used in console and core
2024-03-13 01:48:12 +00:00
Gao Sun
1965633bed
refactor(core): update organization invitation apis (#5474)
* refactor(core): update organization invitation apis

* chore: add api tests
2024-03-12 18:35:40 +08:00
Darcy Ye
733f092e40
chore(schemas): add cloud scope, service log type and API guard 2024-03-12 15:26:04 +08:00
Gao Sun
5a7204571a
refactor(experience): skip non-object messages in native (#5491)
* refactor(experience): skip non-object messages in native

* chore: add changeset
2024-03-12 11:27:18 +08:00
simeng-li
213d6f97a4
feat(console): add change alert and save changes footer (#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
2024-03-12 03:04:23 +00:00
Darcy Ye
c8eaa45417
Merge pull request #5487 from logto-io/yemq-log-8357-prepare-jwt-user-info-context
feat(core,schemas): add JWT customizer user info context
2024-03-12 11:01:31 +08:00
Darcy Ye
9eb1c4ad7f
feat(core,schemas): update jwt customizer user info context 2024-03-11 18:29:29 +08:00
simeng-li
56a6c5a213
feat(console, phrases): implement the copy, clear and reset button (#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
2024-03-11 16:39:54 +08:00
Charles Zhao
df5d2a2445
fix(console): fix input field background color (#5478) 2024-03-11 12:15:53 +08:00
simeng-li
bab50fceda
chore(console): component rename (#5480)
rename component XXXPanel -> XXXSection
2024-03-11 11:08:11 +08:00
wangsijie
95f4ba1856
feat(core): add password algorithm transition (#5481) 2024-03-08 18:04:13 +08:00
wangsijie
172411946a
feat(core): create user with avatar and custom data (#5476) 2024-03-08 03:29:39 +00:00
simeng-li
f44ba31275
feat(console,phrases): add test result component (#5479)
* feat(console,phrases): add test result component

add test result component

* fix(console): remove unused styles

remove unused styles
2024-03-08 10:18:24 +08:00
simeng-li
2d98982588
feat(console,phrases): add test sample code editor (#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
2024-03-07 16:57:59 +08:00
simeng-li
4e27e3465e
feat(console,phrases): implement environment variables input field (2/2) (#5473)
feat(console,phrases): implement environment variables input field

implement environment variables input field
2024-03-07 08:40:37 +00:00
simeng-li
fa3577e491
refactor(console): implement environment variables input field (1/2) (#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
2024-03-07 16:26:20 +08:00
Darcy Ye
57a9cfa6d3
fix(core): fix rebase 2024-03-07 15:06:50 +08:00
Darcy Ye
29d7642c6b
feat(core): add DELETE /configs/jwt-customizer API 2024-03-07 14:25:24 +08:00
Darcy Ye
74a70c068d
feat(core): add GET /configs/jwt-customizer API 2024-03-07 14:17:49 +08:00
Darcy Ye
ce2abe740c
Merge pull request #5465 from logto-io/yemq-log-8283-add-GET-configs-jwt-customizer-API
feat(core): add GET /configs/jwt-customizer API
2024-03-07 14:14:09 +08:00
Darcy Ye
81eb02239e
Merge pull request #5461 from logto-io/yemq-log-8282-add-POST-configs-jwt-customizer-API
feat(core): add PUT /configs/jwt-customizer API
2024-03-07 14:10:13 +08:00
Darcy Ye
038733e023
Merge pull request #5453 from logto-io/yemq-log-8281-update-logto-config-table-types
feat(schemas): update `logto_configs` table related types
2024-03-07 14:09:24 +08:00
Darcy Ye
5d55776d60
refactor(core): refactor 2024-03-06 19:53:17 +08:00
Darcy Ye
e327754008
fix(test): fix tests 2024-03-06 19:33:41 +08:00
Darcy Ye
754d425a60
chore(core,test): update tests and refactor getJwtCustomizer query 2024-03-06 19:33:41 +08:00
Darcy Ye
118de63049
feat(core): add GET /configs/jwt-customizer API 2024-03-06 19:33:39 +08:00
Darcy Ye
f4a812ae8a
refactor(core): refactor 2024-03-06 19:31:42 +08:00
Darcy Ye
0f0247ce2f
refactor(core): overload function interface 2024-03-06 18:47:41 +08:00
Darcy Ye
5d8e6853d1
refactor(core): refactor code 2024-03-06 18:15:54 +08:00
Darcy Ye
18dfcdabb9
chore(schemas): renaming 2024-03-06 16:24:57 +08:00
Darcy Ye
d6d282f355
chore(schemas): add comments 2024-03-06 16:07:02 +08:00
simeng-li
fa6390d770
feat(console, phrases): add data source guides (#5469)
* feat(console, phrases): add data source guides

add data source guides

* chore(console): update some variable naming

update some variable naming
2024-03-06 06:44:58 +00:00
simeng-li
2f72f8ffd7
feat(console,phrases): integrate monaco editor (#5460)
* feat(console,phrases): integrate monaco editor

integrate monaco editor

* chore: update pnpm lock file

update pnpm lock file

* fix(console): remove unused styles

remove unused styles

* feat(console): update font styles

update font styles
2024-03-06 14:08:46 +08:00
Darcy Ye
44ff452492
fix(core): align openapi.json 2024-03-06 12:35:22 +08:00
renovate[bot]
e1def81ed5
chore(deps): upgrade withtyped and cloud packages (#5408)
* fix(deps): upgrade withtyped packages

* chore: fix types

* chore(deps): upgrade logto cloud package

* refactor(cli): fix types

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-03-06 04:26:50 +00:00
Darcy Ye
7c06880287
feat(schemas,core,test): remove LogtoJwtTokenKeyType and define the path enum locally in core 2024-03-06 11:50:11 +08:00
Darcy Ye
be518dc76d
feat(schemas): add LogtoJwtTokenKeyType 2024-03-06 00:22:44 +08:00
Darcy Ye
92a04f08bd
feat(core): use PUT instead of POST and refactor code 2024-03-05 22:22:25 +08:00
Darcy Ye
7c4019b408
feat(core,phrases): add POST /configs/jwt-customizer API 2024-03-05 22:22:25 +08:00
Darcy Ye
ada9c4dc89
feat(schemas): remove API path JWT token type enum to keep things simple 2024-03-05 20:11:14 +08:00
Darcy Ye
1fd9f8ec50
feat(core): remove guard definition and refactor code 2024-03-05 16:02:31 +08:00
Darcy Ye
13c3fd211d
feat(schemas): update logto_configs table related types 2024-03-05 15:18:46 +08:00
simeng-li
23e7564475
feat(console,phrases): add new jwt claims page (#5448)
* feat(console,phrases): add new jwt claims page

add new jwt claims page

* feat(console, phrases): add token tabs nav

add token tabs nav

* fix(console): remove lint comments

remove lint comments
2024-03-05 14:39:37 +08:00
Gao Sun
b47c2a2de1
refactor(console): refactor conversion tracking (#5466)
* refactor(console): refactor conversion tracking

* refactor(console): manually set enhanced user data

* refactor: report production tenant conversion

* refactor(console): use transaction id for reporting
2024-03-05 11:41:39 +08:00
Xiao Yijun
3ae59baf6e
chore(core): deprecate unused query methods for logs table (#5464) 2024-03-04 15:50:37 +08:00
Xiao Yijun
a0a19b13f9
refactor(core): migrate dashboard/users/active api data deps (#5457) 2024-03-04 14:59:56 +08:00
wangsijie
cc01acbd0e
feat(core): create user with encrypted password (#5446) 2024-03-04 15:41:36 +09:00
Xiao Yijun
94d3b2c2e7
refactor(schemas): regenerate dau table data from logs (#5455) 2024-03-04 14:05:23 +08:00
Gao Sun
3b9edaea14
chore(schemas): upgrade withtyped pacakge 2024-03-04 12:15:57 +08:00
wangsijie
79b49ab79a
feat(core): support more encrypt methods (#5444)
* feat(schemas): add more encryption methods

* feat(core): support more encrypt methods

* fix(schemas): fix alter down column name

* fix(core): fix tiny lint issue

* refactor(core,schemas): use uppercase value

* feat(core,schemas): add bcrypt

* fix(schemas): fix alter script

* refactor(core,schemas): rename bcrypt and use hash-wasm

* chore: fix lock file
2024-03-04 03:18:19 +00:00
Gao Sun
0a1ad74691
refactor(schemas): update schema to fit cloud 2024-03-01 14:56:32 +08:00
silverhand-bot
16ca8b2a98
release: version packages (#5445) 2024-03-01 14:40:25 +08:00
Gao Sun
532454b923
feat(core,connector): support apple sign-in with email (#5454)
* feat(core,connector): support apple sign-in with email

* chore: add tests and changesets

* refactor: fix tests and improve changeset
2024-03-01 05:00:41 +00:00
5aaee9
0457df0e35
fix(schemas): set default password for tenant (#4535) (#5339)
* fix(schemas): set default password for tenant (#4535)

* feat(schemas): set password when enable encrypt
2024-03-01 13:50:49 +09:00
Xiao Yijun
c65730bcd2
refactor(core, schemas): enhance the time accuracy of dau data (#5451) 2024-03-01 12:43:55 +08:00
Xiao Yijun
c1f978c574
refactor(console): remove pro tag for standard connectors feature (#5450) 2024-02-29 18:14:19 +08:00
Xiao Yijun
f078e968cf
refactor(schemas): rename cleanup:outdated-logs scope toprune:logs (#5452) 2024-02-29 16:12:24 +08:00
Gao Sun
0f250f71db
refactor(console): update loading component (#5449) 2024-02-29 15:22:09 +09:00
wangsijie
11d7fb5585
chore(connector): fix wecom package file (#5447) 2024-02-29 02:01:41 +00:00
simeng-li
480c8ec462
refactor(test): remove dropdown modal waitForTimeout (#5439)
* refactor(test): remove dropdown modal waitForTimeout

remove dropdown modal waitForTimeout

* fix(test): fix typo

fix typo

* fix(test): fix the "not applicable" sign-up option not found issue

fix the "not applicable" sign-up option not found issue
2024-02-28 14:05:02 +08:00
simeng-li
db6e761490
fix(core,test): fix integration test (#5438)
* fix(core,test): fix integration test

fix integration tests

* fix(test): remove api timeout

remove api timeout
2024-02-28 14:04:29 +08:00
renovate[bot]
50bf70891d
fix(deps): update dependency query-string to v9 (#5436)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-02-28 03:19:42 +00:00
Darcy Ye
a7e69bd727
fix(connector): always show SMTP connector TLS configurations in the admin console (#5441) 2024-02-28 11:06:42 +08:00
doveyoung
697cdd54ee
feat(connector): add connector-wecom (#5411)
Co-authored-by: dove <dove@feegr.cc>
2024-02-28 10:23:41 +08:00
Charles Zhao
e0dddb1142
chore(console): update vanilla js integration guide (#5442) 2024-02-28 09:47:54 +08:00