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

222 commits

Author SHA1 Message Date
Gao Sun
42586eff88
refactor: remove shared packages (#1946)
* refactor: remove shared packages

* refactor: fix error
2022-09-16 11:25:43 +00:00
Gao Sun
8d22b5c468
refactor(core)!: update user scopes (#1922)
* refactor(core)!: update user scopes

* refactor(core): add tests

* refactor: update per review
2022-09-15 11:12:33 +08:00
silverhand-bot
8335e1ff0a
release: v1.0.0-beta.9 2022-09-07 16:21:37 +00:00
Wang Sijie
52b9dd8569
feat(core)!: load connectors by folder (#1879) 2022-09-05 17:49:11 +08:00
Gao Sun
8c451b4e3c
chore: upgrade silverhand packages (#1854) 2022-09-01 17:03:49 +08:00
silverhand-bot
301bd23b49
release: v1.0.0-beta.8 2022-09-01 06:11:38 +00:00
Gao Sun
139dec727d
refactor: connector-core types (#1843)
* refactor: connector-core types

* refactor: fix rebase issues

* refactor: remove unused types

* refactor: fix connector error code

* refactor(core): add comments

* refactor: remove unused types
2022-09-01 04:21:42 +00:00
Kyungyoon Kim
1f9e820eb6
feat(connector): add kakao connector (#1826)
* feat(connector): add kakao connector

* fix(connector): kakao when user profile is null bug fix

* chore(connector): update kakao connector readme

* chore(connector): delete changelog

* chore(connector): delete unused lib

* test(connector): update test

* fix: pnpm lock

* fix: fix test

Co-authored-by: wangsijie <wangsijie@silverhand.io>
2022-08-31 10:59:59 +08:00
silverhand-bot
3d92f35589
release: v1.0.0-beta.6 2022-08-30 05:44:34 +00:00
Wang Sijie
8db355287c
refactor(connector): apply new design (#1817)
* feat(core,connector-core): add connector core (#1803)

* feat(core,connector-core): add connector core

* fix: create connector function

* refactor(connector): change connectors dependency from connector-types to connector-core (#1812)

* refactor(connector,core): change the connectors dependency from connector-types to connector-core

* refactor(core): do not need to test validator for specific connector implementation

* refactor(connector): remove unnecessary code snippets

* refactor(connector): keep UT placeholder for passwordless connectors

Co-authored-by: wangsijie <wangsijie@silverhand.io>

* fix(core): fix IT description and undestructure error (#1818)

fix(connector): fix connector routes and IT typos

* fix(connector): remove @logto/connector-types as it will not be used anymore (#1819)

fix(connector): remove @logto/connector-types as it will not be used anymore

* chore(connector): rename db in logto connector (#1821)

chore(connector): rename LogtoConnector db to dbEntry

Co-authored-by: Darcy Ye <darcyye@silverhand.io>
2022-08-26 16:25:08 +08:00
Gao Sun
35a4b7289a
refactor: watch all packages when dev (#1796) 2022-08-22 14:58:39 +08:00
silverhand-bot
a9241c5862
release: v1.0.0-beta.5 2022-08-19 13:49:33 +00:00
Gao Sun
84c0d8f845
refactor(core): replace argon2 with hash-wasm (#1794) 2022-08-19 13:47:24 +08:00
Xiao Yijun
72e7341c3d
refactor(core): import getEnvAsStringArray from silverhand/essentials (#1787)
* refactor(core): import `getEnvAsStringArray` from `silverhand/essentials`

* chore: bump `@silverhand/essentials` to `1.2.0`
2022-08-17 11:40:50 +08:00
Gao Sun
a6bb2f7ec2
feat(core): enable userinfo endpoint (#1783)
* feat(core): enable userinfo endpoint

* fix(deps): move snake-case to production deps
2022-08-15 20:45:13 +08:00
renovate[bot]
a9f99db54e
fix(deps): update dependency slonik to v30 (#1744)
* fix(deps): update dependency slonik to v30

* fix(core): await for `createPool()`

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-08-12 09:27:54 +00:00
silverhand-bot
e42172e757
release: v1.0.0-beta.4 2022-08-11 13:48:19 +00:00
Gao Sun
925dc052d7
refactor: upgrade i18next 2022-08-06 00:47:58 +08:00
Gao Sun
08bea22195
chore(deps): upgrade packages (#1738)
* chore(deps): upgrade packages

* refactor: update per lint report

* chore(deps): upgrade configs

* fix(ui): lint rules compatibility

* chore: remove unused override

* chore(deps): upgrade jest config
2022-08-05 05:58:31 +00:00
renovate[bot]
21a0c8f635
fix(deps): update dependency slonik to v29 (#1700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 19:29:02 +08:00
silverhand-bot
1e568e02c9
release: v1.0.0-beta.3 2022-08-01 15:02:50 +00:00
Ufuk ARSLAN
875a828831
feat(connector): azure active directory connector added (#1662)
* feat(connector): azure active directory connector added

* refactor(connector): apply code review suggestions

* refactor: removed PKCE

* chore: update package and lockfile

* refactor(connector): fix typo

* refactor(connector): polish code

Co-authored-by: Gao Sun <gao@silverhand.io>
2022-07-26 23:31:25 +08:00
silverhand-bot
c2050b7ccc
release: v1.0.0-beta.2 2022-07-25 17:03:50 +00:00
renovate[bot]
6e96d73a7c
fix(deps): update dependency koa-router to v12 (#1596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 23:02:06 +08:00
simeng-li
c56ddec84a
fix(core): resolve some core no-restricted-syntax lint error (#1606)
* fix(core): resolve some core no-restricted-syntax lint error

resolve some core no-restricted-syntax lint error

* fix(core): cr fix
2022-07-20 10:28:48 +00:00
silverhand-bot
3af4f547ed
release: v1.0.0-beta.1 2022-07-19 01:05:03 +00:00
Gao Sun
e7c5e63304
refactor: remove import react (#1558) 2022-07-15 10:01:42 +00:00
Darcy Ye
a01130ce8f
chore(connector): rename connector packages (#1550) 2022-07-15 14:48:52 +08:00
silverhand-bot
af5e3b416e
release: v1.0.0-beta.0 2022-07-14 16:40:44 +00:00
Gao Sun
23a1fe3aff
refactor: upgrade configs (#1537)
* refactor: upgrade configs

* fix(schemas): remove eslintignore
2022-07-13 16:39:30 +00:00
renovate[bot]
24c7b99c45
chore(deps): update dependency @silverhand/jest-config to ^0.15.0 (#1527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 11:44:25 +08:00
renovate[bot]
1cddf81a78
chore(deps): update dependency @silverhand/ts-config to ^0.15.0 (#1528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 11:29:10 +08:00
IceHe.xyz
434e97d5cf
chore: bump eslint-config and eslint-config-react 0.15.0 (#1521)
* chore: bump eslint-config 0.15.0

* chore: bump eslint-config-react 0.15.0

* style: no explicit any
2022-07-12 23:00:05 +08:00
silverhand-bot
ca8ec4862a
release: v1.0.0-alpha.4 2022-07-08 16:49:39 +00:00
silverhand-bot
c7def1124d
release: v1.0.0-alpha.3 2022-07-07 16:40:33 +00:00
renovate[bot]
ff6f2235ea
fix(deps): update dependency koa-router to v11 (#1406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 20:48:08 +08:00
renovate[bot]
a76a13d9ec
chore(deps): update dependency @shopify/jest-koa-mocks to v5 (#1413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 20:47:33 +08:00
IceHe.xyz
100bffbc6a
feat(core): append additional yaml responses to swagger.json (#1407) 2022-07-07 09:48:46 +00:00
silverhand-bot
577433ae2d
release: v1.0.0-alpha.2 2022-07-07 04:54:25 +00:00
silverhand-bot
fcd70d1232
release: v1.0.0-alpha.1 2022-07-05 12:34:34 +00:00
silverhand-bot
6a83732185
release: v1.0.0-alpha.0 2022-07-04 14:58:52 +00:00
silverhand-bot
2caed68c88
release: v0.1.2-alpha.5 2022-07-03 09:04:51 +00:00
silverhand-bot
2faf429e5b
release: v0.1.2-alpha.4 2022-07-03 08:33:26 +00:00
silverhand-bot
e588ba204a
release: v0.1.2-alpha.3 2022-07-03 06:54:10 +00:00
silverhand-bot
2fa633a99b
release: v0.1.2-alpha.2 2022-07-02 09:11:16 +00:00
silverhand-bot
e234f64cec
release: v0.1.2-alpha.1 2022-07-02 04:24:46 +00:00
silverhand-bot
9396808fa4
release: v0.1.2-alpha.0 2022-07-02 02:29:37 +00:00
silverhand-bot
39890c1c29
release: v0.1.1-alpha.0 2022-07-01 19:18:23 +00:00
Gao Sun
21ca4d3d62
chore(core): upgrade oidc-provider 2022-06-30 10:44:09 +08:00
Darcy Ye
f8710e147d
feat(core): add smtp connector (#1131)
* feat(connector-smtp): add smtp connector

* feat(connector-smtp): fix UTs
2022-06-17 10:52:35 +08:00
Charles Zhao
0014a4696b
chore: remove only-allow pnpm from all sub-packages 2022-06-14 17:18:13 +08:00
renovate[bot]
28779e847f
chore(deps): update dependency openapi-types to v12 (#1046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 16:35:36 +08:00
Gao Sun
91e2f055f2
feat(demo-app): implementation (3/3) (#1021)
* feat(core): seed demo app for fresh DB

* feat(core): throw 404 when demo app deleted

* fix(core): import

* fix: lockfile
2022-06-02 07:32:46 +00:00
renovate[bot]
d1b9f9d28a
chore(deps): update dependency lint-staged to v13 (#1019)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-02 13:19:09 +08:00
Gao Sun
d4f38bce2b
feat(core): add etag for settings api (#1011) 2022-06-01 16:56:23 +08:00
Gao Sun
2812d6de46
refactor(core): serve static middleware (#1010)
* refactor(core): serve static middleware

* chore(deps): remove unused package

* refactor(core): per review

* fix(core): test

* refactor(core): using endsWith to detect index
2022-06-01 05:12:15 +00:00
Gao Sun
7400ed8896
feat(connector): apple (#966)
* feat(connector): apple

* feat(connector): apple

* fix(connector): test

* refactor(connector): per review

* refactor(connector): update issue number

Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
2022-05-27 15:43:42 +08:00
Wang Sijie
5b44b7194e
feat(core): serve connector logo (#931) 2022-05-24 13:54:37 +08:00
Darcy Ye
9589aeafec
feat(connector-alipay-native): add Alipay Native connector (#873)
* feat(connector-alipay-native): add Alipay Native connector

* feat(connector-alipay-native): add Alipay Native connector to initialization
2022-05-20 13:40:40 +08:00
renovate[bot]
e5cb163dc2
chore(deps): update dependency @shopify/jest-koa-mocks to v4 (#904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 10:41:09 +08:00
Darcy Ye
d7ce13d260
feat(connector-twilio-sms): add twilio sms connector (#881)
* feat(connector-twilio-sms): add twilio sms connector

* feat(connector-twilio-sms): add twilio sms connector to initialization
2022-05-20 09:56:16 +08:00
Xiao Yijun
85a407c5f6
feat: update field check rules (#854) 2022-05-18 04:12:51 +00:00
Darcy Ye
b887655827
feat(connector-sendgrid-email): add sendgrid email connector (#850)
* feat(connector-sendgrid-mail): add SendGrid Mail connector

* feat(core): add SendGrid Mail connector to initializer and fix usageType
2022-05-18 11:39:36 +08:00
renovate[bot]
b5bdfcbc5b
chore(deps): update dependency @silverhand/jest-config to ^0.14.0 (#869)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 13:33:53 +00:00
renovate[bot]
8a012a393d
chore(deps): update dependency @silverhand/ts-config to ^0.14.0 (#859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 11:04:12 +00:00
renovate[bot]
3316bbf429
chore(deps): update dependency @silverhand/eslint-config to ^0.14.0 (#866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 10:42:15 +00:00
renovate[bot]
66b57ad4d5
chore(deps): update dependency @silverhand/eslint-config to ^0.13.0 (#858)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-17 18:07:13 +08:00
Gao Sun
f4526a9a3f
refactor: use @silverhand/jest-config (#861) 2022-05-17 17:32:41 +08:00
Darcy Ye
8e1533a702
feat(core): update connector db schema (#732)
* feat(core): update connector db schema

* feat(core): eliminate code redundancy for UTs

* feat(core): delete insertConnector on conflict logic and fix UTs

* feat(core): fix UI according to new connector type implementation

* feat(core): removed unused getConnectorByTargetAndPlatform methods

* feat(core): deprecate the function that updateConnector by giving target and platform

* feat(core): keep SSOT on combination of connector and corresponding metadata

* feat(core): rename index name in db
2022-05-12 12:17:17 +08:00
Renovate Bot
d36abe1ee5
chore(deps): update dependency @silverhand/ts-config to ^0.12.0 2022-05-11 12:26:08 +00:00
Renovate Bot
d5ef7ddbe3
chore(deps): update dependency @silverhand/eslint-config to ^0.12.0 2022-05-11 11:48:42 +00:00
renovate[bot]
87a9f8a2ae
chore(deps): update dependency @silverhand/eslint-config to ^0.11.0 (#775)
* chore(deps): update dependency @silverhand/eslint-config to ^0.11.0

* chore: add comments

* fix: lockfile

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-11 06:13:06 +00:00
Renovate Bot
43db7374c9
chore(deps): update dependency @silverhand/ts-config to ^0.11.0 2022-05-09 16:15:27 +00:00
Gao Sun
5909727ebc
refactor(core): use argon2 for password encryption (#738)
* refactor(core): use argon2 for password encryption

* refactor(core): adjust time cost
2022-05-06 16:38:38 +08:00
Gao Sun
3b17324d18
fix: lint:report script (#730) 2022-05-05 10:26:30 +00:00
Darcy Ye
c6f2546126
feat(core): fix connectors' initialization 2022-04-29 11:31:07 +08:00
Gao Sun
e61dba90a8
fix(core): remove ESM declaration (#687) 2022-04-28 04:18:03 +00:00
Gao Sun
6738b6a088
refactor(core): use esm in core (#681) 2022-04-28 11:19:38 +08:00
Gao Sun
f5c7faf775
refactor: move cli -> core 2022-04-26 14:11:15 +08:00
IceHe.xyz
3aa4342f2e
feat(core,schemas): make it type-safer to log (#656) 2022-04-26 11:31:07 +08:00
Gao Sun
1636f10f30
chore: align author (#657) 2022-04-25 03:26:41 +00:00
renovate[bot]
25814d92ef
fix(deps): update dependency slonik to v28 (#649)
* fix(deps): update dependency slonik to v28

* fix: build

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-04-24 10:34:18 +00:00
Gao Sun
2d7918a224
feat(jest-config): init package (#644)
* feat(jest-config): init package

* chore(deps): upgrade `@types/jest`

* fix(core): add jest-matcher dependency

add jest-matcher dependency

Co-authored-by: simeng-li <simeng@silverhand.io>
2022-04-24 18:02:18 +08:00
renovate[bot]
88e58b8b0c
fix(deps): update dependency jose to v4 (#646)
* fix(deps): update dependency jose to v4

* fix(deps): update jose usage

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-04-24 13:55:47 +08:00
renovate[bot]
f846872dc5
fix(deps): update dependency koa-body to v5 (#647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-24 13:52:02 +08:00
Gao Sun
0a21303b41
refactor: align node version (#625) 2022-04-24 09:50:59 +08:00
renovate[bot]
fbc8bed6a4
fix(deps): update dependency i18next to v21 (#645)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:58:54 +08:00
renovate[bot]
06d1f1e906
chore(deps): update dependency openapi-types to v11 (#635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:54:45 +08:00
renovate[bot]
e03426b36d
chore(deps): update dependency tsc-watch to v5 (#637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 23:53:37 +08:00
renovate[bot]
7b485aebab
chore(deps): update dependency lint-staged to v12 (#634) 2022-04-22 16:46:39 +00:00
renovate[bot]
4399dea218
fix(deps): update dependency dotenv to v16 (#624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 18:07:35 +08:00
Gao Sun
6a62e32fa5
refactor(core): inquire when required env not found (#586)
* refactor(core): inquire when required env not found

* refactor(core): add comments for create DB pool
2022-04-21 16:13:59 +08:00
Xiao Yijun
975e715c47
fix(core): revert add oidc config to application response (#566) 2022-04-18 22:30:57 +08:00
Xiao Yijun
d238168ebf
feat(core): add oidc config to the response of application apis (#536) 2022-04-14 14:48:56 +08:00
Darcy Ye
2f22a81a8f
feat(core): add Alipay web connector (#522) 2022-04-14 12:22:30 +08:00
IceHe.xyz
9e25a097bb
test(core): guard branding of sign-in experience (#494)
* chore(core,ui): upgrade jest related dev dependencies to latest versions

* test(core): branding guard of sign-in experience
2022-04-07 11:56:21 +08:00
Gao Sun
4a904f2953
ci: upload eslint annotations (#490)
* ci: upload eslint annotations

* ci: update `upload-annotations.yml`
2022-04-06 06:06:34 +00:00
Charles Zhao
48bd57c94e
chore: bump version of configs 2022-03-31 15:18:34 +08:00
IceHe.xyz
cd63388ab1
feat(schemas): zod type guards of sign-in experience jsonb fields (#473)
* feat(schemas): guard branding logo url and terms-of-use content url

* feat(schemas): guard branding logo url non-optional

* feat(schemas): guard branding colors and slogan nonempty

* chore(core,schemas): upgrade zod dependency version from 3.8.1 to 3.14.3

* feat(schemas): jsonb types guard hex color values

* feat(core): hex color regex
2022-03-31 14:19:12 +08:00
Charles Zhao
f256c2c38c
feat(core): copy markdown files to build folder when building project 2022-03-21 14:27:44 +08:00