simeng-li
a56d4ce026
feat: implement getResourceIndicators logic ( #146 )
...
* fix(schema): fix typo remove trailing comma
fix typo remove trailing comma
* feat(core): add resouce server query logic
add resource server & scopes query logic to oidc-provider resourceIndicator feature config
* fix(chore): scope should join with scopes.name
fix scope name join format bug
* fix(core): cr fix use pool.any replace pool.many
use pool.any replace pool.many
2021-12-02 14:08:15 +08:00
simeng-li
6d5dd55e12
refactor: implement koaUser middleware
...
* refactor: extract code block of getting detailed user info in koaAuth as middleware koaUser
* refactor: fix according to comments
* refactor: fix methods' and properties' naming
2021-12-02 11:43:04 +08:00
simeng-li
18a142ab65
feat(schema): add resource and scope table ( #145 )
...
* feat(schema): add resource and scope table
implement resource-servers and resource-scopes table with some basic queries
* fix(schema): remove scope update querie
not allowed to update scope once created
* feat(schema): add resourceId foreign key to the scope table
add resourceId foreign key to the scope table
* fix(schema): remove trailling comma
remove trailling comma
* fix(schema): cr fix replace resource-servers table name using resources
replace resource-servers table name using resources
2021-12-01 11:41:16 +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
Wang Sijie
acdbc5db56
feat(schema): user logs ( #137 )
...
* feat(schema): user logs
* fix(core): use z.object
* fix(core): add log result type
* fix: comments in sql
* fix: user_log_type and user_log_result
2021-11-29 15:47:43 +08:00
Xiao Yijun
61edd16798
Merge pull request #138 from logto-io/yijun--chore-fix-comment-mistake
...
chore(core): fix comment mistake
2021-11-19 17:33:40 +08:00
Xiao Yijun
a234f00269
chore(core): fix comment mistake
2021-11-19 16:04:40 +08:00
Wang Sijie
3480d05366
refactor(core): encryptUserPassword ( #135 )
2021-11-18 16:29:24 +08:00
Wang Sijie
7d7b8112f6
refactor(core): use plural in endpoint ( #134 )
2021-11-18 11:26:51 +08:00
Wang Sijie
9c3b67ae46
feat(core): users basic API ( #133 )
2021-11-18 11:26:34 +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
simeng-li
8861175520
chore(ui): add global-this polyfill to ky ( #131 )
...
ky uses globalThis which is not supported on older browsers.
add @ungap/global-this polyfill ontop of ky imports
2021-11-08 14:52:01 +08:00
IceHe.xyz
aa68fe7b6a
chore: git ignore .idea/ ( #129 )
2021-10-27 15:25:56 +08:00
simeng-li
ee2d1bf535
chore(core): throw out oidc-provider error ( #128 )
...
In order to display detailed error on the page
we need to throw the oidc-provider error out
and catched by koa-error-handler
2021-10-12 17:57:22 +08:00
Gao Sun
5f60fe491a
fix(core): snakecase OIDC client metadata keys ( #127 )
2021-10-12 17:27:11 +08:00
Gao Sun
9aa4caa826
refactor(core): fulfill correct applicationType
when needed ( #126 )
...
* refactor(core): fulfill correct `applicationType` when needed
* refactor(core): use enum for application type
* refactor(core): do not filter undefined automatically
2021-10-11 09:55:17 +00:00
Gao Sun
0b23a5a793
fix: use port 5001 for ui dev ( #125 )
2021-10-08 14:10:44 +08:00
Gao Sun
a079827b84
chore: update PR template ( #124 )
...
reviewers -> testing
2021-09-29 09:59:28 +08:00
Gao Sun
1c3338f657
fix(core): load dist files when needed ( #123 )
2021-09-28 12:45:04 +08:00
Gao Sun
61ac65aeb5
fix: format PR template ( #122 )
...
* fix: format PR template
* fix: PR template typo
2021-09-28 12:27:53 +08:00
simeng-li
34e979d7d9
fix(schema): update db-entries generation job ( #120 )
...
On Node 16.x.x fs.rmdir throw err if dir does not exist
Also from Node 16.x.x fs.rmdir will be deprecated, use fs.rm instead
2021-09-28 10:02:30 +08:00
simeng-li
8de4fdf5a4
docs: add pull_request template ( #121 )
...
Implement pull_request template
@gao-sun @wangsijie
2021-09-27 07:48:42 +00:00
simeng-li
4ea5f65982
fix(core): add redirectURI to the response body of register endpoint /user ( #119 )
...
* fix(ui): hide loading status
should hide loading status while a http error is thrown
* fix(ui): use api-hooks for consent request
integrate api-hooks for the consent page request
* fix(ui): add redirectURI to the response body of register endpoint
Fix the use registration flow, should redirect after a success registration callback
2021-09-24 17:00:26 +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
8295d79974
ci: use concurrency for deploy ( #115 )
2021-09-08 16:04:46 +08:00
Gao Sun
2c93ef9237
chore: upgrade configs ( #114 )
2021-09-08 14:13:42 +08:00
Gao Sun
ec020e6bea
chore: improved lifecycle scripts and workflow ( #112 )
...
* chore: improved lifecycle scripts and workflow
* chore: run main flow regardless of path
* chore: fix workflow
2021-09-08 10:29:37 +08:00
Gao Sun
8e291b51bf
test(core): add unit tests for generateUserId()
( #113 )
2021-09-08 10:29:14 +08:00
Gao Sun
7ae7912642
refactor: adopt new ESLint rule set for FP ( #111 )
2021-09-07 20:24:27 +08:00
Gao Sun
af942d2027
feat(core): add status api and health check after deployment ( #110 )
2021-09-06 10:40:06 +08:00
Gao Sun
5b36355537
test(core): add unit tests for database insert into factory ( #109 )
2021-09-06 10:39:39 +08:00
Gao Sun
54105fc614
fix(schemas): move zod
into dependencies ( #108 )
2021-09-03 16:54:10 +08:00
Gao Sun
ed204f91c5
feat(core): GET /applications
( #107 )
2021-09-01 20:51:34 +08:00
Gao Sun
5d5d43deee
feat(core): GET /application/:id
( #106 )
2021-09-01 18:23:53 +08:00
Gao Sun
211a5a1760
Merge pull request #104 from logto-io/gao-log-45
...
feat(core): detect language from querystring and header
2021-09-01 17:58:32 +08:00
Gao Sun
67cef28f27
test(ui): fix react-i18next warning in jest ( #105 )
2021-09-01 17:53:12 +08:00
Gao Sun
9ccb66ddfd
refactor(core): update per comments
2021-09-01 17:52:55 +08:00
Gao Sun
7c6602a1ac
refactor(core): fixing router types
2021-09-01 17:35:23 +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
4be1bd3cad
chore: lint-staged
for all packages ( #100 )
2021-08-30 22:26:58 +08:00
Gao Sun
ea4cfd0e59
chore: update eslint config ( #98 )
2021-08-30 11:30:54 +08:00
Gao Sun
d9cbab0355
ci: fixing conflict ( #97 )
2021-08-28 22:24:15 +08:00
Gao Sun
1352cce911
test(core): add unit tests for database utils ( #95 )
...
* test(core): add unit tests for database utils
* test(core): add tests for `conditionalSql()`
2021-08-28 21:48:06 +08:00
Gao Sun
9546aee496
ci: use add labels run steps ( #96 )
2021-08-28 17:50:26 +08:00