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