Charles Zhao
b9aec921c2
Merge pull request #190 from logto-io/charles-fix-typo-in-pull-request-template
...
chore: fix typo in pull request template
2022-01-24 14:21:52 +08:00
Charles Zhao
52d8d3045d
chore: fix typo in pull request template
2022-01-24 14:05:51 +08:00
simeng-li
93df7db2ca
refactor(core): enable userinfo endpoint and resource scope consent ( #187 )
...
* refactor(core): enable userinfo endpoint and resource scope consent
enable userinfo endpoint and resource scope consent
* fix(core): cr fix add comment
add comment for useGrantedResource settigns reference
2022-01-24 10:13:18 +08:00
Wang Sijie
d78aa07f7e
feat(github): getUserInfo ( #188 )
...
* feat(github): getUserInfo
* fix: pr
2022-01-21 12:47:14 +00:00
Wang Sijie
872b1d6450
feat(github): validateConfig ( #189 )
2022-01-21 20:37:12 +08:00
Wang Sijie
aaa6f4dcc2
feat(github): getAccessToken ( #186 )
...
* feat(github): getAccessToken
* fix: pr
2022-01-21 07:26:14 +00:00
Wang Sijie
ea756752e8
feat(github): getAuthorizeUri ( #185 )
...
* feat(github): getAuthorizeUri
* fix: authorizationEndpoint
2022-01-21 13:50:40 +08:00
Wang Sijie
81aaa4a083
feat(aliyun-dm): test message template ( #183 )
...
* feat(aliyun-dm): test message template
* fix: remove test template
2022-01-20 15:34:46 +08:00
Wang Sijie
764de712d7
feat(aliyun-dm): validate config ( #184 )
...
* feat(aliyun-dm): validate config
* fix: use zod
2022-01-20 10:54:04 +08:00
simeng-li
99f85ca44c
refactor(schema): rename schema ( #182 )
...
* refactor(schema): rename schema
rename schema update to create
rename guard to createGuard
* fix(core): ci fix
fix ci errors
* refactor(schema): rename schema type FooCreate to CreateFoo
rename schema type from FooCreate to CreateFoo
* fix(schema): add guard nullable
add guard nullable gen method
2022-01-18 12:44:08 +08:00
simeng-li
d88db54961
feat(core): add resource apis ( #180 )
...
* feat(core): add resource apis
add resource apis
* fix(core): resources api CR fix
CR fix of resoruces API
* fix(core): resource api cr fix
remove unnesessary input params destructor
2022-01-18 09:20:49 +08:00
Wang Sijie
49581d924e
feat: aliyun direct mail connector ( #175 )
...
* feat: aliyun direct mail
* fix: email
* fix: pr fix
* refactor: use got instead of axios
* refactor: move aliyun to utilities
* fix: pr
* fix: pr
* fix: pr
2022-01-17 13:49:29 +08:00
Wang Sijie
a77149bb8b
feat: connector i18n ( #171 )
...
* feat: connector i18n
* fix: language key
2022-01-17 02:58:45 +00:00
simeng-li
492724a575
refactor(core): resources related db query cleanup ( #179 )
...
* refactor(core): resources related db query cleanup
clean resourece & scopes db queries
* refactor(core): rename resources and scopes query file name
rename plural filename
2022-01-14 11:54:09 +08:00
simeng-li
86c68739e6
refactor(errors): introduce Slonik Deletion Error ( #177 )
...
replase all deletion query RequeestError with DeletionError extends SlonikError
2022-01-14 10:19:43 +08:00
Darcy Ye
dfaf79bc5f
feat(settings): add settings related queries and apis ( #174 )
...
* feat(settings): add settings related queries and APIs
* feat: correct setting router type
* chore: hide settingId from response
* chore: reset default settingId for better readability
* chore: fix input params check
2022-01-13 20:05:14 +08:00
simeng-li
f218667ba4
feat(application): add application query exceptions ( #172 )
...
* feat(application): add application query exceptions
add application query exceptions
* fix(core): cr fix remove query level exception
remove application query level exception handle logic
* fix(core): delete application query throw slonikError
delete application query throw slonikError
2022-01-13 16:02:28 +08:00
simeng-li
77be675bfb
feat(application): set idToken and refreshToken ttl based on client metadata ( #176 )
...
* feat(application): set idtoken and refresh token ttl based on client metadata
add idToken and refreshToken ttl metadata
* fix(application): cr fix
cr fix add default constant & set custom client metadata not null
2022-01-13 14:15:13 +08:00
Wang Sijie
59cd617b2b
feat: updateConnectorConfig ( #168 )
...
* feat: updateConnectorConfig
* fix: throw RequestError
* feat: template
2022-01-12 08:58:07 +00:00
Darcy Ye
6e9cabe50b
chore: rename all \w+DBEntry
as \w+Update
to eliminate understanding ( #173 )
2022-01-12 16:22:33 +08:00
simeng-li
3690265122
feat(applications): add pagination middleware to findAllApplications ( #170 )
...
* feat(applications): add pagination middleware to findAllApllications
add pagination middleware to findAllApllications
* fix(core): remove get applications offset check
remove get applications offset check. use db query error
* fix(application): cr fix use buildFindMany
use buildFindMany for paginated find applications query
2022-01-11 08:37:09 +00:00
Wang Sijie
c37354d42d
feat: init connectors ( #166 )
...
* feat: init connectors
* chore: optional in getConnectorById
Co-authored-by: Gao Sun <gao@silverhand.io>
* chore: pr fix
* chore: pr fix
* chore: fix PR
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-01-11 16:26:54 +08:00
simeng-li
b9f9847ec0
feat(schema): update application db ( #169 )
...
* feat(schema): update appliaction db
update application db
* ci(schema): cr fix application table schema typo
fix application table schema typo
2022-01-11 11:58:58 +08:00
Darcy Ye
14d8b18c1d
feat: settings DB schema ( #165 )
...
* feat: fix settings design schema
2022-01-11 03:15:10 +00:00
Wang Sijie
bf165644c9
feat: connector DB schema ( #164 )
...
* chore: add boolean type for postgres
* chore: remove bool
* feat: connector DB
* fix: remove identifier
* chore: genenrate
* chore: remove data
* chore: todo
* chore: test TODO
2022-01-10 12:24:22 +08: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
Wang Sijie
e8908c3b24
feat: buildFindMany ( #159 )
2022-01-07 14:54:32 +08:00
Wang Sijie
5b404e2b2e
chore: add boolean type for postgres ( #163 )
...
* chore: add boolean type for postgres
* chore: remove bool
2022-01-07 12:09:38 +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
simeng-li
3a80d99c9f
fix(ui): fix useApi request in useEffect dead loop bug ( #158 )
...
wrap the request method in userApi hook into a useCallback
2021-12-21 13:28:14 +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
Wang Sijie
1fc73030e8
feat(core): sign in logs ( #139 )
...
* fix(core): add log result type
* fix: comments in sql
* feat(core): sign in log
* refactor: insert error log in middleware
* fix: pr fix
* feat: userLog middleware
* refactor: auto capture log
* fix: pr fix
* fix: pr fix
2021-12-08 15:56:57 +08:00
Wang Sijie
7ce706ccbe
feat: generate 2 types for db table schema ( #154 )
...
* feat(schema): generate Model and DBEntry
* feat: generate 2 types for db table
2021-12-08 11:11:27 +08:00
Xiao Yijun
b133b30b90
refactor(core): rename context
to ctx
in test file ( #153 )
2021-12-07 10:48:58 +08:00
Xiao Yijun
f672f34b5c
refactor: disable eslint rule for entire describe
in koa-pagination.test.ts
( #152 )
2021-12-06 17:41:30 +08:00
Xiao Yijun
bb04df5a09
refactor(core): replace querystring
with query-string
( #151 )
2021-12-06 17:32:31 +08:00
Xiao Yijun
536bcc2a5b
Merge pull request #150 from logto-io/xiaoyijun-log-416
...
feat(core): support trusting TLS offloading proxies config
2021-12-03 15:49:51 +08:00
Xiao Yijun
e63e5bae4e
feat(core): support trusting TLS offloading proxies config
2021-12-03 14:04:30 +08:00
simeng-li
d54f77d78a
fix(schema): fix zod guard infer type for option fields ( #148 )
...
fix manual guard infer type breaks optional zod field type
2021-12-02 17:22:39 +08:00
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