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

969 commits

Author SHA1 Message Date
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
renovate[bot]
791f6f9013
chore(deps): upgrade commitlint and husky (#5443)
chore: upgrade commitlint and husky

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-03-02 09:08:55 +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
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
doveyoung
697cdd54ee
feat(connector): add connector-wecom (#5411)
Co-authored-by: dove <dove@feegr.cc>
2024-02-28 10:23:41 +08:00
renovate[bot]
b8163c887c
fix(deps): update dependency semver to v7.5.2 [security] (#5430)
* fix(deps): update dependency semver to v7.5.2 [security]

* chore: fix pnpm lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2024-02-27 20:15:49 +08:00
silverhand-bot
e606462bcc
release: version packages (#5433) 2024-02-26 08:41:08 +00:00
renovate[bot]
166f29fe17
chore(deps): update logto js sdk monorepo packages (major) (#5422)
* chore(deps): update logto js sdk monorepo packages

* chore: rebase master and update lock file

rebase master and update lock file

* fix(test): update the @logto/node version

update the @logto/node version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2024-02-26 15:20:35 +08:00
renovate[bot]
2cb4ec7578
chore(deps): update dependency jest-puppeteer to v10 (#5416)
* chore(deps): update dependency jest-puppeteer to v10

* fix: rebase and fix lock file

rebase and fix lock file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2024-02-23 12:28:56 +08:00
renovate[bot]
86c8179f00
chore(deps): update dependency expect-puppeteer to v10 (#5415)
* chore(deps): update dependency expect-puppeteer to v10

* fix: rebase and align lock file

rebase and align lock file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2024-02-23 11:58:11 +08:00
renovate[bot]
099dadbf7f
chore(deps): update dependency @logto/cloud to v0.2.5-faca9a9 (#5341)
* chore(deps): update dependency @logto/cloud to v0.2.5-faca9a9

* chore: rebase and align pnpm lock file

rebase and align pnpm lock file

* fix: remove legacy ts-expect-error statement

remove legacy ts-expect-error statement

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2024-02-23 11:29:49 +08:00
renovate[bot]
4fd798e1d0
fix(deps): update dependency @simplewebauthn/server to v9 (#5269)
fix(deps): update @simplewebauthn packages to v9

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-02-20 08:28:57 +00:00
renovate[bot]
610231018e
chore(deps): update dependency @simplewebauthn/browser to v9 (#5268)
* chore(deps): update dependency @simplewebauthn/browser to v9

* chore: bump @simplewebauthn/types

bump @simplewebauthn/types

* fix(experience): fix type reference

fix type reference

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2024-02-20 16:12:09 +08:00
renovate[bot]
4551f6daad
fix(deps): update dependency @azure/msal-node to v2 (#4301)
* fix(deps): update dependency @azure/msal-node to v2

* fix: pnpm lock file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Darcy Ye <darcyye@silverhand.io>
2024-02-20 14:58:38 +08:00
dependabot[bot]
951bd75b40
chore(deps): bump nodemailer from 6.9.1 to 6.9.9 (#5396)
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.9.1 to 6.9.9.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v6.9.1...v6.9.9)

---
updated-dependencies:
- dependency-name: nodemailer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 05:33:29 +00:00
silverhand-bot
3f28e9a445
release: version packages (#5068) 2024-02-08 13:18:42 +08:00
simeng-li
f53a14d7a8
feat(core): add third-party application creation quota guard (#5348)
add third-party application creation quota guard
2024-02-01 10:29:58 +08:00
Gao Sun
0a87ffd609
refactor(core): use deepmerge (#5361) 2024-02-01 09:17:29 +08:00
simeng-li
185491d699
feat(console,phrases): add feature tag and pricing table (#5345)
* feat(console,phrases): add feature tag and pricing table

add feature tag and pricing table

* feat(console): add third-party tips

add third-party tips
2024-01-31 09:28:01 +08:00
renovate[bot]
0a9e1d093c
fix(deps): update dependency snakecase-keys to v6 (#5253)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-01-30 07:40:02 +00:00
Gao Sun
abe97c1182
Merge pull request #5330 from logto-io/gao-put-invitation-status
feat(core): put invitation status
2024-01-30 15:28:03 +08:00
renovate[bot]
b489224dd3
chore(deps): update dependency husky to v9 (#5302)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-01-30 05:47:00 +00:00
Gao Sun
0a20b5a6f8
feat(core): put invitation status 2024-01-29 19:39:27 +08:00
renovate[bot]
1ee1efc532
fix(deps): update dependency ora to v8 (#5167)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-01-11 02:34:39 +00:00
renovate[bot]
85a1c781b0
chore(deps): update dependency @types/koa__cors to v5 (#5177)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-01-11 02:33:52 +00:00
renovate[bot]
094ff37e7a
chore(deps): update dependency @types/supertest to v6 (#5159)
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-01-08 03:08:45 +00:00
renovate[bot]
96fe93225e
chore(deps): update dependency @logto/cloud to v0.2.5-c6ed487 (#5158)
* chore(deps): update dependency @logto/cloud to v0.2.5-c6ed487

* fix: rebase and fix lock file

rebase and fix lock file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2024-01-08 11:01:28 +08:00
msmarks
be9613dd44
feat(experience): experience support old browser (#5130)
* feat(experience): update experience browserslist and add corejs dependency

feat(experience): import corejs to experience

feat(experience): update pnpm-lock.yaml

feat(experience): update experience browserslist and add corejs to support old browsers

* feat(experience): fix lint problem

---------

Co-authored-by: root <root@MKJ>
2024-01-07 21:09:54 +08:00
Xiao Yijun
7a7188d8b1
refactor: deprecate staging env tag (2/2) (#5187) 2024-01-02 05:41:43 +00:00
renovate[bot]
afdbbd0b52
fix(deps): update dependency p-limit to v5 (#4800)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-26 04:14:20 +00:00
renovate[bot]
1787503c78
chore(deps): update dependency @types/sinon to v17 (#4820)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-26 04:10:21 +00:00
renovate[bot]
6f843b79d6
fix(deps): update dependency find-up to v7 (#4900)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-26 03:16:35 +00:00
renovate[bot]
f0a93d49c3
chore(deps): update commitlint monorepo to v18 (major) (#4710)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-26 03:10:01 +00:00
renovate[bot]
47d30405e9
fix(deps): update dependency p-queue to v8 (#5076)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-26 03:05:00 +00:00
renovate[bot]
3911f92a22
chore(deps): update dependency got to v14 (#5008)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-12-26 02:59:22 +00:00
Xiao Yijun
12e6d288dd
feat(console): add charge notification for token usage (#5153) 2023-12-25 09:13:07 +00:00
Gao Sun
9089dbf845
chore(deps): upgrade TypeScript (#5141)
* chore(deps): upgrade TypeScript

* chore: upgrade configs

* chore: fix tsconfig and add changeset

* chore: upgrade jest-related deps and fix code
2023-12-22 15:16:49 +08:00
Xiao Yijun
6b2e1c8908
refactor(console): add new quota items for subscription plan (#5128) 2023-12-20 14:08:30 +08:00
Darcy Ye
22e9580d68
feat(core,connector): update koaQuotaGuard to fit new pricing model (#5123) 2023-12-19 18:51:53 +08:00
dependabot[bot]
72fa53f1f3
chore(deps): bump @koa/cors from 4.0.0 to 5.0.0 (#5094)
Bumps [@koa/cors](https://github.com/koajs/cors) from 4.0.0 to 5.0.0.
- [Changelog](https://github.com/koajs/cors/blob/master/History.md)
- [Commits](https://github.com/koajs/cors/compare/4.0.0...5.0.0)

---
updated-dependencies:
- dependency-name: "@koa/cors"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 13:08:24 +08:00
simeng-li
cb43ebb7d1
feat(core,phrases): add post application user consent scopes api (#5101)
add post application user consent scopes api
2023-12-15 16:59:48 +08:00
wangsijie
7c09ac850f
refactor(core,console,shared): use getUserDisplayName function (#4977) 2023-12-13 03:01:07 +00:00
Gao Sun
31e60811d7
chore: use Node 20 LTS for engine requirement (#5084) 2023-12-11 09:10:53 +08:00
silverhand-bot
4865610b51
release: version packages (#4894) 2023-12-06 16:13:56 +08:00
Charles Zhao
dd45a51b09
chore(deps): bump @logto/react to v2.2.1 (#5054) 2023-12-04 09:18:59 +00:00
Darcy Ye
c2c1a9e359
chore(console,core): show invalid SSO config/metadata error message inline (#5053) 2023-12-04 08:47:11 +00:00
Gao Sun
07e025ddb9
chore: add openapi-types to deps 2023-12-03 19:05:12 +08:00
Gao Sun
fc9c9ea721
chore: upgrade logto sdks (#5011)
* chore: upgrade logto sdks

* chore: fix tests

* fix(demo-app): fix hook infinite loop issue

* refactor(demo-app): use enum from sdk
2023-12-02 15:22:27 +08:00
Gao Sun
e1a162eb56
Merge pull request #5039 from logto-io/gao-add-api-docs 2023-12-01 23:57:46 +08:00
Gao Sun
22e6c9d99e
chore(core): add api docs 2023-12-01 18:28:49 +08:00
Darcy Ye
88285ba7b6
feat(connector,console,core): add SSO paywall for core management APIs (#5024) 2023-12-01 17:27:01 +09:00
backpast
9421375d78
chore(deps): update libphonenumber-js to v1.10.51 to fix china 19 started phone numbers (#4998)
* chore(deps): update libphonenumber-js action to v1.10.51 to fix china 19 start phone number

* chore: add changeset

---------

Co-authored-by: renjianhua <renjianhua@zuoshouyisheng.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-11-29 20:56:39 +08:00
Charles Zhao
fbf6d89d9b
feat(console,phrases): add organizations paywall (#4939) 2023-11-22 06:40:01 +00:00
simeng-li
fbf545ecd4
feat(experience): add struct guard to session storage hook (#4933)
* feat(experience): add struct guard to session storage hook

add struct guard to the session storage hook

* test(experience): add unit test for the hook

add unit test for the session storages hook
2023-11-21 08:09:07 +00:00
Gao Sun
9a4da065dc
fix(core): generate correct swagger components (#4884)
* fix(core): generate correct swagger components

* refactor(core): fix tests
2023-11-16 11:19:54 +08:00
silverhand-bot
76c8bb2fbf
release: version packages (#4873) 2023-11-14 19:57:42 +08:00
Gao Sun
5de7772186
Merge pull request #4863 from logto-io/gao-swagger-org-apis
refactor(core): add swagger data for org apis
2023-11-14 11:16:09 +08:00
Xiao Yijun
e676f0c6eb
feat(console): add tenant env migration modal (#4859) 2023-11-13 19:23:22 +08:00
Gao Sun
1fb8369776
refactor(core): update docs and use rsync to copy files 2023-11-13 11:41:35 +08:00
Gao Sun
73f348af89
Merge pull request #4849 from logto-io/gao-add-oidc-org-integration-tests
refactor(test): add integration tests for org token grant
2023-11-10 14:50:20 +08:00
Gao Sun
52766acaa9
refactor(test): add integration tests for org token grant 2023-11-09 16:57:33 +08:00
Darcy Ye
f694256461
Merge pull request #4806 from logto-io/yemq-log-7174-add-saml-sso-connector-class
feat(core): add SAML SSO class

feat(core,test): update SSO connector APIs for SAML class and add integration test cases
2023-11-07 22:11:41 +08:00
Darcy Ye
7fe41a0037
feat(core,test): update sso connector util functions, APIs and integration tests (#4807) 2023-11-07 21:12:29 +08:00
Darcy Ye
40a5a18d90
feat(core): add saml sso class 2023-11-07 12:01:35 +08:00
Charles Zhao
00017418c3
chore: bump dev dependencies (#4829)
chore: update browserlist-db
2023-11-07 11:38:54 +08:00
silverhand-bot
a5a0d44dc8
release: version packages (#4624) 2023-11-03 13:14:52 +08:00
Hussain Shaikh
d41b71a54a
feat(core): google cloud storage provider (#4660) 2023-10-30 14:24:45 +08:00
renovate[bot]
77cec73429
fix(deps): update dependency jose to v5 (#4761)
* fix(deps): update dependency jose to v5

* chore(deps): rebase lockfile update

rebase lockfile update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-27 16:52:32 +08:00
simeng-li
b07535a4b8
Revert "chore(deps): update parcel monorepo to v2.10.1" (#4766)
Revert "chore(deps): update parcel monorepo to v2.10.1 (#4740)"

This reverts commit ec41bc7c57.
2023-10-26 07:18:59 +00:00
renovate[bot]
ec41bc7c57
chore(deps): update parcel monorepo to v2.10.1 (#4740)
* chore(deps): update parcel monorepo to v2.10.1

* chore: rabse update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 14:10:42 +08:00
renovate[bot]
7a777bf101
chore(deps): update dependency sinon to v17 (#4711)
* chore(deps): update dependency sinon to v17

* chore: rebase update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 11:33:46 +08:00
renovate[bot]
7ea5b94178
chore(deps): update dependency @types/pluralize to ^0.0.32 (#4693)
* chore(deps): update dependency @types/pluralize to ^0.0.32

* chore: rebase update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 10:24:33 +08:00
renovate[bot]
98478a32c8
chore(deps): update dependency lint-staged to v15 (#4661)
* chore(deps): update dependency lint-staged to v15

* chore: rebase update

rebase update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-26 09:55:47 +08:00
simeng-li
2b15b13bbf
feat(core): add OIDC SSO connector class (#4701)
* feat(core): implement oidc and single sign on connector class

init oidc and single sign on connecter class

* refactor(core): refactor the structure of single sign-on classes

refactor the structure of single sign-on classes

* chore(core): provide more comments

provide more comments

* feat(core): add sso-connector-factories api (#4708)

* feat(core): add sso-connector-factories api

add sso-connector-factories api

* fix(test): remove hard code connector name

remove hard code connector name

* feat(core): add POST sso-connectors api (#4719)

* feat(core): add POST sso-connectors api

add POST sso-connectors api

* chore(core): add some comments
add some comments

* test(core): add post sso connectors integration tests

add post sso connectors integration tests

* feat(core): add GET sso-connectors api (#4723)

* feat(core): add GET sso-connectors api

add GET sso-connectors api

* test(core): add tests

add tests

* test(core): add ut

add ut

* fix(test): remove console statement

remove console statement

* feat(core): implement get sso-connector by id endpoint (#4730)

* feat(core): implement get sso-connector by id endpoint

implement get sso-connector by id endpoint

* feat(core): implement delete sso-connector by id endpoint (#4733)

* feat(core): implement delete sso-connector by id endpoint

implement delete sso-connector by id endpoint

* feat(core): implement patch sso-connectors api (#4734)

* feat(core): implement patch sso-connectors api

implement patch sso-connectors api

* fix(core): avoid patch api empty update case

avoid patch api empty update case

* feat(core): implement patch sso-connector config api (#4736)

implement patch sso-connector config api

* fix(test): replace SAML provider name with dummy name

replace SAML provider name with dummy name
as we are going to implement the SAML connector soon

* fix(core): fix rebase error of findAll query output type

fix rebase error of the findAll query output type
2023-10-25 14:44:58 +08:00
Xiao Yijun
bc62370db5
feat(experience): implement webauthn experience flow (#4642) 2023-10-17 15:15:44 +08:00
Gao Sun
33e9a5d695
Merge pull request #4658 from logto-io/gao-add-relation-routes
refactor(core): `addRelationRoutes()` for `SchemaRouter`
2023-10-16 02:16:41 -05:00
Gao Sun
a74e523bbe
Merge pull request #4651 from logto-io/gao-org-apis-3
feat(core): organization role APIs
2023-10-16 02:13:24 -05:00
wangsijie
af246ad863
feat(core,schemas): bind webauthn (#4626) 2023-10-16 04:00:59 +00:00
Gao Sun
eae1c5849e
refactor(core): addRelationRoutes() for SchemaRouter 2023-10-14 19:32:08 +08:00
Gao Sun
57af573fe1
feat(core): organization role APIs 2023-10-13 18:57:34 +08:00
wangsijie
03e654b459
refactor(core,experience): generate totp qrcode on server side (#4646) 2023-10-13 01:19:03 -05:00
renovate[bot]
5c0cf3563b
chore(deps): update dependency rollup to v4 (#4612)
* chore(deps): update dependency rollup to v4

* chore(connector): rebase

rebase

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-13 11:26:11 +08:00
simeng-li
608c2699cf
chore(console): bump react-markdown (#4648)
bump react-markdown and remark version
2023-10-13 10:20:50 +08:00
renovate[bot]
51a534fcd5
chore(deps): update dependency @types/pluralize to ^0.0.31 (#4579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 06:51:55 +00:00
renovate[bot]
dac50d2d25
chore(deps): update dependency @logto/cloud to v0.2.5-d434baa (#4463)
* chore(deps): update dependency @logto/cloud to v0.2.5-d434baa

* chore: update lock file

update lock file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-12 06:30:23 +00:00
dependabot[bot]
6826f15efb
chore(deps): bump zod from 3.20.2 to 3.22.3 (#4615)
* chore(deps): bump zod from 3.20.2 to 3.22.3

Bumps [zod](https://github.com/colinhacks/zod) from 3.20.2 to 3.22.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.20.2...v3.22.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): align zod versions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-12 04:12:05 +00:00
Darcy Ye
f1f75aa37e
refactor: eliminate connector-kit dependency on logto/cloud (#4622) 2023-10-10 13:55:21 +08:00
dependabot[bot]
f27a3ee2a7
chore(deps-dev): bump postcss from 8.4.14 to 8.4.31 (#4614)
* chore(deps-dev): bump postcss from 8.4.14 to 8.4.31

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.14 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.14...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: allow `deps-dev` as commit scope

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-09 07:30:06 +00:00
Xiao Yijun
f53778894d
feat(experience): implement totp experience flow (#4589) 2023-10-08 16:20:43 +08:00
renovate[bot]
3e45c3848d
fix(deps): update dependency nanoid to v5 (#4491)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-10-08 00:42:32 -05:00
silverhand-bot
6993b15ecd
release: version packages (#4621) 2023-10-08 00:28:22 -05:00
silverhand-bot
f3ec4c6734
release: version packages (#4575) 2023-10-07 00:39:33 -05:00
simeng-li
91d2412300
fix(console): fix the invalid_target error block console consent issue (#4592)
fix(console): fix the invalid_target error block AC consent issue

fix the invalid_target error block AC consent issue
2023-09-28 02:25:32 +00:00
wangsijie
c3f865ac2c
test: add tests for mfa totp flows (#4566) 2023-09-26 14:42:02 +08:00
wangsijie
08a35a1695
feat(core,phrases,schemas): implement bind mfa totp (#4551) 2023-09-26 14:18:26 +08:00
silverhand-bot
d254dae5ff
release: version packages (#4572) 2023-09-21 22:04:40 +08:00
simeng-li
fc252b56f0
refactor(console): retrieve latest invoice id from stripe (#4563)
refactor(console): replace invoice url link with API call

replace invoice url link with API call
2023-09-21 14:40:53 +08:00
renovate[bot]
bb5ec66a35
chore(deps): update dependency sinon to v16 (#4496)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-09-19 12:42:13 +00:00
silverhand-bot
e69f941e38
release: version packages (#4451) 2023-09-18 10:47:19 +00:00
wangsijie
7a3d4fb58c
fix(core): quota guard for mfa feature (#4529) 2023-09-18 10:00:26 +08:00
renovate[bot]
0899fd8dda
chore(deps): update dependency ky to v1 (#4415)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-09-16 13:12:16 +00:00
Gao Sun
86113e0415
Merge pull request #4514 from logto-io/gao-rename-ui-to-experience-3
refactor: ui -> experience (part 3)
2023-09-15 18:26:34 +08:00
Gao Sun
c4e4b83740
Merge pull request #4509 from logto-io/gao-rename-ui-to-experience-2
refactor: ui -> experience (part 2)
2023-09-15 17:58:19 +08:00
Xiao Yijun
89a3fcc816
refactor(console): hide mfa quota content before feature launched (#4516) 2023-09-15 16:32:18 +08:00
Gao Sun
2319101056
refactor: ui -> experience (part 3)
Rename `ui` to `experience`.
2023-09-15 13:46:27 +08:00
Gao Sun
083ef8379e
refactor: ui -> experience (part 2)
Rename `phrases-ui` to `phrases-experience`.
2023-09-15 10:29:41 +08:00
renovate[bot]
4ed649dc20
chore(deps): update dependency titleize to v4 (#4413)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-09-14 10:30:44 +08:00
Gao Sun
423e799b5d
refactor(test): add flows integration tests 2023-09-12 18:42:15 +08:00
Xiao Yijun
1453e1a2a1
refactor(console): retrieve subscription data from tenant response (#4430)
refactor(console): apply tenant subscription data from tenant response
2023-09-06 10:22:10 +08:00
Gao Sun
b8a7b900e1
feat(core): guard password by policy 2023-09-03 02:11:22 +08:00
renovate[bot]
0007c75df1
chore(deps): update dependency puppeteer to v21 (#4282)
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-08-30 16:17:19 +08:00
silverhand-bot
f416ec3312
release: version packages (#4270) 2023-08-30 16:16:55 +08:00
renovate[bot]
bc6a08fac2
fix(deps): update dependency p-retry to v6 (#4395)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-08-29 09:43:17 +00:00
simeng-li
9f70e7632c
feat(core): add tenant is suspended guard (#4379)
* feat(core): add tenant is suspended guard

add tenant is suspended guard to all management apis

* fix(core): address comments

fix function name
2023-08-29 16:42:13 +08:00
renovate[bot]
f82df68794
chore(deps): update dependency lint-staged to v14 (#4322)
* chore(deps): update dependency lint-staged to v14

* fix: lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-08-24 14:01:38 +08:00
renovate[bot]
fb6ddb4a98
chore(deps): update dependency camelcase-keys to v9 (#4344)
* chore(deps): update dependency camelcase-keys to v9

* fix: lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-08-21 13:54:04 +08:00
Gao Sun
2901f43e64
feat: post affiliate data to cloud (#4321)
* feat: post affiliate data to cloud

Read data from cookie and post to cloud when needed.

* chore: add alteration script

* refactor: fix alteration
2023-08-16 14:34:54 +00:00
simeng-li
9862aacc8d
refactor(schemas): add isSuspended to the tenantInfo type (#4326)
* refactor(schemas): add isSuspended to the tenantInfo type

add isSuspended to the tenantInfo type

* chore(schemas): bump withTyped/server version

bump withTyped/server version
2023-08-14 17:32:19 +08:00
Charles Zhao
1b983c8c89
fix(console): react-markdown rendering error in parcel dev mode (#4319) 2023-08-14 11:09:06 +08:00
Darcy Ye
77d274a3c3
refactor(toolkit,connector,core,cli): cache access token for logto email service (#4309) 2023-08-11 15:43:09 +08:00
renovate[bot]
b590942bf2
chore(deps): update dependency camelcase to v8 (#4313)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-08-10 07:22:48 +00:00
renovate[bot]
65803deaf4
chore(deps): update dependency @logto/cloud to v0.2.5-33a6965 (#4131)
* chore(deps): update dependency @logto/cloud to v0.2.5-33a6965

* chore(deps): update dependency @logto/client to v0.7.21

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-08-05 08:01:01 +00:00
Gao Sun
8cba35d116
Merge pull request #4280 from logto-io/dependabot/npm_and_yarn/fast-xml-parser-4.2.5
chore(deps): bump fast-xml-parser from 4.0.13 to 4.2.5
2023-08-03 13:47:28 +08:00
dependabot[bot]
1852b1ad33
chore(deps): bump fast-xml-parser from 4.0.13 to 4.2.5
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.0.13 to 4.2.5.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.0.13...v4.2.5)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

chore: increase commit body max line length
2023-08-03 13:30:35 +08:00
Gao Sun
5b34338484
feat: mailgun connector (#4281)
* feat: mailgun connector

* refactor: support png as connector logo

* chore: add changesets

* chore: fix error

* chore: translate phrases
2023-08-03 04:38:09 +00:00
Xiao Yijun
7ce014d033
chore(phrases): apply title-cased plan name for tenant plan selection button (#4276) 2023-08-02 20:51:25 +08:00
silverhand-bot
74e9734ef8
release: version packages (#4255) 2023-07-31 18:43:59 +08:00
Gao Sun
fde330a8b3
feat(cli): translate sync-keys command (#4265)
* feat(cli): `translate sync-keys` command

* refactor(cli): use promise and add comments

* refactor(phrases): fix lint errors

* refactor(cli): fix bugs and add changeset
2023-07-31 12:15:45 +08:00
Xiao Yijun
d7cb628366
chore(console): bump @logto/cloud version (#4237) 2023-07-25 21:14:06 +08:00
renovate[bot]
28634c5800
fix(deps): update dependency @microsoft/applicationinsights-react-js to v17 (#4207)
* fix(deps): update applicationinsights web dependencies to v3

* refactor: adapt type for the new pacakge

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-24 17:41:09 +08:00
Xiao Yijun
d90d81688e
feat(console): support open stripe payment management page from console (#4213) 2023-07-24 15:46:34 +08:00
Darcy Ye
350d070ef7
feat(console): should limit only the number of free tenant (#4205)
* fix(console): update free tenant limit

* fix(console): use TenantResponse type

* chore(console): update dependency on @logto/cloud

* chore: remove import as
2023-07-24 06:40:47 +00:00
renovate[bot]
7b97571f1c
chore(deps): update dependency nodemon to v3 (#4140)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-22 09:46:09 +00:00
Gao Sun
4c9aef827b
refactor(console): use global router (#4191)
* refactor(console): use global router

* refactor(console): clean swr cache when switching tenant

* refactor(console): bug fix

* chore(test): increase integration test timeout

* refactor: update packages/console/src/App.tsx

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

---------

Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-07-21 06:12:01 +00:00
simeng-li
088efeef1a
chore(schemas): bump withTyped version (#4199)
bump withTyped version
2023-07-21 03:26:35 +00:00
Xiao Yijun
6e094d959f
feat(console): checkout integration (#4178) 2023-07-19 09:14:10 +00:00
wangsijie
34105e1579
feat(core,phrases): add quota guard middleware (#4153)
feat(core,phrases): add usage guard middleware
2023-07-18 17:05:00 +08:00
Chukwuemelie Obumse
2924bbf8d2
chore: upgrade commitlint packages (#4173) 2023-07-17 12:56:25 +00:00
Xiao Yijun
1b4b73c4fd
feat(console): add switch plan action bar (#4146) 2023-07-17 02:36:09 +00:00
Xiao Yijun
a030b0817f
chore(console): bump withtyped and @logto/cloud version (#4167) 2023-07-13 14:59:07 +08:00
Gao Sun
6b54d9190d
refactor(schemas): specify tenants table schema (#4155) 2023-07-12 13:56:39 +08:00
Gao Sun
cee1d0dd20
refactor(core,console): fix useCloudSwr type (#4152) 2023-07-11 15:25:45 +08:00
Xiao Yijun
7742c7e3d4
feat(console): add plan quota table (#4137) 2023-07-10 16:38:53 +08:00
Gao Sun
947de83173
chore: upgrade configs (#4132)
* chore: upgrade configs

* chore: fix lint errors
2023-07-07 17:17:21 +00:00
wangsijie
7eaed24b95
feat(core): add cloud client (#4127) 2023-07-07 16:20:11 +08:00
renovate[bot]
44c09baba9
chore(deps): update parcel monorepo to v2.9.3 (#4081)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-05 07:15:37 +08:00
Danil Tankov
3e72b6d56d
feat(connector): create SMSAero connector (#4096)
* feat(connector): create SMSAero connector

* fix(connector): smsaero connector code review fixes

* chore: add changeset for sms aero

---------

Co-authored-by: wangsijie <wangsijie94@gmail.com>
2023-07-04 12:22:13 +08:00
Gao Sun
e89ccd4d4c
refactor: cloud cleanup (#4103)
* refactor: cleanup cloud

* chore: fix cloud dependencies

* chore: update LICENSE
2023-07-03 14:33:19 +08:00
renovate[bot]
166ccf93ae
fix(deps): update @withtyped packages (#4105)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-02 20:17:26 +08:00
renovate[bot]
d1a69d8e0f
chore(deps): remove dependency @tsconfig/docusaurus (#4092)
chore(deps): remove dependency @tsconfig/docusaurus

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-07-01 21:45:25 +08:00
silverhand-bot
53131ad5a7
release: version packages (#4033) 2023-06-28 18:57:43 +08:00
renovate[bot]
5ed7750de7
fix(deps): update dependency lru-cache to v10 (#4045)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-23 11:59:39 +00:00
Gao Sun
cfe4fce51c
fix: support circular reference when normalizing errors (#4069) 2023-06-21 16:05:33 +08:00
Gao Sun
dea0b7aa57
chore(deps): upgrade Logto React SDK (#4070) 2023-06-21 09:35:45 +09:00
Gao Sun
0d510cf7a4
refactor(console): use withtyped client for SWR
also enables auto type inference for SWR hooks and mutation APIs
2023-06-13 17:33:32 +08:00