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

384 commits

Author SHA1 Message Date
IceHe
a4cb138c12
refactor(core,phrases,schemas): validate fallback language before updating sign-in experience (#2023) 2022-09-29 15:28:58 +08:00
silverhand-bot
11381afdc5
release: v1.0.0-beta.10 2022-09-28 14:30:24 +00:00
Xiao Yijun
2c1610d665
refactor(console,core,phrases): replace LanguageKey with LangaugeTag in phrase-ui related code (#2024) 2022-09-28 18:16:23 +08:00
Gao Sun
2db331e19f
refactor(core): copy alteration scripts before executing (#2021) 2022-09-28 15:25:54 +08:00
IceHe
7ce55a8458
feat(core,phrases): add GET /phrase route (#1959) 2022-09-27 07:36:03 +00:00
wangsijie
2cb4091039
refactor(core,schemas): rename migration to alteration (#2002) 2022-09-26 16:38:27 +08:00
wangsijie
450130b4b8
Merge pull request #1990 from logto-io/sijie-log-4232-migration-timestamp
feat(core,schemas): use timestamp to version migrations
2022-09-26 13:54:46 +08:00
Darcy Ye
ec3fa4715d
chore(core): remove unnecessary updateLastSignInAt (#1982) 2022-09-26 03:28:18 +00:00
wangsijie
bb4bfd3d41
feat(core,schemas): use timestamp to version migrations 2022-09-26 11:27:12 +08:00
wangsijie
7cc2f4d142
feat(core,schemas): migration deploy cli (#1966) 2022-09-22 10:35:23 +08:00
Charles Zhao
54892ea6d9
chore: bump toolkit to v1.0.0-beta.13 2022-09-19 17:16:19 +08:00
Charles Zhao
2f92b43864
fix: bump react sdk and essentials toolkit to support CJK characters in idToken 2022-09-17 09:59:27 +08:00
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
Gao Sun
38df1ec8f4
chore: upgrade packages 2022-03-11 16:30:22 +08:00
Gao Sun
1399c9258e
chore: upgrade configs (#339) 2022-03-08 15:58:55 +08:00
simeng-li
b03a666fde
ci(core): add codecov github action (#297)
* ci(core): add codecov github action

add codecov github action

* ci(core): update codecov uploader

update codecov uoloader

* ci(core): delete useless codecov yml

delete codecov yml

* chore(core): remove deprecated packages

remove deprecated pacakages
2022-03-01 11:05:25 +08:00
Gao Sun
f7925d9332
chore: upgrade configs and eslint (#294)
* chore: upgrade configs and eslint

* chore: update lockfile

* fix(ui): stylelint
2022-02-28 15:21:48 +08:00
simeng-li
2109b7be31
test(core): add ut for application query (#282)
add ut for appliction query
2022-02-25 13:52:29 +08:00
Gao Sun
b31e90dab2
refactor(core): use custom koa-router types (#267) 2022-02-22 08:33:55 +00:00
simeng-li
8fa169cba1
test(core): add admin-user route UT (#252)
* test(core): add admin-user route ut

add admin-user route ut

* fix(ut): remove redundent code

remove mockKoaAuthMiddleware

* feat(core): update pnpm.lock

update pnpm.lock
2022-02-21 10:45:31 +08:00
Gao Sun
13f6b59ad4
chore: upgrade configs (#243) 2022-02-16 19:06:58 +08:00
Gao Sun
eb319a3b89
refactor: upgrade TypeScript (#241) 2022-02-16 15:17:43 +08:00
Charles Zhao
f30cae7377
chore: upgrade eslint-config to v0.6.1 2022-01-27 19:26:34 +08:00
Wang Sijie
aaa6f4dcc2
feat(github): getAccessToken (#186)
* feat(github): getAccessToken

* fix: pr
2022-01-21 07:26:14 +00:00
simeng-li
aafc258ad9
ci(codecov): add jest coverage report (#167)
* ci(codecov): add jest coverage report

add coverage report on core and ui project
add codecov uploader job

* ci: add report upload github workflow action

add report upload github workflow action

* ci: fix ci replace github test actions with test:report

 fix ci replace github test actions with test:report
2022-01-10 10:04:00 +08:00
IceHe.xyz
a66abbc251
Revert "chore: update silverhand/configs dependency and fix the scope of eslint-disable rule (#157)" (#162)
This reverts commit 7ff8550845.
2021-12-29 03:56:55 +00:00
Darcy Ye
7ff8550845
chore: update silverhand/configs dependency and fix the scope of eslint-disable rule (#157)
* chore: fix the scope of eslint-disable rule

* chore: update silverhand/configs to v0.5.0 and fix linting error accordingly

* chore: fix linting error
2021-12-29 11:05:06 +08:00
Darcy Ye
dd7a385363
chore: update dependency of ESLint to version 8.1.0 or later (#155)
* chore: update eslint version to 8.1.0

* chore: update silverhand configs dependency

* chore: update silverhand configs dependency and fix code block according to linting rules
2021-12-20 14:20:23 +08:00
Xiao Yijun
bb04df5a09
refactor(core): replace querystring with query-string (#151) 2021-12-06 17:32:31 +08:00
Wang Sijie
838ae3fad9
feat: add koa-pagination (#143)
* feat: add koa-pagination

* fix: pr fix
2021-11-30 11:06:50 +08:00
simeng-li
6d5b9e5bcc
chore(chore): bump oidc-provider version (#132)
bump oidc-provider version to 7.10.0 to remove the 16.+ node warnings
2021-11-15 11:02:24 +08:00
Gao Sun
5f60fe491a
fix(core): snakecase OIDC client metadata keys (#127) 2021-10-12 17:27:11 +08:00
Gao Sun
7c69896126
refactor: @logto/essentials -> @silverhand/essentials (#118)
* refactor: `@logto/essentials` -> `@silverhand/essentials`

* chore: remove useless comment
2021-09-16 23:48:06 +08:00
Gao Sun
5ccf903b4a
chore: upgrade configs (#117) 2021-09-16 16:54:32 +08:00
Gao Sun
7dfa31d86c
chore(core): upgrade oidc-provider (#116) 2021-09-15 15:57:32 +08:00
Gao Sun
2c93ef9237
chore: upgrade configs (#114) 2021-09-08 14:13:42 +08:00
Gao Sun
7ae7912642
refactor: adopt new ESLint rule set for FP (#111) 2021-09-07 20:24:27 +08:00
Gao Sun
43456aae9b
feat(core): detect language from querystring and header 2021-09-01 17:08:28 +08:00
Gao Sun
806e99de61
refactor: replace plain assert with a more strict version (#103) 2021-08-31 22:45:28 +08:00
Gao Sun
00c8211160
chore: upgrade configs (#102) 2021-08-31 21:03:13 +08:00
Gao Sun
635fa92853
test(core): add tests for database insert-into.ts (#99) 2021-08-31 00:48:33 +08:00
Gao Sun
bb040cbeee
chore: enforce default export name on React files (#101) 2021-08-30 22:28:08 +08:00
Gao Sun
ea4cfd0e59
chore: update eslint config (#98) 2021-08-30 11:30:54 +08:00
Gao Sun
4973053fda
refactor: integrate zod in schemas (#90) 2021-08-26 13:05:23 +08:00
Gao Sun
58b8ac3957
refactor: use composite run steps and remove eslint formatter 2021-08-20 18:16:00 +08:00
Gao Sun
cd57fe8866
feat(core): setup jest 2021-08-20 14:53:23 +08:00
Gao Sun
acd8157a0d
feat: validate access token if needed 2021-08-15 23:39:03 +08:00
Gao Sun
c58194dd6e chore: add MPL-2.0 license (#76) 2021-08-11 22:12:36 +08:00
Gao Sun
2c6a64892a
chore: add preinstall script to packages 2021-08-10 15:29:32 +08:00
Gao Sun
e5d49504ac
refactor(core): align next() usage and add prod mode for ui proxy 2021-07-30 02:21:47 +08:00
Gao Sun
4eb8d93d56
chore: yarn -> pnpm 2021-07-29 17:46:28 +08:00
Gao Sun
590dd7d858
feat(phrases): add package and refactor error code 2021-07-28 01:13:51 +08:00
Gao Sun
13b516dccb
refactor: unify dev script 2021-07-26 22:04:32 +08:00
Gao Sun
96474fed87
chore: upgrade eslint config 2021-07-26 00:18:45 +08:00
Gao Sun
9752dacf85
chore: unify dep and version 2021-07-25 22:36:22 +08:00
Gao Sun
77712167ba
chore: fix core package name 2021-07-25 22:28:42 +08:00
Gao Sun
a4fe321233
chore: add lint-staged precommit hook 2021-07-25 22:27:51 +08:00
Gao Sun
e64fff0a35
refactor: using monorepo 2021-07-25 21:58:27 +08:00
Gao Sun
405513c977
feat: add default resource 2021-07-25 17:39:59 +08:00
Gao Sun
6031b8a683
feat: auto-gen api doc 2021-07-25 17:39:59 +08:00
Gao Sun
b435414d91
refactor(routes): remove koa-compose dep and save guard config in middleware 2021-07-25 17:39:59 +08:00
Gao Sun
869a2425a2
chore: update commit hooks 2021-07-25 17:39:59 +08:00
Gao Sun
b8c1da5ecc
chore: use shared config 2021-07-25 17:39:59 +08:00
Gao Sun
3e58d991d8
chore: update engines 2021-07-25 17:39:58 +08:00
Gao Sun
aad158085e
chore: setup lint-staged 2021-07-25 17:39:58 +08:00
Gao Sun
9befa9c5f6
refactor: display oidc errors in json, close #34 2021-07-25 17:39:58 +08:00
Gao Sun
ae6e196f37
refactor: add guard and error handler middleware 2021-07-25 17:39:58 +08:00
Gao Sun
ce36754288
chore: upgrade schemas 2021-07-25 17:39:58 +08:00
Gao Sun
69015b5eee
chore: upgrade slonik 2021-07-25 17:39:58 +08:00
Gao Sun
3231be014a
feat: adopt schemas v1.0.6 2021-07-25 17:39:57 +08:00
Gao Sun
916130b5fc
api: register with username / password 2021-07-25 17:39:57 +08:00
Gao Sun
928a631bcc
api: add sign in / consent 2021-07-25 17:39:57 +08:00
Gao Sun
f419a91c5d
feat: sign in API via user id + password 2021-07-25 17:39:57 +08:00
Gao Sun
ba1d171353
refactor: add @ path alias 2021-07-25 17:39:57 +08:00
Gao Sun
27590ec4ad
feat: pipe sign-in routes to playground url 2021-07-25 17:39:57 +08:00
Gao Sun
ef5dd51b51
feat: find user account from db, close #4 2021-07-25 17:39:56 +08:00
Gao Sun
e7afe3e745
chore: add commitlint 2021-07-25 17:39:56 +08:00
Gao Sun
39b2fa80bd
Use essentials 2021-07-25 17:39:56 +08:00
Gao Sun
469256f93a
Provide OIDC jwk and reorg code 2021-07-25 17:39:56 +08:00
Gao Sun
b892c882be
Finish adapter 2021-07-25 17:39:56 +08:00
Gao Sun
bda284c99b
Init adapter 2021-07-25 17:39:55 +08:00
Gao Sun
d3287976cc
Update package.json 2021-07-25 17:39:55 +08:00
Gao Sun
48f02d9505
Specify yarn version 2021-07-25 17:39:55 +08:00
Gao Sun
8bcfe0478f
Mount odic-provider 2021-07-25 17:39:55 +08:00
Gao Sun
afcfd12d87
Initial commit 2021-07-25 17:39:55 +08:00