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

881 commits

Author SHA1 Message Date
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
renovate[bot]
9a9d1d2ed4
fix(deps): update dependency helmet to v7 (#3814)
* fix(deps): update dependency helmet to v7

* fix: fix lock file

fix lock file

* fix: fix helmetjs upgrade exceptions

fix helmetjs upgrade exceptions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-06-13 10:05:47 +08:00
Darcy Ye
e96e92b2df
feat(schemas,cloud): align tenant types (#4004) 2023-06-12 18:36:15 +08:00
renovate[bot]
a187503213
fix(deps): update dependency @withtyped packages to ^0.11.0 (#4007)
* fix(deps): update dependency @withtyped packages to ^0.11.0

* refactor: fix build

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-10 16:21:12 +08:00
renovate[bot]
9e036bc0e8
chore(deps): update parcel monorepo to v2.9.2 (#4011)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-10 16:00:50 +08:00
renovate[bot]
66ba526040
fix(deps): update @withtyped monorepo to ^0.10.0 (#4008)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-08 14:56:31 +00:00
renovate[bot]
417534e9e4
chore(deps): update dependency got to v13 (#3915)
chore(deps): update dependency got to v13.0.0

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-07 08:10:27 +00:00
silverhand-bot
3acb0d2db1
release: version packages (#3857) 2023-06-06 23:21:29 +08:00
Charles Zhao
19ef8c1e35
chore: bump logto js sdks (#3943) 2023-06-01 17:01:00 +08:00
simeng-li
3d98852334
chore(core): bump oidc version (#3941)
* chore(core): bump oidc version

bump oidc version

* fix(core): fix userId not found bug

fix userId in session not found bug
2023-06-01 16:20:08 +08:00
renovate[bot]
b1e048772c
chore(deps): update dependency puppeteer to v20 (#3803)
* chore(deps): update dependency puppeteer to v20

* chore(deps): update dependency jest-puppeteer to v9

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-06-01 12:37:59 +08:00
renovate[bot]
11cb34f7ae
chore(deps): update parcel monorepo to v2.9.1 (#3912)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-05-30 06:03:18 +00:00
Darcy Ye
1b57f26533
feat(cloud,test): add DELETE /tenants/:id API (#3900) 2023-05-30 02:50:06 +00:00
renovate[bot]
f404e84013
chore(deps): update dependency @fontsource/roboto-mono to v5 (#3874)
* chore(deps): update dependency @fontsource/roboto-mono to v5

* fix: lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-05-24 03:37:58 +00:00
Gao Sun
02eee1956f
Merge pull request #3879 from logto-io/gao-feature-updates-for-openai-plugins
feat: updates for openai plugins
2023-05-23 22:55:47 +08:00
Gao Sun
4f1e29aefc
release: version packages 2023-05-23 21:42:01 +08:00
Charles Zhao
f1730db70b
test(test): add tests for console user management (#3863)
* test(test): add tests for console user management

* chore: remove unused dependency

* chore: remove testing screenshots
2023-05-22 13:31:45 +08:00
Gao Sun
08a578b4d1
Merge pull request #3858 from logto-io/sijie-pkce-require
refactor: disable pkce requirement for traditional app
2023-05-18 23:25:03 +08:00
Gao Sun
dc41d5d3dc
release: version packages 2023-05-18 22:26:11 +08:00
Charles Zhao
497d5b5262
feat(console,phrases): add support to update sign-in identifiers in user details form (#3828)
* feat(console,phrases): add support to update sign-in identifiers in user details form

* chore: add changeset
2023-05-17 08:19:51 +00:00
renovate[bot]
698a3c1da7
chore(deps): update dependency @rollup/plugin-commonjs to v25 (#3837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 06:18:46 +00:00
silverhand-bot
404fe9a03f
release: version packages (#3794) 2023-05-16 04:52:17 +00:00
Charles Zhao
ff85eff7e9
chore(cli): lock logto schemas version (#3847) 2023-05-16 12:31:47 +08:00
Charles Zhao
c3c9216305
chore: bump caniuse-lite version (#3816) 2023-05-08 14:14:34 +08:00
Charles Zhao
260f39f72d
refactor(console): remove superstruct dependency from console (#3808) 2023-05-05 17:32:40 +08:00
Gao Sun
1642df7e1c
refactor(core): add response schemas to swagger.json API (#3801) 2023-05-04 12:35:55 +08:00
renovate[bot]
f4f8224ff9
chore(deps): update dependency http-errors to ^2.0.0 (#3785)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-29 12:57:21 +00:00
renovate[bot]
13d9acdb8b
fix(deps): update dependency lru-cache to v9 (#3686)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-29 12:10:05 +00:00
Darcy Ye
7c2af46cf6
chore(test): complete custom phrase API guard and add ITs (#3772) 2023-04-28 03:41:00 +00:00
Darcy Ye
6a463f6a2a
chore(toolkit): add UTs for connector-kit (#3760) 2023-04-28 10:50:05 +08:00
silverhand-bot
4bba658d7b
release: version packages (#3751) 2023-04-27 19:11:20 +08:00
renovate[bot]
8abcf079ae
chore(deps): update logto js sdk monorepo packages to v2 (major) (#3766)
chore(deps): update logto js sdk monorepo packages to v2

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-26 17:21:04 +00:00
Gao Sun
20418dc4f9
refactor(console,ui,demo-app): fix i18next types (#3743)
* refactor(console,ui,demo-app): fix i18next types

disable allowObjectInHTMLChildren for safer typing. use <DynamicT /> for
all dynamic translations.

* fix(console): i18n key in UserAccountInformation

* refactor(console,ui): update <DynamicT /> and add tests
2023-04-24 16:05:26 +08:00
Darcy Ye
632b8b1d84
refactor(schemas,core,console): use JsonObject instead of ArbitraryObject (#3730) 2023-04-24 11:11:27 +08:00
Gao Sun
05d38becbd
chore(deps): upgrade i18next series packages 2023-04-21 18:23:45 +08:00
Gao Sun
368d2f3efb
chore(deps): update dependency i18next to v22 2023-04-21 18:21:09 +08:00
silverhand-bot
dd24aafc17
release: version packages (#3728) 2023-04-20 17:04:15 +00:00
Gao Sun
748878ce5b
feat(app-insights): add React context provider and hook
and fix AppInsights init issue for frontend projects.
2023-04-21 00:29:53 +08:00
Gao Sun
4331deb6f2
feat(app-insights): support ClickAnalytics plugin 2023-04-21 00:29:52 +08:00
Gao Sun
be373591a9
refactor(ui): use swc for testing (#3726)
* refactor(ui): use swc for testing

* chore: remove unused code
2023-04-20 16:21:21 +00:00
wangsijie
2ad86d55b3
fix(core): use client s3 sdk (#3715) 2023-04-20 15:20:05 +08:00
silverhand-bot
666c4eaaa7
release: version packages (#3722) 2023-04-19 22:34:00 +08:00
renovate[bot]
e97fe2e1f3
chore(deps): update dependency react-router-dom to v6.10.0 (#3238)
* chore(deps): update dependency react-router-dom to v6.10.0

* fix: lockfile

* fix: react router

* chore: add annotations about the type definition file

* fix: bump version number for ui package

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
2023-04-19 18:05:57 +08:00
silverhand-bot
85889031d0
release: version packages (#3705) 2023-04-18 21:13:31 +08:00
Gao Sun
c55ff367c7
chore: specify versions for workspace protocol (#3707) 2023-04-17 10:10:14 +00:00
renovate[bot]
5beeb5575b
chore(deps): update logto js sdk monorepo packages to v1.1.1 (#3690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 10:01:54 +00:00
renovate[bot]
88032402dd
fix(deps): update dependency query-string to v8 (#3667)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-10 17:28:45 +00:00
renovate[bot]
8107f77588
chore(deps): update dependency @rollup/plugin-typescript to v11 (#3666)
* chore(deps): update dependency @rollup/plugin-typescript to v11

* chore: fix lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-11 00:59:17 +08:00
Gao Sun
1df4c91102
Merge pull request #3679 from logto-io/gao-implement-central-cache
feat: central cache
2023-04-11 00:07:34 +08:00
simeng-li
764d0dd5ac
chore(core,cloud): add cloud route security headers (#3674)
* chore(core,cloud): add cloud route security headers

add cloud routes security headers

* chore(core,cloud): only allow ws on dev environment

only allow ws on dev environment

* refactor(core,cloud): update using helmetjs package

update using helmetjs package

* chore(core): fix comment

fix comment
2023-04-10 10:23:07 +08:00
renovate[bot]
e07355c42e
fix(deps): update dependency @withtyped/server to ^0.9.0 (#3587)
fix(deps): update withtyped packages to ^0.9.0

Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-08 10:01:53 +00:00
renovate[bot]
901ef8ecd6
chore(deps): update silverhand configs monorepo packages to v3.0.1 (#3683)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-07 16:17:14 +00:00
Gao Sun
1548e0732f
chore: add comments and refactor 2023-04-07 14:36:25 +08:00
Gao Sun
4a64d267b6
feat: implement central cache
with Redis as the default choice.
2023-04-07 14:29:35 +08:00
Gao Sun
9847fdc098
Merge pull request #3676 from logto-io/gao-reorg-pacakges
refactor: reorg packages
2023-04-07 01:22:17 +08:00
Gao Sun
5d68e313c2
refactor: fix tests 2023-04-07 00:58:13 +08:00
Gao Sun
0fbd31059f
refactor: fix ui import 2023-04-04 17:06:04 +08:00
Gao Sun
aa203308f0
refactor: reorg packages
update `@logto/shared` to a non-business package
and put business components into `@logto/*kit`.
2023-04-04 16:28:48 +08:00
renovate[bot]
7915681b5a
fix(deps): update dependency samlify to v2.8.10 (#3665)
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-04-04 14:59:41 +08:00
Gao Sun
94e03f2768
Merge pull request #3661 from logto-io/gao-add-spa-as-dependency
refactor(core): add single-page apps as dependencies
2023-04-03 17:02:52 +08:00
Gao Sun
e8811269c4
Merge branch 'master' into gao-add-connector-packages 2023-04-03 16:42:28 +08:00
Gao Sun
0e49e43245
refactor: update title in main flow and report pv for console sign-in (#3651) 2023-04-03 07:40:56 +00:00
Xiao Yijun
6773a3ae35
refactor(console): improve color picker (#3648) 2023-04-03 10:38:31 +08:00
simeng-li
1c431e7a59
feat(core): apply standard security headers 1/2 (#3590)
* feat(core): add some basic security headers

add some basic security headers

* chore(core): add some comments

add some comments

* chore(core): update the refererPolicy configs

update the refererPolicy configs

* chore(core): update helmet middleware

update helmet middleware

* feat(core): add csp headers to the mainflow and ac http requests 2/2 (#3613)

* feat(core): add csp headers to the mainflow requests

add csp headers to the mainflow requests

* chore(core): add ui and console security headers

add ui and console security headers

* fix(core): remove unused middleware

remove unused middleware

* fix(ui): set terms iframe sandbox

set terms iframe sandbox allow same origin

* fix(core): update security headers middleware

update security headers middleware

* chore(core): add changesets

* chore(core): address rebase conflict

address rebase conflict
2023-04-03 10:24:50 +08:00
Gao Sun
1e5b68423a
refactor(core): add single-page apps as dependencies 2023-04-02 17:40:07 +08:00
Gao Sun
3ad272f345
refactor: leverage pnpmfile for dependency installation 2023-04-01 20:53:44 +08:00
Gao Sun
79f3c44b62
chore: update workspace configs 2023-04-01 16:37:49 +08:00
Gao Sun
3f19aa259e
feat(cli): translation sync command
to create missing files or translate untranslated phrases
across all existing languages
2023-03-31 23:21:03 +08:00
renovate[bot]
4f4fbe5076
chore(deps): update pnpm to v8 (#3628)
* chore(deps): update pnpm to v8

* ci: update workflow

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-30 18:51:20 +08:00
Gao Sun
c200169886
refactor: add app insights package (#3637)
* refactor: add app insights package

* refactor: fix dependencies
2023-03-30 13:36:46 +08:00
Gao Sun
c064a71153
Merge pull request #3629 from logto-io/gao-cli-translation-cmd
feat(cli): create translation command
2023-03-29 14:06:40 +08:00
Gao Sun
ee51478618
refactor(console): update page title and manually track pv (#3625) 2023-03-28 17:51:14 +00:00
Gao Sun
5e67a785c6
chore: fix lockfile 2023-03-29 00:20:41 +08:00
Gao Sun
4ec5e0550f
feat(cli): create translation command
iterate phrases files and translate to a new language using OpenAI API
2023-03-28 21:45:45 +08:00
renovate[bot]
93bc915609
chore(deps): update silverhand configs monorepo packages to v3.0.0 (#3585)
* chore(deps): update silverhand configs monorepo packages to v3.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-24 16:28:36 +00:00
renovate[bot]
11e302b2fa
chore(deps): update dependency typescript to v5 (#3463)
* chore(deps): update dependency typescript to v5

* refactor: fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2023-03-21 19:37:51 +08:00
renovate[bot]
9633256682
fix(deps): update dependency lru-cache to v8 (#3368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 19:36:55 +08:00
Gao Sun
959d1f02dd
refactor: use caret range for workspace dependencies (#3566) 2023-03-21 19:33:08 +08:00
renovate[bot]
91c1724656
chore(deps): update logto js sdk monorepo packages to v1.1.0 (#3512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 13:50:39 +08:00
simeng-li
10dca5891b
feat(console): add interactionMode qs to AC (#3522) 2023-03-20 02:55:02 +00:00
Gao Sun
ee3135a536
refactor(console): add tracking (#3521) 2023-03-20 02:44:10 +00:00
Gao Sun
d27499c553
refactor(cloud,core): report exception to Applicaiton Insights
when status code >= 500 or other unhandled expcetions occurred.
2023-03-19 10:40:17 +08:00
Gao Sun
169c4450eb
refactor: use essentials tryThat and trySafe 2023-03-18 13:02:51 +08:00
renovate[bot]
fa3c13a68d
chore(deps): update dependency @silverhand/essentials to v2.5.0 2023-03-17 18:41:13 +00:00
Gao Sun
e0fad2dccd
refactor: implement ttl cache 2023-03-17 13:59:59 +08:00
Gao Sun
dd91ebddfa
refactor: cache well-known data 2023-03-17 13:59:53 +08:00
renovate[bot]
565a0aead2
chore(deps): update dependency @silverhand/essentials to v2.4.1 (#3421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 21:36:02 +08:00
wangsijie
d8d1cfeeb5
feat(cloud): send email (#3405) 2023-03-15 06:54:31 +00:00
simeng-li
55cd785aaa
feat(ui): implement a fullscreen iframe modal container (#3347) 2023-03-15 06:53:50 +00:00