0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
Commit graph

90 commits

Author SHA1 Message Date
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
625520d75a
refactor: throw an error when requesting invalid scope (#94) 2021-08-28 10:50:38 +08:00
Gao Sun
4694c0d5ce
refactor: use 404 when not found 2021-08-27 17:13:49 +08:00
Gao Sun
6b6210feee
feat: PATCH /application/:id 2021-08-27 17:07:15 +08:00
Gao Sun
334cc5903a
refactor: accept rest data while creating application 2021-08-27 17:07:11 +08:00
Gao Sun
8902d66bde
refactor(core): database insert.ts -> insert-into.ts (#92) 2021-08-27 12:47:55 +08:00
Gao Sun
ee1133cf49
Merge pull request #87 from logto-io/gao-log-22 2021-08-26 13:39:55 +08:00
Gao Sun
4973053fda
refactor: integrate zod in schemas (#90) 2021-08-26 13:05:23 +08:00
Gao Sun
a918a0ce8d
fix(core): bearerToken -> bearerTokenIdentifier 2021-08-25 23:42:03 +08:00
Gao Sun
af11f18e40
feat: DELETE /application/:id 2021-08-25 23:42:03 +08:00
simeng-li
b1bf5eccf0
feat: (ui) Read and show error from API response (#84)
Implemet useApi hooks to handle client side request
read loading & error status from the useApi hook
2021-08-23 21:29:58 +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
f48534ed18
refactor: unify timestamp usage 2021-08-18 16:36:52 +08:00
Gao Sun
6f604f40c2
refactor: improved error code of buildInsertInto() 2021-08-18 11:54:05 +08:00
Gao Sun
acc2031e82
refactor: update SchemaValuePrimitive and add docs for convertToPrimitive() 2021-08-18 00:45:46 +08:00
Gao Sun
b192b7d17c
feat: POST /applicaiton 2021-08-18 00:24:00 +08:00
Gao Sun
acd8157a0d
feat: validate access token if needed 2021-08-15 23:39:03 +08:00
Gao Sun
bb7c8184f7
feat: init application api 2021-08-14 21:39:37 +08:00
Gao Sun
96bf7cee77
refactor(core): re-org files 2021-08-12 19:39:28 +08:00
simeng-li
a3a2624c5b Merge pull request #75 from logto-io/simeng-api-schema
refactor(core): move api errorType to schemas package flow
2021-08-11 23:12:02 +08:00
Gao Sun
b457d95a9e refactor: conform RESTful convention (#77)
* refactor: conform RESTful convention

* refactor: update tests
2021-08-11 22:13:08 +08:00
Gao Sun
c58194dd6e chore: add MPL-2.0 license (#76) 2021-08-11 22:12:36 +08:00
Simeng Li
754b9ea872 refactor: move error types to schema bundle
move error types to schema bundle
2021-08-11 21:04:12 +08:00
Gao Sun
a86f57a466
refactor: remove oidc_client_id 2021-08-10 21:26:49 +08:00
Gao Sun
89cf297eff
refactor(core): adopt new schemas 2021-08-10 21:11:52 +08:00
Gao Sun
2c6a64892a
chore: add preinstall script to packages 2021-08-10 15:29:32 +08:00
Gao Sun
9c6b4fc636 Merge pull request #56 from logto-io/gao--add-https-support
feat: add https support
2021-07-31 16:28:00 +08:00
Gao Sun
745cd22c16
feat: add https support 2021-07-31 02:12:47 +08:00
Gao Sun
1be7919545
chore(core): fixing ui proxy next() usage 2021-07-30 22:20:53 +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
b8956c6ab5
chore: cleanup useless scripts 2021-07-29 01:42:14 +08:00
Gao Sun
5f2c9ef840
chore(core): remove resource indicator 2021-07-28 20:35:36 +08:00
Gao Sun
590dd7d858
feat(phrases): add package and refactor error code 2021-07-28 01:13:51 +08:00
Gao Sun
94c5115bb0
feat(sign-in): replace id with username 2021-07-26 22:32:18 +08:00
Gao Sun
13b516dccb
refactor: unify dev script 2021-07-26 22:04:32 +08:00
Gao Sun
6c00d40aeb
refactor: use yarn workspace 2021-07-26 10:54:13 +08:00
Gao Sun
96474fed87
chore: upgrade eslint config 2021-07-26 00:18:45 +08:00
Gao Sun
48dc40e139
chore: update README 2021-07-25 22:44:07 +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
f422c3ae3f
refactor: refine sign-in errors 2021-07-25 17:39:59 +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