0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
Commit graph

924 commits

Author SHA1 Message Date
wangsijie
55ff41e29b
feat(core): add quota guard for subject tokens (#6205) 2024-07-09 16:20:55 +08:00
renovate[bot]
0ca307cb5f
fix(deps): update dependency lru-cache to v11 (#6203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 13:25:53 +08:00
renovate[bot]
1d6254e3ca
chore(deps): update dependency superstruct to v2 (#6173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 13:21:23 +08:00
Gao Sun
164c42054a
refactor: remove unused patches (#6179) 2024-07-08 13:15:34 +08:00
renovate[bot]
1b7418c29d
fix(deps): update dependency p-limit to v6 (#6182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-07 14:07:49 +08:00
silverhand-bot
1fa9f85e14
release: version packages (#5987) 2024-07-06 09:07:56 +08:00
renovate[bot]
61781062c1
chore(deps): update dependency @rollup/plugin-commonjs to v26 (#5994)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-03 10:12:38 +00:00
Gao Sun
c7010bbaaa
refactor: update ci and package (#6167)
* refactor: update ci and package

* chore: fix tests
2024-07-03 02:35:19 +00:00
Gao Sun
9d3697a3b1
refactor: upgrade logto sdks (#6160) 2024-07-02 12:32:22 +08:00
Gao Sun
f78b1768ef
feat: demo app dev panel (#6105) 2024-07-01 13:18:04 +08:00
Gao Sun
8fa440579b
refactor: update nuxt guide (#6114)
* refactor: update nuxt guide

* refactor: polish content
2024-06-27 05:06:44 +00:00
Gao Sun
8fcb747032
refactor(console): upgrade mdx packages 2024-06-26 16:32:45 +08:00
renovate[bot]
7f9c0f295c
chore(deps): update dependency buffer to v6 (#6060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-21 06:30:30 +00:00
Gao Sun
6308ee1857
feat(connector): google one tap 2024-06-16 13:55:36 +08:00
renovate[bot]
9ae4f7d401
chore(deps): update dependency i18next-browser-languagedetector to v8 (#5850)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 12:42:03 +08:00
aiden
f4e64922fb
chore(connector): improve DingTalk web connector readme (#5977)
* feat: add dingtalk connector

* refactor(connector): optimize codes

* refactor(connector): optimize the logic of getting user phone

* docs(connector): add English configuration guide for DingTalk

* docs(connector): add table of contents

* docs(connector): optimize format

* chore(connector): update DingTalk web connector readme

* chore(connector): apply suggestions from code review

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

---------

Co-authored-by: aidenlu <aiden_lu@wochacha.com>
Co-authored-by: Darcy Ye <darcyye@silverhand.io>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2024-06-04 10:31:05 +08:00
renovate[bot]
acc22af0b2
chore(deps): update dependency @testing-library/react to v16 (#5984)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 10:27:48 +08:00
Gao Sun
8669149a08
refactor(core): optimize redis error handling (#5965) 2024-06-04 09:46:35 +08:00
renovate[bot]
914555e683
chore(deps): update dependency @logto/cloud to v0.2.5-a7eedce (#5847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 04:16:04 +00:00
silverhand-bot
0decba0308
release: version packages (#5868) 2024-05-31 23:48:43 +08:00
renovate[bot]
6ecd92de0b
chore(deps): update dependency nock to v14.0.0-beta.7 (#5952)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 02:43:31 +00:00
Gao Sun
a0bcc8340f
refactor: optmize phrases (#5936) 2024-05-29 19:46:52 +08:00
aiden
87bffee3f4
feat(connector): add dingtalk connector (#5915)
* feat: add dingtalk connector

* refactor(connector): optimize codes

* refactor(connector): optimize the logic of getting user phone

* docs(connector): add English configuration guide for DingTalk

* docs(connector): add table of contents

* docs(connector): optimize format

---------

Co-authored-by: aidenlu <aiden_lu@wochacha.com>
2024-05-29 15:15:45 +08:00
Gao Sun
06ac416750
chore(deps): upgrade @logto/cloud 2024-05-28 19:02:46 +08:00
Gao Sun
f7e1176554
chore(deps): upgrade @logto/cloud 2024-05-28 16:13:44 +08:00
Xiao Yijun
07fdd8557c
fix: add id generation utils for alteration scripts (#5921) 2024-05-26 20:00:34 +08:00
Gao Sun
76fd33b7ed
feat: default user role (#5872)
* feat: default user role

* chore: add tests and changeset

* refactor: show warning for deprecated env

* chore: fix tests
2024-05-17 16:02:05 +08:00
Gao Sun
7d6fa26ed9
chore(deps): upgrade caniuse-lite (#5875) 2024-05-17 13:58:10 +08:00
renovate[bot]
1b2359be59
chore(deps): update dependency sinon to v18 (#5870)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 16:43:26 +08:00
silverhand-bot
7b5a4e3fb4
release: version packages (#5684) 2024-05-14 20:27:55 +08:00
simeng-li
e7a642028d
feat(schemas): define data hook events (#5828)
* feat(schemas): define data hook events

define data hook events

* fix(schemas,core): fix the type error

fix the type error

* fix(core): fix unit test

fix unit test

* feat(test): add integration tests for DataHooks

add integration tests for DataHooks

* fix(test): fix ut of management api hook middleware
fix ut of the management api hook middleware

* refactor(test,core,schemas): refactor some DataHook definiations

refactor some DataHook definitations

* chore(test): remove upper scope describe wrap

remove upper scope describe wrap

* fix(test): fix tests

fix tests

* refactor(schemas): rename the info.update events

rename the info.update events

* refactor(schemas): rename

rename

* refactor(core,schemas): refactor DataHook code

refactor DataHook code to address some code review comments

* fix(test): fix ut

fix ut

* fix(schemas): update DataHookEventPayload type

update DataHookEventPayload type

* chore(schemas): update comments

update comments
2024-05-13 16:11:50 +08:00
wangsijie
393cf44af1
chore: fix pnpm-lock (#5851) 2024-05-13 03:25:19 +00:00
renovate[bot]
b7d950b40c
fix(deps): update dependency @simplewebauthn/server to v10 (#5705)
* fix(deps): update dependency @simplewebauthn/server to v10

* fix(core): update code to support @simplewebauthn/server v10

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: wangsijie <wangsijie@silverhand.io>
2024-05-13 11:05:08 +08:00
renovate[bot]
d38ddf15b7
chore(deps): update dependency @simplewebauthn/types to v10 (#5704)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 02:47:09 +00:00
renovate[bot]
517c7330d4
chore(deps): update dependency @simplewebauthn/browser to v10 (#5703)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 10:32:46 +08:00
Darcy Ye
5872172cbb
feat(core,console): enable custom JWT for OSS and can run script in local vm (#5794) 2024-05-11 22:22:14 +08:00
renovate[bot]
ae5284b1d3
chore(deps): update pnpm to v9 (#5727)
* chore(deps): update pnpm to v9

* ci: fix alteration

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-05-09 08:42:31 +00:00
Darcy Ye
0227822b2d
feat(connector): can access all user email even if no public email is set (#5737) 2024-05-09 12:55:56 +08:00
Gao Sun
21bb35b127
feat: init management api hook middleware function (#5783)
* feat: init management api hook middleware function

* refactor: fix type issues

* feat(core): implement auto triggered management api hooks

implement auto triggered managment api hooks

* refactor(console,core,schemas): rename the managementHook to dataHook

rename the managementHooke to dataHook and redefine the types

* feat(core): add dev feature guard

add dev feature guard

* chore: update changeset

update changeset

* refactor(core,console,schemas,shared): update the webhook logics

update the webhook logics. Address some PR review comments

* fix(test): fix integration tests

fix integration tests

* fix(test): remove legacy code

remove legacy code

* refactor(core,schemas): refactor the hook library code

refactor the webhooks library code. address some comments

* fix(core): address rebase issue

update console log using getConsoleLogFromContext

* fix(core): fix ut

fix ut

* fix(core): refactor data webhook code

refactor data webhook codes

* refactor(core): clean up some management api webhook code

clean up some management api webhook code

---------

Co-authored-by: simeng-li <simeng@silverhand.io>
2024-05-09 11:19:01 +08:00
Gao Sun
5eb5d3a265
chore(deps): upgrade withtyped packages (#5829) 2024-05-07 11:08:10 +08:00
Gao Sun
95682f72a1
chore(deps): upgrade withtyped packages (#5827) 2024-05-06 17:06:37 +08:00
Xiao Yijun
3e5ffc4991
feat(connector): add hugging face connector (#5797) 2024-05-06 09:54:48 +08:00
renovate[bot]
61e20940fe
chore(deps): update dependency supertest to v7 (#5791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 11:53:00 +08:00
renovate[bot]
09a1b2438d
fix(deps): update dependency tar to v7 (#5678)
* fix(deps): update dependency tar to v7

* refactor: fix import

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-24 22:37:30 +08:00
Xiao Yijun
f9c7a72d51
feat(connector): support client_secret_basic and client_secret_jwt methods for oauth2 connectors (#5762) 2024-04-24 13:51:41 +08:00
Gao Sun
2414e52eff
chore(deps): upgrade formidable (#5780) 2024-04-24 10:18:06 +08:00
Charles Zhao
ead2abde65
fix(core): bump oidc-provider to fix resource indicator check (#5782)
* fix(core): bump oidc-provider to fix resource indicator check

* chore: add changeset
2024-04-24 09:51:56 +08:00
simeng-li
9bece65d91
chore(experience): package update (#5769)
react-device-deteck package update
2024-04-22 13:37:10 +08:00
Gao Sun
d23b433f40
chore: upgrade json5 to 2.2.3 (#5757) 2024-04-19 15:47:36 +08:00
Darcy Ye
2e103f513e
fix(core): update cloud dependency, cloud client calls 2024-04-18 22:40:42 +08:00
renovate[bot]
8508469abf
chore(deps): update silverhand configs monorepo packages to v6 (major) (#5750)
* chore: upgrade configs

* refactor: fix lint errors

* refactor: fix lint errors

* refactor: fix stylelint issues

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-18 12:26:37 +00:00
Gao Sun
4aa6db99db
chore: upgrade packages (#5749) 2024-04-18 18:26:58 +08:00
Gao Sun
c1c746bca4
refactor: remove AppInsights for React (#5742) 2024-04-18 15:20:24 +08:00
Gao Sun
fec3c0d7ee
Merge pull request #5733 from logto-io/gao-remove-app-insights
refactor(console): remove AppInsights
2024-04-18 14:34:15 +08:00
Gao Sun
e1d5b8a72a
refactor: upgrade packages (#5739)
* refactor: upgrade packages

* refactor: fix type issues

* refactor: fix koa-guard
2024-04-18 06:32:12 +00:00
Gao Sun
8a54136b3a
refactor(console): remove AppInsights 2024-04-17 21:38:30 +08:00
Gao Sun
a2bbc250ca
feat(console): add plausible 2024-04-17 14:21:08 +08:00
Gao Sun
d48094be27
refactor: remove pnpm script (#5728) 2024-04-17 01:06:33 +00:00
Charles Zhao
59acedeecd
feat(console): update user access immediately on tenant role updates (#5720)
* feat(console): update user access immediately on tenant role updates

* chore: improve comments

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

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-16 16:31:34 +00:00
renovate[bot]
75deb2db04
chore(deps): update dependency @testing-library/react to v15 (#5726)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-16 22:25:53 +08:00
simeng-li
43430afddb
feat(core): add customJwt paywall guard to core API (#5708)
add customJwt paywall guard to core API
2024-04-16 12:02:08 +08:00
simeng-li
9b3d4ef75b
feat(core): add custom jwt worker deploy (#5682)
call custom jwt worker deploy cloud service when upsert new jwt-customizers
2024-04-12 02:39:05 +00:00
Gao Sun
b3740656f5
refactor(core): partially remove got (#5596)
* refactor(core): partially remove got

* refactor: use shared form-urlencoded headers
2024-04-11 07:16:53 +00:00
renovate[bot]
01fee1dd9d
fix(deps): update dependency samlify to v2.8.11 (#5458)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-10 22:49:55 +08:00
renovate[bot]
34d525d13c
fix(deps): update dependency snakecase-keys to v8 (#5667)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-10 22:48:43 +08:00
renovate[bot]
5db7bc1746
fix(deps): update dependency tar to v6.2.1 [security] (#5675)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-04-10 22:47:46 +08:00
silverhand-bot
fb55249ab2
release: version packages (#5463) 2024-04-10 21:27:24 +08:00
Charles Zhao
2c97cd6898
fix(console): user should switch account and accept invitation properly in console (#5657)
* fix(console): bump js sdks to fix the cannot switch user account issue

* fix(console): accept invitation automatically after switching account
2024-04-09 17:30:17 +08:00
Charles Zhao
cfeb98c06f
feat(console,core,phrases): add quota guard for cloud collaboration in console (#5644) 2024-04-08 10:32:05 +08:00
Darcy Ye
de70abebf6
refactor: update dependency on @logto/cloud and update legacy JWT customizer 2024-04-03 17:04:41 +08:00
Charles Zhao
316c11128a
refactor(console,phrases): display inviter name on tenant invitations table (#5622)
* refactor(console,phrases): display inviter name on tenant invitations table

* chore: bump @logto/cloud

* chore: update pnpm lockfile
2024-04-03 16:28:45 +08:00
Charles Zhao
2368cf03c6
refactor(console,phrases): rename tenant member role to collaborator (#5618) 2024-04-03 10:36:17 +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
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
Darcy Ye
48cfdf51a3
chore: update cloud version and the way to call cloud custom JWT API 2024-03-29 02:03:58 +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
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
340d562f37
refactor: remove jest 2024-03-28 12:55:10 +08:00
Gao Sun
412a3df1cf
refactor: remove jest 2024-03-28 12:07:54 +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
Gao Sun
d45cd37f9b
refactor: use vitest for connectors (#5562) 2024-03-28 10:21:50 +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
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
Charles Zhao
8d14c87652
chore: bump @logto dependencies (#5548) 2024-03-25 18:34:06 +08:00
Darcy Ye
0f35538629
refactor: not update console cloud dependency 2024-03-25 14:17:11 +08:00
Darcy Ye
89ba8a1a0c
chore: update cloud dependency 2024-03-21 23:50:54 +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
Darcy Ye
aac7a7bcf8
chore: update core dependency 2024-03-21 10:56:13 +08:00
Gao Sun
57d97a4df8
feat: return and store connector raw data 2024-03-19 14:05:42 +08: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
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
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
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
Gao Sun
3b9edaea14
chore(schemas): upgrade withtyped pacakge 2024-03-04 12:15:57 +08:00