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

112 commits

Author SHA1 Message Date
Gao Sun
ab82e83afb
chore: upgrade vitest and happy-dom (#6858)
* chore: upgrade happy-dom and vitest

* chore: upgrade @vitest/coverage-v8
2024-12-08 01:11:15 +08:00
silverhand-bot
2856f9ee28
release: version packages (#6811) 2024-11-22 17:04:11 +08:00
wangsijie
af5c6c7f8e
refactor(core): use template type for code verification (#6687) 2024-10-25 14:50:55 +08:00
simeng-li
509e86e4f4
fix(deps): update withtyped and cloud dependency version (#6538)
* fix(deps): update withtyped and cloud dependency version

update withtyped and cloud dependency version

* chore: update cloud dependency

* chore(core): update cloud client utils type

---------

Co-authored-by: Darcy Ye <darcyye@silverhand.io>
2024-09-03 17:51:45 +08:00
Gao Sun
b73452ceb3
chore(deps): upgrade typescript 2024-07-20 22:04:56 +08:00
Gao Sun
dd4ae57a98
Merge pull request #6241 from logto-io/gao-upgrade-zod 2024-07-15 10:49:13 +08:00
renovate[bot]
f6901f591c
chore(deps): update vitest monorepo to v2 (major) (#6202)
* chore(deps): update vitest monorepo to v2

* refactor: remove unused lint ignorings

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2024-07-14 14:58:09 +00:00
Gao Sun
e3109af026
chore(deps): upgrade zod 2024-07-12 20:56:01 +08:00
silverhand-bot
1fa9f85e14
release: version packages (#5987) 2024-07-06 09:07:56 +08:00
Darcy Ye
15953609bb
feat: support prompt config for some built-in connectors (#6023)
* feat: support prompt config for some built-in connectors

* chore: adopt code review suggestions

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

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-06-24 04:42:47 +00:00
Gao Sun
be1b570691
chore: add comments 2024-06-17 12:06:52 +08:00
Gao Sun
6308ee1857
feat(connector): google one tap 2024-06-16 13:55:36 +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
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
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
silverhand-bot
fb55249ab2
release: version packages (#5463) 2024-04-10 21:27:24 +08:00
Gao Sun
02833b0c39
chore: add test coverage pacakge 2024-03-28 14:04:15 +08:00
Gao Sun
f549841b67
refactor: add back build:test for other packages 2024-03-28 12:59:13 +08:00
Gao Sun
412a3df1cf
refactor: remove jest 2024-03-28 12:07:54 +08:00
Gao Sun
57d97a4df8
feat: return and store connector raw data 2024-03-19 14:05:42 +08:00
Gao Sun
2c10c24232
refactor: update invitation apis 2024-03-19 10:38:36 +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
silverhand-bot
3f28e9a445
release: version packages (#5068) 2024-02-08 13:18:42 +08:00
Gao Sun
0a87ffd609
refactor(core): use deepmerge (#5361) 2024-02-01 09:17:29 +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
6befe60149
refactor!: update mock connector file paths 2024-01-29 21:33:12 +08:00
Gao Sun
0a20b5a6f8
feat(core): put invitation status 2024-01-29 19:39:27 +08:00
Gao Sun
570a4ea9e2
feat: create invitation (#5245)
* feat: create invitation

* refactor: update test imports

* refactor: update unit tests

* refactor: update docs

* refactor: update api tests

* chore: add changesets

* refactor: add comments

* refactor: fix swagger check

* refactor: keep compatibility
2024-01-25 19:44:20 +08: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
Gao Sun
31e60811d7
chore: use Node 20 LTS for engine requirement (#5084) 2023-12-11 09:10:53 +08:00
Darcy Ye
3bab5351a6
feat(console): add signing certificate reader (#5009)
* feat(console): add signing certificate reader

* fix(core): throw invalid certificate SsoConnectorError only when failed to construct a certificate
2023-12-04 14:04:24 +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
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
simeng-li
d24aaedf5b
refactor(toolkit)!: split connector toolkit types (#4678)
* refactor(toolkit)!: split connector toolkit types

split connector toolkit types

* chore: add changeset

add changeset
2023-10-18 13:53:21 +08: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
Darcy Ye
c5b1976117
refactor(toolkit): update input params type of SendMessageFunction (#4287) 2023-09-05 11:07:38 +08:00
Gao Sun
b8a7b900e1
feat(core): guard password by policy 2023-09-03 02:11:22 +08: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
Darcy Ye
77d274a3c3
refactor(toolkit,connector,core,cli): cache access token for logto email service (#4309) 2023-08-11 15:43:09 +08:00
Gao Sun
3752b86797
refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00: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
Darcy Ye
3e08f3c94d
refactor(core,connector): store and get fromEmail from logto email connector (#4164) 2023-07-14 03:36:24 +00:00
Darcy Ye
39565e383d
chore(connector,toolkit,console,phrases): align config key and display name (#4150) 2023-07-11 08:16:25 +00:00
Darcy Ye
cd5138fc5f
chore(toolkit,phrases,connector,console): use company info instead of company address (#4143) 2023-07-11 15:54:38 +08:00
Gao Sun
947de83173
chore: upgrade configs (#4132)
* chore: upgrade configs

* chore: fix lint errors
2023-07-07 17:17:21 +00:00